|
cdcontainers
0.1.1
Library of data containers and collections for C programming language.
|
Functions | |
| enum cdc_stat | cdc_hash_table_ctor (struct cdc_hash_table **t, struct cdc_data_info *info) |
| Constructs an empty hash table. More... | |
| enum cdc_stat | cdc_hash_table_ctorl (struct cdc_hash_table **t, struct cdc_data_info *info,...) |
| Constructs a hash table, initialized by an variable number of pointers on cdc_pair's(first - key, and the second - value). The last item must be CDC_END. More... | |
| enum cdc_stat | cdc_hash_table_ctorv (struct cdc_hash_table **t, struct cdc_data_info *info, va_list args) |
| Constructs a hash table, initialized by args. The last item must be CDC_END. More... | |
| enum cdc_stat | cdc_hash_table_ctor1 (struct cdc_hash_table **t, struct cdc_data_info *info, float load_factor) |
| Constructs an empty hash table. More... | |
| enum cdc_stat | cdc_hash_table_ctorl1 (struct cdc_hash_table **t, struct cdc_data_info *info, float load_factor,...) |
| Constructs a hash table, initialized by an variable number of pointers on cdc_pair's(first - key, and the second - value). The last item must be CDC_END. More... | |
| enum cdc_stat | cdc_hash_table_ctorv1 (struct cdc_hash_table **t, struct cdc_data_info *info, float load_factor, va_list args) |
| Constructs a hash table, initialized by args. The last item must be CDC_END. More... | |
| void | cdc_hash_table_dtor (struct cdc_hash_table *t) |
| Destroys the hash table. More... | |
| enum cdc_stat cdc_hash_table_ctor | ( | struct cdc_hash_table ** | t, |
| struct cdc_data_info * | info | ||
| ) |
Constructs an empty hash table.
| [out] | t | - cdc_hash_table |
| [in] | info | - cdc_data_info |
| enum cdc_stat cdc_hash_table_ctorl | ( | struct cdc_hash_table ** | t, |
| struct cdc_data_info * | info, | ||
| ... | |||
| ) |
Constructs a hash table, initialized by an variable number of pointers on cdc_pair's(first - key, and the second - value). The last item must be CDC_END.
| [out] | t | - cdc_hash_table |
| [in] | info | - cdc_data_info |
Example:
| enum cdc_stat cdc_hash_table_ctorv | ( | struct cdc_hash_table ** | t, |
| struct cdc_data_info * | info, | ||
| va_list | args | ||
| ) |
Constructs a hash table, initialized by args. The last item must be CDC_END.
| [out] | t | - cdc_hash_table |
| [in] | info | - cdc_data_info |
| enum cdc_stat cdc_hash_table_ctor1 | ( | struct cdc_hash_table ** | t, |
| struct cdc_data_info * | info, | ||
| float | load_factor | ||
| ) |
Constructs an empty hash table.
| [out] | t | - cdc_hash_table |
| [in] | info | - cdc_data_info |
| [in] | load_factor | - maximum load factor |
| enum cdc_stat cdc_hash_table_ctorl1 | ( | struct cdc_hash_table ** | t, |
| struct cdc_data_info * | info, | ||
| float | load_factor, | ||
| ... | |||
| ) |
Constructs a hash table, initialized by an variable number of pointers on cdc_pair's(first - key, and the second - value). The last item must be CDC_END.
| [out] | t | - cdc_hash_table |
| [in] | info | - cdc_data_info |
| [in] | load_factor | - maximum load factor |
| enum cdc_stat cdc_hash_table_ctorv1 | ( | struct cdc_hash_table ** | t, |
| struct cdc_data_info * | info, | ||
| float | load_factor, | ||
| va_list | args | ||
| ) |
Constructs a hash table, initialized by args. The last item must be CDC_END.
| [out] | t | - cdc_hash_table |
| [in] | info | - cdc_data_info |
| [in] | load_factor | - maximum load factor |
| void cdc_hash_table_dtor | ( | struct cdc_hash_table * | t | ) |
Destroys the hash table.
| [in] | t | - cdc_hash_table |
1.8.13