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

Method TSharedSocket

library/cpp/neh/https.cpp:138–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136
137 struct TSharedSocket: public TSocketHolder, public TAtomicRefCount<TSharedSocket> {
138 inline TSharedSocket(TSocketHolder& s)
139 : TSocketHolder(s.Release())
140 {
141 InputConnections()->Counter.Inc();
142 }
143
144 ~TSharedSocket() {
145 InputConnections()->Counter.Dec();

Callers

nothing calls this directly

Calls 3

InputConnectionsFunction · 0.85
ReleaseMethod · 0.45
IncMethod · 0.45

Tested by

no test coverage detected