Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/CacheLib
/ markTruncated
Method
markTruncated
cachelib/allocator/NvmCacheState.cpp:184–187 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
182
}
183
184
void NvmCacheState::markTruncated() {
185
wasCleanshutDown_ = false;
186
creationTime_ = util::getCurrentTimeSec();
187
}
188
189
} // namespace facebook::cachelib
Callers
2
initNvmCache
Method · 0.80
TEST_F
Function · 0.80
Calls
1
getCurrentTimeSec
Function · 0.85
Tested by
1
TEST_F
Function · 0.64