Home
last modified time | relevance | path

Searched refs:which (Results 1 – 7 of 7) sorted by relevance

/leveldb-1.20/db/
H A Dversion_set.h337 int num_input_files(int which) const { return inputs_[which].size(); } in num_input_files() argument
340 FileMetaData* input(int which, int i) const { return inputs_[which][i]; } in input() argument
H A Dversion_set.cc1269 for (int which = 0; which < 2; which++) { in MakeInputIterator() local
1270 if (!c->inputs_[which].empty()) { in MakeInputIterator()
1271 if (c->level() + which == 0) { in MakeInputIterator()
1272 const std::vector<FileMetaData*>& files = c->inputs_[which]; in MakeInputIterator()
1280 new Version::LevelFileNumIterator(icmp_, &c->inputs_[which]), in MakeInputIterator()
1477 for (int which = 0; which < 2; which++) { in AddInputDeletions() local
1478 for (size_t i = 0; i < inputs_[which].size(); i++) { in AddInputDeletions()
1479 edit->DeleteFile(level_ + which, inputs_[which][i]->number); in AddInputDeletions()
H A Ddb_impl.cc1024 for (int which = 0; which < 2; which++) { in DoCompactionWork() local
1025 for (int i = 0; i < compact->compaction->num_input_files(which); i++) { in DoCompactionWork()
1026 stats.bytes_read += compact->compaction->input(which, i)->file_size; in DoCompactionWork()
/leveldb-1.20/doc/
H A Dlog_format.md16 Any leftover bytes here form the trailer, which must consist entirely of zero
20 length record is added, the writer must emit a FIRST record (which contains zero
51 bytes free in the third block, which will be left empty as the trailer.
H A Dindex.md12 A leveldb database has a name which corresponds to a file system directory. All
230 external byte array into which the Slice points remains live while the Slice is
247 The preceding examples used the default ordering function for key, which orders
462 corruption. Depending on which portion of the database has been corrupted, the
/leveldb-1.20/
H A DCONTRIBUTING.md22 2. Decide which code you want to submit. A submission should be a set of changes
H A DREADME.md123 compactions (which are usually triggered automatically) are better.