blob: 107c1e71418f67034c18e8ee95e674a97fd2d047 [file] [log] [blame]
khenaidood948f772021-08-11 17:49:24 -04001// 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
5// +build !appengine
6// +build gc
7// +build !noasm
8// +build amd64 arm64
9
10package snappy
11
12// emitLiteral has the same semantics as in encode_other.go.
13//
14//go:noescape
15func emitLiteral(dst, lit []byte) int
16
17// emitCopy has the same semantics as in encode_other.go.
18//
19//go:noescape
20func emitCopy(dst []byte, offset, length int) int
21
22// extendMatch has the same semantics as in encode_other.go.
23//
24//go:noescape
25func extendMatch(src []byte, i, j int) int
26
27// encodeBlock has the same semantics as in encode_other.go.
28//
29//go:noescape
30func encodeBlock(dst, src []byte) (d int)