func bytes.Index
19 uses
bytes (current package)
bytes.go#L65: i := Index(s, sep)
bytes.go#L76: return Index(b, subslice) != -1
bytes.go#L173: return Index(s, b[:n])
bytes.go#L356: m := Index(s, sep)
bytes.go#L1122: j += Index(s[start:], old)
bytes.go#L1198: func Index(s, sep []byte) int {
bytes.go#L1292: if i := Index(s, sep); i >= 0 {
encoding/pem
pem.go#L140: endIndex = bytes.Index(rest, pemEnd)
github.com/aws/smithy-go/encoding/httpbinding
path_replace.go#L29: start := bytes.Index(path, fieldBuf)
go/build
build.go#L1301: i := bytes.Index(data, newline)
build.go#L1310: i := bytes.Index(data, starSlash)
build.go#L1612: if i := bytes.Index(line, starSlash); i >= 0 {
golang.org/x/tools/txtar
archive.go#L106: j := bytes.Index(data[i:], newlineMarker)
html/template
transition.go#L190: if i := bytes.Index(s, commentEnd); i != -1 {
transition.go#L227: i := bytes.Index(s, specialTagEndPrefix)
transition.go#L355: i := bytes.Index(s, blockCommentEnd)
mime/multipart
multipart.go#L237: if i := bytes.Index(buf, nlDashBoundary); i >= 0 {
net/http/httputil
dump.go#L163: if i := bytes.Index(dump, []byte("\r\n\r\n")); i >= 0 {
regexp
regexp.go#L456: return bytes.Index(i.str[pos:], re.prefixBytes)