reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/ADT/HashingTest.cpp
  283   const int arr1[] = { i1, i2, i3, i4, i5, i6 };
  284   EXPECT_EQ(hash_combine_range(arr1, arr1 + 1), hash_combine(i1));
  285   EXPECT_EQ(hash_combine_range(arr1, arr1 + 2), hash_combine(i1, i2));
  286   EXPECT_EQ(hash_combine_range(arr1, arr1 + 3), hash_combine(i1, i2, i3));
  287   EXPECT_EQ(hash_combine_range(arr1, arr1 + 4), hash_combine(i1, i2, i3, i4));
  289             hash_combine(i1, i2, i3, i4, i5));
  291             hash_combine(i1, i2, i3, i4, i5, i6));
  308   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i1, i2));
  308   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i1, i2));
  308   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i1, i2));
  308   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i1, i2));
  308   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i1, i2));
  309   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i2, i1));
  309   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i2, i1));
  309   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i2, i1));
  309   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i2, i1));
  309   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i1, i2, i1));
  310   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i1, i1));
  310   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i1, i1));
  310   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i1, i1));
  310   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i1, i1));
  310   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i1, i1));
  311   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i1));
  311   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i1));
  311   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i1));
  311   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i1));
  312   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i2));
  312   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i2));
  312   EXPECT_NE(hash_combine(i1, i1, i1), hash_combine(i2, i2, i2));
  313   EXPECT_NE(hash_combine(i2, i1, i1), hash_combine(i1, i1, i2));
  313   EXPECT_NE(hash_combine(i2, i1, i1), hash_combine(i1, i1, i2));
  313   EXPECT_NE(hash_combine(i2, i1, i1), hash_combine(i1, i1, i2));
  313   EXPECT_NE(hash_combine(i2, i1, i1), hash_combine(i1, i1, i2));
  314   EXPECT_NE(hash_combine(i1, i1, i2), hash_combine(i1, i2, i1));
  314   EXPECT_NE(hash_combine(i1, i1, i2), hash_combine(i1, i2, i1));
  314   EXPECT_NE(hash_combine(i1, i1, i2), hash_combine(i1, i2, i1));
  314   EXPECT_NE(hash_combine(i1, i1, i2), hash_combine(i1, i2, i1));
  315   EXPECT_NE(hash_combine(i1, i2, i1), hash_combine(i2, i1, i1));
  315   EXPECT_NE(hash_combine(i1, i2, i1), hash_combine(i2, i1, i1));
  315   EXPECT_NE(hash_combine(i1, i2, i1), hash_combine(i2, i1, i1));
  315   EXPECT_NE(hash_combine(i1, i2, i1), hash_combine(i2, i1, i1));
  318   EXPECT_NE(hash_combine(i1, i2, i3), hash_combine((char)i1, i2, i3));
  318   EXPECT_NE(hash_combine(i1, i2, i3), hash_combine((char)i1, i2, i3));
  319   EXPECT_NE(hash_combine(i1, i2, i3), hash_combine(i1, (char)i2, i3));
  319   EXPECT_NE(hash_combine(i1, i2, i3), hash_combine(i1, (char)i2, i3));
  320   EXPECT_NE(hash_combine(i1, i2, i3), hash_combine(i1, i2, (char)i3));
  320   EXPECT_NE(hash_combine(i1, i2, i3), hash_combine(i1, i2, (char)i3));