comparison jenkinsHash_lookup3.c @ 32:bd376656f8ab

assuming you were not having fun thinking up silly ways to write 0
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Wed, 24 Apr 2013 16:35:19 +0200
parents b398837ef4aa
children
comparison
equal deleted inserted replaced
0:c40ff75b77e9 1:f520bb6dba61
168 except that the length has to be measured in uint32_ts rather than in 168 except that the length has to be measured in uint32_ts rather than in
169 bytes. hashlittle() is more complicated than hashword() only because 169 bytes. hashlittle() is more complicated than hashword() only because
170 hashlittle() has to dance around fitting the key bytes into registers. 170 hashlittle() has to dance around fitting the key bytes into registers.
171 -------------------------------------------------------------------- 171 --------------------------------------------------------------------
172 */ 172 */
173 inline uint32_t 173 uint32_t
174 jenkHash32( 174 jenkHash32(
175 const uint32_t *k, /* the key, an array of uint32_t values */ 175 const uint32_t *k, /* the key, an array of uint32_t values */
176 size_t length) /* the length of the key, in uint32_ts */ 176 size_t length) /* the length of the key, in uint32_ts */
177 { 177 {
178 uint32_t a,b,c; 178 uint32_t a,b,c;