func strings.LastIndex

36 uses

	strings (current package)
		strings.go#L76: func LastIndex(s, substr string) int {

	crypto/tls
		handshake_client.go#L1001: 	if i := strings.LastIndex(host, "%"); i > 0 {
		tls.go#L138: 	colonPos := strings.LastIndex(addr, ":")

	encoding/xml
		marshal.go#L342: 	if i := strings.LastIndex(prefix, "/"); i >= 0 {

	github.com/golang/protobuf/proto
		text_decode.go#L178: 	if slashIdx := strings.LastIndex(name, "/"); slashIdx >= 0 {

	github.com/golang/protobuf/ptypes
		any.go#L33: 	if i := strings.LastIndex(any.TypeUrl, "/"); i >= 0 {

	go.uber.org/goleak/internal/stack
		stacks.go#L132: 	if idx := strings.LastIndex(line, "("); idx > 0 {

	go/build
		build.go#L513: 	i := strings.LastIndex(name, ".")
		build.go#L667: 					i := strings.LastIndex(sub, "/")
		build.go#L1402: 	i := strings.LastIndex(name, ".")

	go/doc
		doc.go#L217: 		pkg = ast.NewObj(ast.Pkg, path[strings.LastIndex(path, "/")+1:])

	go/types
		resolver.go#L182: 				if i := strings.LastIndex(name, "/"); i >= 0 {
		resolver.go#L701: 	if i := strings.LastIndex(elem, "/"); i >= 0 {

	golang.org/x/net/idna
		punycode.go#L38: 	pos := 1 + strings.LastIndex(encoded, "-")

	golang.org/x/tools/internal/gcimporter
		iexport.go#L885: 	ix := strings.LastIndex(exportName, ".")
		ureader_yes.go#L66: 	s = s[:strings.LastIndex(s, "\n$$\n")]

	google.golang.org/grpc
		clientconn.go#L906: 	i := strings.LastIndex(method, "/")
		server.go#L1679: 	pos := strings.LastIndex(sm, "/")

	google.golang.org/grpc/internal/grpcutil
		method.go#L34: 	pos := strings.LastIndex(methodName, "/")

	google.golang.org/grpc/internal/transport
		http2_client.go#L617: 	pos := strings.LastIndex(callHdr.Method, "/")

	net/http
		http.go#L50: func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }
		request.go#L771: 	i := strings.LastIndex(host, "]")
		request.go#L775: 	j := strings.LastIndex(host[:i], "%")
		transport.go#L1848: 		h = h[:strings.LastIndex(h, ":")]

	net/url
		url.go#L570: 	i := strings.LastIndex(authority, "@")
		url.go#L610: 		i := strings.LastIndex(host, "]")
		url.go#L641: 	} else if i := strings.LastIndex(host, ":"); i != -1 {
		url.go#L986: 		i := strings.LastIndex(base, "/")

	testing
		match.go#L232: 	i := strings.LastIndex(s, "#")
		testing.go#L650: 		if index := strings.LastIndex(file, "/"); index >= 0 {
		testing.go#L652: 		} else if index = strings.LastIndex(file, "\\"); index >= 0 {

	text/template/parse
		parse.go#L148: 	byteNum := strings.LastIndex(text, "\n")

	vendor/golang.org/x/net/http/httpproxy
		proxy.go#L295: func hasPort(s string) bool { return strings.LastIndex(s, ":") > strings.LastIndex(s, "]") }

	vendor/golang.org/x/net/idna
		punycode.go#L38: 	pos := 1 + strings.LastIndex(encoded, "-")