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

Method GetResponse

library/cpp/netliba/v12/udp_http.cpp:1316–1323  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////// IRequestOps::TWaitResponse

Source from the content-addressed store, hash-verified

1314 //////////////////////////////////////////////////////////////////////////
1315 // IRequestOps::TWaitResponse
1316 TUdpHttpResponse* IRequestOps::TWaitResponse::GetResponse() {
1317 if (!Response)
1318 return nullptr;
1319 TUdpHttpResponse* res = Response;
1320 Response = nullptr;
1321 LoadResponseData(res);
1322 return res;
1323 }
1324
1325 void IRequestOps::TWaitResponse::SetResponse(TUdpHttpResponse* r) {
1326 Y_ASSERT(Response == nullptr || r == nullptr);

Callers 4

SessionLevelTestFunction · 0.45
GetResponseMethod · 0.45
RequestMethod · 0.45
GetResponseMethod · 0.45

Calls 6

GetTransferSizeFunction · 0.85
LoadResponseDataFunction · 0.70
AtomicAddFunction · 0.50
IsEmptyMethod · 0.45
DequeueMethod · 0.45
GetMethod · 0.45

Tested by 1

SessionLevelTestFunction · 0.36