Home | History | Annotate | Download | only in unord.multimap

Lines Matching defs:Hash

12 // template <class Key, class T, class Hash = hash<Key>, class Pred = equal_to<Key>,
29 typedef test_hash<std::hash<int> > Hash;
32 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
34 C c1(0, Hash(1), Compare(1), Alloc(1));
35 C c2(0, Hash(2), Compare(2), Alloc(2));
41 assert(c1.hash_function() == Hash(2));
50 assert(c2.hash_function() == Hash(1));
58 typedef test_hash<std::hash<int> > Hash;
61 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
74 C c1(0, Hash(1), Compare(1), Alloc(1));
75 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
89 assert(c1.hash_function() == Hash(2));
98 assert(c2.hash_function() == Hash(1));
106 typedef test_hash<std::hash<int> > Hash;
109 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
120 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
121 C c2(0, Hash(2), Compare(2), Alloc(2));
127 assert(c1.hash_function() == Hash(2));
142 assert(c2.hash_function() == Hash(1));
150 typedef test_hash<std::hash<int> > Hash;
153 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
175 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
176 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
190 assert(c1.hash_function() == Hash(2));
205 assert(c2.hash_function() == Hash(1));
214 typedef test_hash<std::hash<int> > Hash;
217 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
219 C c1(0, Hash(1), Compare(1), Alloc(1));
220 C c2(0, Hash(2), Compare(2), Alloc(2));
226 assert(c1.hash_function() == Hash(2));
235 assert(c2.hash_function() == Hash(1));
243 typedef test_hash<std::hash<int> > Hash;
246 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
259 C c1(0, Hash(1), Compare(1), Alloc(1));
260 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
274 assert(c1.hash_function() == Hash(2));
283 assert(c2.hash_function() == Hash(1));
291 typedef test_hash<std::hash<int> > Hash;
294 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
305 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
306 C c2(0, Hash(2), Compare(2), Alloc(2));
312 assert(c1.hash_function() == Hash(2));
327 assert(c2.hash_function() == Hash(1));
335 typedef test_hash<std::hash<int> > Hash;
338 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
360 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
361 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
375 assert(c1.hash_function() == Hash(2));
390 assert(c2.hash_function() == Hash(1));