#include <hashtable.h>
Data Fields | |
| cp_hashtable_entry ** | table |
| long | table_size |
| unsigned long | items |
| int | mode |
| cp_hashfunction | hash_fn |
| cp_compare_fn | compare_fn |
| cp_copy_fn | copy_key |
| cp_copy_fn | copy_value |
| cp_destructor_fn | free_key |
| cp_destructor_fn | free_value |
| cp_lock * | lock |
| cp_thread | txowner |
| int | txtype |
| int | min_size |
| int | fill_factor_min |
| int | fill_factor_max |
| cp_hashtable_entry ** | resize_table |
| int | resizing |
| unsigned long | resize_len |
| cp_thread | resize_thread |
| cp_mutex * | resize_lock |
Definition at line 236 of file hashtable.h.
|
|
pointer to compare function Definition at line 244 of file hashtable.h. Referenced by cp_hashtable_create_by_option(). |
|
|
pointer to key copy function Definition at line 245 of file hashtable.h. Referenced by cp_hashtable_create_by_option(). |
|
|
pointer to value copy function Definition at line 246 of file hashtable.h. Referenced by cp_hashtable_create_by_option(). |
|
|
maximal fill factor in percent Definition at line 256 of file hashtable.h. Referenced by cp_hashtable_create_by_option(), and cp_hashtable_set_max_fill_factor(). |
|
|
minimal fill factor in percent Definition at line 255 of file hashtable.h. Referenced by cp_hashtable_create_by_option(), and cp_hashtable_set_min_fill_factor(). |
|
|
pointer to hash function Definition at line 243 of file hashtable.h. Referenced by cp_hashtable_create_by_option(). |
|
|
number of items in the table Definition at line 241 of file hashtable.h. Referenced by cp_hashtable_create_by_option(). |
|
|
lock Definition at line 250 of file hashtable.h. Referenced by cp_hashtable_create_by_option(). |
|
|
table resize lower limit Definition at line 254 of file hashtable.h. Referenced by cp_hashtable_create_by_option(), and cp_hashtable_set_min_size(). |
|
|
collection mode
Definition at line 242 of file hashtable.h. Referenced by cp_hashtable_create_by_option(). |
|
|
resize table length Definition at line 260 of file hashtable.h. Referenced by cp_hashtable_resize_thread(). |
|
|
for synchronizing resize operation Definition at line 262 of file hashtable.h. |
|
|
temp table for resizing Definition at line 258 of file hashtable.h. Referenced by cp_hashtable_resize_thread(). |
|
|
run resize in a separate thread Definition at line 261 of file hashtable.h. |
|
|
resize running flag Definition at line 259 of file hashtable.h. Referenced by cp_hashtable_create_by_option(), and cp_hashtable_resize_thread(). |
|
|
array of pointers to entries Definition at line 238 of file hashtable.h. Referenced by cp_hashtable_create_by_option(), and cp_hashtable_resize_thread(). |
|
|
size of the table Definition at line 239 of file hashtable.h. Referenced by cp_hashtable_create_by_option(), and cp_hashtable_resize_thread(). |
|
|
lock owner Definition at line 251 of file hashtable.h. |
|
|
lock type Definition at line 252 of file hashtable.h. |
1.3.9.1