Searched refs:WordIndex (Results 1 – 2 of 2) sorted by relevance
157 storage_[WordIndex(idx)] |= BitMask(idx); in SetBit()165 storage_[WordIndex(idx)] &= ~BitMask(idx); in ClearBit()264 return (storage[WordIndex(idx)] & BitMask(idx)) != 0; in IsBitSet()298 static constexpr uint32_t WordIndex(uint32_t idx) { in WordIndex() function
256 for (idx = 0; idx < WordIndex(num_bits); idx++) { in SetInitialBits()315 uint32_t word_end = WordIndex(end); in NumSetBits()