Home
last modified time | relevance | path

Searched refs:map_type (Results 1 – 9 of 9) sorted by relevance

/oneTBB/test/conformance/
H A Dconformance_concurrent_map.cpp40 using map_type = oneapi::tbb::concurrent_map<int, int, std::less<int>, Allocator<int, int>>; typedef
44 struct SpecialTests<map_type> {
46 SpecialMapTests<map_type>(); in Test()
178 test_basic<map_type>();
184 test_concurrent<map_type>();
196 test_initializer_list_support<map_type>({{1, 1}, {2, 2}, {3, 3}, {4, 4}});
202 node_handling_tests::test_node_handling_support<map_type>();
308 node_handling_tests::test_merge<map_type, multimap_type>(1000);
H A Dconformance_concurrent_unordered_map.cpp37 using map_type = oneapi::tbb::concurrent_unordered_map<int, int, std::hash<int>, std::equal_to<int>… typedef
41 struct SpecialTests<map_type> {
43 SpecialMapTests<map_type>(); in Test()
253 test_basic<map_type>();
259 test_concurrent<map_type>();
271 test_initializer_list_support<map_type>({{1, 1}, {2, 2}, {3, 3}, {4, 4}});
277 node_handling_tests::test_node_handling_support<map_type>();
385 node_handling_tests::test_merge<map_type, multimap_type>(1000);
H A Dconformance_concurrent_hash_map.cpp1060 …using map_type = oneapi::tbb::concurrent_hash_map<key_type, key_type, non_default_constructible_ha… in TestHashCompareConstructors() typedef
1063 map_type::allocator_type allocator; in TestHashCompareConstructors()
1065 map_type map1(compare); in TestHashCompareConstructors()
1066 map_type map2(compare, allocator); in TestHashCompareConstructors()
1068 map_type map3(1, compare); in TestHashCompareConstructors()
1069 map_type map4(1, compare, allocator); in TestHashCompareConstructors()
1071 std::vector<map_type::value_type> reference_vector; in TestHashCompareConstructors()
1072 map_type map5(reference_vector.begin(), reference_vector.end(), compare); in TestHashCompareConstructors()
1073 map_type map6(reference_vector.begin(), reference_vector.end(), compare, allocator); in TestHashCompareConstructors()
1075 map_type map7({}, compare); in TestHashCompareConstructors()
[all …]
/oneTBB/test/common/
H A Dconcurrent_lru_cache_common.h65 using map_type = std::map<KeyType, ValueType>; member
66 using map_iter = typename map_type::iterator;
68 map_type& my_map_ref;
70 map_searcher(map_type& map_ref) : my_map_ref(map_ref) {} in map_searcher()
229 using objects_map_type = map_searcher_type::map_type;
232 map_searcher_type::map_type objects_map;
/oneTBB/test/tbb/
H A Dtest_concurrent_hash_map.cpp776 map_type map(init_list);
780 map_type map1(map); in __anon3741356d0302()
785 map_type map2(init_list.begin(), init_list.end()); in __anon3741356d0402()
797 map_type map4(init_list, test_hash); in __anon3741356d0602()
802 map_type map5(init_list); in __anon3741356d0702()
807 map_type big_map{};
815 map_type map6(big_map); in __anon3741356d0802()
826 map_type map1{};
827 map_type map2({{42, 42}, {24, 42}});
828 map_type map3(map2);
[all …]
H A Dtest_concurrent_unordered_map.cpp36 using map_type = tbb::concurrent_unordered_map<int, int, std::hash<int>, std::equal_to<int>, MyAllo… typedef
69 struct SpecialTests<map_type> {
71 SpecialMapTests<map_type>(); in Test()
182 test_range_based_for_support<map_type>();
192 node_handling_tests::test_merge<map_type, degenerate_multimap_type>(1000);
H A Dtest_concurrent_map.cpp33 using map_type = tbb::concurrent_map<int, int, std::less<int>, MyAllocator<int, int>>; typedef
45 struct SpecialTests<map_type> {
47 SpecialMapTests<map_type>(); in Test()
201 test_range_based_for_support<map_type>();
/oneTBB/doc/main/reference/
H A Dcustom_mutex_chmap.rst152 using map_type = oneapi::tbb::concurrent_hash_map<int, int,
157map_type map; // This object will use SharedMutexWrapper for thread safety of insert/find/erase op…
/oneTBB/include/oneapi/tbb/
H A Dconcurrent_hash_map.h373 using map_type = Container; variable
499 using map_type = typename Iterator::map_type; variable
529 hash_map_range( const map_type &map, size_type grainsize_ = 1 ) :