Lines Matching full:bits
30 * Expanding bitmap, used for tracking resources. Bits are numbered starting
38 * @brief Convenient iterator across the indexes of the BitVector's set bits.
41 * to the highest index of the BitVector's set bits. Instances can be retrieved
89 uint32_t bit_index_; // Current index (size in bits).
95 * @brief BitVector wrapper class for iteration across indexes of set bits.
128 // The number of words necessary to encode bits.
129 static constexpr uint32_t BitsToWords(uint32_t bits) {
130 return RoundUp(bits, kWordBits) / kWordBits;
161 // Mark all bits bit as "clear".
164 // Mark specified number of bits as "set". Cannot set all bits like ClearAll since there might
165 // be unused bits - setting those to one will confuse the iterator.
176 // Set bits of union_with that are not in not_in.
185 * @brief Are all the bits set the same?
186 * @details expandability and size can differ as long as the same bits are set.
192 // Count the number of bits that are set.
195 // Count the number of bits that are set in range [0, end).
236 // Number of bits set in range [0, end) in storage. (No range check.)