Searched refs:GetLsbForPosition (Results 1 – 2 of 2) sorted by relevance
166 static constexpr size_t GetLsbForPosition(size_t position) { in GetLsbForPosition() function185 StorageType data = BitFieldExtract(storage_, GetLsbForPosition(idx), kBitSizeAtPosition[idx]);200 GetLsbForPosition(idx), in SetAt()260 size_t lsb = GetLsbForPosition(end); in Truncate()261 size_t bit_size = GetLsbForPosition(kCapacity) - lsb; in Truncate()
91 TEST(InstanceOfBitString, GetLsbForPosition) { in TEST() argument94 EXPECT_EQ(0u, BitString::GetLsbForPosition(0u)); in TEST()95 EXPECT_EQ(BitString::kBitSizeAtPosition[0u], BitString::GetLsbForPosition(1u)); in TEST()97 BitString::GetLsbForPosition(2u)); in TEST()