Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/async-profiler/async-profiler
/ validateArgsCount
Function
validateArgsCount
test/test/nonjava/non_java_app.cpp:191–196 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
189
}
190
191
void validateArgsCount(int argc, int expected) {
192
if (argc < expected) {
193
std::cerr <<
"Test requires "
<< (expected - 1) <<
" arguments"
<< std::endl;
194
exit(1);
195
}
196
}
197
198
/*
199
Here is the flow of the test:
Callers
2
testFlow3
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected