func internal/bytealg.IndexByteString
33 uses
internal/bytealg (current package)
indexbyte_native.go#L13: func IndexByteString(s string, c byte) int
bytes
bytes.go#L197: if bytealg.IndexByteString(chars, s[0]) >= 0 {
bytes.go#L223: if bytealg.IndexByteString(chars, s[i]) >= 0 {
bytes.go#L284: if bytealg.IndexByteString(chars, s[0]) >= 0 {
bytes.go#L306: if bytealg.IndexByteString(chars, s[i-1]) >= 0 {
net
conf.go#L137: if bytealg.IndexByteString(hostname, '\\') != -1 || bytealg.IndexByteString(hostname, '%') != -1 {
conf.go#L301: if i := bytealg.IndexByteString(goDebug, '+'); i != -1 {
dnsclient.go#L146: if bytealg.IndexByteString(s, '.') != -1 && s[len(s)-1] != '.' {
dnsconfig_unix.go#L176: if i := bytealg.IndexByteString(hn, '.'); i >= 0 && i < len(hn)-1 {
hosts.go#L72: if i := bytealg.IndexByteString(line, '#'); i >= 0 {
ip.go#L742: i := bytealg.IndexByteString(s, '/')
ipsock.go#L182: end := bytealg.IndexByteString(hostport, ']')
ipsock.go#L204: if bytealg.IndexByteString(host, ':') >= 0 {
ipsock.go#L208: if bytealg.IndexByteString(hostport[j:], '[') >= 0 {
ipsock.go#L211: if bytealg.IndexByteString(hostport[k:], ']') >= 0 {
ipsock.go#L238: if bytealg.IndexByteString(host, ':') >= 0 {
lookup_unix.go#L31: if i := bytealg.IndexByteString(line, '#'); i >= 0 {
parse.go#L87: if bytealg.IndexByteString(t, s[i]) >= 0 {
parse.go#L100: if bytealg.IndexByteString(t, s[i]) >= 0 {
port_unix.go#L27: if i := bytealg.IndexByteString(line, '#'); i >= 0 {
net/netip
netip.go#L210: i := bytealg.IndexByteString(s, '%')
netip.go#L1144: if bytealg.IndexByteString(host, ':') >= 0 {
path
match.go#L46: return bytealg.IndexByteString(name, '/') < 0, nil
runtime
error.go#L310: i := bytealg.IndexByteString(name, '(')
error.go#L319: i = bytealg.IndexByteString(name, ')')
runtime1.go#L369: i := bytealg.IndexByteString(p, ',')
runtime1.go#L375: i = bytealg.IndexByteString(field, '=')
string.go#L448: if i := bytealg.IndexByteString(t, 0); i != -1 {
traceback.go#L953: return bytealg.IndexByteString(name, '.') >= 0 && (!hasPrefix(name, "runtime.") || isExportedRuntime(name))
strconv
bytealg.go#L14: return bytealg.IndexByteString(s, c)
strings
strings.go#L114: return bytealg.IndexByteString(s, c)
syscall
exec_unix.go#L88: if bytealg.IndexByteString(s, 0) != -1 {