Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ my_ip
Function
my_ip
src/butil/endpoint.cpp:255–257 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
253
};
254
255
ip_t my_ip() {
256
return get_leaky_singleton<MyAddressInfo>()->my_ip;
257
}
258
259
const char* my_ip_cstr() {
260
return get_leaky_singleton<MyAddressInfo>()->my_ip_str.c_str();
Callers
11
TEST
Function · 0.85
TEST_F
Function · 0.85
StartInternal
Method · 0.85
ConsumeHeaders
Method · 0.85
Print
Method · 0.85
SerializeResponseToIOBuf
Method · 0.85
PackPublicPbrpcRequest
Function · 0.85
on_header_value
Method · 0.85
default_method
Method · 0.85
PrintClientSpan
Function · 0.85
default_method
Method · 0.85
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.68
TEST_F
Function · 0.68