bitmap_test
This commit is contained in:
parent
0820443a7d
commit
e69b5fba50
1 changed files with 2 additions and 0 deletions
2
bitmap.h
2
bitmap.h
|
|
@ -15,5 +15,7 @@ uint bit_log2(uint64_t value);
|
||||||
bit_set((m)[p>>CU_WORD_POW2], p&((1<<CU_WORD_POW2)-1), b)
|
bit_set((m)[p>>CU_WORD_POW2], p&((1<<CU_WORD_POW2)-1), b)
|
||||||
#define bitmap_get(m, p) \
|
#define bitmap_get(m, p) \
|
||||||
bit_get((m)[p>>CU_WORD_POW2], p&((1<<CU_WORD_POW2)-1))
|
bit_get((m)[p>>CU_WORD_POW2], p&((1<<CU_WORD_POW2)-1))
|
||||||
|
#define bitmap_test(m, p) \
|
||||||
|
bit_test((m)[p>>CU_WORD_POW2], p&((1<<CU_WORD_POW2)-1))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Loading…
Add table
Reference in a new issue