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

Method set_type

src/mcpack2pb/parser.cpp:63–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61class FieldLongHead {
62public:
63 void set_type(uint8_t type) { _type = type; }
64 uint8_t type() const { return _type; }
65 size_t name_offset() const { return sizeof(FieldLongHead); }
66 size_t name_size() const { return _name_size; }

Callers 6

TEST_FFunction · 0.45
TEST_FFunction · 0.45
Span2ProtoFunction · 0.45
IndexMethod · 0.45
SendSofaResponseFunction · 0.45
PackSofaRequestFunction · 0.45

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.36
TEST_FFunction · 0.36