Files
abra/vendor/github.com/klauspost/compress/zstd/matchlen_amd64.go
T
decentral1se 7fb9675b1e
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
chore: golang 1.26 && make deps
2026-04-01 11:25:57 +02:00

16 lines
340 B
Go

//go:build amd64 && !appengine && !noasm && gc
// Copyright 2019+ Klaus Post. All rights reserved.
// License information can be found in the LICENSE file.
package zstd
// matchLen returns how many bytes match in a and b
//
// It assumes that:
//
// len(a) <= len(b) and len(a) > 0
//
//go:noescape
func matchLen(a []byte, b []byte) int