Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 27) sorted by relevance

12

/leveldb-1.20/db/
H A Dsnapshot.h38 bool empty() const { return list_.next_ == &list_; } in empty() function
39 SnapshotImpl* oldest() const { assert(!empty()); return list_.next_; } in oldest()
40 SnapshotImpl* newest() const { assert(!empty()); return list_.prev_; } in newest()
H A Ddb_iter.cc99 std::string empty; in ClearSavedValue() local
100 swap(empty, saved_value_); in ClearSavedValue()
252 std::string empty; in FindPrevUserEntry() local
253 swap(empty, saved_value_); in FindPrevUserEntry()
H A Dversion_set.cc247 if (!files_[level].empty()) { in AddIterators()
303 if (!tmp.empty()) { in ForEachOverlapping()
368 if (tmp.empty()) continue; in Get()
764 if (level > 0 && !files->empty()) { in MaybeAddFile()
893 if (!new_manifest_file.empty()) { in LogAndApply()
1227 assert(!inputs.empty()); in GetRange()
1270 if (!c->inputs_[which].empty()) { in MakeInputIterator()
1314 if (c->inputs_[0].empty()) { in PickCompaction()
1337 assert(!c->inputs_[0].empty()); in PickCompaction()
1358 if (!c->inputs_[1].empty()) { in SetupOtherInputs()
[all …]
H A Dlog_reader.cc102 if (scratch->empty()) { in ReadRecord()
120 if (scratch->empty()) { in ReadRecord()
H A Drepair.cc122 if (filenames.empty()) { in FindFiles()
283 bool empty = true; in ScanTable() local
296 if (empty) { in ScanTable()
297 empty = false; in ScanTable()
H A Dwrite_batch.cc51 while (!input.empty()) { in Iterate()
H A Dfilename.cc99 if (!rest.empty()) { in ParseFileName()
H A Dcorruption_test.cc104 !in.empty() || in Check()
142 ASSERT_TRUE(!fname.empty()) << filetype; in Corrupt()
H A Ddb_impl.cc336 if (!expected.empty()) { in Recover()
900 if (snapshots_.empty()) { in DoCompactionWork()
1260 if (!writers_.empty()) { in Write()
1270 assert(!writers_.empty()); in BuildBatchGroup()
1320 assert(!writers_.empty()); in MakeRoomForWrite()
1393 bool ok = ConsumeDecimalNumber(&in, &level) && in.empty(); in GetProperty()
1542 if (filenames.empty()) { in DestroyDB()
H A Ddbformat.h155 assert(!rep_.empty()); in Encode()
H A Ddb_bench.cc169 if (msg.empty()) return; in AppendWithSpace()
170 if (!str->empty()) { in AppendWithSpace()
212 if (message_.empty()) message_ = other.message_; in Merge()
274 (extra.empty() ? "" : " "), in Report()
H A Dversion_edit.cc201 if (msg == NULL && !input.empty()) { in DecodeFrom()
/leveldb-1.20/table/
H A Dblock_builder.h38 bool empty() const { in empty() function
39 return buffer_.empty(); in empty()
H A Dblock_builder.cc77 assert(buffer_.empty() // No values yet? in Add()
H A Dtable_builder.cc101 assert(r->data_block.empty()); in Add()
127 if (r->data_block.empty()) return; in Flush()
H A Dfilter_block.cc37 if (!start_.empty()) { in Finish()
/leveldb-1.20/util/
H A Dlogging.cc51 while (!in->empty()) { in ConsumeDecimalNumber()
H A Denv.cc88 if (fragment.empty()) { in ReadFileToString()
H A Dbloom_test.cc71 if (!keys_.empty()) { in Matches()
H A Denv_posix.cc623 if (queue_.empty()) { in Schedule()
639 while (queue_.empty()) { in BGThread()
/leveldb-1.20/include/leveldb/
H A Dslice.h46 bool empty() const { return size_ == 0; } in empty() function
/leveldb-1.20/doc/bench/
H A Ddb_bench_tree_db.cc263 if (!message_.empty()) { in Stop()
273 (message_.empty() ? "" : " "), in Stop()
H A Ddb_bench_sqlite3.cc287 if (!message_.empty()) { in Stop()
297 (message_.empty() ? "" : " "), in Stop()
/leveldb-1.20/helpers/memenv/
H A Dmemenv_test.cc149 ASSERT_TRUE(!test_dir.empty()); in TEST()
/leveldb-1.20/doc/
H A Dlog_format.md51 bytes free in the third block, which will be left empty as the trailer.

12