(s string, h hash.Hash64)
| 491 | } |
| 492 | |
| 493 | func hashString(s string, h hash.Hash64) uint64 { |
| 494 | h.Reset() |
| 495 | if _, err := h.Write([]byte(s)); err != nil { |
| 496 | panic(err) // should not fail |
| 497 | } |
| 498 | return h.Sum64() |
| 499 | } |
| 500 | |
| 501 | func orderedHash(a, b uint64, h hash.Hash64) uint64 { |
| 502 | h.Reset() |
no test coverage detected