hashAddByte adds a byte to a fnv64a hash value, returning the updated hash.
(h uint64, b byte)
| 36 | |
| 37 | // hashAddByte adds a byte to a fnv64a hash value, returning the updated hash. |
| 38 | func hashAddByte(h uint64, b byte) uint64 { |
| 39 | h ^= uint64(b) |
| 40 | h *= prime64 |
| 41 | return h |
| 42 | } |
no outgoing calls
no test coverage detected