Changes in kernel/generic/src/adt/hash_table.c [55b77d9:b72efe8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/adt/hash_table.c
r55b77d9 rb72efe8 147 147 ASSERT(keys <= h->max_keys); 148 148 149 149 150 if (keys == h->max_keys) { 150 151 link_t *cur; 151 152 152 153 /* 153 154 * All keys are known, hash_table_find() can be used to find the entry. … … 168 169 */ 169 170 for (chain = 0; chain < h->entries; chain++) { 170 list_foreach(h->entry[chain], cur) { 171 link_t *cur; 172 for (cur = h->entry[chain].head.next; cur != &h->entry[chain].head; 173 cur = cur->next) { 171 174 if (h->op->compare(key, keys, cur)) { 172 175 link_t *hlp;
Note:
See TracChangeset
for help on using the changeset viewer.