Lines Matching refs:Capacity
214 int Capacity() { return NumberOfBuckets() * kLoadFactor; } in Capacity() function
348 int Capacity() const { in Capacity() function
359 DCHECK_LE(nof_elements, Capacity()); in NumberOfElements()
366 DCHECK_LE(nof_deleted_elements, Capacity()); in NumberOfDeletedElements()
404 int capacity = Capacity(); in GetBucketsStartOffset()
428 DCHECK_EQ(Capacity(), capacity); in GetChainTableOffset()
436 DCHECK_LT(static_cast<unsigned>(entry), Capacity()); in SetNextEntry()
438 DCHECK(next_entry <= Capacity() || next_entry == kNotFound); in SetNextEntry()
443 DCHECK_LT(entry, Capacity()); in GetNextEntry()
448 DCHECK_LT(entry, Capacity()); in GetDataEntry()
455 DCHECK_LT(entry, Capacity()); in KeyAt()
465 DCHECK(entry < Capacity() || entry == kNotFound); in HashToFirstEntry()
472 DCHECK_LE(static_cast<unsigned>(num), Capacity()); in SetNumberOfElements()
477 DCHECK_LE(static_cast<unsigned>(num), Capacity()); in SetNumberOfDeletedElements()
522 DCHECK_LT(entry, Capacity()); in GetDataEntryOffset()
530 DCHECK_LE(used, Capacity()); in UsedCapacity()