Home
last modified time | relevance | path

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

/external/v8/src/objects/
Dordered-hash-table.h128 int NumberOfBuckets() const { return Smi::ToInt(get(kNumberOfBucketsIndex)); } in NumberOfBuckets() function
132 return kHashTableStartIndex + NumberOfBuckets() + (entry * kEntrySize); in EntryToIndex()
135 int HashToBucket(int hash) { return hash & (NumberOfBuckets() - 1); } in HashToBucket()
214 int Capacity() { return NumberOfBuckets() * kLoadFactor; } in Capacity()
349 int capacity = NumberOfBuckets() * kLoadFactor; in Capacity()
371 int NumberOfBuckets() const { return getByte(kNumberOfBucketsOffset, 0); } in NumberOfBuckets() function
414 DCHECK_LE(static_cast<unsigned>(bucket), NumberOfBuckets()); in SetFirstEntry()
419 DCHECK_LE(static_cast<unsigned>(bucket), NumberOfBuckets()); in GetFirstEntry()
426 int nof_buckets = NumberOfBuckets(); in GetChainTableOffset()
460 int HashToBucket(int hash) const { return hash & (NumberOfBuckets() - 1); } in HashToBucket()
Dordered-hash-table.cc124 int nof_buckets = table->NumberOfBuckets(); in ConvertToKeysArray()
166 int new_buckets = new_table->NumberOfBuckets(); in Rehash()
/external/v8/src/
Dobjects-debug.cc1343 for (int entry = 0; entry < NumberOfBuckets(); entry++) { in SmallOrderedHashTableVerify()