码迷,mamicode.com
首页 >  
搜索关键字:asm prefer read    ( 21716个结果
Count and Say
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:其他好文   时间:2014-08-13 14:20:26    阅读次数:204
Ptrace_scope的作用及设置
Short answer: no practical danger yet, but read on for a better way...What's this ptrace thing anyway?this is due to a bug in the Ubuntu kernel that p...
分类:其他好文   时间:2014-08-13 12:36:16    阅读次数:697
JAVA 以字节流读取文件中的BMP图像
用字节流而不是用JAVA的API函数read()有助于大家理解理解BMP的存储方式哈。 ? ?同时,从SQL中读取图片的话,也是用字节流读取,需要自己进行转换的。 ? ?顺便保存下代码。。。下次用就有模板了。。。 ?...
分类:编程语言   时间:2014-08-13 10:45:25    阅读次数:243
asm示例
前些天看aop就看到了cglib,看cglib又看到了asm,模仿着做了个示例。利用asm修改字节码,能实现编译不通过执行通的过的效果,挺有意思。 一个简单的待修改类: package com.asm.zjc; public class C { public void m() throws InterruptedException{ Thread.sleep(300); } }...
分类:其他好文   时间:2014-08-13 10:36:55    阅读次数:255
Android apk 获取系统权限的方式
Android系统中,权限等级分为 ["normal" | "dangerous"| "signature" | "signatureOrSystem"] normal 、dangerous是一般apk都在Mainifest中声明即可获取的 signature必须要有系统级别的签名才能够获取到 signatureOrSystem 有系统级别签名或者有系统权限   以SET_PREFER...
分类:移动开发   时间:2014-08-13 10:36:45    阅读次数:222
asm示例
前些天看aop就看到了cglib,看cglib又看到了asm,模仿着做了个示例。利用asm修改字节码,能实现编译不通过执行通的过的效果,挺有意思。一个简单的待修改类:packagecom.asm.zjc; publicclassC{ publicvoidm()throwsInterruptedException{ Thread.sleep(300); } } 对其进..
分类:其他好文   时间:2014-08-13 03:43:06    阅读次数:234
判断DataReader中是否包含某个字段
利用DataReader的GetName()方法,可以获取字段名称for (int i=0; i<dataReader.FieldCount; i++) { //判断是否含有fieldName字段 if(dataReader[i].GetName().Equals(fieldName)...
分类:其他好文   时间:2014-08-12 21:19:54    阅读次数:187
read系统调用深度剖析
本文转自:http://blog.csdn.net/unbutun/article/details/6101354#ibm-pconRead 系统调用在用户空间中的处理过程Linux 系统调用(SCI,system call interface)的实现机制实际上是一个多路汇聚以及分解的过程,该汇聚点就是 0x80 中断这个入口点(X86 系统结构)。也就是说,所有系统调用都从用户空间中汇聚到 0x...
分类:其他好文   时间:2014-08-12 19:10:14    阅读次数:348
Lua 遍历Linux目录下的文件夹
代码如下,里面有注释,应该能看懂。function getFile(file_name) local f = assert(io.open(file_name, 'r')) local string = f:read("*all") f:close() return str...
分类:系统相关   时间:2014-08-12 18:51:24    阅读次数:981
oracle 11G direct path read 很美也很伤人
direct path read在11g中,全表扫描可能使用direct path read方式,绕过buffer cache,这样的全表扫描就是物理读了。在10g中,都是通过gc buffer来读的,所以不存在direct path read的问题。  direct path read较高的可能原因有:  1. 大量的磁盘排序操作,order by, group by, union, disti...
分类:数据库   时间:2014-08-12 17:22:24    阅读次数:281
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!