summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/snappy/decode_asm.go
diff options
context:
space:
mode:
authorLibravatar kim (grufwub) <grufwub@gmail.com>2021-09-11 20:12:47 +0100
committerLibravatar kim (grufwub) <grufwub@gmail.com>2021-09-11 20:12:47 +0100
commite43a46e9822a05dd0345a7676e03285ddf83205e (patch)
tree72db13159e47d7815d001285fadb8225b1f7a571 /vendor/github.com/golang/snappy/decode_asm.go
parentdocumentation updates (#211) (diff)
downloadgotosocial-e43a46e9822a05dd0345a7676e03285ddf83205e.tar.xz
add git.iim.gay/grufwub/go-store for storage backend, replacing blob.Storage
Signed-off-by: kim (grufwub) <grufwub@gmail.com>
Diffstat (limited to 'vendor/github.com/golang/snappy/decode_asm.go')
-rw-r--r--vendor/github.com/golang/snappy/decode_asm.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/golang/snappy/decode_asm.go b/vendor/github.com/golang/snappy/decode_asm.go
new file mode 100644
index 000000000..7082b3491
--- /dev/null
+++ b/vendor/github.com/golang/snappy/decode_asm.go
@@ -0,0 +1,15 @@
+// Copyright 2016 The Snappy-Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build !appengine
+// +build gc
+// +build !noasm
+// +build amd64 arm64
+
+package snappy
+
+// decode has the same semantics as in decode_other.go.
+//
+//go:noescape
+func decode(dst, src []byte) int