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

Method clear

bolt/common/caching/SsdFile.cpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103void SsdPin::clear() {
104 if (file_) {
105 file_->unpinRegion(run_.offset());
106 }
107 file_ = nullptr;
108}
109
110void SsdPin::operator=(SsdPin&& other) {
111 if (file_ != nullptr) {
112 file_->unpinRegion(run_.offset());
113 }

Callers 11

initializeCheckpointMethod · 0.45
readCheckpointMethod · 0.45
clearCacheMethod · 0.45
TESTFunction · 0.45
loadNFilesMethod · 0.45
loadLoopMethod · 0.45
TEST_FFunction · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
TESTFunction · 0.45
checkEvictionBlockedMethod · 0.45
Config.cppFile · 0.45

Calls 6

unpinRegionMethod · 0.80
iotaFunction · 0.50
offsetMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
resizeMethod · 0.45

Tested by 7

TESTFunction · 0.36
loadNFilesMethod · 0.36
loadLoopMethod · 0.36
TEST_FFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
TESTFunction · 0.36
checkEvictionBlockedMethod · 0.36