Searched refs:GetPowerOfTwoValue32 (Results 1 – 5 of 5) sorted by relevance
54 HWTEST(MathHelpers, GetPowerOfTwoValue32, testing::ext::TestSize.Level0)57 EXPECT_EQ(GetPowerOfTwoValue32(i), 1U);60 EXPECT_EQ(GetPowerOfTwoValue32(i), 2U);63 EXPECT_EQ(GetPowerOfTwoValue32(i), 16U);66 EXPECT_EQ(GetPowerOfTwoValue32(i), 64U);69 EXPECT_EQ(GetPowerOfTwoValue32(i), 2048U);
64 constexpr uint32_t GetPowerOfTwoValue32(uint32_t value) in GetPowerOfTwoValue32() function
159 …static_cast<int>(helpers::math::GetPowerOfTwoValue32(realEntryCount + addedElements) * HASH_TABLE_… in ComputeCompactSize()
123 int capacity = static_cast<int>(helpers::math::GetPowerOfTwoValue32(rawCap)); in ComputeCapacity()
58 int newSize = static_cast<int>(helpers::math::GetPowerOfTwoValue32(rawSize)); in ComputeHashTableSize()