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

Method Get

library/cpp/neh/http2.cpp:960–967  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

958 }
959
960 inline bool Get(THttpConnRef& conn, size_t addrId) {
961#ifdef DEBUG_STAT
962 TDebugStat::ConnTotal.store(TotalConn.Val(), std::memory_order_release);
963 TDebugStat::ConnActive.store(Active(), std::memory_order_release);
964 TDebugStat::ConnCached.store(Cache_.Size(), std::memory_order_release);
965#endif
966 return Cache_.Get(conn, addrId);
967 }
968
969 inline void Put(THttpConnRef& conn, size_t addrId) {
970 if (Y_LIKELY(!Shutdown_ && !ExceedHardLimit() && !CacheDisabled())) {

Callers 12

OnReadSomeMethod · 0.45
OnCanReadMethod · 0.45
RunMethod · 0.45
OnConnectMethod · 0.45
OnResponseMethod · 0.45
OnConnectFailedMethod · 0.45
FinalizeConnFunction · 0.45
OnCanReadMethod · 0.45
OnReadSomeMethod · 0.45
THttpServerMethod · 0.45
ScheduleRequestMethod · 0.45
ResolveMethod · 0.45

Calls 3

storeMethod · 0.45
ValMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected