MCPcopy Create free account
hub / github.com/apache/trafficserver / next_rand

Function next_rand

src/traffic_cache_tool/CacheTool.cc:934–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

932}
933
934unsigned int
935next_rand(unsigned int *p)
936{
937 unsigned int seed = *p;
938 seed = 1103515145 * seed + 12345;
939 *p = seed;
940 return seed;
941}
942
943void
944Cache::build_stripe_hash_table()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected