Changeset eb522e8 in mainline for kernel/generic/src/adt/hash_table.c
- Timestamp:
- 2011-06-01T08:43:42Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8d6c1f1
- Parents:
- 9e2e715 (diff), e51a514 (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
-
kernel/generic/src/adt/hash_table.c
r9e2e715 reb522e8 82 82 * @param item Item to be inserted into the hash table. 83 83 */ 84 void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item)84 void hash_table_insert(hash_table_t *h, sysarg_t key[], link_t *item) 85 85 { 86 86 size_t chain; … … 105 105 * @return Matching item on success, NULL if there is no such item. 106 106 */ 107 link_t *hash_table_find(hash_table_t *h, unative_t key[])107 link_t *hash_table_find(hash_table_t *h, sysarg_t key[]) 108 108 { 109 109 link_t *cur; … … 138 138 * @param keys Number of keys in the key array. 139 139 */ 140 void hash_table_remove(hash_table_t *h, unative_t key[], size_t keys)140 void hash_table_remove(hash_table_t *h, sysarg_t key[], size_t keys) 141 141 { 142 142 size_t chain;
Note:
See TracChangeset
for help on using the changeset viewer.