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

Function random

lib/catch2/catch.hpp:4649–4655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4647// but I don't expect users to run into that in practice.
4648template <typename T>
4649typename std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value,
4650GeneratorWrapper<T>>::type
4651random(T a, T b) {
4652 return GeneratorWrapper<T>(
4653 pf::make_unique<RandomIntegerGenerator<T>>(a, b)
4654 );
4655}
4656
4657template <typename T>
4658typename std::enable_if<std::is_floating_point<T>::value,

Callers 8

start_connectionFunction · 0.85
start_socketFunction · 0.85
handle_connectFunction · 0.85
start_timerFunction · 0.85
RandomMethod · 0.85
drandomMethod · 0.85
test_AcidPtr.ccFile · 0.85
test_Random.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected