Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ Random
Method
Random
src/cripts/Lulu.cc:70–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
68
}
69
70
int
71
cripts::Random(int max)
72
{
73
return ts::Random::random() % max + 1; // [1..max]
74
}
75
76
namespace cripts::details
77
{
Callers
nothing calls this directly
Calls
1
random
Function · 0.85
Tested by
no test coverage detected