update dependencies

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-12-22 16:48:26 +08:00
parent 4a11a50544
commit fe6c5de00f
2857 changed files with 252134 additions and 115656 deletions

View File

@@ -1,5 +1,7 @@
package xxhash
import "hash"
const (
prime32x1 uint32 = 2654435761
prime32x2 uint32 = 2246822519
@@ -22,6 +24,9 @@ const (
zero64x4 = 0x61c8864e7a143579
)
func NewHash32() hash.Hash { return New32() }
func NewHash64() hash.Hash { return New64() }
// Checksum32 returns the checksum of the input data with the seed set to 0.
func Checksum32(in []byte) uint32 {
return Checksum32S(in, 0)