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

Method DoRun

library/cpp/coroutine/engine/trampoline.cpp:25–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 {}
24
25 void TTrampoline::DoRun() {
26 if (Cont_->Executor()->FailOnError()) {
27 Func_(Cont_);
28 } else {
29 try {
30 Func_(Cont_);
31 } catch (...) {}
32 }
33
34 Cont_->Terminate();
35 }
36
37 TArrayRef<char> TTrampoline::Stack() noexcept {
38 return Stack_.Get();

Callers

nothing calls this directly

Calls 3

FailOnErrorMethod · 0.80
ExecutorMethod · 0.45
TerminateMethod · 0.45

Tested by

no test coverage detected