Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ ThriftMessageBeginSize
Function
ThriftMessageBeginSize
src/brpc/policy/thrift_protocol.cpp:107–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
105
}
106
107
inline size_t ThriftMessageBeginSize(const std::string& method_name) {
108
return 12 + method_name.size();
109
}
110
111
static void
112
WriteThriftMessageBegin(char* buf,
Callers
2
DoRun
Method · 0.85
SerializeThriftRequest
Function · 0.85
Calls
1
size
Method · 0.45
Tested by
no test coverage detected