| 83 | } |
| 84 | |
| 85 | void Clear() { |
| 86 | const int64_t byte_offset = position_ / 8; |
| 87 | const int64_t bit_offset = position_ % 8; |
| 88 | auto bit_clear_mask = 0xFFU ^ (1U << bit_offset); |
| 89 | bitmap_[byte_offset] = static_cast<uint8_t>(bitmap_[byte_offset] & bit_clear_mask); |
| 90 | } |
| 91 | |
| 92 | void Next() { ++position_; } |
| 93 |
no outgoing calls
no test coverage detected