Home | History | Annotate | Download | only in src

Lines Matching refs:kMaxRandomSeed

95 // A valid random seed must be in [1, kMaxRandomSeed].
96 const int kMaxRandomSeed = 99999;
101 // Returns a random seed in range [1, kMaxRandomSeed] based on the
108 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that
112 static_cast<unsigned int>(kMaxRandomSeed)) + 1;
117 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is
120 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed)
122 << kMaxRandomSeed << "].";
124 return (next_seed > kMaxRandomSeed) ? 1 : next_seed;