Lines Matching refs:kLimit
558 static const unsigned kLimit = 1000;
561 bool seen[kLimit];
562 for (unsigned i = 0; i < kLimit; i++) seen[i] = false;
564 for (unsigned k = 0; k < kLimit; k++) \
569 unsigned next = PseudoRandom(i, j) % kLimit;
590 int val = PseudoRandom(j, i) % kLimit;
597 val = PseudoRandom(i + j, i - j) % kLimit;
611 static const int kLimit = 1000;
618 range[j] = PseudoRandom(i + 25, j + 87) % kLimit;
634 for (int p = 0; p < kLimit; p++) {
1419 static const int kLimit = 1000;
1426 int from = PseudoRandom(t + 87, i + 25) % kLimit;
1427 int to = from + (PseudoRandom(i + 87, t + 25) % (kLimit / 20));
1428 if (to > kLimit) to = kLimit;
1435 for (int i = 0; i < kLimit; i++) {