blob: 150d91bc8be57d3cc659ceefbd11f08932106459 [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001// 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
9package snappy
10
11// emitLiteral has the same semantics as in encode_other.go.
12//
13//go:noescape
14func emitLiteral(dst, lit []byte) int
15
16// emitCopy has the same semantics as in encode_other.go.
17//
18//go:noescape
19func emitCopy(dst []byte, offset, length int) int
20
21// extendMatch has the same semantics as in encode_other.go.
22//
23//go:noescape
24func extendMatch(src []byte, i, j int) int
25
26// encodeBlock has the same semantics as in encode_other.go.
27//
28//go:noescape
29func encodeBlock(dst, src []byte) (d int)