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

Method MRCommandComplete

library/cpp/par/par_mr.cpp:169–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168 }
169 void MRCommandComplete(bool isCanceled, TVector<TVector<char>>* res) override {
170 CHROMIUM_TRACE_FUNCTION();
171 TJobRequestReply reply;
172 reply.IsCanceled = isCanceled;
173 if (res)
174 res->swap(reply.Result);
175 Y_ASSERT(isCanceled || !reply.Result.empty());
176 TVector<char> buf;
177 SerializeToMem(&buf, reply);
178 QueryProc->SendReply(ReqId, &buf);
179 }
180 TGUID GetMasterQueryId() override {
181 return ReqId;
182 }

Callers

nothing calls this directly

Calls 4

SerializeToMemFunction · 0.85
swapMethod · 0.45
emptyMethod · 0.45
SendReplyMethod · 0.45

Tested by

no test coverage detected