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

Method add_flag

src/brpc/controller.h:786–786  ·  view source on GitHub ↗

Utilities for manipulating _flags

Source from the content-addressed store, hash-verified

784
785 // Utilities for manipulating _flags
786 inline void add_flag(uint32_t f) { _flags |= f; }
787 inline void clear_flag(uint32_t f) { _flags &= ~f; }
788 inline void set_flag(uint32_t f, bool t)
789 { return t ? add_flag(f) : clear_flag(f); }

Callers 5

CallMethodMethod · 0.80
CallMethodMethod · 0.80
CallMethodMethod · 0.80
AddConcurrencyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected