Searched refs:GetPowerOfTwoValue32 (Results 1 - 10 of 10) sorted by relevance
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | math_helpers_test.cpp | 54 HWTEST(MathHelpers, GetPowerOfTwoValue32, testing::ext::TestSize.Level0) in HWTEST() 57 EXPECT_EQ(GetPowerOfTwoValue32(i), 1U); in HWTEST() 60 EXPECT_EQ(GetPowerOfTwoValue32(i), 2U); in HWTEST() 63 EXPECT_EQ(GetPowerOfTwoValue32(i), 16U); in HWTEST() 66 EXPECT_EQ(GetPowerOfTwoValue32(i), 64U); in HWTEST() 69 EXPECT_EQ(GetPowerOfTwoValue32(i), 2048U); in HWTEST()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | math_helpers_test.cpp | 83 TEST(MathHelpers, GetPowerOfTwoValue32) in TEST() 86 EXPECT_EQ(GetPowerOfTwoValue32(i), 1U); in TEST() 89 EXPECT_EQ(GetPowerOfTwoValue32(i), 2U); in TEST() 92 EXPECT_EQ(GetPowerOfTwoValue32(i), 16U); in TEST() 95 EXPECT_EQ(GetPowerOfTwoValue32(i), 64U); in TEST() 98 EXPECT_EQ(GetPowerOfTwoValue32(i), 2048U); in TEST()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | math_helpers.h | 64 constexpr uint32_t GetPowerOfTwoValue32(uint32_t value) in GetPowerOfTwoValue32() function
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/mem/ |
H A D | items_pool.h | 33 std::array<uint8_t, helpers::math::GetPowerOfTwoValue32(sizeof(Item))> aligned;
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | transitions_dictionary.h | 172 static_cast<int>(helpers::math::GetPowerOfTwoValue32(realEntryCount + addedElements) * HASH_TABLE_BUFFER)); in ComputeCompactSize()
|
H A D | linked_hash_table.h | 128 int capacity = static_cast<int>(helpers::math::GetPowerOfTwoValue32(rawCap)); in ComputeCapacity()
|
H A D | tagged_hash_table.h | 61 int newSize = static_cast<int>(helpers::math::GetPowerOfTwoValue32(rawSize)); in ComputeHashTableSize()
|
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | math_helpers.h | 75 constexpr uint32_t GetPowerOfTwoValue32(uint32_t value) in GetPowerOfTwoValue32() function
|
/arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
H A D | aot_builder.cpp | 307 size_t hashTableSize = ark::helpers::math::GetPowerOfTwoValue32(numClasses); in AddClassHashTable()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_string_builder.cpp | 67 return helpers::math::GetPowerOfTwoValue32(currentLength + numElements); in GetNewBufferLength()
|
Completed in 6 milliseconds