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

Function GetTransferSize

library/cpp/netliba/v12/udp_http.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 static std::atomic<double> HeartbeatTimeout;
33
34 static int GetTransferSize(TUdpRequest* req) {
35 if (req && req->Data.Get())
36 return req->Data->GetSize();
37 return 0;
38 }
39
40 TUdpHttpRequest::TUdpHttpRequest()
41 : ReqId(TGUID())

Callers 4

AddRequestMethod · 0.85
AddResponseMethod · 0.85
GetRequestMethod · 0.85
GetResponseMethod · 0.85

Calls 2

GetMethod · 0.45
GetSizeMethod · 0.45

Tested by

no test coverage detected