You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|