Home
last modified time | relevance | path

Searched refs:ComputeHashTableSize (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/tests/
Dtemplate_map_test.cpp166 HWTEST_F_L0(TemplateMapTest, ComputeHashTableSize) in HWTEST_F_L0() argument
173 EXPECT_EQ(templateMap->ComputeHashTableSize(atLeastSize), 128); in HWTEST_F_L0()
175 EXPECT_EQ(templateMap->ComputeHashTableSize(atLeastSize1), 256); in HWTEST_F_L0()
178 EXPECT_EQ(templateMap->ComputeHashTableSize(atLeastSize2), 512); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
Dtagged_hash_table.h56 inline static int ComputeHashTableSize(uint32_t atLeastSize) in ComputeHashTableSize() function
79 …int newSize = Derived::ComputeCompactSize(table, ComputeHashTableSize(table->Size() + numOfAddedEl…
140 int newSize = ComputeHashTableSize(atLeastSize); in RecalculateTableSize()
Djs_object.cpp185 thread, NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(propNumber))); in TransitionToDictionary()
2569 thread, NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(propsLen))); in CreateObjectFromProperties()
Dobject_factory.cpp4769 … thread_, NameDictionary::Create(thread_, NameDictionary::ComputeHashTableSize(propertyCount))); in CreateDictionaryJSObjectWithProperties()
4865 … thread_, NameDictionary::Create(thread_, NameDictionary::ComputeHashTableSize(propertyCount))); in CreateDictionaryJSObjectWithNamedProperties()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Dclass_info_extractor.cpp567 thread, NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(length))); in BuildDictionaryProperties()
775 thread, NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(length))); in FilterDuplicatedKeys()
819 thread, NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(length))); in BuildSendableDictionaryProperties()
930 NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(fieldNum)); in DefineSendableInstanceHClass()
951 NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(newLength)); in DefineSendableInstanceHClass()
968 … NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(fieldNum + baseLength)); in DefineSendableInstanceHClass()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_source_text.cpp685 NameDictionary::ComputeHashTableSize(importEntriesLen))); in ModuleDeclarationEnvironmentSetup()