Lines Matching refs:Matches
114 bool Matches(const Slice& s) { in Matches() function in ROCKSDB_NAMESPACE::BlockBasedBloomTest
125 if (Matches(Key(i + 1000000000, buffer))) { in FalsePositiveRate()
134 ASSERT_TRUE(! Matches("hello")); in TEST_F()
135 ASSERT_TRUE(! Matches("world")); in TEST_F()
141 ASSERT_TRUE(Matches("hello")); in TEST_F()
142 ASSERT_TRUE(Matches("world")); in TEST_F()
143 ASSERT_TRUE(! Matches("x")); in TEST_F()
144 ASSERT_TRUE(! Matches("foo")); in TEST_F()
165 ASSERT_TRUE(Matches(Key(i, buffer))) in TEST_F()
323 bool Matches(const Slice& s) { in Matches() function in ROCKSDB_NAMESPACE::FullBloomTest
336 if (Matches(Key(i + 12345, buffer))) { in PackedMatches()
351 if (Matches(Key(i + 1000000, buffer))) { in FirstFPs()
367 if (Matches(Key(i + 1000000000, buffer))) { in FalsePositiveRate()
447 ASSERT_TRUE(!Matches("hello")); in TEST_P()
448 ASSERT_TRUE(!Matches("world")); in TEST_P()
454 ASSERT_TRUE(Matches("hello")); in TEST_P()
455 ASSERT_TRUE(Matches("world")); in TEST_P()
456 ASSERT_TRUE(!Matches("x")); in TEST_P()
457 ASSERT_TRUE(!Matches("foo")); in TEST_P()
479 ASSERT_TRUE(Matches(Key(i, buffer))) in TEST_P()
792 ASSERT_EQ(fill, Matches("hello")); in TEST_P()
793 ASSERT_EQ(fill, Matches("world")); in TEST_P()
797 ASSERT_EQ(fill, Matches("hello")); in TEST_P()
798 ASSERT_EQ(fill, Matches("world")); in TEST_P()
803 ASSERT_EQ(fill, Matches("hello")); in TEST_P()
804 ASSERT_EQ(fill, Matches("world")); in TEST_P()
809 ASSERT_EQ(fill, Matches("hello")); in TEST_P()
810 ASSERT_EQ(fill, Matches("world")); in TEST_P()
815 ASSERT_EQ(fill, Matches("hello")); in TEST_P()
816 ASSERT_EQ(fill, Matches("world")); in TEST_P()
820 ASSERT_TRUE(Matches("hello")); in TEST_P()
821 ASSERT_TRUE(Matches("world")); in TEST_P()
825 ASSERT_FALSE(Matches("hello")); in TEST_P()
826 ASSERT_FALSE(Matches("world")); in TEST_P()
830 ASSERT_FALSE(Matches("hello")); in TEST_P()
831 ASSERT_FALSE(Matches("world")); in TEST_P()
835 ASSERT_FALSE(Matches("hello")); in TEST_P()
836 ASSERT_FALSE(Matches("world")); in TEST_P()
841 ASSERT_TRUE(Matches("hello")); in TEST_P()
842 ASSERT_TRUE(Matches("world")); in TEST_P()
847 ASSERT_TRUE(Matches("hello")); in TEST_P()
848 ASSERT_TRUE(Matches("world")); in TEST_P()
853 ASSERT_TRUE(Matches("hello")); in TEST_P()
854 ASSERT_TRUE(Matches("world")); in TEST_P()
859 ASSERT_TRUE(Matches("hello")); in TEST_P()
860 ASSERT_TRUE(Matches("world")); in TEST_P()
865 ASSERT_FALSE(Matches("hello")); in TEST_P()
866 ASSERT_FALSE(Matches("world")); in TEST_P()
869 ASSERT_FALSE(Matches("hello")); in TEST_P()
870 ASSERT_FALSE(Matches("world")); in TEST_P()
876 ASSERT_EQ(fill, Matches("hello")); in TEST_P()
877 ASSERT_EQ(fill, Matches("world")); in TEST_P()
882 ASSERT_EQ(fill, Matches("hello")); in TEST_P()
883 ASSERT_EQ(fill, Matches("world")); in TEST_P()
891 ASSERT_TRUE(Matches("hello")); in TEST_P()
892 ASSERT_TRUE(Matches("world")); in TEST_P()
897 ASSERT_TRUE(Matches("hello")); in TEST_P()
898 ASSERT_TRUE(Matches("world")); in TEST_P()