Lines Matching refs:KeyStr

311   InitIterators({test::KeyStr("a", 5, kTypeSingleDeletion),  in TEST_P()
312 test::KeyStr("a", 3, kTypeValue)}, in TEST_P()
321 InitIterators({test::KeyStr("a", 5, kTypeSingleDeletion), in TEST_P()
322 test::KeyStr("a", 3, kTypeValue, true), in TEST_P()
323 test::KeyStr("b", 10, kTypeValue)}, in TEST_P()
327 ASSERT_EQ(test::KeyStr("a", 5, kTypeSingleDeletion), in TEST_P()
331 ASSERT_EQ(test::KeyStr("a", 3, kTypeValue, true), c_iter_->key().ToString()); in TEST_P()
334 ASSERT_EQ(test::KeyStr("b", 10, kTypeValue), c_iter_->key().ToString()); in TEST_P()
340 InitIterators({test::KeyStr("morning", 5, kTypeValue), in TEST_P()
341 test::KeyStr("morning", 2, kTypeValue), in TEST_P()
342 test::KeyStr("night", 3, kTypeValue)}, in TEST_P()
344 {test::KeyStr("ma", 4, kTypeRangeDeletion)}, {"mz"}, 5); in TEST_P()
347 ASSERT_EQ(test::KeyStr("morning", 5, kTypeValue), c_iter_->key().ToString()); in TEST_P()
350 ASSERT_EQ(test::KeyStr("night", 3, kTypeValue), c_iter_->key().ToString()); in TEST_P()
358 ks1.push_back(test::KeyStr("ma", 28, kTypeRangeDeletion)); in TEST_P()
360 std::vector<std::string> ks2{test::KeyStr("morning", 15, kTypeValue), in TEST_P()
361 test::KeyStr("morning", 5, kTypeValue), in TEST_P()
362 test::KeyStr("night", 40, kTypeValue), in TEST_P()
363 test::KeyStr("night", 20, kTypeValue)}; in TEST_P()
368 ASSERT_EQ(test::KeyStr("morning", 5, kTypeValue), c_iter_->key().ToString()); in TEST_P()
371 ASSERT_EQ(test::KeyStr("night", 40, kTypeValue), c_iter_->key().ToString()); in TEST_P()
436 {test::KeyStr("a", 50, kTypeValue), // keep in TEST_P()
437 test::KeyStr("a", 45, kTypeMerge), in TEST_P()
438 test::KeyStr("b", 60, kTypeValue), // skip to "d+" in TEST_P()
439 test::KeyStr("b", 40, kTypeValue), test::KeyStr("c", 35, kTypeValue), in TEST_P()
440 test::KeyStr("d", 70, kTypeMerge), in TEST_P()
441 test::KeyStr("e", 71, kTypeMerge), // keep in TEST_P()
442 test::KeyStr("f", 65, kTypeMerge), // skip to "f", aka keep in TEST_P()
443 test::KeyStr("f", 30, kTypeMerge), // skip to "g+" in TEST_P()
444 test::KeyStr("f", 25, kTypeValue), test::KeyStr("g", 90, kTypeValue), in TEST_P()
445 test::KeyStr("h", 91, kTypeValue), // keep in TEST_P()
446 test::KeyStr("i", 95, kTypeMerge), // skip to "z" in TEST_P()
447 test::KeyStr("j", 99, kTypeValue)}, in TEST_P()
455 ASSERT_EQ(test::KeyStr("a", 50, kTypeValue), c_iter_->key().ToString()); in TEST_P()
459 ASSERT_EQ(test::KeyStr("e", 71, kTypeMerge), c_iter_->key().ToString()); in TEST_P()
463 ASSERT_EQ(test::KeyStr("h", 91, kTypeValue), c_iter_->key().ToString()); in TEST_P()
476 A(T::SEEK, test::KeyStr("d+", kMaxSequenceNumber, kValueTypeForSeek)), in TEST_P()
479 A(T::SEEK, test::KeyStr("g+", kMaxSequenceNumber, kValueTypeForSeek)), in TEST_P()
481 A(T::SEEK, test::KeyStr("z", kMaxSequenceNumber, kValueTypeForSeek))}; in TEST_P()
489 {test::KeyStr("1", 1, kTypeValue), test::KeyStr("2", 2, kTypeValue), in TEST_P()
490 test::KeyStr("3", 3, kTypeValue), test::KeyStr("4", 4, kTypeValue)}, in TEST_P()
527 {test::KeyStr("1", 1, kTypeValue), test::KeyStr("2", 2, kTypeMerge), in TEST_P()
528 test::KeyStr("3", 3, kTypeMerge), test::KeyStr("4", 4, kTypeValue)}, in TEST_P()
643 {test::KeyStr("a", 50, kTypeMerge), in TEST_P()
645 test::KeyStr("b", 70, kTypeMerge), test::KeyStr("b", 60, kTypeMerge), in TEST_P()
647 test::KeyStr("c", 90, kTypeMerge), test::KeyStr("c", 80, kTypeValue)}, in TEST_P()
653 ASSERT_EQ(test::KeyStr("a", 50, kTypeMerge), c_iter_->key().ToString()); in TEST_P()
666 RunTest({test::KeyStr("a", 1, kTypeValue), test::KeyStr("b", 2, kTypeValue)}, in TEST_P()
668 {test::KeyStr("a", 0, kTypeValue), test::KeyStr("b", 2, kTypeValue)}, in TEST_P()
678 RunTest({test::KeyStr("a", 1, kTypeDeletion), in TEST_P()
679 test::KeyStr("b", 3, kTypeDeletion), in TEST_P()
680 test::KeyStr("b", 1, kTypeValue)}, in TEST_P()
682 {test::KeyStr("b", 3, kTypeDeletion), in TEST_P()
683 test::KeyStr("b", 0, kTypeValue)}, in TEST_P()
693 RunTest({test::KeyStr("a", 1, kTypeSingleDeletion), in TEST_P()
694 test::KeyStr("b", 2, kTypeSingleDeletion)}, in TEST_P()
695 {"", ""}, {test::KeyStr("b", 2, kTypeSingleDeletion)}, {""}, in TEST_P()
716 {test::KeyStr("foo", 3, kTypeValue), test::KeyStr("foo", 2, kTypeValue), in TEST_F()
717 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
719 {test::KeyStr("foo", 3, kTypeValue), test::KeyStr("foo", 2, kTypeValue)}, in TEST_F()
725 RunTest({test::KeyStr("foo", 2, kTypeDeletion), in TEST_F()
726 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
728 {test::KeyStr("foo", 2, kTypeDeletion), in TEST_F()
729 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
737 {test::KeyStr("foo", 3, kTypeMerge), test::KeyStr("foo", 2, kTypeMerge), in TEST_F()
738 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
740 {test::KeyStr("foo", 3, kTypeMerge), test::KeyStr("foo", 2, kTypeValue)}, in TEST_F()
746 RunTest({test::KeyStr("foo", 2, kTypeSingleDeletion), in TEST_F()
747 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
749 {test::KeyStr("foo", 2, kTypeSingleDeletion), in TEST_F()
750 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
756 RunTest({test::KeyStr("foo", 3, kTypeBlobIndex), in TEST_F()
757 test::KeyStr("foo", 2, kTypeBlobIndex), in TEST_F()
758 test::KeyStr("foo", 1, kTypeBlobIndex)}, in TEST_F()
760 {test::KeyStr("foo", 3, kTypeBlobIndex), in TEST_F()
761 test::KeyStr("foo", 2, kTypeBlobIndex)}, in TEST_F()
770 {test::KeyStr("foo", 4, kTypeValue), test::KeyStr("foo", 3, kTypeValue), in TEST_F()
771 test::KeyStr("foo", 2, kTypeValue), test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
773 {test::KeyStr("foo", 4, kTypeValue), test::KeyStr("foo", 3, kTypeValue), in TEST_F()
774 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
781 {test::KeyStr("foo", 4, kTypeValue), in TEST_F()
782 test::KeyStr("foo", 3, kTypeDeletion), in TEST_F()
783 test::KeyStr("foo", 2, kTypeValue), test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
785 {test::KeyStr("foo", 4, kTypeValue), in TEST_F()
786 test::KeyStr("foo", 3, kTypeDeletion), in TEST_F()
787 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
796 {test::KeyStr("foo", 5, kTypeMerge), test::KeyStr("foo", 4, kTypeMerge), in TEST_F()
797 test::KeyStr("foo", 3, kTypeMerge), test::KeyStr("foo", 2, kTypeMerge), in TEST_F()
798 test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
800 {test::KeyStr("foo", 5, kTypeMerge), test::KeyStr("foo", 4, kTypeMerge), in TEST_F()
801 test::KeyStr("foo", 3, kTypeMerge), test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
809 {test::KeyStr("foo", 4, kTypeValue), in TEST_F()
810 test::KeyStr("foo", 3, kTypeSingleDeletion), in TEST_F()
811 test::KeyStr("foo", 2, kTypeValue), test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
813 {test::KeyStr("foo", 4, kTypeValue), test::KeyStr("foo", 1, kTypeValue)}, in TEST_F()
819 RunTest({test::KeyStr("foo", 4, kTypeBlobIndex), in TEST_F()
820 test::KeyStr("foo", 3, kTypeBlobIndex), in TEST_F()
821 test::KeyStr("foo", 2, kTypeBlobIndex), in TEST_F()
822 test::KeyStr("foo", 1, kTypeBlobIndex)}, in TEST_F()
824 {test::KeyStr("foo", 4, kTypeBlobIndex), in TEST_F()
825 test::KeyStr("foo", 3, kTypeBlobIndex), in TEST_F()
826 test::KeyStr("foo", 1, kTypeBlobIndex)}, in TEST_F()
836 RunTest({test::KeyStr("a", 1, kTypeValue), test::KeyStr("b", 2, kTypeValue), in TEST_F()
837 test::KeyStr("c", 3, kTypeValue)}, in TEST_F()
839 {test::KeyStr("a", 0, kTypeValue), test::KeyStr("b", 2, kTypeValue), in TEST_F()
840 test::KeyStr("c", 3, kTypeValue)}, in TEST_F()
850 {test::KeyStr("a", 1, kTypeDeletion), test::KeyStr("b", 2, kTypeDeletion), in TEST_F()
851 test::KeyStr("c", 3, kTypeDeletion)}, in TEST_F()
863 {test::KeyStr("a", 4, kTypeDeletion), test::KeyStr("a", 1, kTypeValue), in TEST_F()
864 test::KeyStr("b", 3, kTypeValue)}, in TEST_F()
866 {test::KeyStr("a", 4, kTypeDeletion), test::KeyStr("a", 0, kTypeValue), in TEST_F()
867 test::KeyStr("b", 3, kTypeValue)}, in TEST_F()
876 RunTest({test::KeyStr("a", 1, kTypeSingleDeletion), in TEST_F()
877 test::KeyStr("b", 2, kTypeSingleDeletion), in TEST_F()
878 test::KeyStr("c", 3, kTypeSingleDeletion)}, in TEST_F()
880 {test::KeyStr("b", 2, kTypeSingleDeletion), in TEST_F()
881 test::KeyStr("c", 3, kTypeSingleDeletion)}, in TEST_F()
892 RunTest({test::KeyStr("a", 2, kTypeSingleDeletion), in TEST_F()
893 test::KeyStr("a", 1, kTypeValue)}, in TEST_F()
895 {test::KeyStr("a", 2, kTypeSingleDeletion), in TEST_F()
896 test::KeyStr("a", 1, kTypeValue)}, in TEST_F()
906 RunTest({test::KeyStr("a", 2, kTypeSingleDeletion), in TEST_F()
907 test::KeyStr("a", 1, kTypeValue)}, in TEST_F()
909 {test::KeyStr("a", 2, kTypeSingleDeletion), in TEST_F()
910 test::KeyStr("a", 1, kTypeValue)}, in TEST_F()
924 {test::KeyStr("a", 2, kTypeValue), test::KeyStr("a", 1, kTypeValue), in TEST_F()
925 test::KeyStr("b", 3, kTypeValue), test::KeyStr("c", 1, kTypeValue)}, in TEST_F()
927 {test::KeyStr("a", 2, kTypeValue), test::KeyStr("a", 1, kTypeDeletion), in TEST_F()
928 test::KeyStr("b", 3, kTypeValue), test::KeyStr("c", 1, kTypeDeletion)}, in TEST_F()
937 {test::KeyStr("a", 2, kTypeDeletion), test::KeyStr("a", 1, kTypeValue)}, in TEST_F()
939 {test::KeyStr("a", 2, kTypeDeletion), in TEST_F()
940 test::KeyStr("a", 1, kTypeDeletion)}, in TEST_F()
951 RunTest({test::KeyStr("a", 3, kTypeMerge), test::KeyStr("a", 2, kTypeMerge), in TEST_F()
952 test::KeyStr("a", 1, kTypeMerge)}, in TEST_F()
953 {"v3", "v2", "v1"}, {test::KeyStr("a", 3, kTypeMerge)}, {"v3"}, in TEST_F()
963 {test::KeyStr("a", 3, kTypeMerge), test::KeyStr("a", 2, kTypeMerge), in TEST_F()
964 test::KeyStr("a", 1, kTypeValue)}, in TEST_F()
966 {test::KeyStr("a", 3, kTypeMerge), test::KeyStr("a", 1, kTypeDeletion)}, in TEST_F()