上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页
标记一下,容易忘,以免每次查代码。 ./include/linux/types.h:21:typedef __u32 __kernel_dev_t; ./include/linux/types.h:24:typedef __kernel_dev_t dev_t; 所以 dev_t实际上就是个 无符号 Read More
posted @ 2017-11-11 17:07 suonikeyinsu Views(339) Comments(0) Diggs(0) Edit
1.AF_UNIX & SOCK_STREAM 1.1 accept_socket BLOCK EPOLLIN|EPOLLET 1.2 accept_socket NON-BLOCK EPOLLIN|EPOLLET 1.3 accept_socket BLOCK EPOLLIN 1.4 accept Read More
posted @ 2017-09-30 00:23 suonikeyinsu Views(451) Comments(0) Diggs(0) Edit
1 #!/usr/bin/env python 2 #-*- coding:utf-8 -*- 3 ############################ 4 #File Name: print.py 5 #Author: frank 6 #Mail: frank0903@aliyun.com 7 #Created Time:2017-09-04 13:45:59 8 ####... Read More
posted @ 2017-09-05 08:59 suonikeyinsu Views(147) Comments(0) Diggs(0) Edit
1 #!/usr/bin/env python 2 #-*- coding:utf-8 -*- 3 ############################ 4 #File Name: class5.py 5 #Author: frank 6 #Email: frank0903@aliyun.com 7 #Created Time:2017-09-04 17:22:45 8 ##... Read More
posted @ 2017-09-05 08:53 suonikeyinsu Views(136) Comments(0) Diggs(0) Edit
1 #!/usr/bin/env python 2 #-*- coding:utf-8 -*- 3 ############################ 4 #File Name: class4.py 5 #Author: frank 6 #Email: frank0903@aliyun.com 7 #Created Time:2017-09-04 16:36:31 8 ##... Read More
posted @ 2017-09-05 08:52 suonikeyinsu Views(79) Comments(0) Diggs(0) Edit
python3.5 环境下运行: Read More
posted @ 2017-09-05 08:51 suonikeyinsu Views(152) Comments(0) Diggs(0) Edit
1 #!/usr/bin/env python 2 #-*- coding:utf-8 -*- 3 ############################ 4 #File Name: class1.py 5 #Author: frank 6 #Mail: frank0903@aliyun.com 7 #Created Time:2017-09-04 13:35:27 8 ###... Read More
posted @ 2017-09-05 08:50 suonikeyinsu Views(156) Comments(0) Diggs(0) Edit
#!/usr/bin/env python #-*- coding:utf-8 -*- ############################ #File Name: class2.py #Author: frank #Email: frank0903@aliyun.com #Created Time:2017-09-04 14:40:07 ##########################... Read More
posted @ 2017-09-05 08:50 suonikeyinsu Views(260) Comments(0) Diggs(0) Edit
静态模式规则对一个较大工程的管理非常有用。它可以对整个工程的同一类文件的重建规则进行一次定义,而实现对整个工程中此类文件指定相同的重建规则。比如,可以用来描述整个工程中所有的.o 文件的依赖规则和编译命令。通常的做法是将生成同一类目标的模式定义在一个 make.rules 的文件中。在工程各个模块的 Read More
posted @ 2017-08-23 18:28 suonikeyinsu Views(5504) Comments(0) Diggs(0) Edit
通常在kernel或uboot中, 有很多以CONFIG_*开头的宏配置选项,并且保存在相应的头文件中,那么这些CONFIG_*是怎么生成的呢? 在uboot的顶层Makefile中,有这么一项: 此段的作用就是将相关头文件中的宏CONFIG_*保存在include/autoconf.mk中。 涉及 Read More
posted @ 2017-08-23 17:21 suonikeyinsu Views(598) Comments(0) Diggs(0) Edit
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 23 下一页