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

Method regionFilled

bolt/common/caching/SsdFileTracker.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void SsdFileTracker::regionFilled(int32_t region) {
47 const uint64_t best =
48 *std::max_element(regionScores_.begin(), regionScores_.end());
49 regionScores_[region] = std::max<int64_t>(regionScores_[region], best * 1.1);
50}
51
52std::vector<int32_t> SsdFileTracker::findEvictionCandidates(
53 int32_t numCandidates,

Callers 2

getSpaceMethod · 0.80
TESTFunction · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by 1

TESTFunction · 0.64