(h uint64, x string)
| 718 | } |
| 719 | |
| 720 | func fnvString(h uint64, x string) uint64 { |
| 721 | for i := 0; i < len(x); i++ { |
| 722 | h ^= uint64(x[i]) |
| 723 | h *= prime64 |
| 724 | } |
| 725 | return h |
| 726 | } |
| 727 | |
| 728 | func fnvUint64(h uint64, x uint64) uint64 { |
| 729 | for i := 0; i < 8; i++ { |
no outgoing calls
no test coverage detected
searching dependent graphs…