func strings.LastIndexByte
17 uses
strings (current package)
strings.go#L285: func LastIndexByte(s string, c byte) int {
crypto/x509
verify.go#L395: if i := strings.LastIndexByte(domain, '.'); i == -1 {
github.com/google/go-cmp/cmp/internal/function
func.go#L100: if i := strings.LastIndexByte(fullName, '('); inParen && i >= 0 {
go.uber.org/goleak/internal/stack
stacks.go#L265: } else if idx := strings.LastIndexByte(line, '('); idx >= 0 {
go.uber.org/zap/zapcore
entry.go#L119: idx := strings.LastIndexByte(ec.File, '/')
entry.go#L124: idx = strings.LastIndexByte(ec.File[:idx], '/')
go/doc
example.go#L664: for i := len(ex.Name); i >= 0; i = strings.LastIndexByte(ex.Name[:i], '_') {
go/printer
nodes.go#L1110: if i := strings.LastIndexByte(x, 'E'); i >= 0 {
nodes.go#L1124: if i := strings.LastIndexByte(x, 'P'); i >= 0 {
nodes.go#L1129: i := strings.LastIndexByte(x, 'P')
google.golang.org/protobuf/encoding/protojson
well_known_types.go#L813: i := strings.LastIndexByte(s, '.') // start of subsecond field
google.golang.org/protobuf/reflect/protoreflect
proto.go#L490: if i := strings.LastIndexByte(string(n), '.'); i >= 0 {
proto.go#L499: if i := strings.LastIndexByte(string(n), '.'); i >= 0 {
google.golang.org/protobuf/reflect/protoregistry
registry.go#L647: if i := strings.LastIndexByte(url, '/'); i >= 0 {
google.golang.org/protobuf/types/known/anypb
any.pb.go#L341: if i := strings.LastIndexByte(url, '/'); i >= 0 {
net/url
url.go#L1059: index := strings.LastIndexByte(str, '/')
url.go#L1202: colon := strings.LastIndexByte(host, ':')