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

Function IsSystemCmd

library/cpp/netliba/v12/udp_host_protocol.h:83–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 inline bool IsSystemCmd(const EUdpCmd cmd) {
84 Y_ASSERT(IsValidCmd(cmd));
85 switch (cmd) {
86 case KILL:
87 Y_ASSERT(!IsInConnectionCmd(cmd));
88 return true;
89 default:
90 Y_ASSERT(IsInConnectionCmd(cmd));
91 return false;
92 }
93 }
94
95 ///////////////////////////////////////////////////////////////////////////////
96 ///////////////////////////////////////////////////////////////////////////////

Callers 2

RecvCycleMethod · 0.85
ProcessSystemPacketMethod · 0.85

Calls 2

IsValidCmdFunction · 0.85
IsInConnectionCmdFunction · 0.85

Tested by

no test coverage detected