xxhash_asm.go 328 B

12345678910111213141516
  1. //go:build (amd64 || arm64) && !appengine && gc && !purego && !noasm
  2. // +build amd64 arm64
  3. // +build !appengine
  4. // +build gc
  5. // +build !purego
  6. // +build !noasm
  7. package xxhash
  8. // Sum64 computes the 64-bit xxHash digest of b.
  9. //
  10. //go:noescape
  11. func Sum64(b []byte) uint64
  12. //go:noescape
  13. func writeBlocks(s *Digest, b []byte) int