Home
last modified time | relevance | path

Searched refs:primes (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/cwchash/
H A Dhashtable.c15 static const unsigned int primes[] = { variable
24 const unsigned int prime_table_length = sizeof(primes)/sizeof(primes[0]);
34 unsigned int pindex, size = primes[0]; in create_hashtable()
39 if (primes[pindex] > minsize) { size = primes[pindex]; break; } in create_hashtable()
80 newsize = primes[++(h->primeindex)]; in hashtable_expand()
/illumos-gate/usr/src/common/mpi/
H A Dmpprime.h69 mp_err mpp_fermat_list(mp_int *a, const mp_digit *primes, mp_size nPrimes);
71 mp_err mpp_sieve(mp_int *trial, const mp_digit *primes, mp_size nPrimes,
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_tsearchhash.c94 static unsigned long primes[] = variable
196 unsigned long prime_to_use = primes[0]; in dwarf_initialize_search_hash()
211 prime_to_use = primes[0]; in dwarf_initialize_search_hash()
214 prime_to_use = primes[k]; in dwarf_initialize_search_hash()
363 prime_to_use = primes[new_entry_index]; in resize_table()
/illumos-gate/usr/src/cmd/nscd/
H A Dcache.c2300 uint_t primes[] = {_NSC_HTSIZE_PRIMES}; in reap_cache() local
2366 newhtsize = primes[slot]; in reap_cache()