Home | History | Annotate | Download | only in internal

Lines Matching defs:Random

739 // A simple Linear Congruential Generator for generating random
742 // code). Unlike rand_r(), it's portable. An LCG isn't very random,
744 class GTEST_API_ Random {
748 explicit Random(UInt32 seed) : state_(seed) {}
752 // Generates a random number from [0, range). Crashes if 'range' is
758 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);