Home | History | Annotate | Download | only in internal

Lines Matching defs:Random

671 // A simple Linear Congruential Generator for generating random
674 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
676 class GTEST_API_ Random {
680 explicit Random(UInt32 seed) : state_(seed) {}
684 // Generates a random number from [0, range). Crashes if 'range' is
690 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);