Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for Pkgs (0.06 sec)

  1. src/cmd/go/internal/modload/load.go

    // As a side effect, buildStacks also constructs ld.pkgs,
    // the list of all packages loaded.
    func (ld *loader) buildStacks() {
    	if len(ld.pkgs) > 0 {
    		panic("buildStacks")
    	}
    	for _, pkg := range ld.roots {
    		pkg.stack = pkg // sentinel to avoid processing in next loop
    		ld.pkgs = append(ld.pkgs, pkg)
    	}
    	for i := 0; i < len(ld.pkgs); i++ { // not range: appending to ld.pkgs in loop
    		pkg := ld.pkgs[i]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/inl_test.go

    		"compress/flate.byLiteral.Less": true,
    		"compress/flate.byLiteral.Swap": true,
    	}
    
    	notInlinedReason := make(map[string]string)
    	pkgs := make([]string, 0, len(want))
    	for pname, fnames := range want {
    		pkgs = append(pkgs, pname)
    		for _, fname := range fnames {
    			fullName := pname + "." + fname
    			if _, ok := notInlinedReason[fullName]; ok {
    				t.Errorf("duplicate func: %s", fullName)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/internal/work/action.go

    // That is, the input a1 represents "go build pkgs" and the result represents "go build -buildmode=shared pkgs".
    func (b *Builder) buildmodeShared(mode, depMode BuildMode, args []string, pkgs []*load.Package, a1 *Action) *Action {
    	name, err := libname(args, pkgs)
    	if err != nil {
    		base.Fatalf("%v", err)
    	}
    	return b.linkSharedAction(mode, depMode, name, a1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/load/pkg.go

    				p.Internal.CmdlinePkgLiteral = true
    			}
    			pkgs = append(pkgs, p)
    		}
    	}
    
    	if opts.MainOnly {
    		pkgs = mainPackagesOnly(pkgs, matches)
    	}
    
    	// Now that CmdlinePkg is set correctly,
    	// compute the effective flags for all loaded packages
    	// (not just the ones matching the patterns but also
    	// their dependencies).
    	setToolFlags(pkgs...)
    
    	setPGOProfilePath(pkgs)
    
    	return pkgs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  6. src/cmd/internal/testdir/testdir_test.go

    		pkgs := goDirPackages(t.T, longdir, singlefilepkgs)
    		errPkg := len(pkgs) - 1
    		if wantError && action == "errorcheckandrundir" {
    			// The last pkg should compiled successfully and will be run in next case.
    			// Preceding pkg must return an error from compileInDir.
    			errPkg--
    		}
    		importcfgfile := importcfg(pkgs)
    		for i, pkg := range pkgs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  7. src/internal/testenv/testenv.go

    // as for the packages transitively imported by the package(s) in pkgs.
    //
    // pkgs may include any package pattern that is valid to pass to 'go list',
    // so it may also be a list of Go source files all in the same directory.
    func WriteImportcfg(t testing.TB, dstPath string, packageFiles map[string]string, pkgs ...string) {
    	t.Helper()
    
    	icfg := new(bytes.Buffer)
    	icfg.WriteString("# import config\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/hack/update-codegen.sh

        if [[ "${UPDATE_API_KNOWN_VIOLATIONS:-}" == "true" ]]; then
            update_report="--update-report"
        fi
    fi
    
    kube::codegen::gen_openapi \
        --extra-pkgs k8s.io/api/autoscaling/v1 `# needed for Scale type` \
        --output-dir "${SCRIPT_ROOT}/pkg/generated/openapi" \
        --output-pkg "${THIS_PKG}/pkg/generated/openapi" \
        --report-filename "${report_filename:-"/dev/null"}" \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    	pkgOpts := load.PackageOpts{ModResolveTests: true}
    	pkgs = load.PackagesAndErrors(ctx, pkgOpts, pkgArgs)
    	load.CheckPackageErrors(pkgs)
    	if len(pkgs) == 0 {
    		base.Fatalf("no packages to test")
    	}
    
    	if testFuzz != "" {
    		if !platform.FuzzSupported(cfg.Goos, cfg.Goarch) {
    			base.Fatalf("-fuzz flag is not supported on %s/%s", cfg.Goos, cfg.Goarch)
    		}
    		if len(pkgs) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. src/go/internal/gcimporter/ureader.go

    	// TODO(mdempsky): Consider using some non-nil pointer to indicate
    	// the universe scope, so we don't need to keep re-reading it.
    	if pkg := pr.pkgs[idx]; pkg != nil {
    		return pkg
    	}
    
    	pkg := pr.newReader(pkgbits.RelocPkg, idx, pkgbits.SyncPkgDef).doPkg()
    	pr.pkgs[idx] = pkg
    	return pkg
    }
    
    func (r *reader) doPkg() *types.Package {
    	path := r.String()
    	switch path {
    	case "":
    		path = r.p.PkgPath()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top