| 46 | } |
| 47 | |
| 48 | inline bool Get(uintptr_t Idx) { |
| 49 | assert(Idx < kMapSizeInBits); |
| 50 | uintptr_t WordIdx = Idx / kBitsInWord; |
| 51 | uintptr_t BitIdx = Idx % kBitsInWord; |
| 52 | return Map[WordIdx] & (1ULL << BitIdx); |
| 53 | } |
| 54 | |
| 55 | size_t SizeInBits() const { return kMapSizeInBits; } |
| 56 |
no outgoing calls
no test coverage detected