Searched refs:kBitsPerByte (Results 1 – 2 of 2) sorted by relevance
53 auto idx = bit / (kBitsPerByte * sizeof(mask_t)); in SetBit()56 bits_[idx] |= mask_t(1) << (bit % (kBitsPerByte * sizeof(mask_t))); in SetBit()58 bits_[idx] &= ~(mask_t(1) << (bit % (kBitsPerByte * sizeof(mask_t)))); in SetBit()63 auto idx = bit / (kBitsPerByte * sizeof(mask_t)); in GetBit()64 return bits_[idx] & (mask_t(1) << (bit % (kBitsPerByte * sizeof(mask_t)))); in GetBit()76 return bits_.size() * sizeof(mask_t) * kBitsPerByte; in size()80 auto idx = bit / (kBitsPerByte * sizeof(mask_t)); in resize()
62 static constexpr size_t kBitsPerByte = 8; variable