Home
last modified time | relevance | path

Searched refs:rng (Results 1 – 5 of 5) sorted by relevance

/thrift-3.4.0/lib/cpp/test/
DZlibTest.cpp53 boost::mt19937 rng; variable
77 : gen_(rng, boost::lognormal_distribution<double>(mean, std_dev)) {} in LogNormalSizeGenerator()
106 byte_generator(rng, byte_distribution); in gen_compressible_buffer()
108 run_len_generator(rng, run_length_distribution); in gen_compressible_buffer()
136 generator(rng, distribution); in gen_random_buffer()
434 rng.seed(seed); in init_unit_test_suite()
461 rng.seed(seed); in init_unit_test_suite()
DTransportTest.cpp52 static boost::mt19937 rng; variable
55 rng.seed(seed); in initrand()
82 : generator_(rng, boost::uniform_int<int>(min, max)) {} in RandomSizeGenerator()
/thrift-3.4.0/lib/cpp/src/thrift/transport/
DTSocketPool.cpp196 std::random_device rng; in open() local
197 std::mt19937 urng(rng()); in open()
/thrift-3.4.0/doc/
DReleaseManagement.md56 - Install the `rng-tools` package.
/thrift-3.4.0/compiler/cpp/tests/catch/
Dcatch.hpp7157 RandomNumberGenerator rng; in shuffle() local
7159 std::shuffle( vector.begin(), vector.end(), rng ); in shuffle()
7161 std::random_shuffle( vector.begin(), vector.end(), rng ); in shuffle()