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

Method read

bolt/common/caching/SsdFile.cpp:279–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277void SsdFile::read(
278 uint64_t offset,
279 const std::vector<folly::Range<char*>>& buffers) {
280 readFile_->preadv(offset, buffers);
281}
282
283std::optional<std::pair<uint64_t, int32_t>> SsdFile::getSpace(
284 const std::vector<CachePin>& pins,
285 int32_t begin) {
286 int32_t next = begin;

Callers 2

readNumberFunction · 0.45
readCheckpointMethod · 0.45

Calls 1

preadvMethod · 0.45

Tested by

no test coverage detected