summaryrefslogtreecommitdiff
path: root/memex/vendor/xxhash/xxhash_asm.go
diff options
context:
space:
mode:
Diffstat (limited to 'memex/vendor/xxhash/xxhash_asm.go')
m---------memex/vendor/xxhash0
-rw-r--r--memex/vendor/xxhash/xxhash_asm.go15
2 files changed, 15 insertions, 0 deletions
diff --git a/memex/vendor/xxhash b/memex/vendor/xxhash
deleted file mode 160000
-Subproject aa1a74e0bbdf53357dbe98044f3f7652864212c
diff --git a/memex/vendor/xxhash/xxhash_asm.go b/memex/vendor/xxhash/xxhash_asm.go
new file mode 100644
index 0000000..9216e0a
--- /dev/null
+++ b/memex/vendor/xxhash/xxhash_asm.go
@@ -0,0 +1,15 @@
+//go:build (amd64 || arm64) && !appengine && gc && !purego
+// +build amd64 arm64
+// +build !appengine
+// +build gc
+// +build !purego
+
+package xxhash
+
+// Sum64 computes the 64-bit xxHash digest of b.
+//
+//go:noescape
+func Sum64(b []byte) uint64
+
+//go:noescape
+func writeBlocks(d *Digest, b []byte) int