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

Method ExecAsync

library/cpp/par/par_util.cpp:289–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

287 SharedCmd = new TSharedCmd(finalMap);
288 }
289 void ExecAsync(IUserContext* ctx, int hostId, TVector<char>* params, IDCResultNotify* dcNotify, int reqId) const override {
290 CHROMIUM_TRACE_FUNCTION();
291 (void)hostId;
292 TExecRange range;
293 SerializeFromMem(params, range);
294
295 TIntrusivePtr<TExecutor> exec;
296 exec = new TExecutor(ctx, hostId, SharedCmd.Get(), range.Start, range.Finish, dcNotify, reqId);
297 exec->Launch();
298 }
299 void MergeAsync(TVector<TVector<char>>* src, IDCResultNotify* dcNotify, int reqId) const override {
300 CHROMIUM_TRACE_FUNCTION();
301 SharedCmd->FinalMap->MergeAsync(src, dcNotify, reqId);

Callers

nothing calls this directly

Calls 3

SerializeFromMemFunction · 0.85
GetMethod · 0.45
LaunchMethod · 0.45

Tested by

no test coverage detected