OLD | NEW |
1 /* Modified for use with yasm by Peter Johnson. */ | 1 /* Modified for use with yasm by Peter Johnson. */ |
2 #include "util.h" | 2 #include "util.h" |
3 /*@unused@*/ RCSID("$Id: phash.c 1893 2007-07-14 03:11:32Z peter $"); | |
4 | 3 |
5 /* | 4 /* |
6 -------------------------------------------------------------------- | 5 -------------------------------------------------------------------- |
7 lookupa.c, by Bob Jenkins, December 1996. Same as lookup2.c | 6 lookupa.c, by Bob Jenkins, December 1996. Same as lookup2.c |
8 Use this code however you wish. Public Domain. No warranty. | 7 Use this code however you wish. Public Domain. No warranty. |
9 Source is http://burtleburtle.net/bob/c/lookupa.c | 8 Source is http://burtleburtle.net/bob/c/lookupa.c |
10 -------------------------------------------------------------------- | 9 -------------------------------------------------------------------- |
11 */ | 10 */ |
12 #include "phash.h" | 11 #include "phash.h" |
13 | 12 |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 } | 259 } |
261 mixc(a,b,c,d,e,f,g,h); | 260 mixc(a,b,c,d,e,f,g,h); |
262 mixc(a,b,c,d,e,f,g,h); | 261 mixc(a,b,c,d,e,f,g,h); |
263 mixc(a,b,c,d,e,f,g,h); | 262 mixc(a,b,c,d,e,f,g,h); |
264 mixc(a,b,c,d,e,f,g,h); | 263 mixc(a,b,c,d,e,f,g,h); |
265 | 264 |
266 /*-------------------------------------------- report the result */ | 265 /*-------------------------------------------- report the result */ |
267 state[0]=a; state[1]=b; state[2]=c; state[3]=d; | 266 state[0]=a; state[1]=b; state[2]=c; state[3]=d; |
268 state[4]=e; state[5]=f; state[6]=g; state[7]=h; | 267 state[4]=e; state[5]=f; state[6]=g; state[7]=h; |
269 } | 268 } |
OLD | NEW |