Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 194 for GoVersion (0.26 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/metrics.go

    	start := time.Now()
    	obj, err := m.delegate.Convert(in, targetGV)
    	fromVersion := in.GetObjectKind().GroupVersionKind().Version
    	toVersion := targetGV.Version
    
    	// only record this observation if the version is different
    	if fromVersion != toVersion {
    		m.latencies.WithLabelValues(
    			m.crdName, fromVersion, toVersion, strconv.FormatBool(err == nil)).Observe(time.Since(start).Seconds())
    	}
    	return obj, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:34:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ScalaCompileJavaToolchainIntegrationTest.groovy

                compileScala {
                    scalaCompileOptions.additionalParameters = ["${targetJava8}"]
    
                    ${source != 'none' ? "sourceCompatibility = JavaVersion.toVersion($source)" : ''}
                    ${target != 'none' ? "targetCompatibility = JavaVersion.toVersion($target)" : ''}
                    def projectSourceCompat = project.java.sourceCompatibility
                    def projectTargetCompat = project.java.targetCompatibility
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 03:32:33 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/eclipse/model/EclipseJdt.java

            setSourceCompatibility((Object) sourceCompatibility);
        }
    
        public void setSourceCompatibility(Object sourceCompatibility) {
            JavaVersion version = JavaVersion.toVersion(sourceCompatibility);
            if (version != null) {
                this.sourceCompatibility = version;
            }
        }
    
        /**
         * The target JVM to generate {@code .class} files for.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/load/pkg.go

    // in the binary. setBuildInfo should only be called on a main package with no
    // errors.
    //
    // This information can be retrieved using debug.ReadBuildInfo.
    //
    // Note that the GoVersion field is not set here to avoid encoding it twice.
    // It is stored separately in the binary, mostly for historical reasons.
    func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            when:
            def filter = createSpec(JavaLanguageVersion.of(versionToFind))
            def toolchain = queryService.findMatchingToolchain(filter)
    
            then:
            toolchain.languageVersion == JavaVersion.toVersion(versionToFind)
            toolchain.javaHome.toString() == systemSpecificAbsolutePath(expectedPath)
    
            where:
            versionToFind | expectedPath
            9             | "/path/9"
            12            | "/path/12"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/generated/openapi/zz_generated.openapi.go

    						},
    					},
    					"buildDate": {
    						SchemaProps: spec.SchemaProps{
    							Default: "",
    							Type:    []string{"string"},
    							Format:  "",
    						},
    					},
    					"goVersion": {
    						SchemaProps: spec.SchemaProps{
    							Default: "",
    							Type:    []string{"string"},
    							Format:  "",
    						},
    					},
    					"compiler": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:17 UTC 2024
    - 329.7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaPluginConvention.java

        /**
         * Sets the source compatibility used for compiling Java sources.
         *
         * @param value The value for the source compatibility as defined by {@link JavaVersion#toVersion(Object)}
         */
        public abstract void setSourceCompatibility(Object value);
    
        /**
         * Sets the source compatibility used for compiling Java sources.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. platforms/jvm/code-quality/src/main/groovy/org/gradle/api/plugins/quality/TargetJdk.java

         * @return The version, or null if the provided value is null.
         * @throws IllegalArgumentException when the provided value cannot be converted.
         */
        @Nullable
        public static TargetJdk toVersion(@Nullable Object value) throws IllegalArgumentException {
            if (value == null) {
                return null;
            }
            if (value instanceof TargetJdk) {
                return (TargetJdk) value;
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 12:23:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/typeconversion/JavaVersionFromCharSequenceNotationConverter.java

        @Override
        public void convert(CharSequence notation, NotationConvertResult<? super JavaVersion> result) throws TypeConversionException {
            try {
                result.converted(JavaVersion.toVersion(notation));
            } catch (IllegalArgumentException e) {
                throw new TypeConversionException(e.getMessage(), e);
            }
        }
    
        @Override
        public void describe(DiagnosticsVisitor visitor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 15:43:28 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/java/ParallelTestTaskIntegrationTest.groovy

    class ParallelTestTaskIntegrationTest extends AbstractIntegrationSpec {
        String getVersion() {
            return "1.8"
        }
    
        JavaVersion getJavaVersion() {
            JavaVersion.toVersion(version)
        }
    
        JavaInfo getTarget() {
            return AvailableJavaHomes.getJdk(javaVersion)
        }
    
    
        def subprojects = ['a', 'b', 'c', 'd']
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top