Searched refs:key2 (Results 1 – 5 of 5) sorted by relevance
| /oneTBB/include/oneapi/tbb/detail/ |
| H A D | _hash_compare.h | 42 bool operator()( const Key& key1, const Key& key2 ) const { in operator() 43 return my_equal(key1, key2); in operator() 52 bool operator()( const K1& key1, const K2& key2 ) const { in operator() 53 return my_equal(key1, key2); in operator() 95 … requires( const std::remove_reference_t<HashCompare>& hc, const Key& key1, const Key& key2 ) { in requires() argument 97 { hc.equal(key1, key2) } -> std::convertible_to<bool>; in requires()
|
| /oneTBB/test/tbb/ |
| H A D | test_concurrent_hash_map.cpp | 384 …bool equal(const AllocatorAwareData<Allocator>& key1, const AllocatorAwareData<Allocator>& key2) c… in equal() 385 return my_hash_compare.equal(key1.value(), key2.value()); in equal() 399 allocator_data_type key1(1, allocator), key2(2, allocator); in TestScopedAllocator() local 403 hash_map_type::value_type v1(key1, data1), v2(key2, data2); in TestScopedAllocator() 409 map2.emplace(key2, std::move(data2)); in TestScopedAllocator() 691 bool equal(const T& key1, const U& key2) const { return key1 == key2; } in equal()
|
| /oneTBB/test/common/ |
| H A D | node_handling_support.h | 265 auto key2 = Value<Container>::key(expected_value2); in test_extract() local 266 auto count2 = table_for_extract.count(key2); in test_extract() 271 …REQUIRE_MESSAGE(table_for_extract.count(key2) == count2 -1, "Extract: more than one elements were … in test_extract()
|
| H A D | concurrent_associative_common.h | 302 void test_emplace_insert( Key key1, Key key2 ) { 316 typename Container::iterator it2 = emplace_helpers::call_emplace_hint(cont, ins.first, key2); 317 REQUIRE_MESSAGE(Value<Container>::compare(it2, key2), "Element 2 has not been inserted"); 1197 allocator_data_type key2(2, allocator); 1200 container_value_type value2 = Value<container_type>::make(key2); 1210 emplace_helpers::call_emplace(c2, std::move(key2));
|
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_hash_map.cpp | 1247 bool equal( const int& key1, const int& key2 ) const { in equal() 1248 return key1 == key2; in equal() 1252 bool equal( const int& key1, const HeterogeneousKey<IsConstructible>& key2 ) const { in equal() 1253 return key1 == key2.integer_key(); in equal() 1257 bool equal( const HeterogeneousKey<IsConstructible>& key1, const int& key2 ) const { in equal() 1258 return key1.integer_key() == key2; in equal() 1262 …st HeterogeneousKey<IsConstructible>& key1, const HeterogeneousKey<IsConstructible>& key2 ) const { in equal() 1263 return key1.integer_key() == key2.integer_key(); in equal()
|