Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/Valdi
/ randomCharacterGenerator
Function
randomCharacterGenerator
valdi/test/benchmark/utils/benchmark_utils.cpp:18–20 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
std::uniform_int_distribution<int> distribution(
' '
,
'~'
);
17
18
char randomCharacterGenerator() {
19
return static_cast<char>(distribution(generator));
20
}
21
22
std::string makeRandomString(size_t strLength) {
23
std::string out;
Callers
1
makeRandomString
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected