MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / GetPrime

Function GetPrime

benchmarks/tbb/tbb_main.cpp:113–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111//------------------------------------------------------------------------
112
113unsigned GetPrime ( unsigned seed ) {
114 return Primes[seed%(sizeof(Primes)/sizeof(Primes[0]))];
115}
116#endif //__TBB_OLD_PRIMES_RNG
117
118//------------------------------------------------------------------------

Callers 1

initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected