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

Method SetLimits

library/cpp/neh/http2.cpp:940–943  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

938 }
939
940 inline void SetLimits(size_t softLimit, size_t hardLimit) noexcept {
941 Limits.SetSoft(softLimit);
942 Limits.SetHard(hardLimit);
943 }
944
945 inline std::pair<size_t, size_t> GetLimits() const noexcept {
946 return {Limits.Soft(), Limits.Hard()};

Callers 1

Calls 2

SetSoftMethod · 0.80
SetHardMethod · 0.80

Tested by

no test coverage detected