- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,838 for pkgh (0.13 sec)
-
src/cmd/compile/internal/types2/stdlib_test.go
filenames = append(filenames, filepath.Join(pkg.Dir, name)) } } return filenames, nil } func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...interface{})) { w := walker{pkgh, errh} w.walk(dir) } type walker struct { pkgh func(dir string, filenames []string) errh func(args ...any) } func (w *walker) walk(dir string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/types/stdlib_test.go
filenames = append(filenames, filepath.Join(pkg.Dir, name)) } } return filenames, nil } func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...any)) { w := walker{pkgh, errh} w.walk(dir) } type walker struct { pkgh func(dir string, filenames []string) errh func(args ...any) } func (w *walker) walk(dir string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 04:39:56 UTC 2023 - 13.7K bytes - Viewed (0) -
src/cmd/doc/pkg.go
pkg.constsDoc(printed) pkg.varsDoc(printed) pkg.funcsDoc() pkg.typesDoc() case pkg.pkg.Name == "main" && !showCmd: // Show only package docs for commands. return default: if !short { pkg.newlines(2) // Guarantee blank line before the components. } pkg.valueSummary(pkg.doc.Consts, false) pkg.valueSummary(pkg.doc.Vars, false)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 08 20:15:52 UTC 2024 - 32K bytes - Viewed (0) -
cmd/import-boss/main.go
klog.InitFlags(nil) pflag.CommandLine.AddGoFlagSet(flag.CommandLine) pflag.Parse() pkgs, err := loadPkgs(pflag.Args()...) if err != nil { klog.Errorf("failed to load packages: %v", err) } pkgs = massage(pkgs) boss := newBoss(pkgs) var allErrs []error for _, pkg := range pkgs { if pkgErrs := boss.Verify(pkg); pkgErrs != nil { allErrs = append(allErrs, pkgErrs...) } } fail := false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 12:36:49 UTC 2024 - 14.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object.go
// setParent sets the parent scope of the object. setParent(*Scope) // sameId reports whether obj.Id() and Id(pkg, name) are the same. // If foldCase is true, names are considered equal if they are equal with case folding // and their packages are ignored (e.g., pkg1.m, pkg1.M, pkg2.m, and pkg2.M are all equal). sameId(pkg *Package, name string, foldCase bool) bool // scopePos returns the start position of the scope of this Object
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/go/types/object.go
// setParent sets the parent scope of the object. setParent(*Scope) // sameId reports whether obj.Id() and Id(pkg, name) are the same. // If foldCase is true, names are considered equal if they are equal with case folding // and their packages are ignored (e.g., pkg1.m, pkg1.M, pkg2.m, and pkg2.M are all equal). sameId(pkg *Package, name string, foldCase bool) bool // scopePos returns the start position of the scope of this Object
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/go/internal/work/build.go
func oneMainPkg(pkgs []*load.Package) []*load.Package { if len(pkgs) != 1 || pkgs[0].Name != "main" { base.Fatalf("-buildmode=%s requires exactly one main package", cfg.BuildBuildmode) } return pkgs } var pkgsFilter = func(pkgs []*load.Package) []*load.Package { return pkgs } func runBuild(ctx context.Context, cmd *base.Command, args []string) { modload.InitWorkfile() BuildInit() b := NewBuilder("") defer func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 17:22:59 UTC 2024 - 33.2K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
pr.pkgs[idx] = pkg return pkg } func (r *reader) doPkg() *types.Package { path := r.String() switch path { case "": path = r.p.PkgPath() case "builtin": return nil // universe case "unsafe": return types.Unsafe } if pkg := r.p.imports[path]; pkg != nil { return pkg } name := r.String() pkg := types.NewPackage(path, name)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/cmd/go/internal/modcmd/vendor.go
case isExplicit[m]: io.WriteString(w, "## explicit\n") case goVersion != "": fmt.Fprintf(w, "## go %s\n", goVersion) } pkgs := modpkgs[m] sort.Strings(pkgs) for _, pkg := range pkgs { fmt.Fprintf(w, "%s\n", pkg) vendorPkg(vdir, pkg) } } if includeAllReplacements { // Record unused and wildcard replacements at the end of the modules.txt file:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 14:19:59 UTC 2024 - 14.5K bytes - Viewed (0) -
src/cmd/go/internal/list/list.go
} pkgs := load.PackagesAndErrors(ctx, pkgOpts, args) if !*listE { w := 0 for _, pkg := range pkgs { if pkg.Error != nil { base.Errorf("%v", pkg.Error) continue } pkgs[w] = pkg w++ } pkgs = pkgs[:w] base.ExitIfErrors() } if *listTest { c := cache.Default()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 16:56:39 UTC 2024 - 33.3K bytes - Viewed (0)