#include "hashtable2.h"
#include <string.h>
#include "dict_private.h"
#include "hashtable_common.h"
Go to the source code of this file.
|
| hashtable2 * | hashtable2_new (dict_compare_func cmp_func, dict_hash_func hash_func, unsigned initial_size) |
| |
| dict * | hashtable2_dict_new (dict_compare_func cmp_func, dict_hash_func hash_func, unsigned initial_size) |
| |
| size_t | hashtable2_free (hashtable2 *table, dict_delete_func delete_func) |
| |
| dict_insert_result | hashtable2_insert (hashtable2 *table, void *key) |
| |
| void ** | hashtable2_search (hashtable2 *table, const void *key) |
| |
| dict_remove_result | hashtable2_remove (hashtable2 *table, const void *key) |
| |
| size_t | hashtable2_clear (hashtable2 *table, dict_delete_func delete_func) |
| |
| size_t | hashtable2_traverse (hashtable2 *table, dict_visit_func visit, void *user_data) |
| |
| size_t | hashtable2_count (const hashtable2 *table) |
| |
| size_t | hashtable2_size (const hashtable2 *table) |
| |
| size_t | hashtable2_slots_used (const hashtable2 *table) |
| |
| bool | hashtable2_resize (hashtable2 *table, unsigned new_size) |
| |
| bool | hashtable2_verify (const hashtable2 *table) |
| |
| hashtable2_itor * | hashtable2_itor_new (hashtable2 *table) |
| |
| dict_itor * | hashtable2_dict_itor_new (hashtable2 *table) |
| |
| void | hashtable2_itor_free (hashtable2_itor *itor) |
| |
| bool | hashtable2_itor_valid (const hashtable2_itor *itor) |
| |
| void | hashtable2_itor_invalidate (hashtable2_itor *itor) |
| |
| bool | hashtable2_itor_next (hashtable2_itor *itor) |
| |
| bool | hashtable2_itor_prev (hashtable2_itor *itor) |
| |
| bool | hashtable2_itor_nextn (hashtable2_itor *itor, size_t count) |
| |
| bool | hashtable2_itor_prevn (hashtable2_itor *itor, size_t count) |
| |
| bool | hashtable2_itor_first (hashtable2_itor *itor) |
| |
| bool | hashtable2_itor_last (hashtable2_itor *itor) |
| |
| bool | hashtable2_itor_search (hashtable2_itor *itor, const void *key) |
| |
| const void * | hashtable2_itor_key (const hashtable2_itor *itor) |
| |
| void ** | hashtable2_itor_datum (hashtable2_itor *itor) |
| |
| bool | hashtable2_itor_remove (hashtable2_itor *itor) |
| |
◆ LOADFACTOR_DENOMINATOR
| #define LOADFACTOR_DENOMINATOR 3 |
◆ LOADFACTOR_NUMERATOR
| #define LOADFACTOR_NUMERATOR 2 |
◆ hashtable2_clear()
◆ hashtable2_count()
| size_t hashtable2_count |
( |
const hashtable2 * | table | ) |
|
◆ hashtable2_dict_itor_new()
◆ hashtable2_dict_new()
◆ hashtable2_free()
◆ hashtable2_insert()
◆ hashtable2_itor_datum()
◆ hashtable2_itor_first()
◆ hashtable2_itor_free()
◆ hashtable2_itor_invalidate()
◆ hashtable2_itor_key()
◆ hashtable2_itor_last()
◆ hashtable2_itor_new()
◆ hashtable2_itor_next()
◆ hashtable2_itor_nextn()
◆ hashtable2_itor_prev()
◆ hashtable2_itor_prevn()
◆ hashtable2_itor_remove()
◆ hashtable2_itor_search()
◆ hashtable2_itor_valid()
◆ hashtable2_new()
◆ hashtable2_remove()
◆ hashtable2_resize()
| bool hashtable2_resize |
( |
hashtable2 * | table, |
|
|
unsigned | new_size ) |
◆ hashtable2_search()
| void ** hashtable2_search |
( |
hashtable2 * | table, |
|
|
const void * | key ) |
◆ hashtable2_size()
| size_t hashtable2_size |
( |
const hashtable2 * | table | ) |
|
◆ hashtable2_slots_used()
| size_t hashtable2_slots_used |
( |
const hashtable2 * | table | ) |
|
◆ hashtable2_traverse()
◆ hashtable2_verify()
| bool hashtable2_verify |
( |
const hashtable2 * | table | ) |
|