博客园对markdown支持不佳,错乱移步[Github IO
博文](http://magicdawn.github.io/2014/06/06/clr-basics/)#CLR
的执行模型模块/程序集#1.模块###托管模块组成部分* PE32/PE32+头 : PE即Portable Exec...
分类:
其他好文 时间:
2014-06-11 13:31:59
阅读次数:
413
近来一直利用业余时间在看jquery2.1.1源码,大约看了两千行了。平时看的时候,做了一些笔记,贴出来分享。1.Array.prototype.slice.call
可以将伪数组转化为真正的数组其实,这里所谓的“伪数组”就是有length属性,并且有“0”、“1”、“2”等这些属性的对象,如下代码...
分类:
Web程序 时间:
2014-06-11 07:29:13
阅读次数:
334
An IO call issynchronousif, when you call it, it
does not return until the operation is completed, or until enough time has
passed that your network s...
分类:
编程语言 时间:
2014-06-10 10:07:56
阅读次数:
273
The oldest solution that people still use for
this problem is select(). The select() call takes three sets of fds (implemented
as bit arrays): one for...
分类:
编程语言 时间:
2014-06-10 08:26:42
阅读次数:
325
打开PHP.INI,找到这行:disable_functions
=在后面那里加上要禁用的函数,如禁用多个函数,要用半角逗号 , 分开 给个例子:disable_functions =
passthru,exec,system,popen,chroot,scandir,chgrp,chown,esc...
分类:
Web程序 时间:
2014-06-09 16:39:20
阅读次数:
487
今天看博客时,看到了这样的一段js代码:var bind =
Function.prototype.call.bind(Function.prototype.bind);我想突然看到这样的一段代码,即使js能力再强的人,可能也需要花点时间去理解。像我这样的菜鸟就更不用说了。其实,原文已经对这端代码做...
分类:
移动开发 时间:
2014-06-08 22:10:19
阅读次数:
335
1.ELF文件格式概貌readelf -h
查看elf文件头部信息可以看到Type值有三种:REL,EXEC,DYN。REL文件是只被编译没有被链接过的文件,其格式属于左边一种,elf
header+section1,2,3...+section header table,每个section对应.....
分类:
其他好文 时间:
2014-06-08 20:34:25
阅读次数:
263
var add=function (a,b){ return(a+b);}var
sub=function (a,b,c){
return(a-b-c);}sub.call(add,1,2,3)//示例的意思时指用sub对象来替换add对象,并传入参数//使用call来实现继承function
.....
分类:
Web程序 时间:
2014-06-08 20:24:40
阅读次数:
290
Arguments类代表函数参数作为数组元素作为存储,可以按访问数组元素的方法访问参数。arguments.length表示参数的数目。但是,不能用for...in循环访问arguments对象,需用for循环。
arguments有两个重要属性:
arguments.callee属性用来表示当前正在执行函数的引用,等价于arguments.callee.apply(null)或者arguments.callee.call(null); oFunction.caller属性表示当前...
分类:
编程语言 时间:
2014-06-08 05:05:11
阅读次数:
242
Although apply and call can implement same
function. However, there is a litter different between them.Please pay attention
to look at the examples be...
分类:
移动开发 时间:
2014-06-07 21:53:15
阅读次数:
331