Home
last modified time | relevance | path

Searched refs:collision (Results 1 – 2 of 2) sorted by relevance

/system/core/libutils/tests/
DBasicHashtable_test.cpp113 bool* collision, bool* present, hash_t* hash) { in cookieAt() argument
115 *collision = cookie & BasicHashtable<TKey, TEntry>::Bucket::COLLISION; in cookieAt()
167 bool collision, present; in dump() local
169 BasicHashtableTest::cookieAt(h, i, &collision, &present, &hash); in dump()
175 i, collision, present, hash, key, value, hash_type(key)); in dump()
178 i, collision, present); in dump()
/system/core/libutils/
DBasicHashtable.cpp172 uint32_t collision = bucket->cookie & Bucket::COLLISION; in add() local
173 if (!collision) { in add()
181 bucket->cookie = collision | Bucket::PRESENT | hash; in add()