func internal/stringslite.HasPrefix
20 uses
internal/stringslite (current package)
strings.go#L16: func HasPrefix(s, prefix string) bool {
strings.go#L116: if !HasPrefix(s, prefix) {
strings.go#L130: if HasPrefix(s, prefix) {
internal/filepathlite
path.go#L161: if path == ".." || stringslite.HasPrefix(path, "../") {
path_unix.go#L36: return stringslite.HasPrefix(path, "/")
net
conf.go#L398: case hostname != "" && stringslite.HasPrefix(src.source, "mdns"):
dnsconfig_unix.go#L79: case stringslite.HasPrefix(s, "ndots:"):
dnsconfig_unix.go#L87: case stringslite.HasPrefix(s, "timeout:"):
dnsconfig_unix.go#L93: case stringslite.HasPrefix(s, "attempts:"):
runtime
panic.go#L57: if goarch.IsWasm == 0 && stringslite.HasPrefix(funcname(findfunc(pc)), "runtime.") {
preempt.go#L420: if stringslite.HasPrefix(name, "runtime.") ||
preempt.go#L421: stringslite.HasPrefix(name, "runtime/internal/") ||
preempt.go#L422: stringslite.HasPrefix(name, "internal/runtime/") ||
preempt.go#L423: stringslite.HasPrefix(name, "reflect.") {
proc.go#L765: if stringslite.HasPrefix(s, prefix) {
proc.go#L5428: if stringslite.HasPrefix(funcname(f), "internal/runtime/atomic") {
security_unix.go#L32: if stringslite.HasPrefix(envs[i], "GOTRACEBACK=") {
traceback.go#L1145: return bytealg.IndexByteString(name, '.') >= 0 && (!stringslite.HasPrefix(name, "runtime.") || isExportedRuntime(name))
traceback.go#L1356: return stringslite.HasPrefix(funcname(f), "runtime.")
strings
strings.go#L462: return stringslite.HasPrefix(s, prefix)
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |