Home
last modified time | relevance | path

Searched refs:NumberOfBuckets (Results 1 – 3 of 3) sorted by relevance

/external/v8/test/cctest/
Dtest-ordered-hash-table.cc46 CHECK_EQ(2, ordered_set->NumberOfBuckets()); in TEST()
89 CHECK_EQ(4, ordered_set->NumberOfBuckets()); in TEST()
101 CHECK_EQ(2, ordered_set->NumberOfBuckets()); in TEST()
111 CHECK_EQ(2, ordered_map->NumberOfBuckets()); in TEST()
163 CHECK_EQ(4, ordered_map->NumberOfBuckets()); in TEST()
175 CHECK_EQ(2, ordered_map->NumberOfBuckets()); in TEST()
/external/v8/src/
Dobjects.h3870 int NumberOfBuckets() { in NumberOfBuckets() function
3885 return kHashTableStartIndex + NumberOfBuckets() + (entry * kEntrySize); in EntryToIndex()
3923 return NumberOfBuckets() * kLoadFactor; in Capacity()
3932 return hash & (NumberOfBuckets() - 1); in HashToBucket()
Dobjects.cc15482 int new_buckets = new_table->NumberOfBuckets(); in Rehash()