FARGOS/VISTA Object Management Environment Core
..
|
Hash functions that support concatenation; logically: hash(A + B) = hash(a) + hash(b);. More...
Functions | |
uint32_t | hash_string32 (const char *str) |
Generate a concatenateable 32-bit hash of a null-terminated string. More... | |
uint32_t | hash_block32 (const void *block, size_t blockLen) |
Generate a concatenateable 32-bit hash of a block of memory. More... | |
uint32_t | hash_concat32 (uint32_t left, uint32_t right) OME_CONST_FUNCTION |
Compose a new hash of a logically concatenated string from previous hashes of the two elements. More... | |
Hash functions that support concatenation; logically: hash(A + B) = hash(a) + hash(b);.
uint32_t hash_block32 | ( | const void * | block, |
size_t | blockLen | ||
) |
Generate a concatenateable 32-bit hash of a block of memory.
block | points at the start of the block to be hashed |
blockLen | specifies the length of the block |
References OME_PREFETCH.
uint32_t hash_concat32 | ( | uint32_t | left, |
uint32_t | right | ||
) |
Compose a new hash of a logically concatenated string from previous hashes of the two elements.
left | is the hash of the left-hand component |
right | is the hash of the right-hand component |
uint32_t hash_string32 | ( | const char * | str | ) |
Generate a concatenateable 32-bit hash of a null-terminated string.
str | points at the string to be hashed |
References OME_PREFETCH.
![]() | Generated: Fri Jul 31 2020 18:19:16
Support Information |