func strings.LastIndexByte
27 uses
strings (current package)
strings.go#L82: return LastIndexByte(s, substr[0])
strings.go#L225: func LastIndexByte(s string, c byte) int {
crypto/x509
verify.go#L384: if i := strings.LastIndexByte(domain, '.'); i == -1 {
github.com/evanw/esbuild/internal/logger
logger.go#L190: if dot := strings.LastIndexByte(base, '.'); dot >= 0 {
github.com/evanw/esbuild/internal/resolver
resolver.go#L479: slash := strings.LastIndexByte(query, '/')
resolver.go#L1132: lastDot := strings.LastIndexByte(base, '.')
github.com/go-git/go-git/v5/plumbing/object
rename.go#L286: aDirLen := strings.LastIndexByte(a, '/') + 1
rename.go#L287: bDirLen := strings.LastIndexByte(b, '/') + 1
github.com/golang/protobuf/proto
registry.go#L125: if i := strings.LastIndexByte(s, '.'); i >= 0 {
github.com/google/go-cmp/cmp/internal/function
func.go#L93: if i := strings.LastIndexByte(fullName, '('); inParen && i >= 0 {
go/doc
example.go#L504: for i := len(ex.Name); i >= 0; i = strings.LastIndexByte(ex.Name[:i], '_') {
go/printer
nodes.go#L1000: if i := strings.LastIndexByte(x, 'E'); i >= 0 {
nodes.go#L1014: if i := strings.LastIndexByte(x, 'P'); i >= 0 {
nodes.go#L1019: i := strings.LastIndexByte(x, 'P')
golang.org/x/mod/module
module.go#L417: if tilde := strings.LastIndexByte(short, '~'); tilde >= 0 && tilde < len(short)-1 {
golang.org/x/pkgsite/internal/godoc/dochtml/internal/render
idents.go#L264: i = strings.LastIndexByte(s[:i], '.')
idents.go#L265: j = strings.LastIndexByte(word[:j], '.')
linkify.go#L641: typeName = typeName[strings.LastIndexByte(typeName, '.')+1:]
linkify.go#L652: recvName = recvName[strings.LastIndexByte(recvName, '.')+1:]
golang.org/x/pkgsite/internal/godoc/internal/doc
example.go#L621: for i := len(ex.Name); i >= 0; i = strings.LastIndexByte(ex.Name[:i], '_') {
golang.org/x/pkgsite/internal/source
source.go#L481: if i := strings.LastIndexByte(line, '#'); i > 0 {
google.golang.org/protobuf/reflect/protoreflect
proto.go#L481: if i := strings.LastIndexByte(string(n), '.'); i >= 0 {
proto.go#L490: if i := strings.LastIndexByte(string(n), '.'); i >= 0 {
google.golang.org/protobuf/reflect/protoregistry
registry.go#L585: if i := strings.LastIndexByte(url, '/'); i >= 0 {
google.golang.org/protobuf/types/known/anypb
any.pb.go#L340: if i := strings.LastIndexByte(url, '/'); i >= 0 {
net/url
url.go#L1027: index := strings.LastIndexByte(str, '/')
url.go#L1157: colon := strings.LastIndexByte(host, ':')
 |
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. |