Function report |
Source Code:lib\bitmap.c |
Create Date:2022-07-28 06:20:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__bitmap_shift_right - logical right shift of the bits in a bitmap*@dst : destination bitmap*@src : source bitmap*@shift : shift by this many bits*@nbits : bitmap size, in bits* Shifting right (dividing) means moving bits in the MS -> LS bit* direction
Proto:void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, unsigned shift, unsigned nbits)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned long * | dst | |
const unsigned long * | src | |
unsigned | shift | |
unsigned | nbits |
104 | lim = BITS_TO_LONGS(nbits) |
105 | off = shift / BITS_PER_LONG , rem = shift % BITS_PER_LONG |
106 | mask = BITMAP_LAST_WORD_MASK(nbits) |
116 | Else |
120 | upper <<= BITS_PER_LONG - rem |
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 |