码迷,mamicode.com
首页 >  
搜索关键字:call apply bind    ( 18595个结果
【转】如何用WINDBG分析64位机上32位程序的DUMP文件
将dump拖入到windbg中后,在command输入栏输入 .load wow64exts 回车 !sw 回车,就将windbg的dump,从64位模式切换到了32位模式,否则看到的call stack 对我们分析dump是没有帮助的。然后就可以使用其它的命令来分析了。比如:使用kb命令,查看.....
分类:数据库   时间:2014-06-28 20:44:57    阅读次数:305
C++11中function和bind的用法示例
环境Visual Studio 2012,具体代码如下#include #include #include void PrintNumber(int num){ std::cout f_print_num = PrintNumber; f_print_num(1024); // ...
分类:编程语言   时间:2014-06-28 14:19:07    阅读次数:267
TC1.6SourceCode
/** * @version 2.0 * @author sharks*//** * Instruction * this version will use IO * apply file to store data * it just a table double click table ca.....
分类:其他好文   时间:2014-06-28 14:05:29    阅读次数:300
IBinder对象在进程间传递的形式(一)
命题 当service经常被远程调用时,我们经常常使用到aidl来定一个接口供service和client来使用,这个事实上就是使用Binder机制的IPC通信。当client bind service成功之后,系统AM会调用回调函数onServiceConnected将service的IBind....
分类:其他好文   时间:2014-06-23 00:50:30    阅读次数:211
赵雅智:service与访问者之间进行通信,数据交换
服务类 中间人:service服务中的bind对象 创建中间人并通过onBinder方法的return暴露出去 在服务类创建一个服务 创建中间人继承Binder MainActivity类 声明服务的中间人 private ServiceTese.MyBinder myBinder; 链接成功的时候赋值se...
分类:其他好文   时间:2014-06-22 21:36:21    阅读次数:188
【UNIX网络编程(二)】基本TCP套接字编程函数
执行网络I/O,一个进程必须做的第一件事就是调用socket函数,指定期望的通信协议类型。 #include int socket(int family, int type, int protocol); /*返回值:若成功则为非负描述符,若出错则为-1*/ socket函数成功时返回一个小的非负整数值,它与文件描述符类似,把它称为套接字描述符,简称sockfd。family参数指明协议...
分类:其他好文   时间:2014-06-22 15:40:10    阅读次数:301
js apply 和call的区别
function Person(name, profession) { this.name = name; this.profession = profession; this.speak = function () { ...
分类:移动开发   时间:2014-06-21 13:10:16    阅读次数:199
课堂笔记
//函数调用 bind&functionvoid fun(){ CCLOG("Hello cocos"); return;}std::function f = std::bind(fun);fun();-------------------void fun1(){ int numb...
分类:其他好文   时间:2014-06-21 09:55:02    阅读次数:166
python 捕获 shell/bash 脚本的输出结果
#!/usr/bin/python## get subprocess module import subprocess## call date command ##p = subprocess.Popen("date", stdout=subprocess.PIPE, shell=True)## T...
分类:编程语言   时间:2014-06-20 21:40:04    阅读次数:324
JavaScript:Object.prototype.toString方法的原理()
在JavaScript中,想要判断某个对象值属于哪种内置类型,最靠谱的做法就是通过Object.prototype.toString方法.var arr = [];console.log(Object.prototype.toString.call(arr)) //"[object Array]"....
分类:编程语言   时间:2014-06-20 21:16:31    阅读次数:290
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!