Debian Codegraph @

simd/memchr_class_other.go

raw
1 // Adapted from the coregex project, https://github.com/coregx/coregex
2 // (package simd), Copyright (c) 2025 Andrey Kolkov and contributors,
3 // MIT License. See the LICENSE file in this directory for the full text.
4
5 //go:build !amd64
6
7 package simd
8
9 // The portable implementations are the only ones off amd64.
10
11 func memchrWordImpl(haystack []byte) int {
12 return memchrWordGeneric(haystack)
13 }
14
15 func memchrNotWordImpl(haystack []byte) int {
16 return memchrNotWordGeneric(haystack)
17 }