Home
last modified time | relevance | path

Searched refs:HashType (Results 1 – 5 of 5) sorted by relevance

/system/ulib/fbl/include/fbl/
A Dintrusive_hash_table.h46 typename HashType,
47 HashType kNumBuckets>
50 static HashType GetHash(const KeyType& key) { in GetHash()
86 using HashType = _HashType; variable
170 HashType ndx = GetHash(key);
199 HashType ndx = GetHash(key); in insert_or_replace()
219 HashType ndx = GetHash(key); in find()
228 HashType ndx = GetHash(key); in find()
464 BucketType& GetBucket(HashType ndx) { in GetBucket()
488 HashType bucket_ndx_ = 0;
[all …]
/system/utest/fbl/include/fbl/tests/intrusive_containers/
A Dintrusive_hash_table_checker.h25 using HashType = typename ContainerType::HashType; in SanityCheck() local
42 static_cast<HashType>(i), ""); in SanityCheck()
A Dobjects.h53 template <typename KeyType, typename HashType, HashType kNumBuckets>
58 static HashType GetHash(const KeyType& key) { in GetHash()
61 return (static_cast<HashType>(key) * 0xcf2fd713) % kNumBuckets; in GetHash()
/system/utest/fbl/
A Dintrusive_hash_table_sll_tests.cpp72 using HashType = typename ContainerType::HashType; typedef in fbl::tests::intrusive_containers::HTSLLTraits
86 typename ContainerType::HashType,
A Dintrusive_hash_table_dll_tests.cpp72 using HashType = typename ContainerType::HashType; typedef in fbl::tests::intrusive_containers::HTDLLTraits
86 typename ContainerType::HashType,

Completed in 14 milliseconds