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

Method toString

bolt/common/caching/SsdFile.cpp:121–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

119std::string SsdPin::toString() const {
120 if (empty()) {
121 return "<empty SsdPin>";
122 }
123 return fmt::format(
124 "SsdPin(shard {} offset {} size {})",
125 file_->shardId(),
126 run_.offset(),
127 run_.size());
128}
129
130SsdFile::SsdFile(
131 const std::string& filename,
132 int32_t shardId,
133 int32_t maxRegions,

Callers 3

checkContentsMethod · 0.45
TEST_FFunction · 0.45
verifyCacheStatsFunction · 0.45

Calls 3

shardIdMethod · 0.80
offsetMethod · 0.45
sizeMethod · 0.45

Tested by 3

checkContentsMethod · 0.36
TEST_FFunction · 0.36
verifyCacheStatsFunction · 0.36