MCPcopy 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

ClearExpiredMethod · 0.95
ClearExcessMethod · 0.95

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected