MCPcopy Create free account
hub / github.com/bytedance/bolt / size

Method size

bolt/common/caching/tests/AsyncDataCacheTest.cpp:298–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296 }
297
298 int64_t size() const override {
299 int64_t sum = 0;
300 for (auto& request : requests_) {
301 sum += request.size;
302 }
303 return sum;
304 }
305
306 protected:
307 const std::shared_ptr<AsyncDataCache> cache_;

Callers 8

TESTFunction · 0.45
checkContentsMethod · 0.45
loadNFilesMethod · 0.45
loadLoopMethod · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
readAndCheckPinsMethod · 0.45
checkEvictionBlockedMethod · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected