Home | History | Annotate | Download | only in src

Lines Matching refs:Random

95 // A valid random seed must be in [1, kMaxRandomSeed].
101 // Returns a random seed in range [1, kMaxRandomSeed] based on the
116 // Returns the first valid random seed after 'seed'. The behavior is
121 << "Invalid random seed " << seed << " - must be in [1, "
242 // Vector is an ordered container that supports random access to the
417 void ShuffleRange(internal::Random* random, int begin, int end) {
429 const int selected = begin + random->Generate(range_width);
435 void Shuffle(internal::Random* random) {
436 ShuffleRange(random, 0, size());
1002 // Gets the random seed used at the start of the current test iteration.
1005 // Gets the random number generator.
1006 internal::Random* random() { return &random_; }
1103 // The random number seed used at the beginning of the test run.
1106 // Our random number generator.
1107 internal::Random random_;