Changeset 3bacee1 in mainline for uspace/lib/c/include/adt/hash.h
- Timestamp:
- 2018-04-12T16:27:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3cf22f9
- Parents:
- 76d0981d
- git-author:
- Jiri Svoboda <jiri@…> (2018-04-11 19:25:33)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-04-12 16:27:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/hash.h
r76d0981d r3bacee1 106 106 * http://burtleburtle.net/bob/c/lookup3.c 107 107 */ 108 seed ^= hash + 0x9e3779b9 109 +((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5)));108 seed ^= hash + 0x9e3779b9 + 109 ((seed << 5) | (seed >> (sizeof(size_t) * 8 - 5))); 110 110 return seed; 111 111 }
Note:
See TracChangeset
for help on using the changeset viewer.