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

Method TotalCharge

src/leveldb/util/cache.cc:387–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

385 }
386 }
387 size_t TotalCharge() const override {
388 size_t total = 0;
389 for (int s = 0; s < kNumShards; s++) {
390 total += shard_[s].TotalCharge();
391 }
392 return total;
393 }
394};
395
396} // end anonymous namespace

Callers

nothing calls this directly

Calls 1

TotalChargeMethod · 0.45

Tested by

no test coverage detected