Searched refs:WordIndex (Results 1 – 2 of 2) sorted by relevance
142 storage_[WordIndex(idx)] |= BitMask(idx); in SetBit()150 storage_[WordIndex(idx)] &= ~BitMask(idx); in ClearBit()233 return (storage[WordIndex(idx)] & BitMask(idx)) != 0; in IsBitSet()254 static constexpr uint32_t WordIndex(uint32_t idx) { in WordIndex() function
257 for (idx = 0; idx < WordIndex(num_bits); idx++) { in SetInitialBits()320 uint32_t word_end = WordIndex(end); in NumSetBits()