hash.c File Reference

Functions


Function Documentation

int find_prime ( int  n  ) 

Returns smallest prime >= n.

References is_prime().

unsigned int hash_macro ( char *  macro_name,
unsigned int  args 
)
unsigned int hash_string ( char *  string  ) 

Computes 32bit hash value for string.

int is_prime ( int  n  ) 

Returns True iff n is a prime.


Generated on Sun Feb 28 18:08:04 2010 for CWB by  doxygen 1.6.1