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

Method SendQuery

library/cpp/par/par_remote.cpp:101–110  ·  view source on GitHub ↗

/////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

99 };
100 //////////////////////////////////////////////////////////////////////////
101 TGUID TRemoteQueryProcessor::SendQuery(int compId, const char* query, TVector<char>* cmdData, IRemoteQueryResponseNotify* proc, int resId) {
102 CHROMIUM_TRACE_FUNCTION();
103
104 TGUID reqId;
105 CreateGuid(&reqId);
106 RequestsData.EmplaceValue(reqId, new TQueryResultDst(proc, query, compId, resId));
107 Requester->SendRequest(reqId, GetCompAddress(compId), query, cmdData);
108
109 return reqId;
110 }
111
112 void TRemoteQueryProcessor::CancelQuery(const TGUID& reqId) {
113 CHROMIUM_TRACE_FUNCTION();

Callers 7

LaunchOpsMethod · 0.80
ReschedulePartRequestMethod · 0.80
RunMethod · 0.80
PerformSendMethod · 0.80
DeleteContextRawDataMethod · 0.80
AddQueryMethod · 0.80
NewRequestMethod · 0.80

Calls 3

CreateGuidFunction · 0.85
EmplaceValueMethod · 0.80
SendRequestMethod · 0.45

Tested by

no test coverage detected