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

Method Put

library/cpp/neh/conn_cache.h:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 };
53
54 inline void Put(TConnRef& conn, size_t addrId) {
55 conn->SetCached(true);
56 ConnList(addrId).Enqueue(conn.Get());
57 conn->Ref();
58 Y_UNUSED(conn.Release());
59 CachedConn_.Inc();
60 }
61
62 bool Get(TConnRef& conn, size_t addrId) {
63 TConnList& connList = ConnList(addrId);

Callers

nothing calls this directly

Calls 7

Y_UNUSEDFunction · 0.85
SetCachedMethod · 0.80
EnqueueMethod · 0.45
GetMethod · 0.45
RefMethod · 0.45
ReleaseMethod · 0.45
IncMethod · 0.45

Tested by

no test coverage detected