- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for toVersion (0.13 sec)
-
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/AbstractGradleExecuter.java
this.javaHome = javaHome == null ? null : javaHome.getAbsolutePath(); return this; } protected final JavaVersion getJavaVersionFromJavaHome() { try { return JavaVersion.toVersion(JVM_VERSION_DETECTOR.getJavaVersionMajor(Jvm.forHome(getJavaHomeLocation()))); } catch (IllegalArgumentException | JavaHomeException e) { return JavaVersion.current(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 55.1K bytes - Viewed (0) -
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) -
src/cmd/go/internal/modload/load.go
compatVersion := ld.TidyCompatibleVersion goVersion := ld.requirements.GoVersion() if compatVersion == "" { if gover.Compare(goVersion, gover.GoStrictVersion) < 0 { compatVersion = gover.Prev(goVersion) } else { // Starting at GoStrictVersion, we no longer maintain compatibility with // versions older than what is listed in the go.mod file. compatVersion = goVersion } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api_test.go
goversion := fmt.Sprintf("go1.%d", goversion.Version) for _, v := range []string{ goversion, goversion + ".0", goversion + ".1", goversion + ".rc", } { conf := Config{GoVersion: v} pkg := mustTypecheck("package p", &conf, nil) if pkg.GoVersion() != conf.GoVersion { t.Errorf("got %s; want %s", pkg.GoVersion(), conf.GoVersion) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/cmd/dist/build.go
// // Note that we lightly parse internal/goversion/goversion.go to // obtain the base version. We can't just import the package, // because cmd/dist is built with a bootstrap GOROOT which could // be an entirely different version of Go. We assume // that the file contains "const Version = <Integer>". goversionSource := readfile(pathf("%s/src/internal/goversion/goversion.go", goroot))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0) -
src/go/types/api_test.go
goversion := fmt.Sprintf("go1.%d", goversion.Version) for _, v := range []string{ goversion, goversion + ".0", goversion + ".1", goversion + ".rc", } { conf := Config{GoVersion: v} pkg := mustTypecheck("package p", &conf, nil) if pkg.GoVersion() != conf.GoVersion { t.Errorf("got %s; want %s", pkg.GoVersion(), conf.GoVersion) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0) -
src/cmd/go/internal/modload/buildlist.go
func LoadModGraph(ctx context.Context, goVersion string) (*ModuleGraph, error) { rs, err := loadModFile(ctx, nil) if err != nil { return nil, err } if goVersion != "" { v, _ := rs.rootSelected("go") if gover.Compare(v, gover.GoStrictVersion) >= 0 && gover.Compare(goVersion, v) < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 16:04:44 UTC 2024 - 53.8K bytes - Viewed (0) -
tensorflow/BUILD
select({ "//tensorflow:macos": [], "//conditions:default": [ "//tensorflow/core/data:captured_function", ], }), soversion = VERSION, static_deps = PACKAGE_STATIC_DEPS, visibility = ["//visibility:public"], ) # This is intended to be the same as tf_binary_additional_srcs:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 16:51:59 UTC 2024 - 53.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser.go
// go: directive (but be conservative and test) if strings.HasPrefix(text, "go:") { if p.top && strings.HasPrefix(msg, "//go:build") { if x, err := constraint.Parse(msg); err == nil { p.goVersion = constraint.GoVersion(x) } } if pragh != nil { p.pragma = pragh(p.posAt(line, col+2), p.scanner.blank, text, p.pragma) // +2 to skip over // or /* } } }, directives, )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 62.9K bytes - Viewed (0) -
src/go/parser/parser.go
for { p.pos, p.tok, p.lit = p.scanner.Scan() if p.tok == token.COMMENT { if p.top && strings.HasPrefix(p.lit, "//go:build") { if x, err := constraint.Parse(p.lit); err == nil { p.goVersion = constraint.GoVersion(x) } } if p.mode&ParseComments == 0 { continue } } else { // Found a non-comment; top of file is over. p.top = false } break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 08 20:07:50 UTC 2023 - 72.2K bytes - Viewed (0)