函数逻辑报告 |
Source Code:lib\bitmap.c |
Create Date:2022-07-27 07:17:29 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const unsigned long * | buf | |
unsigned int | pos | |
unsigned int | nbits |
735 | 如果pos大于等于nbits或非st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from则返回:负1 |
738 | 返回:__bitmap_weight(buf, pos) |
名称 | 描述 |
---|---|
bitmap_remap | map_remap - Apply map defined by a pair of bitmaps to another bitmap*@dst: remapped result*@src: subset to be remapped*@old: defines domain of map*@new: defines range of map*@nbits: number of bits in each of these bitmaps* Let @old and @new define a |
bitmap_bitremap | map_bitremap - Apply map defined by a pair of bitmaps to a single bit*@oldbit: bit position to be mapped*@old: defines domain of map*@new: defines range of map*@bits: number of bits in each of these bitmaps* Let @old and @new define a mapping of bit |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |