Lines Matching refs:PRIMES
63 * PRIMES table, so that when the primeIndex is incremented or
73 * PRIMES[i+1] ~ 2*PRIMES[i]. (Currently, the ratio ranges from 1.81
81 static const int32_t PRIMES[] = {
88 #define PRIMES_LENGTH UPRV_LENGTHOF(PRIMES)
91 /* These ratios are tuned to the PRIMES array such that a resize
225 hash->length = PRIMES[primeIndex];
557 /* Find the smallest index i for which PRIMES[i] >= size. */
559 while (i<(PRIMES_LENGTH-1) && PRIMES[i]<size) {
584 // Find the smallest index i for which PRIMES[i] >= size.
586 while (i<(PRIMES_LENGTH-1) && PRIMES[i]<size) {