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

Function MaxFileSizeForLevel

src/leveldb/db/version_set.cc:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static uint64_t MaxFileSizeForLevel(const Options* options, int level) {
56 // We could vary per level to reduce number of files?
57 return TargetFileSize(options);
58}
59
60static int64_t TotalFileSize(const std::vector<FileMetaData*>& files) {
61 int64_t sum = 0;

Callers 2

CompactRangeMethod · 0.85
CompactionMethod · 0.85

Calls 1

TargetFileSizeFunction · 0.85

Tested by

no test coverage detected