algorithm.h | algorithm.h | |||
---|---|---|---|---|
skipping to change at line 74 | skipping to change at line 74 | |||
HASHKIT_API | HASHKIT_API | |||
uint32_t libhashkit_crc32(const char *key, size_t key_length); | uint32_t libhashkit_crc32(const char *key, size_t key_length); | |||
HASHKIT_API | HASHKIT_API | |||
uint32_t libhashkit_hsieh(const char *key, size_t key_length); | uint32_t libhashkit_hsieh(const char *key, size_t key_length); | |||
HASHKIT_API | HASHKIT_API | |||
uint32_t libhashkit_murmur(const char *key, size_t key_length); | uint32_t libhashkit_murmur(const char *key, size_t key_length); | |||
HASHKIT_API | HASHKIT_API | |||
uint32_t libhashkit_murmur3(const char *key, size_t key_length); | ||||
HASHKIT_API | ||||
uint32_t libhashkit_jenkins(const char *key, size_t key_length); | uint32_t libhashkit_jenkins(const char *key, size_t key_length); | |||
HASHKIT_API | HASHKIT_API | |||
uint32_t libhashkit_md5(const char *key, size_t key_length); | uint32_t libhashkit_md5(const char *key, size_t key_length); | |||
HASHKIT_LOCAL | ||||
uint32_t hashkit_one_at_a_time(const char *key, size_t key_length, void *co | ||||
ntext); | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_fnv1_64(const char *key, size_t key_length, void *context) | ||||
; | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_fnv1a_64(const char *key, size_t key_length, void *context | ||||
); | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_fnv1_32(const char *key, size_t key_length, void *context) | ||||
; | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_fnv1a_32(const char *key, size_t key_length, void *context | ||||
); | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_crc32(const char *key, size_t key_length, void *context); | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_hsieh(const char *key, size_t key_length, void *context); | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_murmur(const char *key, size_t key_length, void *context); | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_jenkins(const char *key, size_t key_length, void *context) | ||||
; | ||||
HASHKIT_LOCAL | ||||
uint32_t hashkit_md5(const char *key, size_t key_length, void *context); | ||||
HASHKIT_API | HASHKIT_API | |||
void libhashkit_md5_signature(const unsigned char *key, size_t length, unsi gned char *result); | void libhashkit_md5_signature(const unsigned char *key, size_t length, unsi gned char *result); | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
36 lines changed or deleted | 3 lines changed or added | |||
types.h | types.h | |||
---|---|---|---|---|
skipping to change at line 70 | skipping to change at line 70 | |||
HASHKIT_HASH_DEFAULT= 0, // hashkit_one_at_a_time() | HASHKIT_HASH_DEFAULT= 0, // hashkit_one_at_a_time() | |||
HASHKIT_HASH_MD5, | HASHKIT_HASH_MD5, | |||
HASHKIT_HASH_CRC, | HASHKIT_HASH_CRC, | |||
HASHKIT_HASH_FNV1_64, | HASHKIT_HASH_FNV1_64, | |||
HASHKIT_HASH_FNV1A_64, | HASHKIT_HASH_FNV1A_64, | |||
HASHKIT_HASH_FNV1_32, | HASHKIT_HASH_FNV1_32, | |||
HASHKIT_HASH_FNV1A_32, | HASHKIT_HASH_FNV1A_32, | |||
HASHKIT_HASH_HSIEH, | HASHKIT_HASH_HSIEH, | |||
HASHKIT_HASH_MURMUR, | HASHKIT_HASH_MURMUR, | |||
HASHKIT_HASH_JENKINS, | HASHKIT_HASH_JENKINS, | |||
HASHKIT_HASH_MURMUR3, | ||||
HASHKIT_HASH_CUSTOM, | HASHKIT_HASH_CUSTOM, | |||
HASHKIT_HASH_MAX | HASHKIT_HASH_MAX | |||
} hashkit_hash_algorithm_t; | } hashkit_hash_algorithm_t; | |||
/** | /** | |||
* Hash distributions that are available to use. | * Hash distributions that are available to use. | |||
*/ | */ | |||
typedef enum | typedef enum | |||
{ | { | |||
HASHKIT_DISTRIBUTION_MODULA, | HASHKIT_DISTRIBUTION_MODULA, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||