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

Function IsValidCmd

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

Source from the content-addressed store, hash-verified

27 ///////////////////////////////////////////////////////////////////////////////
28
29 inline bool IsValidCmd(const EUdpCmd cmd) {
30 return CMD_BEGIN <= cmd && cmd < CMD_END;
31 }
32
33 inline bool IsDataCmd(const EUdpCmd cmd) {
34 Y_ASSERT(IsValidCmd(cmd));

Callers 6

IsDataCmdFunction · 0.85
IsAckCmdFunction · 0.85
IsPingCmdFunction · 0.85
IsSystemCmdFunction · 0.85
WriteBasicPacketHeaderFunction · 0.85
ReadBasicPacketHeaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected