const xxhPrime64c1 … const xxhPrime64c2 … const xxhPrime64c3 … const xxhPrime64c4 … const xxhPrime64c5 … type xxhash64 … // reset discards the current state and prepares to compute a new hash. // We assume a seed of 0 since that is what zstd uses. func (xh *xxhash64) reset() { … } // update adds a buffer to the has. func (xh *xxhash64) update(b []byte) { … } // digest returns the final hash value. func (xh *xxhash64) digest() uint64 { … } // round updates a value. func (xh *xxhash64) round(v, n uint64) uint64 { … } // mergeRound updates a value in the final round. func (xh *xxhash64) mergeRound(v, n uint64) uint64 { … }