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

Method LocalExec

library/cpp/par/par_util.cpp:248–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 return DCNotify->GetDistrCmdMasterQueryId();
247 }
248 void LocalExec(int id) override {
249 if (!DCNotify->IsDistrCmdNeeded()) {
250 DoneJob();
251 return;
252 }
253 TVector<char> buf;
254 buf.resize(sizeof(id));
255 *(int*)&buf[0] = id;
256 SharedCmd->FinalMap->ExecAsync(Context.Get(), HostId, &buf, this, id);
257 }
258 ~TExecutor() override {
259 Y_ASSERT(JobCount == 0);
260 }

Callers

nothing calls this directly

Calls 4

IsDistrCmdNeededMethod · 0.45
resizeMethod · 0.45
ExecAsyncMethod · 0.45
GetMethod · 0.45

Tested by

no test coverage detected