MCPcopy Create free account
hub / github.com/bytedance/bolt / probeOperatorStateName

Function probeOperatorStateName

bolt/exec/ProbeOperatorState.cpp:34–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32namespace bytedance::bolt::exec {
33
34std::string probeOperatorStateName(ProbeOperatorState state) {
35 switch (state) {
36 case ProbeOperatorState::kWaitForBuild:
37 return "WAIT_FOR_BUILD";
38 case ProbeOperatorState::kRunning:
39 return "RUNNING";
40 case ProbeOperatorState::kWaitForPeers:
41 return "WAIT_FOR_PEERS";
42 case ProbeOperatorState::kFinish:
43 return "FINISH";
44 default:
45 return fmt::format("UNKNOWN: {}", static_cast<int>(state));
46 }
47}
48
49} // namespace bytedance::bolt::exec

Callers 7

HashProbe.hFile · 0.85
isBlockedMethod · 0.85
checkStateTransitionMethod · 0.85
checkRunningMethod · 0.85
isBlockedMethod · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68