libFirm 1.20
|
Functions | |
static unsigned | hash_data (const unsigned char *data, size_t bytes) |
Returns a hash value for a block of data. | |
static unsigned | hash_str (const char *str) |
Returns a hash value for a string. | |
static unsigned | hash_ptr (const void *ptr) |
Returns a hash value for a pointer. | |
static unsigned | hash_combine (unsigned x, unsigned y) |
Combines 2 hash values. |
static unsigned hash_combine | ( | unsigned | x, |
unsigned | y | ||
) | [inline, static] |
static unsigned hash_data | ( | const unsigned char * | data, |
size_t | bytes | ||
) | [inline, static] |
static unsigned hash_ptr | ( | const void * | ptr | ) | [inline, static] |