Home
last modified time | relevance | path

Searched refs:hasher (Results 1 – 7 of 7) sorted by relevance

/oneTBB/include/oneapi/tbb/detail/
H A D_hash_compare.h32 using hasher = Hash;
36 hash_compare( hasher hash, key_equal equal ) : my_hasher(hash), my_equal(equal) {} in hash_compare()
56 hasher hash_function() const { in hash_function()
66 hasher my_hasher;
H A D_concurrent_unordered_base.h218 using hasher = typename hash_compare_type::hasher; variable
238 … using is_transparent = dependent_bool<has_transparent_key_equal<key_type, hasher, key_equal>, T>;
242 explicit concurrent_unordered_base( size_type bucket_count, const hasher& hash = hasher(),
254 : concurrent_unordered_base(bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
260 : concurrent_unordered_base(initial_bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
264 … size_type bucket_count = initial_bucket_count, const hasher& hash = hasher(),
274 : concurrent_unordered_base(first, last, bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
336 const hasher& hash = hasher(), const key_equal& equal = key_equal(),
342 : concurrent_unordered_base(init, bucket_count, hasher(), key_equal(), alloc) {} in concurrent_unordered_base()
694 hasher hash_function() const { return my_hash_compare.hash_function(); } in hash_function()
[all …]
/oneTBB/test/common/
H A Dconcurrent_unordered_common.h217 typename Table::hasher hasher; in TypeTester() local
232 Table c2_hash_alloc({*it++, *it++, *it++}, initial_bucket_number, hasher, allocator); in TypeTester()
255 Table c4_hash_alloc(lst.size(), hasher, allocator); in TypeTester()
268 Table c5_hash_alloc(c1.begin(), c2.end(), initial_bucket_number, hasher, allocator); in TypeTester()
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_unordered_set.h56 using hasher = typename base_type::hasher; variable
195 using hasher = typename base_type::hasher; variable
H A Dconcurrent_unordered_map.h58 using hasher = typename base_type::hasher; variable
257 using hasher = typename base_type::hasher; variable
/oneTBB/test/conformance/
H A Dconformance_concurrent_unordered_set.cpp44 static_assert(std::is_same<typename default_container_type::hasher, std::hash<int>>::value, in test_member_types()
67 static_assert(std::is_same<typename container_type::hasher, decltype(test_hasher)>::value, in test_member_types()
H A Dconformance_concurrent_unordered_map.cpp57 static_assert(std::is_same<typename default_container_type::hasher, std::hash<int>>::value, in test_member_types()
84 static_assert(std::is_same<typename container_type::hasher, decltype(test_hasher)>::value, in test_member_types()