Debian Codegraph @

zstd/matchlen_amd64.go

raw
1 //go:build amd64 && !appengine && !noasm && gc
2
3 // Copyright 2019+ Klaus Post. All rights reserved.
4 // License information can be found in the LICENSE file.
5
6 package zstd
7
8 // matchLen returns how many bytes match in a and b
9 //
10 // It assumes that:
11 //
12 // len(a) <= len(b) and len(a) > 0
13 //
14 //go:noescape
15 func matchLen(a []byte, b []byte) int