MCPcopy Create free account
hub / github.com/catboost/catboost / Delta

Method Delta

library/cpp/neh/http_common.h:60–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 inline size_t Delta() const noexcept {
61 return ExceedLimit(Hard_.load(std::memory_order_acquire), Soft_.load(std::memory_order_acquire));
62 }
63
64 inline static size_t ExceedLimit(size_t val, size_t limit) noexcept {
65 return val > limit ? val - limit : 0;

Callers 3

SuggestPurgeCacheMethod · 0.80
DeltaLimitMethod · 0.80
SuggestPurgeCacheMethod · 0.80

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected