加载中
CLOCK_MONOTONIC and CLOCK_REALTIME

Middleware对POSIX提供的标准计时器API进行封装,主要提供了两种类型的时钟的封装。一种是CLOCK_REALTIME,另一种是CLOCK_MONOTONIC。对与man手册的解释是: CLOCK_REALTIME: Systemwide r...

error: no video mode activated.

Q: On my laptop I am getting "error: no video mode activated." message from grub on system boot (in standard VGA mode). A: I was finally able to workaround the problem here. The...

2012/07/10 07:49
2.6K
Android初始化语言 (init.*.rc、init.conf文件格式)

下文转载自:http://hi.baidu.com/zhlg_hzh/blog/item/4ad24a807c71d3db9023d967.html 红猎人:看了很多类似的文章,只有这篇讲述有条理,清楚,值得收藏! ==============================...

差分信号

差分信号是一对大小相等而极性相反的对称信号,差分信号用于传输有用的信号。共模信号是作用于差分信号线上的一对大小相等极性也相同的信号,共模信号往往来自于外部干扰。差分信号在接收端是...

2012/06/25 14:39
152
VIM心得(学习VIM语法:动词、名词和修饰词)

使用VIM就像是在使用“动词 修饰词 对象”方式的缩写来跟你的编辑器对话。 动词有:v(visual 视图), c(change 修改), d(delete 删除), y(yank/copy 拷贝), 这些最重要的,当然还有其它的。 ...

2012/06/08 13:48
417
Android中静态实例的生命周期

Extending the Android Application class and dealing with Singleton In this post I’m going to show the basic steps to extend the Android Application class and I’m also going to...

2012/05/24 09:27
2.7K
understanding Golang channel in one word

-- Receivers always block until there is data to receive. -- If the channel is unbuffered, the sender blocks until the receiver has received the value. -- If the channel has a b...

2012/03/13 22:11
21.5W
Readiness notification facility (epoll)

Epoll is the best readiness notification facility in Linux. Epoll dose not perform any linear scans(poll) and ti is able to perform better and handle a larger number of events(s...

2012/03/12 09:36
21.4W
Shell 小技巧

在Linux shell 中启动图形界面的应用(如eclipse),会遇到一个麻烦:即当不小心关闭或退出shell时,在该shell中启动的程序也会被结束。这在有些情况下是我们不想看到的。我希望可以在shell...

2012/01/06 18:36
546
几个有趣的智力题

第1题 Alice和她的同学Bob通过网上聊天商量明天早晨谁去教室打扫卫生的事,Bob说:“我在桌上放了一枚硬币,你猜一下,是正面朝上还是反面朝上?如果猜对了,我去扫地。如果猜错了,嘿嘿…。...

2011/12/28 17:17
832
编译Android 4.0 ICS注意事项

编译 sdk 时,先运行 lunch sdk-eng,不然编译会出错,形如: development/build/sdk.atree:229: couldn't locate source file: framework/layoutlib-tests.jar lunch 的自动不全中没有 sdk-...

2011/11/24 14:21
1.2K
What the difference between assembly instructio...

Most lines will normally have an actual assembly language instruction, to be converted by the tool into its binary equivalent, but can also be a directive which tells the assemb...

2011/09/30 12:04
160
关于字符编码,你所需要知道的

字符编码的问题看似很小,经常被技术人员忽视,但是很容易导致一些莫名其妙的问题。这里总结了一下字符编码的一些普及性的知识,希望对大家有所帮助。 还是得从ASCII码说起 说到字符编码,不...

字符编解码的故事(ASCII,ANSI,Unicode,Utf-8)

此文为转载,有少许修订,原文出处不详。 很久很久以前,有一群人,他们决定用8个可以开合的晶体管来组合成不同的状态,以表示世界上的万物。他们认为8个开关状态作为原子单位很好,于是他们...

2011/09/10 15:13
395
刘未鹏谈如何学习算法

刘未鹏谈如何学习算法,很有指导意义,特摘录一段于此。 那到底什么样的才算是授人以渔的呢?波利亚的《如何解题》绝对算是一本,他的《数学的发现》也值得一看。具体到算法书,那就不是光看...

2011/08/22 19:30
2.9K
C语言宏定义中#用法

宏中"#"和"##"的用法 一、一般用法 我们使用#把宏参数变为一个字符串,用##把两个宏参数贴合在一起. 用法: #i nclude<cstdio> #i nclude<climits> using namespace std; #define STR(s) #s ...

2011/07/06 21:17
1.3K
如何成为优秀的驱动开发工程师

作者:刘旭晖 Raymond转载请注明出处 Email:colorant@163.com BLOG:http://blog.csdn.net/colorant/ 主页:http://sites.google.com/site/rgbbones/ 或许这样的标题,应该是由像Linus或Gre...

2011/07/04 13:41
477

没有更多内容

加载失败,请刷新页面

返回顶部
顶部