- 博客(7)
- 资源 (1)
- 收藏
- 关注
转载 CMake:How To Write Platform Checks
If you want to write software which compiles and runs on different operating systems, you have to take care for the special properties of the different platforms. On different operating systems there ...
2018-10-28 14:54:31
230
原创 HTTPS 相关转载
HTTPS 握手技术细节:HTTPS协议详解(四):TLS/SSL握手过程请参考:https://blog.csdn.net/hherima/article/details/52469674
2018-08-01 15:07:10
145
原创 偶然而得
精卫衔微木,将以填沧海。刑天舞干戚,猛志固常在。 同物既无虑,化去不复悔。徒设在昔心,良辰讵可待! 精卫口含小小的木块,将要填平深深的大海。刑天失败仍挥舞盾斧,刚毅的精神始终存在。 同样是生灵不存余哀,化成了异物并无悔改。徒然胸怀昔日的雄心,美好的时刻怎可期待!http://linux.chinaunix.net/bbs/viewthread.p
2010-03-16 14:11:00
153
原创 基础结构
//结构体的声明;typedef struct list_head { struct list_head *next, *prev;}LIST_HEAD;//定义一个list_head结构体变量;#define LIST_HEAD_DECLARE(name) struct list_head name//初始化指针所指的lis
2010-03-16 14:10:00
150
原创 list_head的定义和初始化
//结构体的声明;typedef struct list_head { struct list_head *next, *prev;}LIST_HEAD;//定义一个list_head结构体变量;#define LIST_HEAD_DECLARE(name) struct list_head name//初始化指针所指的list_head结构体#defi
2010-01-28 15:28:00
360
原创 有趣的宏
#define INCBUF(x,mod) ((++(x))&((mod)-1)) x在mod进制下实现increment ;将x增加1后的值与(mod)-1的值按位求与运算 int x = 17 ; int mod=16; INCBUF(x, mod)的结果是1, 而且x的值也
2010-01-26 19:40:00
635
原创 中 断(读书笔记)
设备的中断会打断内核中进程的正常调度和运行,系统对更高吞吐率的追求势必要求中断服务程序尽可能地短小精悍。但是这个良好的愿望往往与现实并不吻合。在大多数的系统中,当中断到来时,要完成的工作往往并不是短小的,它可能要求进行较大量的耗时处理。 为了在中断执行时间尽可能短和中断处理需要完成大量工作之前找一个平衡点,这样将中断处理程序分解为:tophalf和bottomhal
2010-01-26 09:16:00
218
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人