Clear the given bit.
| 48 | |
| 49 | // Clear the given bit. |
| 50 | inline void BitmapClear(uint8_t *bitmap, size_t idx) { |
| 51 | bitmap[idx >> 3] &= ~(1 << (idx & 7)); |
| 52 | } |
| 53 | |
| 54 | // Test/get the given bit. |
| 55 | inline bool BitmapTest(const uint8_t *bitmap, size_t idx) { |