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

Function IsSupportedCommand

src/brpc/policy/couchbase_protocol.cpp:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77inline bool IsSupportedCommand(uint8_t command) {
78 pthread_once(&supported_cmd_map_once, InitSupportedCommandMap);
79 return butil::bit_array_get(supported_cmd_map, command);
80}
81
82ParseResult ParseCouchbaseMessage(butil::IOBuf* source, Socket* socket,
83 bool /*read_eof*/, const void* /*arg*/) {

Callers 1

ParseCouchbaseMessageFunction · 0.70

Calls 1

bit_array_getFunction · 0.85

Tested by

no test coverage detected