decode_asm.go 363 B

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