Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ my_hostname
Function
my_hostname
src/butil/endpoint.cpp:263–265 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
261
}
262
263
const char* my_hostname() {
264
return get_leaky_singleton<MyAddressInfo>()->my_hostname;
265
}
266
267
int str2endpoint(const char* str, EndPoint* point) {
268
if (ExtendedEndPoint::create(str, point)) {
Callers
5
TEST
Function · 0.85
StartInternal
Method · 0.85
PrintLogPrefix
Function · 0.85
PrintLogPrefixAsJSON
Function · 0.85
OnLogMessage
Method · 0.85
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.68