Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
103
void SsdPin::clear() {
104
if (file_) {
105
file_->unpinRegion(run_.offset());
106
}
107
file_ = nullptr;
108
}
109
110
void SsdPin::operator=(SsdPin&& other) {
111
if (file_ != nullptr) {
112
file_->unpinRegion(run_.offset());
113
}
Callers
11
initializeCheckpoint
Method · 0.45
readCheckpoint
Method · 0.45
clearCache
Method · 0.45
TEST
Function · 0.45
loadNFiles
Method · 0.45
loadLoop
Method · 0.45
TEST_F
Function · 0.45
DEBUG_ONLY_TEST_F
Function · 0.45
TEST
Function · 0.45
checkEvictionBlocked
Method · 0.45
Config.cpp
File · 0.45
Calls
6
unpinRegion
Method · 0.80
iota
Function · 0.50
offset
Method · 0.45
begin
Method · 0.45
end
Method · 0.45
resize
Method · 0.45
Tested by
7
TEST
Function · 0.36
loadNFiles
Method · 0.36
loadLoop
Method · 0.36
TEST_F
Function · 0.36
DEBUG_ONLY_TEST_F
Function · 0.36
TEST
Function · 0.36
checkEvictionBlocked
Method · 0.36