Change-Id: I01a3a5232525683c987b52ab8ece3fc18b6f431b
GitHub-Last-Rev:
d2ec8fe536c7a1cdbd23017185447a86bee5a82a
GitHub-Pull-Request: golang/go#52194
Reviewed-on: https://go-review.googlesource.com/c/go/+/398714
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Trust: Daniel Martí <mvdan@mvdan.cc>
// var h Hash
// h.SetSeed(seed)
// h.Write(b)
-// return h.Sum()
+// return h.Sum64()
func Bytes(seed Seed, b []byte) uint64 {
state := seed.s
if state == 0 {
// var h Hash
// h.SetSeed(seed)
// h.WriteString(s)
-// return h.Sum()
+// return h.Sum64()
func String(seed Seed, s string) uint64 {
state := seed.s
if state == 0 {