Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/thrift
/ count
Method
count
test/cpp/src/StressTestNonBlocking.cpp:72–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
70
Server() = default;
71
72
void count(const char* method) {
73
Guard m(lock_);
74
int ct = counts_[method];
75
counts_[method] = ++ct;
76
}
77
78
void echoVoid() override {
79
count(
"echoVoid"
);
Callers
2
run
Method · 0.45
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected