Home | History | Annotate | Download | only in src

Lines Matching refs:kMaxRandomSeed

96 // A valid random seed must be in [1, kMaxRandomSeed].
97 const int kMaxRandomSeed = 99999;
102 // Returns a random seed in range [1, kMaxRandomSeed] based on the
109 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that
113 static_cast<unsigned int>(kMaxRandomSeed)) + 1;
118 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is
121 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed)
123 << kMaxRandomSeed << "].";
125 return (next_seed > kMaxRandomSeed) ? 1 : next_seed;