func strings.LastIndexByte
17 uses
strings (current package)
strings.go#L285: func LastIndexByte(s string, c byte) int {
crypto/x509
verify.go#L405: if i := strings.LastIndexByte(domain, '.'); i == -1 {
go.uber.org/zap/zapcore
entry.go#L117: idx := strings.LastIndexByte(ec.File, '/')
entry.go#L122: idx = strings.LastIndexByte(ec.File[:idx], '/')
go/doc
example.go#L663: 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')
golang.org/x/mod/module
module.go#L467: if tilde := strings.LastIndexByte(short, '~'); tilde >= 0 && tilde < len(short)-1 {
pseudo.go#L193: i := strings.LastIndexByte(base, '.')
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, ':')