Function report |
Source Code:lib\bitmap.c |
Create Date:2022-07-28 06:20:30 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static int bitmap_pos_to_ord(const unsigned long *buf, unsigned int pos, unsigned int nbits)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const unsigned long * | buf | |
| unsigned int | pos | |
| unsigned int | nbits |
| 735 | If pos >= nbits || Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return -1 |
| 738 | Return __bitmap_weight(buf, pos) |
| Name | Describe |
|---|---|
| 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 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |