File: contains_default.go

package info (click to toggle)
golang-github-segmentio-asm 1.2.0%2Bgit20231107.1cfacc8-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 932 kB
  • sloc: asm: 6,093; makefile: 32
file content (8 lines) | stat: -rw-r--r-- 165 bytes parent folder | download
1
2
3
4
5
6
7
8
//go:build purego || !amd64
// +build purego !amd64

package mem

func ContainsByte(haystack []byte, needle byte) bool {
	return containsGeneric(haystack, needle)
}