返回比输入值大的第一个2的整数次幂
摘要:
在研究GoAhead源码时,看到一个函数定义如下:View Code 1 /******************************************************************************/ 2 /* 3 * Find the smallest binary memory size that "size" will fit into. This 4 * makes the ringq and ringqGrow routines much more efficient. The balloc 5 * routine likes p 阅读全文
posted @ 2011-05-20 20:41 鹰之歌 阅读(348) 评论(0) 推荐(0)
浙公网安备 33010602011771号