func strings.IndexFunc

27 uses

	strings (current package)
		strings.go#L758: func IndexFunc(s string, f func(rune) bool) int {

	cloud.google.com/go/cloudtasks/apiv2
		doc.go#L89: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		doc.go#L102: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	cloud.google.com/go/container/apiv1
		doc.go#L90: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		doc.go#L103: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	cloud.google.com/go/errorreporting/apiv1beta1
		doc.go#L93: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		doc.go#L106: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	cloud.google.com/go/internal/version
		version.go#L44: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		version.go#L53: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	cloud.google.com/go/logging/apiv2
		doc.go#L77: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		doc.go#L90: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	cloud.google.com/go/monitoring/apiv3
		doc.go#L87: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		doc.go#L100: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	cloud.google.com/go/secretmanager/apiv1
		doc.go#L90: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		doc.go#L103: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	cloud.google.com/go/trace/apiv2
		doc.go#L94: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		doc.go#L107: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	github.com/google/go-cmp/cmp
		report_reflect.go#L372: 	if utf8.ValidString(s) && strings.IndexFunc(s, rawInvalid) < 0 {

	golang.org/x/pkgsite/internal/symbol
		apigodoc.go#L182: 	endPkg := strings.IndexFunc(rest, func(r rune) bool { return !(unicode.IsLetter(r) || r == '.' || r == '/' || unicode.IsDigit(r)) })

	google.golang.org/api/internal/gensupport
		version.go#L26: 		if p := strings.IndexFunc(s, unicode.IsSpace); p >= 0 {
		version.go#L35: 		if p := strings.IndexFunc(s, notSemverRune); p >= 0 {

	mime
		grammar.go#L31: 	return strings.IndexFunc(s, isNotTokenChar) < 0
		mediatype.go#L272: 	notPos := strings.IndexFunc(v, isNotTokenChar)

	net/http
		cookie.go#L432: 	return strings.IndexFunc(raw, isNotToken) < 0
		request.go#L823: 	return len(method) > 0 && strings.IndexFunc(method, isNotToken) == -1

	testing
		benchmark.go#L344: 	if strings.IndexFunc(unit, unicode.IsSpace) >= 0 {

	text/template
		funcs.go#L716: 	if strings.IndexFunc(s, jsIsSpecial) < 0 {