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