Changeset 8a6452
- Timestamp:
- 04/02/08 09:47:51 (4 years ago)
- Branches:
- ketama-compat
- Parents:
- e097b5
- git-author:
- Tomash Brechko <tomash.brechko@…> (04/02/08 09:47:51)
- git-committer:
- Tomash Brechko <tomash.brechko@…> (04/02/08 09:47:51)
- File:
-
- 1 edited
-
src/dispatch_key.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/dispatch_key.c
re097b5 r8a6452 133 133 struct continuum_point *p; 134 134 unsigned int crc32 = compute_crc32(key, key_len); 135 unsigned int hash = (crc32 >> 16) & 0x00007fff ;135 unsigned int hash = (crc32 >> 16) & 0x00007fffU; 136 136 unsigned int point = hash % (unsigned int) (state->total_weight + 0.5); 137 137
Note: See TracChangeset
for help on using the changeset viewer.
