函数逻辑报告 |
Source Code:lib\bitmap.c |
Create Date:2022-07-27 07:17:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__bitmap_weight
函数原型:int __bitmap_weight(const unsigned long *bitmap, unsigned int bits)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const unsigned long * | bitmap | |
unsigned int | bits |
269 | lim等于bits除BITS_PER_LONG |
270 | w等于0 |
275 | 如果bits取模BITS_PER_LONG则w加等于hweight_long(bitmap[k] & BITMAP_LAST_WORD_MASK(bits)) |
278 | 返回:w |
名称 | 描述 |
---|---|
bitmap_pos_to_ord | map_pos_to_ord - find ordinal of set bit at given position in bitmap*@buf: pointer to a bitmap*@pos: a bit position in @buf (0 <= @pos < @nbits)*@nbits: number of valid bit positions in @buf* Map the bit at position @pos in @buf (of length @nbits) to the |
bitmap_weight |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |