Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/async_simple
/ main
Function
main
demo_example/CountCharUsingModules.cpp:50–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
}
49
50
int main() {
51
int Num = syncAwait(CountFileCharNum(
"demo_example/Input/file.txt"
,
'x'
));
52
std::cout <<
"The number of 'x' in file.txt is "
<< Num <<
"\n"
;
53
return 0;
54
}
Callers
nothing calls this directly
Calls
2
syncAwait
Function · 0.85
CountFileCharNum
Function · 0.70
Tested by
no test coverage detected