MOS Source Code
|
Common hash and comparison functions for hashmaps. More...
Macros | |
#define | hashmap_common_type_init(map, cap, type) hashmap_init(map, cap, hashmap_hash_##type, hashmap_compare_##type) |
Functions | |
MOSAPI hash_t __pure | hashmap_hash_string (uintn key) |
MOSAPI int __pure | hashmap_compare_string (uintn key1, uintn key2) |
MOSAPI int __pure | hashmap_simple_key_compare (uintn key1, uintn key2) |
MOSAPI hash_t __pure | hashmap_identity_hash (uintn key) |
Common hash and comparison functions for hashmaps.
#define hashmap_common_type_init | ( | map, | |
cap, | |||
type ) hashmap_init(map, cap, hashmap_hash_##type, hashmap_compare_##type) |
Definition at line 14 of file hashmap_common.h.
Referenced by MOS_TEST_CASE(), MOS_TEST_CASE(), MOS_TEST_CASE(), MOS_TEST_CASE(), MOS_TEST_CASE(), MOS_TEST_CASE(), and MOS_TEST_CASE().
Definition at line 20 of file hashmap_common.c.
Referenced by ipc_init(), and MOS_TEST_CASE().
Definition at line 25 of file hashmap_common.c.
Referenced by ipc_init(), and MOS_TEST_CASE().
Definition at line 30 of file hashmap_common.c.
Referenced by inode_init(), mountpoint_map_init(), and tasks_init().
Definition at line 35 of file hashmap_common.c.
Referenced by inode_init(), mountpoint_map_init(), and tasks_init().