| /rocksdb-6.9/db/compaction/ |
| D | compaction_job_stats_test.cc | 603 CopyPrefix(smallest_key, in NewManualCompactionJobStats() 682 std::string smallest_key; in TEST_P() local 687 smallest_key = Key(start_key, 10); in TEST_P() 691 smallest_key, largest_key, in TEST_P() 708 smallest_key, largest_key, in TEST_P() 745 smallest_key = Key(start_key, 10); in TEST_P() 750 smallest_key, largest_key, in TEST_P() 769 smallest_key = Key(key_base, 10); in TEST_P() 780 Compact(1, smallest_key, largest_key); in TEST_P() 989 uint64_t smallest_key = in TEST_P() local [all …]
|
| D | compaction.cc | 177 Slice smallest_key, largest_key; in IsBottommostLevel() local 178 GetBoundaryKeys(vstorage, inputs, &smallest_key, &largest_key); in IsBottommostLevel() 179 return !vstorage->RangeMightExistAfterSortedRun(smallest_key, largest_key, in IsBottommostLevel()
|
| D | compaction.h | 303 Slice* smallest_key, Slice* largest_key);
|
| D | compaction_job_test.cc | 137 InternalKey smallest_key, largest_key; in AddMockFile() local 154 smallest_key.DecodeFrom(skey); in AddMockFile() 188 edit.AddFile(level, file_number, 0, 10, smallest_key, largest_key, in AddMockFile()
|
| D | compaction_job.cc | 462 bounds.emplace_back(flevel->files[i].smallest_key); in GenSubcompactionBoundaries() 468 bounds.emplace_back(flevel->files[0].smallest_key); in GenSubcompactionBoundaries() 476 bounds.emplace_back(flevel->files[i].smallest_key); in GenSubcompactionBoundaries()
|
| /rocksdb-6.9/include/rocksdb/ |
| D | sst_file_writer.h | 33 smallest_key(""), in ExternalSstFileInfo() 49 smallest_key(_smallest_key), in ExternalSstFileInfo() 60 std::string smallest_key; // smallest user key in file member
|
| /rocksdb-6.9/db/ |
| D | version_edit.h | 150 const InternalKey& smallest_key, const InternalKey& largest_key, in FileMetaData() 157 smallest(smallest_key), in FileMetaData() 218 Slice smallest_key; // slice that contain smallest key member 224 smallest_key(), in FdWithKeyRange() 232 smallest_key(_smallest_key), in FdWithKeyRange()
|
| D | external_sst_file_test.cc | 311 ASSERT_EQ(file1_info.smallest_key, Key(0)); in TEST_F() 334 ASSERT_EQ(file2_info.smallest_key, Key(100)); in TEST_F() 367 ASSERT_EQ(file4_info.smallest_key, Key(30)); in TEST_F() 393 ASSERT_EQ(file6_info.smallest_key, ""); in TEST_F() 430 ASSERT_EQ(file8_info.smallest_key, ""); in TEST_F() 616 ASSERT_EQ(file1_info.smallest_key, Key(0)); in TEST_F() 693 ASSERT_EQ(file6_info.smallest_key, ""); in TEST_F() 708 ASSERT_EQ(file7_info.smallest_key, ""); in TEST_F() 930 ASSERT_EQ(file1_info.smallest_key, Key(0)); in TEST_F() 944 ASSERT_EQ(file2_info.smallest_key, Key(100)); in TEST_F() [all …]
|
| D | external_sst_file_basic_test.cc | 172 ASSERT_EQ(file1_info.smallest_key, Key(0)); in TEST_F() 212 ASSERT_EQ(file1_info.smallest_key, Key(0)); in TEST_F() 226 ASSERT_EQ(file2_info.smallest_key, Key(100)); in TEST_F() 240 ASSERT_EQ(file3_info.smallest_key, Key(110)); in TEST_F() 818 ASSERT_EQ(file_info.smallest_key, ""); in TEST_F() 941 ASSERT_EQ(file8_info.smallest_key, ""); in TEST_F() 956 ASSERT_EQ(file9_info.smallest_key, ""); in TEST_F()
|
| D | version_set.cc | 181 user_key_, ExtractUserKey(f->smallest_key)); in GetNextFile() 457 user_key, ExtractUserKey(f->smallest_key)); in GetNextFileInLevelWithKeys() 780 Slice smallest_key = files[i]->smallest.Encode(); in DoGenerateLevelFilesBrief() local 784 size_t smallest_size = smallest_key.size(); in DoGenerateLevelFilesBrief() 787 memcpy(mem, smallest_key.data(), smallest_size); in DoGenerateLevelFilesBrief() 793 f.smallest_key = Slice(mem, smallest_size); in DoGenerateLevelFilesBrief() 953 return flevel_->files[file_index].smallest_key; in file_smallest_key() 1035 target, cur_file.smallest_key) >= 0) { in Seek() 5421 } else if (icmp.Compare(f.smallest_key, key) > 0) { in ApproximateOffsetOf() 5446 icmp.Compare(f.smallest_key, end) > 0) { in ApproximateSize() [all …]
|
| D | compacted_db_impl.cc | 56 if (user_comparator_->Compare(key, ExtractUserKey(f.smallest_key)) < 0) { in MultiGet()
|
| D | version_set_test.cc | 435 InternalKey smallest_key = InternalKey(smallest, smallest_seq, kTypeValue); in Add() local 438 Slice smallest_slice = smallest_key.Encode(); in Add() 451 file.smallest_key = Slice(mem, smallest_slice.size()); in Add()
|
| /rocksdb-6.9/table/ |
| D | sst_file_writer.cc | 68 file_info.smallest_key.assign(user_key.data(), user_key.size()); in Add()
|