Home | History | Annotate | Download | only in src

Lines Matching refs:kMaxRandomSeed

99 // A valid random seed must be in [1, kMaxRandomSeed].
100 const int kMaxRandomSeed = 99999;
122 // Returns a random seed in range [1, kMaxRandomSeed] based on the
129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that
133 static_cast<unsigned int>(kMaxRandomSeed)) + 1;
138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is
141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed)
143 << kMaxRandomSeed << "].";
145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed;