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

Method Clear

library/cpp/neh/conn_cache.h:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 inline void Clear() {
41 TConn* conn;
42
43 while (this->Dequeue(&conn)) {
44 conn->Close();
45 conn->UnRef();
46 }
47 }
48
49 inline size_t Size() {
50 return this->GetCounter().Val();

Callers

nothing calls this directly

Calls 3

DequeueMethod · 0.45
CloseMethod · 0.45
UnRefMethod · 0.45

Tested by

no test coverage detected