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