Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ DereferenceSocket
Function
DereferenceSocket
src/brpc/socket.cpp:2218–2222 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2216
}
2217
2218
void DereferenceSocket(Socket* s) {
2219
if (s) {
2220
s->Dereference();
2221
}
2222
}
2223
2224
void Socket::UpdateStatsEverySecond(int64_t now_ms) {
2225
SharedPart* sp = GetSharedPart();
Callers
2
Consume
Method · 0.85
operator()
Method · 0.85
Calls
1
Dereference
Method · 0.80
Tested by
no test coverage detected