码迷,mamicode.com
首页 >  
搜索关键字:call apply    ( 12149个结果
make it clear how to use const in C++
1.first of all,take a lookup on the left side of keyword const.If there is something(type or pointer),then apply const featureto it.2.nothing found on...
分类:编程语言   时间:2014-05-06 00:38:25    阅读次数:361
简单易懂的程序语言入门小册子(7):基于文本替换的解释器,加入continuation,重构解释器
或许在加入continuation之前要先讲讲费这么大劲做这个有什么意义。 毕竟用不用continuation的计算结果都是一样的。 不过,这是一个兴趣使然的系列,学习这些知识应该完全出于好奇与好玩的想法。 所以我才不会告诉你们通过控制continuation可以实现call-with-curren...
分类:其他好文   时间:2014-05-05 22:13:58    阅读次数:337
函数的属性length、prototype和方法call()、apply()
函数的属性length、prototype和方法call()、apply() length指的是该函数所期望传递进来的参数个数。 function fun0(){}             //0 function fun1(num1){}         //1 function fun2(num1,num2){}    //2 //prototype function MyObje...
分类:移动开发   时间:2014-05-05 12:55:59    阅读次数:306
ret和call的原理
1.ret 指令用栈中的数据,修改IP的内容,从而实现近转移 CPU执行ret指令时,进行下面两步操作: (1)(IP)=((ss)*16+(sp))  //使用栈顶元素修改IP实现跳转 (2)(sp)=(sp)+2 2.retf 用栈中的数据,修改CS和IP的内容,从而实现远转移 CPU执行retf指令时,进行下面四步操作: (1)(IP)=((ss)*16+(sp)) ...
分类:其他好文   时间:2014-05-02 06:54:21    阅读次数:394
Recursion
RecursionIt is legal for one function to call another; it is also legal for a function to call itself. It may not be obvious why what is a good thing,...
分类:其他好文   时间:2014-05-01 18:40:44    阅读次数:302
批处理命令启动和关闭tomcat
批处理命令启动和关闭tomcat,其实只要把tomcat自己的脚本呼叫起来就好了呢关闭tomcatif exist "C:\Tomcat-7.0.39\bin\shutdown.bat" call "C:\Tomcat-7.0.39\bin\shutdown.bat"启动tomcatif exist...
分类:其他好文   时间:2014-05-01 15:18:52    阅读次数:321
对字典作集合操作
>>> d1 = dict(a = 1, b = 2)>>> d2 = dict(b = 2, c = 3)>>> d1 & d2 # 字典不?支持该操作Traceback (most recent call last): File "", line 1, in TypeError: unsupp....
分类:其他好文   时间:2014-05-01 12:50:50    阅读次数:341
转 ABAP中USING与CHANGING的用法
ABAP中FORM参数的传递有以下几种方式。 1.引用传递(CALL BY REFERENCE) 传递参数时将参数的地址(ADDRESS)传至子程序中,也就是子程序中的参数变量与外部程序的参数变量共享地址内的值。又叫CALL BY ADDRESS,若子程序中的参数变量的值发生了改变,那么,外...
分类:其他好文   时间:2014-05-01 08:39:35    阅读次数:339
JQuery日记 2014-4.28
为方便起见将JQuery.fn.init称之为JQuery对象 JQuery原型对象方法: (1) toArray()     调用[].prototype.slice.call(jquery)将JQuery对象(类对象)转换为真正的数组      测试html     body>      div id= "div1">div1div >div id= "div2">div2...
分类:Web程序   时间:2014-04-29 13:32:22    阅读次数:361
Object.prototype.toString & typeof
Object.prototype.toString & typeof Object.prototype.toString 获取某个对象属于哪种内置类型 typeof 得到某个对象的类型 区别: 举个例子: var arr = new Array(); typeof(arr); //object Object.prototype.toString.call(arr); //[Object Array]...
分类:其他好文   时间:2014-04-28 10:33:42    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!