Lines Matching defs:bits
39 * @brief Convenient iterator across the indexes of the BitVector's set bits.
42 * to the highest index of the BitVector's set bits. Instances can be retrieved
90 uint32_t bit_index_; // Current index (size in bits).
96 * @brief BitVector wrapper class for iteration across indexes of set bits.
143 // The number of words necessary to encode bits.
144 static constexpr uint32_t BitsToWords(uint32_t bits) {
145 return RoundUp(bits, kWordBits) / kWordBits;
176 // Mark all bits bit as "clear".
179 // Mark specified number of bits as "set". Cannot set all bits like ClearAll since there might
180 // be unused bits - setting those to one will confuse the iterator.
191 // Set bits of union_with that are not in not_in.
200 * @brief Are all the bits set the same?
201 * @details expandability and size can differ as long as the same bits are set.
207 // Count the number of bits that are set.
210 // Count the number of bits that are set in range [0, end).
246 // Minimum number of bits required to store this vector, 0 if none are set.
256 // Number of bits set in range [0, end) in storage. (No range check.)