Lines Matching refs:hash_value
405 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef())); in TEST()
406 EXPECT_EQ(hash_value(std::string()), hash_value(StringRef(""))); in TEST()
408 hash_code H = hash_value(S); in TEST()
409 EXPECT_EQ(H, hash_value(StringRef("hello world"))); in TEST()
410 EXPECT_EQ(H, hash_value(StringRef(S))); in TEST()
411 EXPECT_NE(H, hash_value(StringRef("hello worl"))); in TEST()
412 EXPECT_EQ(hash_value(std::string("hello worl")), in TEST()
413 hash_value(StringRef("hello worl"))); in TEST()
414 EXPECT_NE(H, hash_value(StringRef("hello world "))); in TEST()
415 EXPECT_EQ(hash_value(std::string("hello world ")), in TEST()
416 hash_value(StringRef("hello world "))); in TEST()
417 EXPECT_EQ(H, hash_value(StringRef("hello world\0"))); in TEST()
418 EXPECT_NE(hash_value(std::string("ello worl")), in TEST()
419 hash_value(StringRef("hello world").slice(1, -1))); in TEST()