Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/xgboost
/ CheckConsistent
Method
CheckConsistent
include/xgboost/cache.h:69–69 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
67
std::size_t max_size_;
68
69
void CheckConsistent() const { CHECK_EQ(queue_.size(), container_.size()); }
70
71
void ClearExpired() {
72
// Clear expired entries
Callers
2
ClearExpired
Method · 0.95
ClearExcess
Method · 0.95
Calls
1
size
Method · 0.45
Tested by
no test coverage detected