Home
last modified time | relevance | path

Searched refs:rehash (Results 1 – 4 of 4) sorted by relevance

/system/core/include/utils/
DBasicHashtable.h72 void rehash(size_t minimumCapacity, float loadFactor);
328 inline void rehash(size_t minimumCapacity, float loadFactor) { in rehash() function
329 BasicHashtableImpl::rehash(minimumCapacity, loadFactor); in rehash()
DLruCache.h95 void rehash(size_t newCapacity);
151 rehash(mTable->capacity() * 2); in put()
236 void LruCache<TKey, TValue>::rehash(size_t newCapacity) { in rehash() function
/system/core/libutils/tests/
DBasicHashtable_test.cpp442 h.rehash(h.capacity(), h.loadFactor()); in TEST_F()
453 h.rehash(9, 1.0f); in TEST_F()
470 h.rehash(0, 0.75f); in TEST_F()
487 h.rehash(0, 0.75f); in TEST_F()
574 h1.rehash(10, 1.0f); in TEST_F()
/system/core/libutils/
DBasicHashtable.cpp175 rehash(mCapacity * 2, mLoadFactor); in add()
202 void BasicHashtableImpl::rehash(size_t minimumCapacity, float loadFactor) { in rehash() function in android::BasicHashtableImpl