MCPcopy 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
70int
71cripts::Random(int max)
72{
73 return ts::Random::random() % max + 1; // [1..max]
74}
75
76namespace cripts::details
77{

Callers

nothing calls this directly

Calls 1

randomFunction · 0.85

Tested by

no test coverage detected