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