func strings.HasPrefix

55 uses

	strings (current package)
		replace.go#L246: 		} else if node.prefix != "" && HasPrefix(s, node.prefix) {
		search.go#L73: 		if HasPrefix(pattern, pattern[i+1:]) {
		strings.go#L467: func HasPrefix(s, prefix string) bool {
		strings.go#L1044: 	if HasPrefix(s, prefix) {
		strings.go#L1290: 	if !HasPrefix(s, prefix) {

	crypto/x509
		verify.go#L432: 	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") ||

	encoding/asn1
		common.go#L118: 		case strings.HasPrefix(part, "default:"):
		common.go#L124: 		case strings.HasPrefix(part, "tag:"):

	flag
		flag.go#L1012: 	if strings.HasPrefix(name, "-") {

	github.com/gotd/td/telegram/internal/version
		version.go#L28: 			if strings.HasPrefix(d.Path, pkg) {

	golang.org/x/net/proxy
		per_host.go#L115: 		if strings.HasPrefix(host, "*.") {
		per_host.go#L143: 	if !strings.HasPrefix(zone, ".") {

	mime
		encodedword.go#L201: 	if len(word) < 8 || !strings.HasPrefix(word, "=?") || !strings.HasSuffix(word, "?=") || strings.Count(word, "?") != 4 {
		mediatype.go#L111: 	if !strings.HasPrefix(rest, "/") {
		mediatype.go#L323: 	if !strings.HasPrefix(rest, ";") {
		mediatype.go#L336: 	if !strings.HasPrefix(rest, "=") {
		type.go#L168: 	if !strings.HasPrefix(ext, ".") {
		type.go#L180: 	if strings.HasPrefix(mimeType, "text/") && param["charset"] == "" {

	net/http
		fs.go#L363: 	if strings.HasPrefix(s, "W/") {
		fs.go#L862: 	if !strings.HasPrefix(upath, "/") {
		fs.go#L892: 	if !strings.HasPrefix(s, b) {
		h2_bundle.go#L2948: 		isPseudo := strings.HasPrefix(hf.Name, ":")
		h2_bundle.go#L6576: 		if !strings.HasPrefix(k, http2TrailerPrefix) {
		h2_bundle.go#L6876: 		if !strings.HasPrefix(target, "/") {
		h2_bundle.go#L6890: 		if strings.HasPrefix(k, ":") {
		h2_bundle.go#L7619: 	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
		request.go#L776: 	if !strings.HasPrefix(host, "[") {
		request.go#L800: 	if !strings.HasPrefix(vers, "HTTP/") {
		request.go#L1072: 	justAuthority := req.Method == "CONNECT" && !strings.HasPrefix(rawurl, "/")
		server.go#L1134: 		if !strings.HasPrefix(frame.Function, "net/http.") {
		server.go#L1293: 		if strings.HasPrefix(k, TrailerPrefix) {
		server.go#L2353: 		if len(p) == len(np)+1 && strings.HasPrefix(p, np) {
		server.go#L2387: 		if strings.HasPrefix(path, e.pattern) {

	net/url
		url.go#L531: 	if !strings.HasPrefix(rest, "/") {
		url.go#L553: 	if (url.Scheme != "" || !viaRequest && !strings.HasPrefix(rest, "///")) && strings.HasPrefix(rest, "//") {
		url.go#L563: 	} else if url.Scheme != "" && strings.HasPrefix(rest, "/") {
		url.go#L617: 	if strings.HasPrefix(host, "[") {
		url.go#L1129: 		if strings.HasPrefix(result, "//") {
		url.go#L1167: 	if strings.HasPrefix(host, "[") && strings.HasSuffix(host, "]") {
		url.go#L1196: 	if !strings.HasPrefix(elem[0], "/") {

	nhooyr.io/websocket
		accept.go#L285: 		if strings.HasPrefix(p, "client_max_window_bits=") {
		dial.go#L291: 		if strings.HasPrefix(p, "server_max_window_bits=") {

	path/filepath
		path.go#L207: 	if path == ".." || strings.HasPrefix(path, "../") {
		path_unix.go#L17: 	return strings.HasPrefix(path, "/")
		path_unix.go#L31: 	return strings.HasPrefix(p, prefix)

	regexp
		regexp.go#L407: 	return strings.HasPrefix(i.str, re.prefix)

	runtime/debug
		mod.go#L196: 		case strings.HasPrefix(line, pathLine):
		mod.go#L199: 		case strings.HasPrefix(line, modLine):
		mod.go#L206: 		case strings.HasPrefix(line, depLine):
		mod.go#L214: 		case strings.HasPrefix(line, repLine):
		mod.go#L228: 		case strings.HasPrefix(line, buildLine):

	vendor/golang.org/x/net/http/httpguts
		guts.go#L22: 	if strings.HasPrefix(name, "If-") || badTrailer[name] {

	vendor/golang.org/x/net/http/httpproxy
		proxy.go#L261: 		if strings.HasPrefix(phost, "*.") {

	vendor/golang.org/x/net/idna
		idna10.0.0.go#L365: 		if strings.HasPrefix(label, acePrefix) {