OpenMPI
0.1.1
|
Simple macros to quickly compute a hash value from a string. More...
Go to the source code of this file.
Macros | |
#define | OPAL_HASH_STRLEN(str, hash, length) |
Compute the hash value and the string length simultaneously. More... | |
#define | OPAL_HASH_STR(str, hash) |
Compute the hash value. More... | |
Simple macros to quickly compute a hash value from a string.
#define OPAL_HASH_STR | ( | str, | |
hash | |||
) |
Compute the hash value.
str | (IN) The string which will be parsed (char*) |
hash | (OUT) Where the hash value will be stored (uint32_t) |
#define OPAL_HASH_STRLEN | ( | str, | |
hash, | |||
length | |||
) |
Compute the hash value and the string length simultaneously.
str | (IN) The string which will be parsed (char*) |
hash | (OUT) Where the hash value will be stored (uint32_t) |
length | (OUT) The computed length of the string (uint32_t) |