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

Method NeedResult

library/cpp/par/par_exec.h:536–546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

534 }
535 }
536 bool NeedResult() {
537 if (AtomicGet(MapResult) != nullptr)
538 return false;
539 if (CancelCheck.Get()) {
540 if (!CancelCheck->MRIsCmdNeeded()) {
541 Cancel();
542 return false;
543 }
544 }
545 return true;
546 }
547 TMRCommandExec(
548 TJobRequest* jobRequest,
549 TRemoteQueryProcessor* queryProc,

Callers

nothing calls this directly

Calls 4

AtomicGetFunction · 0.50
CancelFunction · 0.50
GetMethod · 0.45
MRIsCmdNeededMethod · 0.45

Tested by

no test coverage detected