- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for exists (0.33 sec)
-
src/cmd/go/internal/modfetch/toolchain.go
return nil, fmt.Errorf("go language version %s is not a toolchain version", rev) } // Check that the underlying toolchain exists. // We always ask about linux-amd64 because that one // has always existed and is likely to always exist in the future. // This avoids different behavior validating go versions on different // architectures. The eventual download uses the right GOOS-GOARCH.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 13 16:44:24 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/export.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 19:36:28 UTC 2023 - 838 bytes - Viewed (0) -
src/cmd/internal/bio/buf_mmap.go
//go:build unix package bio import ( "runtime" "sync/atomic" "syscall" ) // mmapLimit is the maximum number of mmaped regions to create before // falling back to reading into a heap-allocated slice. This exists // because some operating systems place a limit on the number of // distinct mapped regions per process. As of this writing: // // Darwin unlimited // DragonFly 1000000 (vm.max_proc_mmap) // FreeBSD unlimited
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 19 11:20:31 UTC 2024 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/types/pkg.go
Syms: make(map[string]*Sym), } func (pkg *Pkg) Lookup(name string) *Sym { s, _ := pkg.LookupOK(name) return s } // LookupOK looks up name in pkg and reports whether it previously existed. func (pkg *Pkg) LookupOK(name string) (s *Sym, existed bool) { // TODO(gri) remove this check in favor of specialized lookup if pkg == nil { pkg = nopkg } if s := pkg.Syms[name]; s != nil { return s, true } s = &Sym{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 08 16:28:50 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/scriptconds_test.go
} lazyBool := func(summary string, f func() bool) script.Cond { return script.OnceCondition(summary, func() (bool, error) { return f(), nil }) } add("abscc", script.Condition("default $CC path is absolute and exists", defaultCCIsAbsolute)) add("asan", sysCondition("-asan", platform.ASanSupported, true)) add("buildmode", script.PrefixCondition("go supports -buildmode=<suffix>", hasBuildmode))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 7.4K bytes - Viewed (0) -
src/cmd/go/internal/work/cover.go
if dep.Mode != "build" { panic("unexpected mode " + dep.Mode) } metaFilesFile := dep.Objdir + covcmd.MetaFileForPackage(dep.Package.ImportPath) // Check to make sure the meta-data file fragment exists // and has content (may be empty if package has no functions). if fi, err := os.Stat(metaFilesFile); err != nil { continue } else if fi.Size() == 0 { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 19:09:38 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
swig, err := exec.LookPath("swig") if err != nil { t.Skipf("swig not in PATH: %s", err) } // Check that swig was installed with Go support by checking // that a go directory exists inside the swiglib directory. // See https://golang.org/issue/23469. output, err := exec.Command(swig, "-go", "-swiglib").Output() if err != nil { t.Skip("swig is missing Go support") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:38:14 UTC 2024 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/context.go
// isGeneric handles *Signature types. h.typeList(targs) } return strings.ReplaceAll(buf.String(), " ", "#") } // lookup returns an existing instantiation of orig with targs, if it exists. // Otherwise, it returns nil. func (ctxt *Context) lookup(h string, orig Type, targs []Type) Type { ctxt.mu.Lock() defer ctxt.mu.Unlock() for _, e := range ctxt.typeMap[h] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:29:21 UTC 2023 - 4.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/doc.go
// language.MustParse("en-AU"), // language.Danish, // language.Chinese, // }) // // This list of supported languages is typically implied by the languages for // which there exists translations of the user interface. // // User-preferred languages usually come as a comma-separated list of BCP 47 // language tags. // The MatchString finds best matches for such strings: //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 4.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/run.go
u.logger.Printf("Uploading %d reports", len(ready)) for _, f := range ready { u.uploadReport(f) } return nil } // debugLogFile arranges to write a log file in the given debug directory, if // it exists. func debugLogFile(debugDir string) (*os.File, error) { fd, err := os.Stat(debugDir) if os.IsNotExist(err) { return nil, nil } if err != nil { return nil, err } if !fd.IsDir() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 21:12:15 UTC 2024 - 5.5K bytes - Viewed (0)