Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for goVERSION (0.14 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/upload/reports.go

    		if prog.Program == meta["Program"] && prog.Version == meta["Version"] &&
    			prog.GoVersion == meta["GoVersion"] && prog.GOOS == meta["GOOS"] &&
    			prog.GOARCH == meta["GOARCH"] {
    			return prog
    		}
    	}
    	prog := telemetry.ProgramReport{
    		Program:   meta["Program"],
    		Version:   meta["Version"],
    		GoVersion: meta["GoVersion"],
    		GOOS:      meta["GOOS"],
    		GOARCH:    meta["GOARCH"],
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 14:52:56 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modcmd/tidy.go

    	modload.ForceUseModules = true
    	modload.RootMode = modload.NeedRoot
    
    	goVersion := tidyGo.String()
    	if goVersion != "" && gover.Compare(gover.Local(), goVersion) < 0 {
    		toolchain.SwitchOrFatal(ctx, &gover.TooNewError{
    			What:      "-go flag",
    			GoVersion: goVersion,
    		})
    	}
    
    	modload.LoadPackages(ctx, modload.PackageOpts{
    		TidyGoVersion:            tidyGo.String(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/vendor.go

    		io.WriteString(w, line)
    
    		goVersion := ""
    		if includeGoVersions {
    			goVersion = modload.ModuleInfo(ctx, m.Path).GoVersion
    		}
    		switch {
    		case isExplicit[m] && goVersion != "":
    			fmt.Fprintf(w, "## explicit; go %s\n", goVersion)
    		case isExplicit[m]:
    			io.WriteString(w, "## explicit\n")
    		case goVersion != "":
    			fmt.Fprintf(w, "## go %s\n", goVersion)
    		}
    
    		pkgs := modpkgs[m]
    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/vendor/golang.org/x/telemetry/internal/config/config.go

    	}
    	return NewConfig(&cfg), nil
    }
    
    func NewConfig(cfg *telemetry.UploadConfig) *Config {
    	ucfg := Config{UploadConfig: cfg}
    	ucfg.goos = set(ucfg.GOOS)
    	ucfg.goarch = set(ucfg.GOARCH)
    	ucfg.goversion = set(ucfg.GoVersion)
    	ucfg.program = make(map[string]bool, len(ucfg.Programs))
    	ucfg.pgversion = make(map[pgkey]bool, len(ucfg.Programs))
    	ucfg.pgcounter = make(map[pgkey]bool, len(ucfg.Programs))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go

    package telemetry
    
    // Common types and directories used by multiple packages.
    
    // An UploadConfig controls what data is uploaded.
    type UploadConfig struct {
    	GOOS       []string
    	GOARCH     []string
    	GoVersion  []string
    	SampleRate float64
    	Programs   []*ProgramConfig
    }
    
    type ProgramConfig struct {
    	// the counter names may have to be
    	// repeated for each program. (e.g., if the counters are in a package
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modload/init.go

    				mainModule,
    				{Path: "go", Version: goVersion},
    				{Path: "toolchain", Version: gover.LocalToolchain()},
    			}
    		} else {
    			goVersion = gover.Local()
    			pruning = pruningForGoVersion(goVersion)
    			roots = []module.Version{
    				{Path: "go", Version: goVersion},
    				{Path: "toolchain", Version: gover.LocalToolchain()},
    			}
    		}
    		rawGoVersion.Store(mainModule, goVersion)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/build.go

    				m.Version = q.Version
    				m.Time = &q.Time
    			}
    		}
    
    		if m.GoVersion == "" && checksumOk("/go.mod") {
    			// Load the go.mod file to determine the Go version, since it hasn't
    			// already been populated from rawGoVersion.
    			if summary, err := rawGoModSummary(mod); err == nil && summary.goVersion != "" {
    				m.GoVersion = summary.goVersion
    			}
    		}
    
    		if m.Version != "" {
    			if checksumOk("/go.mod") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. src/cmd/fix/main.go

    }
    
    func main() {
    	telemetry.Start()
    	flag.Usage = usage
    	flag.Parse()
    	telemetry.Inc("fix/invocations")
    	telemetry.CountFlags("fix/flag:", *flag.CommandLine)
    
    	if !version.IsValid(*goVersion) {
    		report(fmt.Errorf("invalid -go=%s", *goVersion))
    		os.Exit(exitCode)
    	}
    
    	sort.Sort(byDate(fixes))
    
    	if *allowedRewrites != "" {
    		allowed = make(map[string]bool)
    		for _, f := range strings.Split(*allowedRewrites, ",") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/cmd/fix/main_test.go

    					// information to accurately correlate with the stderr output.
    				} else {
    					t.Parallel()
    				}
    			} else {
    				old := *goVersion
    				*goVersion = tt.Version
    				defer func() {
    					*goVersion = old
    				}()
    			}
    
    			// Apply fix: should get tt.Out.
    			out, fixed, ok := parseFixPrint(t, tt.Fn, tt.Name, tt.In, true)
    			if !ok {
    				return
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 05:31:47 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. istioctl/pkg/install/k8sversion/version.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package k8sversion
    
    import (
    	"fmt"
    
    	goversion "github.com/hashicorp/go-version"
    	"k8s.io/apimachinery/pkg/version"
    
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    	pkgVersion "istio.io/istio/pkg/version"
    )
    
    const (
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 22 02:07:51 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top