jiffies变量总是无符号长整数(unsigned long),因此,在32位体系结构上是32位,在时钟频率为100的情况下,497天后会溢出,如果频率是1000,49.7天后会溢出。
基于87个网页-相关网页
...nt(有符号短整型数)、signed long(有符号长整型数说明)、unsigned int(无符号短整型数)和unsigned long(无符号长整型数),字长和数的取值范围已在表5-1中列出。 整型数在内存中是以补码方式存放的,应遵循以下原则: 正数的补码和原码相同。
基于24个网页-相关网页
unsigned long int 无符号长整型 ; 无符号长整形 ; 无符号的长整数类型
unsigned long flags 各种标志 ; 标志 ; 与中断管理有关的各种选项
unsigned long totalram 总的可用的内存大小
unsigned long freeswap 还可用的交换区大小
unsigned long totalswap 交换区大小
unsigned long totalhigh 总的高内存大小
unsigned long end 资源范围的结束
unsigned long start 资源范围的开始
unsigned long len 双向链表的长度即节点的个数 ; 链表的节点数量 ; 链表长度
This is true for unsigned short, unsigned long, and unsigned long long.
对于 unsigned short , unsigned long , 以及 unsigned long long 来说也是这样。
These arguments are canonically of type unsigned long long, although some programs engage in mild type punning, treating them as 64-bit Pointers or other types.
这些参数按照规定都是unsigned long long类型的,不过有些程序加入了适度的类型双关,将它们当作64位的指针或其他类型。
There are lots of flavors of this, but the basic idea is that you put a tag at the beginning of a variable name saying what type it is. (So all unsigned long variables begin with ul, etc.)
其种类很多,但基本的理念是在变量名的开始添加一个标记以表示其类型(例如,所有无符号长型变量都以 ul 开头)。
应用推荐