| Akash Reddy Kankanala | c6b6ca1 | 2025-06-12 14:26:57 +0530 | [diff] [blame] | 1 | //go:build (amd64 || arm64) && !appengine && gc && !purego |
| 2 | // +build amd64 arm64 |
| Joey Armstrong | a6af152 | 2023-01-17 16:06:16 -0500 | [diff] [blame] | 3 | // +build !appengine |
| 4 | // +build gc |
| 5 | // +build !purego |
| 6 | |
| 7 | package xxhash |
| 8 | |
| Abhay Kumar | a61c522 | 2025-11-10 07:32:50 +0000 | [diff] [blame^] | 9 | // Sum64 computes the 64-bit xxHash digest of b with a zero seed. |
| Joey Armstrong | a6af152 | 2023-01-17 16:06:16 -0500 | [diff] [blame] | 10 | // |
| 11 | //go:noescape |
| 12 | func Sum64(b []byte) uint64 |
| 13 | |
| 14 | //go:noescape |
| 15 | func writeBlocks(d *Digest, b []byte) int |