Home
last modified time | relevance | path

Searched refs:RecalculateTableSize (Results 1 – 2 of 2) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Dtemplate_map_test.cpp268 HWTEST_F_L0(TemplateMapTest, RecalculateTableSize) in HWTEST_F_L0() argument
271 EXPECT_EQ(TemplateMap::RecalculateTableSize(currentSize, atLeastSize), currentSize); in HWTEST_F_L0()
273 EXPECT_EQ(TemplateMap::RecalculateTableSize(currentSize, atLeastSize - 1), currentSize / 2); in HWTEST_F_L0()
277 EXPECT_EQ(TemplateMap::RecalculateTableSize(currentSize, i), currentSize); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_hash_table.h132 inline static int RecalculateTableSize(int currentSize, int atLeastSize) in RecalculateTableSize() function
151 int newSize = RecalculateTableSize(table->Size(), table->EntriesCount() + additionalSize); in Shrink()