Searched refs:ComputeHashTableSize (Results 1 – 6 of 6) sorted by relevance
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | template_map_test.cpp | 166 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/ |
| D | tagged_hash_table.h | 56 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()
|
| D | js_object.cpp | 185 thread, NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(propNumber))); in TransitionToDictionary() 2569 thread, NameDictionary::Create(thread, NameDictionary::ComputeHashTableSize(propsLen))); in CreateObjectFromProperties()
|
| D | object_factory.cpp | 4769 … thread_, NameDictionary::Create(thread_, NameDictionary::ComputeHashTableSize(propertyCount))); in CreateDictionaryJSObjectWithProperties() 4865 … thread_, NameDictionary::Create(thread_, NameDictionary::ComputeHashTableSize(propertyCount))); in CreateDictionaryJSObjectWithNamedProperties()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | class_info_extractor.cpp | 567 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/ |
| D | js_module_source_text.cpp | 685 NameDictionary::ComputeHashTableSize(importEntriesLen))); in ModuleDeclarationEnvironmentSetup()
|