For internal use only.
This file contains the implementation of the _hash_prime() function, used to determine a prime number to use as a hash table modulus.
Definition in file _hash_prime.c.
#include "dbprim.h"
#include "dbprim_int.h"
Include dependency graph for _hash_prime.c:
Go to the source code of this file.
Defines | |
#define | MAX_PRIME |
Largest prime. | |
Functions | |
unsigned long | _hash_prime (unsigned long start) |
Select a prime number. | |
Variables | |
static unsigned long | primes [] |
Table of primes. |