Lines Matching refs:Key

64       std::string start_key = Key(range_deletions[i].first);  in GenerateAndAddExternalFile()
65 std::string end_key = Key(range_deletions[i].second); in GenerateAndAddExternalFile()
82 std::string key = Key(keys[i]); in GenerateAndAddExternalFile()
83 std::string value = Key(keys[i]) + ToString(file_id); in GenerateAndAddExternalFile()
161 ASSERT_OK(sst_file_writer.Put(Key(k), Key(k) + "_val")); in TEST_F()
172 ASSERT_EQ(file1_info.smallest_key, Key(0)); in TEST_F()
173 ASSERT_EQ(file1_info.largest_key, Key(99)); in TEST_F()
178 s = sst_file_writer.Put(Key(100), "bad_val"); in TEST_F()
180 s = sst_file_writer.DeleteRange(Key(100), Key(200)); in TEST_F()
189 ASSERT_EQ(Get(Key(k)), Key(k) + "_val"); in TEST_F()
205 ASSERT_OK(sst_file_writer.Put(Key(k), Key(k) + "_val")); in TEST_F()
212 ASSERT_EQ(file1_info.smallest_key, Key(0)); in TEST_F()
213 ASSERT_EQ(file1_info.largest_key, Key(99)); in TEST_F()
219 ASSERT_OK(sst_file_writer.Put(Key(k), Key(k) + "_val")); in TEST_F()
226 ASSERT_EQ(file2_info.smallest_key, Key(100)); in TEST_F()
227 ASSERT_EQ(file2_info.largest_key, Key(299)); in TEST_F()
233 ASSERT_OK(sst_file_writer.Put(Key(k), Key(k) + "_val_overlap")); in TEST_F()
240 ASSERT_EQ(file3_info.smallest_key, Key(110)); in TEST_F()
241 ASSERT_EQ(file3_info.largest_key, Key(124)); in TEST_F()
257 ASSERT_EQ(Get(Key(k)), Key(k) + "_val"); in TEST_F()
309 ASSERT_OK(Put(Key(i), "memtable")); in TEST_P()
310 true_data[Key(i)] = "memtable"; in TEST_P()
436 ASSERT_OK(Put(Key(i), "memtable")); in TEST_P()
437 true_data[Key(i)] = "memtable"; in TEST_P()
583 ASSERT_OK(Put(Key(i), "memtable")); in TEST_P()
584 true_data[Key(i)] = "memtable"; in TEST_P()
674 ASSERT_OK(sst_file_writer->Put(Key(i), Key(i))); in TEST_F()
685 ASSERT_OK(sst_file_writer->Put(Key(i), Key(i))); in TEST_F()
763 ASSERT_OK(sst_file_writer->Put(DBTestBase::Key(i), value)); in TEST_F()
801 ASSERT_OK(db_->Put(WriteOptions(), db_->DefaultColumnFamily(), Key(i), in TEST_F()
802 Key(i) + "_val")); in TEST_F()
813 ASSERT_OK(sst_file_writer.DeleteRange(Key(0), Key(30))); in TEST_F()
821 ASSERT_EQ(file_info.smallest_range_del_key, Key(0)); in TEST_F()
822 ASSERT_EQ(file_info.largest_range_del_key, Key(30)); in TEST_F()
834 ASSERT_TRUE(db_->Get(ReadOptions(), Key(i), &res).IsNotFound()); in TEST_F()
859 Key(50 * i), Key(50 * (i + 1)))); in TEST_P()
935 ASSERT_OK(sst_file_writer.DeleteRange(Key(300), Key(400))); in TEST_F()
944 ASSERT_EQ(file8_info.smallest_range_del_key, Key(300)); in TEST_F()
945 ASSERT_EQ(file8_info.largest_range_del_key, Key(400)); in TEST_F()
950 ASSERT_OK(sst_file_writer.DeleteRange(Key(400), Key(500))); in TEST_F()
959 ASSERT_EQ(file9_info.smallest_range_del_key, Key(400)); in TEST_F()
960 ASSERT_EQ(file9_info.largest_range_del_key, Key(500)); in TEST_F()
1016 std::string key = Key(i); in TEST_P()
1017 std::string value = Key(i) + ToString(0); in TEST_P()
1083 std::string key = Key(i); in TEST_P()
1084 std::string value = Key(i) + ToString(0); in TEST_P()