Changeset 33c2952 in mainline for uspace/lib/c/generic/adt/hash_table.c
- Timestamp:
- 2012-11-07T21:00:02Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dcb0751
- Parents:
- fc89e32 (diff), 94795812 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/adt/hash_table.c
rfc89e32 r33c2952 62 62 63 63 64 static size_t round_up_size(size_t size);65 static bool alloc_table(size_t bucket_cnt, list_t **pbuckets);66 static void clear_items(hash_table_t * h);67 static void resize(hash_table_t * h, size_t new_bucket_cnt);68 static void grow_if_needed(hash_table_t * h);69 static void shrink_if_needed(hash_table_t * h);64 static size_t round_up_size(size_t); 65 static bool alloc_table(size_t, list_t **); 66 static void clear_items(hash_table_t *); 67 static void resize(hash_table_t *, size_t); 68 static void grow_if_needed(hash_table_t *); 69 static void shrink_if_needed(hash_table_t *); 70 70 71 71 /* Dummy do nothing callback to invoke in place of remove_callback == NULL. */
Note:
See TracChangeset
for help on using the changeset viewer.