转载:http://www.ibm.com/developerworks/cn/linux/l-gcc-hacks/?S_TACT=105AGX52&S_CMP=tec-csdnLinux
内核中的 GCC 特性了解用于 C 语言的 GCC 扩展Linux? 内核使用 GNU Compiler Co...
分类:
系统相关 时间:
2014-05-09 10:05:40
阅读次数:
596
android.permission.WAKE_LOCK------------>keep the screen from dimming or the
processor from sleeping, or uses the MediaPlayer.setScreenOnWhilePlaying(...
分类:
移动开发 时间:
2014-05-09 06:37:42
阅读次数:
280
Subversion 1.8 and IntelliJ IDEA 13Unlike its
earlier versions, Subversion 1.8 support uses the native command line client
instead of SVNKit to run co...
分类:
其他好文 时间:
2014-05-09 03:07:38
阅读次数:
257
什么是assign,copy,retain之间的区别?assign:
简单赋值,不更改索引计数(Reference Counting)。copy:
建立一个索引计数为1的对象,然后释放旧对象retain:释放旧的对象,将旧对象的值赋予输入对象,再提高输入对象的索引计数为1retain是指针拷贝,co...
分类:
其他好文 时间:
2014-05-09 00:08:47
阅读次数:
419
双向BFS:
分别在 起点 和 终点同时进行BFS。
一般地,BFS随着层数的增加,状态数会越来越多,也就是状态数与层数呈正相关。如下图,:
若从两端同时进行BFS ,则有
显然减少的哪一些区域即为减掉的那些不必要的状态。
#include
#include
#include
#include
#include
#include
#include
#include ...
分类:
其他好文 时间:
2014-05-08 17:16:12
阅读次数:
300
通过代码可以看到,当传递过来的fetch_type是ZEND_FETCH_GLOBAL(_LOCK)时,函数使用EG(excutor_global)宏
返回了global变量的符号表地址。...
分类:
Web程序 时间:
2014-05-08 15:44:30
阅读次数:
501
Auth: jinDate:
20140507一、事务控制默认情况下,MySQL是自动提交(autocommit)的,如果需要通过明确的commit和rollblack来提交和回滚事务,那么需要通过明确的事务控制命令来开始事务。SET
AUTOCOMMIT, START TRANSACTION,CO...
分类:
数据库 时间:
2014-05-08 09:28:34
阅读次数:
429
跟踪代码发现,应用启动时的白屏会持续到draw调用完成,这个过程中任何耗时操作将导致白屏时间增长。1.adb shell am start -W -n
yourpakagename/MainActivity-W: wait for launch to complete 这里的launch to co...
分类:
移动开发 时间:
2014-05-08 07:15:37
阅读次数:
340
K-th NumberTime Limit:20000MSMemory
Limit:65536KTotal Submissions:35653Accepted:11382Case Time
Limit:2000MSDescriptionYou are working for Macrohard co...
分类:
其他好文 时间:
2014-05-08 05:24:50
阅读次数:
387