函数逻辑报告 |
Source Code:lib\test_bitmap.c |
Create Date:2022-07-27 07:30:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:test_bitmap_arr32
函数原型:static void __init test_bitmap_arr32(void)
返回类型:void
参数:无
420 | DECLARE_BITMAP(bmap2, EXP1_IN_BITS) |
424 | 以nbits小于EXP1_IN_BITS循环 |
425 | bitmap_to_arr32(arr, exp1, nbits) |
426 | bitmap_from_arr32(bmap2, arr, nbits) |
427 | expect_eq_bitmap(bmap2, exp1, nbits) |
429 | next_bit等于在内存区域中找到下一个设置位 |
431 | 如果next_bit小于und_up - round up to next specified power of 2*@x: the value to round*@y: multiple to round up to (must be a power of 2)* Rounds @x up to next multiple of @y (which must be a power of 2).* To perform arbitrary rounding up, use roundup() below.(nbits, BITS_PER_LONG)则打印错误信息("bitmap_copy_arr32(nbits == %d: tail is not safely cleared: %d\n", nbits, next_bit) |
436 | 如果nbits小于EXP1_IN_BITS减32则expect_eq_uint(arr[DIV_ROUND_UP(nbits, 32)], 0xa5a5a5a5) |
名称 | 描述 |
---|---|
selftest |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |