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

Function mi_bitmap_index_field

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

Get the field index from a bit index.

Source from the content-addressed store, hash-verified

47
48// Get the field index from a bit index.
49static inline size_t mi_bitmap_index_field(mi_bitmap_index_t bitmap_idx) {
50 return (bitmap_idx / MI_BITMAP_FIELD_BITS);
51}
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) {

Callers 10

_mi_bitmap_unclaimFunction · 0.85
_mi_bitmap_claimFunction · 0.85
mi_bitmap_is_claimedxFunction · 0.85
mi_bitmap_mask_acrossFunction · 0.85
bitmap.cFile · 0.85
_mi_bitmap_claim_acrossFunction · 0.85
mi_arena_allocFunction · 0.85
_mi_arena_freeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected