检查类里是否存在某种类型的几种方法,以检查xxx类型为例:方法1:templateclass has_member_type_Type{ struct big { char a[2]; }; template static big probe(typename C::xxx*); //...
分类:
其他好文 时间:
2015-11-02 11:48:59
阅读次数:
200
今天调试程序的时候,发现一个奇怪的问题,之前调试都没问题的,今早加了一点东西,就出现错误,跳到调试位置,如下4行红色部分1 ; Find next lower page and probe2 cs20:3 sub eax, _PAGESIZE_ ; decre...
分类:
编程语言 时间:
2015-09-29 11:16:21
阅读次数:
206
http://www.theregister.co.uk/2015/09/20/chrome_url_crash/Crash Google Chrome with one tiny URL: We cram a probe in this bugHow clicking on or even rol...
分类:
Web程序 时间:
2015-09-25 22:54:11
阅读次数:
1918
1 下载最新的iscroll5,本文版本是5.1.32 提取iscroll-probe.js,选择这个文件的原因是我们要给iscroll扩展一个事件,需要用到probeType 属性3 修改iscroll-probe.js的源码,添加上拉监听事件slideUp4 编辑页面Html:""+ ""+ ....
分类:
其他好文 时间:
2015-09-24 16:38:48
阅读次数:
222
stap -e 'probe process("a.out").function("fun").return {printf("%s",probefunc())}' ???????
分类:
其他好文 时间:
2015-09-17 08:47:23
阅读次数:
322
1.[root@localhost ~]# stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}'Pass 1: parsed user script and 85 library script(s) using 146900...
分类:
其他好文 时间:
2015-09-14 00:18:46
阅读次数:
337
Booting dircetly into Redlink FW from flashHello,the usual way to use the Redlink FW is a two-step approach:First the MCU of the probe enumerates as a...
分类:
其他好文 时间:
2015-09-11 10:38:01
阅读次数:
237
https://www.lpcware.com/content/faq/lpcxpresso/using-lpclink2-as-lpc4370-evalAs well as being a standalone debug probe, theLPC-Link2can also be used a...
分类:
其他好文 时间:
2015-09-01 12:38:56
阅读次数:
322
glusterfs3.4.7和gluster3.6.4都会出现该问题。服务器端执行添加peer命令报如下错误:Probereturnedwithunknownerrno107对应日志错误信息如下:[2015-08-2502:47:06.818281]I[glusterd-handler.c:1031:__glusterd_handle_cli_probe]0-glusterd:ReceivedCLIprobereqnode6124007[..
分类:
其他好文 时间:
2015-08-26 00:07:50
阅读次数:
221
在linux使用platform_driver_register() 注册 platform_driver 时, 需要在 platform_driver 的probe() 里面知道设备的中断号, 内存地址等资源。这些资源的描述信息存放在 resource 数据结构中, 相同的资源存放在一个树形树形数据结构中, 通过父节点, 兄弟节点, 子节点相连。 比如中断资源, IO端口资源, IO内存资源,...
分类:
系统相关 时间:
2015-07-17 10:03:50
阅读次数:
266