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

Function TotalFileSize

src/leveldb/db/version_set.cc:60–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static int64_t TotalFileSize(const std::vector<FileMetaData*>& files) {
61 int64_t sum = 0;
62 for (size_t i = 0; i < files.size(); i++) {
63 sum += files[i]->file_size;
64 }
65 return sum;
66}
67
68Version::~Version() {
69 assert(refs_ == 0);

Callers 6

FinalizeMethod · 0.85
NumLevelBytesMethod · 0.85
SetupOtherInputsMethod · 0.85
IsTrivialMoveMethod · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected