Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

_hash_prime.c File Reference


Detailed Description

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.


Generated on Sat Jul 15 14:10:33 2006 for DatabasePrimitivesLibrary by  doxygen 1.4.4