func strings.IndexByte
91 uses
strings (current package)
strings.go#L113: func IndexByte(s string, c byte) int {
strings.go#L124: return IndexByte(s, byte(r))
strings.go#L1030: return IndexByte(s, substr[0])
strings.go#L1052: o := IndexByte(s[i+1:t], c0)
strings.go#L1081: o := IndexByte(s[i+1:t], c0)
encoding/asn1
common.go#L99: i := strings.IndexByte(str, ',')
github.com/aws/aws-sdk-go/aws/request
request.go#L657: colon := strings.IndexByte(hostport, ':')
request.go#L661: if i := strings.IndexByte(hostport, ']'); i != -1 {
request.go#L672: colon := strings.IndexByte(hostport, ':')
github.com/evanw/esbuild/internal/bundler
bundler.go#L851: i := strings.IndexByte(base, '.')
github.com/evanw/esbuild/internal/css_parser
css_parser.go#L714: if dot := strings.IndexByte(t, '.'); dot != -1 {
github.com/evanw/esbuild/internal/fs
fs_mock.go#L99: if slash := strings.IndexByte(path, '/'); slash != -1 {
github.com/evanw/esbuild/internal/js_lexer
js_lexer.go#L313: if strings.IndexByte(text, '\r') == -1 {
js_lexer.go#L1997: length := strings.IndexByte(text[i:], ';')
github.com/evanw/esbuild/internal/js_parser
js_parser.go#L4058: index := strings.IndexByte(member, '-')
github.com/evanw/esbuild/internal/js_printer
js_printer.go#L2471: newline := strings.IndexByte(text, '\n')
github.com/evanw/esbuild/internal/resolver
dataurl.go#L18: if comma := strings.IndexByte(url, ','); comma != -1 {
dataurl.go#L43: if semicolon := strings.IndexByte(mimeType, ';'); semicolon != -1 {
resolver.go#L1308: if starIndex := strings.IndexByte(key, '*'); starIndex != -1 {
github.com/evanw/esbuild/pkg/api
api_impl.go#L41: if found := strings.IndexByte(template[search:], '['); found == -1 {
api_impl.go#L317: if index := strings.IndexByte(path, '*'); index != -1 {
serve_other.go#L150: if slash := strings.IndexByte(p, '/'); slash == -1 {
serve_other.go#L278: if dash := strings.IndexByte(r, '-'); dash != -1 {
serve_other.go#L334: if slash := strings.IndexByte(entry, '/'); slash == -1 {
github.com/go-redis/redis/v8/internal/hashtag
hashtag.go#L51: if s := strings.IndexByte(key, '{'); s > -1 {
hashtag.go#L52: if e := strings.IndexByte(key[s+1:], '}'); e > 0 {
github.com/golang/protobuf/proto
properties.go#L140: i := strings.IndexByte(tag, ',')
github.com/google/go-cmp/cmp/cmpopts
struct_filter.go#L147: if i := strings.IndexByte(sel, '.'); i < 0 {
github.com/google/safehtml
trustedresourceurl.go#L56: if i := strings.IndexByte(url, '#'); i != -1 {
github.com/jackc/pgtype
box.go#L51: end = strings.IndexByte(str, ',')
box.go#L59: end = strings.IndexByte(str, ')')
box.go#L67: end = strings.IndexByte(str, ',')
circle.go#L50: end := strings.IndexByte(str, ',')
circle.go#L57: end = strings.IndexByte(str, ')')
lseg.go#L51: end = strings.IndexByte(str, ',')
lseg.go#L59: end = strings.IndexByte(str, ')')
lseg.go#L67: end = strings.IndexByte(str, ',')
path.go#L55: end := strings.IndexByte(str, ',')
path.go#L62: end = strings.IndexByte(str, ')')
polygon.go#L103: end := strings.IndexByte(str, ',')
polygon.go#L110: end = strings.IndexByte(str, ')')
go/build
build.go#L1766: if c := s[i]; c < utf8.RuneSelf && strings.IndexByte(safeString, c) < 0 {
go/printer
nodes.go#L1005: if x[len(x)-1] == 'i' && strings.IndexByte(x, '.') < 0 && strings.IndexByte(x, 'e') < 0 {
golang.org/x/net/http/httpguts
httplex.go#L141: if comma := strings.IndexByte(v, ','); comma != -1 {
golang.org/x/net/http2
transport.go#L1565: p := strings.IndexByte(v, ';')
golang.org/x/net/idna
idna10.0.0.go#L536: p := strings.IndexByte(l.orig[l.curStart:], '.')
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
idents.go#L281: i += strings.IndexByte(altWord[i:], '.') + 1
idents.go#L289: if n := strings.IndexByte(altWord[i+1:], '.'); n >= 0 {
idents.go#L330: if i := strings.IndexByte(id, '.'); i >= 0 {
linkify.go#L303: validPrefix := strings.IndexByte("\x00 \t()[]*\n", lastChar) >= 0
linkify.go#L304: validSuffix := strings.IndexByte("\x00 \t()[]:;,.'\n", nextChar) >= 0
linkify.go#L313: if i := strings.IndexByte(word, ')'); i >= 0 && i < strings.IndexByte(word, '(') {
linkify.go#L317: if i := strings.IndexByte(word, ']'); i >= 0 && i < strings.IndexByte(word, '[') {
golang.org/x/pkgsite/internal/stdlib
stdlib.go#L502: if i := strings.IndexByte(path, '/'); i != -1 {
golang.org/x/pkgsite/internal/symbol
apigodoc.go#L197: sp := strings.IndexByte(rest, ' ')
apigodoc.go#L205: if i := strings.IndexByte(rest, ' '); i != -1 {
apigodoc.go#L213: if i := strings.IndexByte(rest, '('); i != -1 {
apigodoc.go#L226: if i := strings.IndexByte(rest, ' '); i != -1 {
apigodoc.go#L233: if i := strings.IndexByte(rest, ' '); i != -1 {
apigodoc.go#L240: if i := strings.IndexByte(rest, '('); i != -1 {
apigodoc.go#L247: sp := strings.IndexByte(rest, ' ')
apigodoc.go#L254: paren := strings.IndexByte(rest, '(')
golang.org/x/sys/unix
syscall.go#L39: if strings.IndexByte(s, 0) != -1 {
golang.org/x/text/language
parse.go#L196: if i := strings.IndexByte(s, c); i >= 0 {
google.golang.org/protobuf/internal/encoding/tag
tag.go#L36: i := strings.IndexByte(tag, ',')
google.golang.org/protobuf/reflect/protoregistry
registry.go#L265: if i := strings.IndexByte(string(*s), '.'); i >= 0 {
google.golang.org/protobuf/types/known/fieldmaskpb
field_mask.pb.go#L451: if i := strings.IndexByte(path, '.'); i >= 0 {
gopkg.in/yaml.v2
encode.go#L289: if !(c == '+' || c == '-' || c >= '0' && c <= '9') || strings.IndexByte(s, ':') < 0 {
html
escape.go#L189: i := strings.IndexByte(s, '&')
escape.go#L201: i = strings.IndexByte(s[src:], '&')
mime
encodedword.go#L207: split := strings.IndexByte(word, '?')
mediatype.go#L22: if slash := strings.IndexByte(t, '/'); slash == -1 {
net/http
cookie.go#L373: if strings.IndexByte(v, ' ') >= 0 || strings.IndexByte(v, ',') >= 0 {
h2_bundle.go#L8068: p := strings.IndexByte(v, ';')
request.go#L958: s := strings.IndexByte(cs, ':')
response.go#L168: if i := strings.IndexByte(line, ' '); i == -1 {
response.go#L175: if i := strings.IndexByte(resp.Status, ' '); i != -1 {
server.go#L2298: if strings.IndexByte(h, ':') == -1 {
net/url
url.go#L459: i := strings.IndexByte(s, sep)
url.go#L843: if i := strings.IndexByte(path, ':'); i > -1 && strings.IndexByte(path[:i], '/') == -1 {
url.go#L1013: i = strings.IndexByte(remaining, '/')
runtime/debug
mod.go#L73: i := strings.IndexByte(data, '\n')
vendor/golang.org/x/net/http/httpguts
httplex.go#L141: if comma := strings.IndexByte(v, ','); comma != -1 {
vendor/golang.org/x/net/idna
idna10.0.0.go#L535: 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, '=')
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |