本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
720B

  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. package snappy
  8. // emitLiteral has the same semantics as in encode_other.go.
  9. //
  10. //go:noescape
  11. func emitLiteral(dst, lit []byte) int
  12. // emitCopy has the same semantics as in encode_other.go.
  13. //
  14. //go:noescape
  15. func emitCopy(dst []byte, offset, length int) int
  16. // extendMatch has the same semantics as in encode_other.go.
  17. //
  18. //go:noescape
  19. func extendMatch(src []byte, i, j int) int
  20. // encodeBlock has the same semantics as in encode_other.go.
  21. //
  22. //go:noescape
  23. func encodeBlock(dst, src []byte) (d int)
上海开阖软件有限公司 沪ICP备12045867号-1