MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / mi_bitmap_index_bit_in_field

Function mi_bitmap_index_bit_in_field

3rd/mimalloc-2.0.9/src/bitmap.h:54–56  ·  view source on GitHub ↗

Get the bit index in a bitmap field

Source from the content-addressed store, hash-verified

52
53// Get the bit index in a bitmap field
54static inline size_t mi_bitmap_index_bit_in_field(mi_bitmap_index_t bitmap_idx) {
55 return (bitmap_idx % MI_BITMAP_FIELD_BITS);
56}
57
58// Get the full bit index
59static inline size_t mi_bitmap_index_bit(mi_bitmap_index_t bitmap_idx) {

Callers 5

mi_region_try_allocFunction · 0.85
_mi_bitmap_unclaimFunction · 0.85
_mi_bitmap_claimFunction · 0.85
mi_bitmap_is_claimedxFunction · 0.85
mi_bitmap_mask_acrossFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected