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>,
31 typedef test_hash<std::hash<int> > Hash;
34 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
36 C c1(0, Hash(1), Compare(1), Alloc(1));
37 C c2(0, Hash(2), Compare(2), Alloc(2));
43 assert(c1.hash_function() == Hash(2));
52 assert(c2.hash_function() == Hash(1));
60 typedef test_hash<std::hash<int> > Hash;
63 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
76 C c1(0, Hash(1), Compare(1), Alloc(1));
77 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
91 assert(c1.hash_function() == Hash(2));
100 assert(c2.hash_function() == Hash(1));
108 typedef test_hash<std::hash<int> > Hash;
111 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
122 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
123 C c2(0, Hash(2), Compare(2), Alloc(2));
129 assert(c1.hash_function() == Hash(2));
144 assert(c2.hash_function() == Hash(1));
152 typedef test_hash<std::hash<int> > Hash;
155 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
177 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
178 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
192 assert(c1.hash_function() == Hash(2));
207 assert(c2.hash_function() == Hash(1));
216 typedef test_hash<std::hash<int> > Hash;
219 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
221 C c1(0, Hash(1), Compare(1), Alloc(1));
222 C c2(0, Hash(2), Compare(2), Alloc(2));
228 assert(c1.hash_function() == Hash(2));
237 assert(c2.hash_function() == Hash(1));
245 typedef test_hash<std::hash<int> > Hash;
248 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
261 C c1(0, Hash(1), Compare(1), Alloc(1));
262 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
276 assert(c1.hash_function() == Hash(2));
285 assert(c2.hash_function() == Hash(1));
293 typedef test_hash<std::hash<int> > Hash;
296 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
307 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
308 C c2(0, Hash(2), Compare(2), Alloc(2));
314 assert(c1.hash_function() == Hash(2));
329 assert(c2.hash_function() == Hash(1));
337 typedef test_hash<std::hash<int> > Hash;
340 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
362 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc(1));
363 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc(2));
377 assert(c1.hash_function() == Hash(2));
392 assert(c2.hash_function() == Hash(1));
401 typedef test_hash<std::hash<int> > Hash;
404 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
406 C c1(0, Hash(1), Compare(1), Alloc());
407 C c2(0, Hash(2), Compare(2), Alloc());
413 assert(c1.hash_function() == Hash(2));
422 assert(c2.hash_function() == Hash(1));
430 typedef test_hash<std::hash<int> > Hash;
433 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
446 C c1(0, Hash(1), Compare(1), Alloc());
447 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc());
461 assert(c1.hash_function() == Hash(2));
470 assert(c2.hash_function() == Hash(1));
478 typedef test_hash<std::hash<int> > Hash;
481 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
492 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc());
493 C c2(0, Hash(2), Compare(2), Alloc());
499 assert(c1.hash_function() == Hash(2));
514 assert(c2.hash_function() == Hash(1));
522 typedef test_hash<std::hash<int> > Hash;
525 typedef std::unordered_multimap<int, std::string, Hash, Compare, Alloc> C;
547 C c1(std::begin(a1), std::end(a1), 0, Hash(1), Compare(1), Alloc());
548 C c2(std::begin(a2), std::end(a2), 0, Hash(2), Compare(2), Alloc());
562 assert(c1.hash_function() == Hash(2));
577 assert(c2.hash_function() == Hash(1));