func strings.IndexByte
56 uses
strings (current package)
strings.go#L113: func IndexByte(s string, c byte) int {
strings.go#L124: return IndexByte(s, byte(r))
strings.go#L1103: return IndexByte(s, substr[0])
strings.go#L1125: o := IndexByte(s[i+1:t], c0)
strings.go#L1154: o := IndexByte(s[i+1:t], c0)
encoding/xml
marshal.go#L497: if i := strings.IndexByte(name, '['); i >= 0 {
github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4
host.go#L34: colon := strings.IndexByte(hostport, ':')
host.go#L38: if i := strings.IndexByte(hostport, ']'); i != -1 {
host.go#L49: colon := strings.IndexByte(hostport, ':')
github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4
host.go#L34: colon := strings.IndexByte(hostport, ':')
host.go#L38: if i := strings.IndexByte(hostport, ']'); i != -1 {
host.go#L49: colon := strings.IndexByte(hostport, ':')
github.com/go-pg/migrations/v8
collection.go#L63: if ind := strings.IndexByte(c.tableName, '.'); ind >= 0 {
collection.go#L208: idx := strings.IndexByte(fileName, '_')
collection.go#L721: idx := strings.IndexByte(base, '_')
github.com/go-pg/pg/v10/orm
format.go#L235: if (params == nil && !f.hasParams()) || strings.IndexByte(query, '?') == -1 {
table.go#L988: } else if ind := strings.IndexByte(m2mTableName, '.'); ind >= 0 {
table.go#L1374: if strings.IndexByte(pk.SQLName, '_') == -1 {
table.go#L1458: if strings.IndexByte(s, '?') >= 0 ||
table.go#L1459: strings.IndexByte(s, '(') >= 0 && strings.IndexByte(s, ')') >= 0 {
github.com/golang/protobuf/proto
properties.go#L140: i := strings.IndexByte(tag, ',')
github.com/valyala/fastjson
parser.go#L283: if strings.IndexByte(s, '"') >= 0 || strings.IndexByte(s, '\\') >= 0 {
parser.go#L295: n := strings.IndexByte(s, '\\')
parser.go#L364: n = strings.IndexByte(s, '\\')
parser.go#L392: n := strings.IndexByte(s, '"')
parser.go#L413: n = strings.IndexByte(s, '"')
parser.go#L526: if !o.keysUnescaped && strings.IndexByte(key, '\\') < 0 {
update.go#L13: if !o.keysUnescaped && strings.IndexByte(key, '\\') < 0 {
validate.go#L195: if n := strings.IndexByte(s, '"'); n >= 0 && strings.IndexByte(s[:n], '\\') < 0 {
validate.go#L205: n := strings.IndexByte(rs, '\\')
github.com/vmihailenco/msgpack/v5
decode_query.go#L20: ind := strings.IndexByte(q.query, '.')
go.pact.im/x/phcformat
params.go#L39: i := strings.IndexByte(s, '=')
go.uber.org/multierr
error.go#L323: idx := strings.IndexByte(s, '\n')
go/build
build.go#L1780: if c := s[i]; c < utf8.RuneSelf && strings.IndexByte(safeString, c) < 0 {
golang.org/x/net/http/httpguts
httplex.go#L140: for comma := strings.IndexByte(v, ','); comma != -1; comma = strings.IndexByte(v, ',') {
golang.org/x/net/http2
transport.go#L1934: p := strings.IndexByte(v, ';')
golang.org/x/net/idna
idna10.0.0.go#L569: p := strings.IndexByte(l.orig[l.curStart:], '.')
golang.org/x/sys/cpu
cpu.go#L224: i := strings.IndexByte(env, ',')
cpu.go#L233: i = strings.IndexByte(field, '=')
golang.org/x/sys/unix
syscall.go#L38: if strings.IndexByte(s, 0) != -1 {
golang.org/x/tools/go/packages
golist.go#L621: if i := strings.IndexByte(pkg.ID, ' '); i >= 0 {
golist_overlay.go#L226: if i := strings.IndexByte(id, ' '); i >= 0 {
google.golang.org/protobuf/internal/encoding/tag
tag.go#L36: i := strings.IndexByte(tag, ',')
google.golang.org/protobuf/reflect/protoregistry
registry.go#L303: if i := strings.IndexByte(string(*s), '.'); i >= 0 {
html
escape.go#L189: i := strings.IndexByte(s, '&')
escape.go#L201: i = strings.IndexByte(s[src:], '&')
net/http
h2_bundle.go#L8525: p := strings.IndexByte(v, ';')
vendor/golang.org/x/net/http/httpguts
httplex.go#L140: for comma := strings.IndexByte(v, ','); comma != -1; comma = strings.IndexByte(v, ',') {
vendor/golang.org/x/net/idna
idna10.0.0.go#L569: p := strings.IndexByte(l.orig[l.curStart:], '.')
vendor/golang.org/x/sys/cpu
cpu.go#L224: i := strings.IndexByte(env, ',')
cpu.go#L233: i = strings.IndexByte(field, '=')