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

Method SwitchTo

library/cpp/coroutine/engine/trampoline.h:41–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 }
40
41 void SwitchTo(TExceptionSafeContext* ctx) noexcept {
42 Y_ABORT_UNLESS(Stack_.LowerCanaryOk(), "Stack overflow (%s)", ContName());
43 Y_ABORT_UNLESS(Stack_.UpperCanaryOk(), "Stack override (%s)", ContName());
44 Ctx_.SwitchTo(ctx);
45 }
46
47 void DoRun() override;
48

Callers

nothing calls this directly

Calls 2

LowerCanaryOkMethod · 0.80
UpperCanaryOkMethod · 0.80

Tested by

no test coverage detected