MCPcopy Create free account
hub / github.com/apache/brpc / IsSupportedCommand

Function IsSupportedCommand

src/brpc/policy/memcache_binary_protocol.cpp:71–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71inline bool IsSupportedCommand(uint8_t command) {
72 pthread_once(&supported_cmd_map_once, InitSupportedCommandMap);
73 return butil::bit_array_get(supported_cmd_map, command);
74}
75
76ParseResult ParseMemcacheMessage(butil::IOBuf* source,
77 Socket* socket, bool /*read_eof*/, const void */*arg*/) {

Callers 1

ParseMemcacheMessageFunction · 0.70

Calls 1

bit_array_getFunction · 0.85

Tested by

no test coverage detected