Searched refs:minimumCapacity (Results 1 – 2 of 2) sorted by relevance
/system/core/libutils/ |
D | BasicHashtable.cpp | 202 void BasicHashtableImpl::rehash(size_t minimumCapacity, float loadFactor) { in rehash() argument 203 if (minimumCapacity < mSize) { in rehash() 204 minimumCapacity = mSize; in rehash() 207 determineCapacity(minimumCapacity, loadFactor, &newBucketCount, &newCapacity); in rehash() 324 void BasicHashtableImpl::determineCapacity(size_t minimumCapacity, float loadFactor, in determineCapacity() argument 329 size_t count = ceilf(minimumCapacity / loadFactor) + 1; in determineCapacity() 337 uint32_t(minimumCapacity), loadFactor); in determineCapacity()
|
/system/core/include/utils/ |
D | BasicHashtable.h | 72 void rehash(size_t minimumCapacity, float loadFactor); 116 static void determineCapacity(size_t minimumCapacity, float loadFactor, 328 inline void rehash(size_t minimumCapacity, float loadFactor) { in rehash() argument 329 BasicHashtableImpl::rehash(minimumCapacity, loadFactor); in rehash()
|