Create a bit index.
| 42 | |
| 43 | // Create a bit index. |
| 44 | static inline mi_bitmap_index_t mi_bitmap_index_create_from_bit(size_t full_bitidx) { |
| 45 | return mi_bitmap_index_create(full_bitidx / MI_BITMAP_FIELD_BITS, full_bitidx % MI_BITMAP_FIELD_BITS); |
| 46 | } |
| 47 | |
| 48 | // Get the field index from a bit index. |
| 49 | static inline size_t mi_bitmap_index_field(mi_bitmap_index_t bitmap_idx) { |
no test coverage detected