Searched refs:NumberOfBuckets (Results 1 – 3 of 3) sorted by relevance
128 int NumberOfBuckets() const { return Smi::ToInt(get(kNumberOfBucketsIndex)); } in NumberOfBuckets() function132 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() function414 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()
124 int nof_buckets = table->NumberOfBuckets(); in ConvertToKeysArray()166 int new_buckets = new_table->NumberOfBuckets(); in Rehash()
1343 for (int entry = 0; entry < NumberOfBuckets(); entry++) { in SmallOrderedHashTableVerify()