Home
last modified time | relevance | path

Searched defs:hash_map_traits (Results 1 – 2 of 2) sorted by relevance

/oneTBB/test/tbb/
H A Dtest_concurrent_hash_map.cpp488 struct hash_map_traits : default_container_traits { struct
489 enum{ expected_number_of_items_to_allocate_for_steal_move = 0 };
492 struct hash_compare {
503 using container_type = tbb::concurrent_hash_map<T, T, hash_compare<T>, Allocator>;
506 using container_value_type = std::pair<const T, T>;
509 struct apply {
513 using init_iterator_type = move_support_tests::FooPairIterator;
515 static bool equal(hash_map_type const& c, iterator begin, iterator end){ in equal()
/oneTBB/test/conformance/
H A Dconformance_concurrent_hash_map.cpp565 struct hash_map_traits : default_container_traits { struct
566 enum{ expected_number_of_items_to_allocate_for_steal_move = 0 };
569 struct hash_compare {
580 using container_type = oneapi::tbb::concurrent_hash_map<T, T, hash_compare<T>, Allocator>;
583 using container_value_type = std::pair<const T, T>;
586 struct apply {
590 using init_iterator_type = move_support_tests::FooPairIterator;
592 static bool equal(hash_map_type const& c, iterator begin, iterator end){ in equal()