mirror of
https://github.com/go-gitea/gitea
synced 2024-09-05 19:36:09 +00:00
16 lines
313 B
Go
16 lines
313 B
Go
|
// +build gc,!noasm
|
||
|
|
||
|
package lz4block
|
||
|
|
||
|
func decodeBlock(dst, src, dict []byte) int {
|
||
|
if len(dict) == 0 {
|
||
|
return decodeBlockNodict(dst, src)
|
||
|
}
|
||
|
return decodeBlockGo(dst, src, dict)
|
||
|
}
|
||
|
|
||
|
// Assembler version of decodeBlock, without linked block support.
|
||
|
|
||
|
//go:noescape
|
||
|
func decodeBlockNodict(dst, src []byte) int
|