Find the first set bit in the bitmap, at the specified offset.
| 74 | |
| 75 | // Find the first set bit in the bitmap, at the specified offset. |
| 76 | inline bool BitmapFindFirstSet(const uint8_t *bitmap, size_t offset, |
| 77 | size_t bitmap_size, size_t *idx) { |
| 78 | return BitmapFindFirst(bitmap, offset, bitmap_size, true, idx); |
| 79 | } |
| 80 | |
| 81 | // Find the first zero bit in the bitmap, at the specified offset. |
| 82 | inline bool BitmapFindFirstZero(const uint8_t *bitmap, size_t offset, |