decode_asm.go 474 B

1234567891011121314151617
  1. // Copyright 2016 The Snappy-Go Authors. All rights reserved.
  2. // Copyright (c) 2019 Klaus Post. All rights reserved.
  3. // Use of this source code is governed by a BSD-style
  4. // license that can be found in the LICENSE file.
  5. //go:build (amd64 || arm64) && !appengine && gc && !noasm
  6. // +build amd64 arm64
  7. // +build !appengine
  8. // +build gc
  9. // +build !noasm
  10. package s2
  11. // decode has the same semantics as in decode_other.go.
  12. //
  13. //go:noescape
  14. func s2Decode(dst, src []byte) int