Lines Matching full:hash_combine
38 return hash_combine(obj.x, obj.y);
82 EXPECT_EQ(hash_combine(42, 43), hash_value(std::make_pair(42, 43)));
83 EXPECT_NE(hash_combine(43, 42), hash_value(std::make_pair(42, 43)));
84 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43ull)));
85 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42, 43ull)));
86 EXPECT_NE(hash_combine(42, 43), hash_value(std::make_pair(42ull, 43)));
90 EXPECT_EQ(hash_combine(42, 43, 44),
97 EXPECT_EQ(hash_combine('0', hash_combine(1ull, '2')),
102 EXPECT_EQ(hash_combine(obj1, hash_combine(obj2, obj3)),
339 EXPECT_EQ(hash_combine_range(arr1, arr1 + 1), hash_combine(i1));
340 EXPECT_EQ(hash_combine_range(arr1, arr1 + 2), hash_combine(i1, i2));
341 EXPECT_EQ(hash_combine_range(arr1, arr1 + 3), hash_combine(i1, i2, i3));
342 EXPECT_EQ(hash_combine_range(arr1, arr1 + 4), hash_combine(i1, i2, i3, i4));
344 hash_combine(i1, i2, i3, i4, i5));
346 hash_combine(i1, i2, i3, i4, i5, i6));
355 hash_combine(s1, s2, s3));
356 EXPECT_EQ(hash_combine(s1, s2, s3), hash_combine(s1, s2, d3));
357 EXPECT_EQ(hash_combine(s1, s2, s3), hash_combine(s1, d2, s3));
358 EXPECT_EQ(hash_combine(s1, s2, s3), hash_combine(d1, s2, s3));
359 EXPECT_EQ(hash_combine(s1, s2, s3), hash_combine(d1, d2, s3));
360 EXPECT_EQ(hash_combine(s1, s2, s3), hash_combine(d1, d2, d3));
363 EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i1, i2));
364 EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i2, i1));
365 EXPECT_NE(hash_combine(i1, i1, i1), hash_combine
366 EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i1));
367 EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i2));
368 EXPECT_NE(hash_combine(i2, i1, i1), hash_combine(i1, i1, i2));
369 EXPECT_NE(hash_combine(i1, i1, i2), hash_combine(i1, i2, i1));
370 EXPECT_NE(hash_combine(i1, i2, i1), hash_combine(i2, i1, i1));
373 EXPECT_NE(hash_combine(i1, i2, i3), hash_combine((char)i1, i2, i3));
374 EXPECT_NE(hash_combine(i1, i2, i3), hash_combine(i1, (char)i2, i3));
375 EXPECT_NE(hash_combine(i1, i2, i3), hash_combine(i1, i2, (char)i3));
409 hash_combine(li, li, li));
411 hash_combine(bigarr[0], l2));
413 hash_combine(bigarr[0], bigarr[1], l3));
415 hash_combine(li, bigarr[0], l2));
417 hash_combine(li, bigarr[0], bigarr[1], l3));
419 hash_combine(bigarr[0], l2, bigarr[9], l3));
421 hash_combine(bigarr[0], l2, bigarr[9], l3, bigarr[18], bigarr[19]));