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

Function get_auth_flags

src/brpc/socket.cpp:340–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338 return _pc_and_udmsg.extra() & 0x3FFF;
339 }
340 uint32_t get_auth_flags() const {
341 return (_pc_and_udmsg.extra() >> 14) & 0x03;
342 }
343 void clear_pipelined_count_and_auth_flags() {
344 _pc_and_udmsg.reset_extra();
345 }

Callers 1

SetupMethod · 0.85

Calls 1

extraMethod · 0.80

Tested by

no test coverage detected