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

Method AddResponse

library/cpp/netliba/v6/udp_http.cpp:119–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 AsyncEvent.Signal();
118 }
119 void AddResponse(TUdpHttpResponse* res) {
120 AtomicAdd(QueueSizes->RespCount, 1);
121 AtomicAdd(QueueSizes->RespQueueSize, GetPacketSize(res->DataHolder.Get()));
122 ResponseList.Enqueue(res);
123 AsyncEvent.Signal();
124 }
125 void AddCancel(const TGUID& req) {
126 CancelList.Enqueue(req);
127 AsyncEvent.Signal();

Callers 1

FinishRequestMethod · 0.45

Calls 5

GetPacketSizeFunction · 0.85
AtomicAddFunction · 0.50
GetMethod · 0.45
EnqueueMethod · 0.45
SignalMethod · 0.45

Tested by

no test coverage detected