|
| static hashmap_uint32_t | xxhash_hasher (hashmap_uint32_t seed, const void *key, hashmap_uint32_t key_len) |
| |
| int | hashmap_create_xh (const hashmap_uint32_t initial_capacity, struct hashmap_s *const out_hashmap) |
| | Create a hashmap with a custom hash function.
|
| |
| hashmap_uint32_t | hashmap_new_hash (struct hashmap_s *const m, const char *const key, const hashmap_uint32_t len) |
| |
| int | hashmap_put_tuple (struct hashmap_s *const m, const char *const key, const hashmap_uint32_t len, PyObject *restrict py_key, PyObject *restrict value) |
| |
| struct map_tuple * | hashmap_pop_tuple (struct hashmap_s *const m, const char *const key, const hashmap_uint32_t len) |
| | Remove a value from the hashmap.
|
| |
| static int | free_iter (void *const context, void *const held) |
| |
| void | hashmap_destroy_tuple (struct hashmap_s *m) |
| | Destroy a hashmap, assuming the values are map_tuples.
|
| |
| static int | free_iter_py (void *const context, void *const held) |
| |
| void | hashmap_destroy_py (struct hashmap_s *m) |
| | Destroy a hashmap, assuming the values are PyObjects.
|
| |
Implementation of the hashmap_ext module.