Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 115 for goVERSION (0.33 sec)

  1. src/debug/buildinfo/buildinfo.go

    func Read(r io.ReaderAt) (*BuildInfo, error) {
    	vers, mod, err := readRawBuildInfo(r)
    	if err != nil {
    		return nil, err
    	}
    	bi, err := debug.ParseBuildInfo(mod)
    	if err != nil {
    		return nil, err
    	}
    	bi.GoVersion = vers
    	return bi, nil
    }
    
    type exe interface {
    	// ReadData reads and returns up to size bytes starting at virtual address addr.
    	ReadData(addr, size uint64) ([]byte, error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	tg.grepStdout("-ffaster", "CC arguments not found")
    
    	tg.run("env", "GOVERSION")
    	envVersion := strings.TrimSpace(tg.stdout.String())
    
    	tg.run("version")
    	cmdVersion := strings.TrimSpace(tg.stdout.String())
    
    	// If 'go version' is "go version <version> <goos>/<goarch>", then
    	// 'go env GOVERSION' is just "<version>".
    	if cmdVersion == envVersion || !strings.Contains(cmdVersion, envVersion) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/check_test.go

    		opt(&conf)
    	}
    
    	// apply flag setting (overrides custom configuration)
    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modcmd/download.go

    	// There is a bit of a chicken-and-egg problem here: ideally we need to know
    	// which Go version to switch to to download the requested modules, but if we
    	// haven't downloaded the module's go.mod file yet the GoVersion field of its
    	// info struct is not yet populated.
    	//
    	// We also need to be careful to only print the info for each module once
    	// if the -json flag is set.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 19:32:39 UTC 2023
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/stmt.go

    	// determine key/value types
    	var key, val Type
    	if x.mode != invalid {
    		// Ranging over a type parameter is permitted if it has a core type.
    		k, v, cause, isFunc, ok := rangeKeyVal(x.typ, func(v goVersion) bool {
    			return check.allowVersion(x.expr, v)
    		})
    		switch {
    		case !ok && cause != "":
    			check.softErrorf(&x, InvalidRangeExpr, "cannot range over %s: %s", &x, cause)
    		case !ok:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/exec.go

    		if b.IsCmdList {
    			return nil
    		}
    		return errors.New("binary-only packages are no longer supported")
    	}
    
    	if p.Module != nil && !allowedVersion(p.Module.GoVersion) {
    		return errors.New("module requires Go " + p.Module.GoVersion + " or later")
    	}
    
    	if err := b.checkDirectives(a); err != nil {
    		return err
    	}
    
    	if err := sh.Mkdir(a.Objdir); err != nil {
    		return err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  7. src/debug/gosym/pclntab.go

    		f.LineTable = t
    		f.FrameSize = int(info.deferreturn())
    		syms[i] = Sym{
    			Value:     f.Entry,
    			Type:      'T',
    			Name:      t.funcName(info.nameOff()),
    			GoType:    0,
    			Func:      f,
    			goVersion: t.version,
    		}
    		f.Sym = &syms[i]
    	}
    	return funcs
    }
    
    // findFunc returns the funcData corresponding to the given program counter.
    func (t *LineTable) findFunc(pc uint64) funcData {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/genericapiserver_test.go

    		Major:        "42",
    		Minor:        "42",
    		GitVersion:   "42",
    		GitCommit:    "34973274ccef6ab4dfaaf86599792fa9c3fe4689",
    		GitTreeState: "Dirty",
    		BuildDate:    time.Now().String(),
    		GoVersion:    goruntime.Version(),
    		Compiler:     goruntime.Compiler,
    		Platform:     fmt.Sprintf("%s/%s", goruntime.GOOS, goruntime.GOARCH),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  9. src/go/types/issues_test.go

    func f[S ~[]E, E any](S) {}
    
    func _() {
    	f([]string{})
    }
    `
    	// Per the go:build directive, the source must typecheck
    	// even though the (module) Go version is set to go1.17.
    	conf := Config{GoVersion: "go1.17"}
    	mustTypecheck(src, &conf, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/import.go

    				// Go 1.23 and later require vendored packages to be present in modules.txt to be imported.
    				_, ok := vendorPkgModule[path]
    				if ok || (gover.Compare(MainModules.GoVersion(), gover.ExplicitModulesTxtImportVersion) < 0) {
    					mods = append(mods, vendorPkgModule[path])
    					dirs = append(dirs, dir)
    					roots = append(roots, vendorDir)
    				} else {
    					subCommand := "mod"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top