Home | History | Annotate | Download | only in source

Lines Matching full:seed

28 // hash seed of 5381 recommended.
30 static uint32 HashDjb2_C(const uint8* src, int count, uint32 seed) {
31 uint32 hash = seed;
76 static uint32 HashDjb2_SSE41(const uint8* src, int count, uint32 seed) {
80 movd xmm0, [esp + 12] // seed
160 static uint32 HashDjb2_SSE41(const uint8* src, int count, uint32 seed) {
202 "+rm"(seed), // %2
218 // hash seed of 5381 recommended.
220 uint32 HashDjb2(const uint8* src, uint64 count, uint32 seed) {
221 uint32 (*HashDjb2_SSE)(const uint8* src, int count, uint32 seed) = HashDjb2_C;
230 seed = HashDjb2_SSE(src, kBlockSize, seed);
236 seed = HashDjb2_SSE(src, remainder, seed);
242 seed = HashDjb2_C(src, remainder, seed);
244 return seed;