MCPcopy Create free account
hub / github.com/ElementsProject/elements / empty

Method empty

src/leveldb/table/block_builder.h:42–42  ·  view source on GitHub ↗

Return true iff no entries have been added since the last Reset()

Source from the content-addressed store, hash-verified

40
41 // Return true iff no entries have been added since the last Reset()
42 bool empty() const { return buffer_.empty(); }
43
44 private:
45 const Options* options_;

Callers 6

FinishMethod · 0.45
TestRandomAccessMethod · 0.45
PickRandomKeyMethod · 0.45
AddMethod · 0.45
FlushMethod · 0.45
AddMethod · 0.45

Calls

no outgoing calls

Tested by 2

TestRandomAccessMethod · 0.36
PickRandomKeyMethod · 0.36