Skip to content

Commit

Permalink
formating
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyi-fudan authored Dec 7, 2019
1 parent b31cf1e commit 9f68c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wyhash.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static inline uint64_t wyhash(const void* key, uint64_t len, uint64_t seed) {
else if(i<4) seed=_wymum(_wyr3(p,i)^seed^_wyp0,seed^_wyp1);
else if(i<=8) seed=_wymum(_wyr4(p)^seed^_wyp0,_wyr4(p+i-4)^seed^_wyp1);
else if(i<=16) seed=_wymum(_wyr8(p)^seed^_wyp0,_wyr8(p+i-8)^seed^_wyp1);
else if(i<=24) { seed=_wymum(_wyr8(p)^seed^_wyp0,_wyr8(p+8)^seed^_wyp1); see1=_wymum(_wyr8(p+i-8)^see1^_wyp2,see1^_wyp3);}
else if(i<=24) { seed=_wymum(_wyr8(p)^seed^_wyp0,_wyr8(p+8)^seed^_wyp1); see1=_wymum(_wyr8(p+i-8)^see1^_wyp2,see1^_wyp3); }
else { seed=_wymum(_wyr8(p)^seed^_wyp0,_wyr8(p+8)^seed^_wyp1); see1=_wymum(_wyr8(p+16)^see1^_wyp2,_wyr8(p+i-8)^see1^_wyp3); }
return _wymum(seed^see1,len^_wyp4);
}
Expand Down

0 comments on commit 9f68c1b

Please sign in to comment.