...

Source file src/github.com/golang/snappy/encode_asm.go

Documentation: github.com/golang/snappy

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

View as plain text