Mstdlib-1.24.0
Hashtable - Callback default implementations

Functions

M_uint32 M_hash_func_hash_str (const void *key, M_uint32 seed)
 
M_uint32 M_hash_func_hash_str_casecmp (const void *key, M_uint32 seed)
 
M_uint32 M_hash_func_hash_u64 (const void *key, M_uint32 seed)
 
M_uint32 M_hash_func_hash_vp (const void *key, M_uint32 seed)
 
void * M_hash_func_u64dup (const void *arg)
 
void * M_hash_void_strdup (const void *arg)
 

Detailed Description

Function Documentation

◆ M_hash_func_hash_str()

M_uint32 M_hash_func_hash_str ( const void *  key,
M_uint32  seed 
)

Implementation will compute a hash using FNV1a from a string.

◆ M_hash_func_hash_str_casecmp()

M_uint32 M_hash_func_hash_str_casecmp ( const void *  key,
M_uint32  seed 
)

Implementation will compute a hash using FNV1a from a string in a case-insensitive manner.

◆ M_hash_func_hash_u64()

M_uint32 M_hash_func_hash_u64 ( const void *  key,
M_uint32  seed 
)

Implementation will compute a hash using FNV1a from a u64 (pointer).

◆ M_hash_func_hash_vp()

M_uint32 M_hash_func_hash_vp ( const void *  key,
M_uint32  seed 
)

Implemntation will compute a hash using FNV1a from a pointer address

◆ M_hash_func_u64dup()

void * M_hash_func_u64dup ( const void *  arg)

This function duplicates a M_uint64 (pointer).

◆ M_hash_void_strdup()

void * M_hash_void_strdup ( const void *  arg)