Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 85 for integers (0.26 sec)

  1. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClient.java

            return logLevel;
        }
    
        public boolean isFailed() {
            return workerProcess.getExecResult().map(execResult -> execResult.getExitValue() != 0).orElse(false);
        }
    
        public Optional<Integer> getExitCode() {
            return workerProcess.getExecResult().map(ExecResult::getExitValue);
        }
    
        public boolean isNotExpirable() {
            return cannotBeExpired;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:54:37 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/jvm/JavaToolchainFixture.groovy

        String javaPluginToolchainVersion(JvmInstallationMetadata installationMetadata) {
            return javaPluginToolchainVersion(installationMetadata.languageVersion.majorVersionNumber)
        }
    
        String javaPluginToolchainVersion(Integer majorVersion) {
            """
                java {
                    toolchain {
                        languageVersion = JavaLanguageVersion.of(${majorVersion})
                    }
                }
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/JavaLanguageVersion.java

        static JavaLanguageVersion of(int version) {
            return DefaultJavaLanguageVersion.of(version);
        }
    
        static JavaLanguageVersion of(String version) {
            return of(Integer.parseInt(version));
        }
    
        /**
         * Get the current (i.e., the current runtime) Java Language version.
         *
         * @return the current Java Language version
         * @since 8.8
         */
        @Incubating
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:16:16 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. src/syscall/dirent.go

    //go:build unix || (js && wasm) || wasip1
    
    package syscall
    
    import (
    	"internal/byteorder"
    	"internal/goarch"
    	"runtime"
    	"unsafe"
    )
    
    // readInt returns the size-bytes unsigned integer in native byte order at offset off.
    func readInt(b []byte, off, size uintptr) (u uint64, ok bool) {
    	if len(b) < int(off+size) {
    		return 0, false
    	}
    	if goarch.BigEndian {
    		return readIntBE(b[off:], size), true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:13:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. pkg/kube/version.go

    	if err != nil {
    		return true
    	}
    	if atLeast {
    		return cv.AtLeast(ev)
    	}
    	return cv.LessThan(ev)
    }
    
    // GetVersionAsInt returns the the kubernetes version as an integer.
    // For example, on Kubernetes v1.15.2, GetVersionAsInt returns 115
    func GetVersionAsInt(client Client) int {
    	clusterVersion, err := client.GetKubernetesVersion()
    	if err != nil {
    		return -1
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

            Matcher matcher = pattern.matcher(daemonLog.text);
            assert matcher.matches(): "Unable to find daemon address in the daemon log. Daemon: $context"
    
            try {
                return Integer.parseInt(matcher.group(1))
            } catch (NumberFormatException e) {
                throw new RuntimeException("Unexpected format of the port number found in the daemon log. Daemon: $context")
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTransformNodeIdBuildOperationIntegrationTest.groovy

                    }
                }
    
                interface TargetColor extends TransformParameters {
                    @Input
                    Property<String> getTargetColor()
                    @Input
                    Property<Integer> getMultiplier()
                }
    
                abstract class MakeColor implements TransformAction<TargetColor> {
                    @InputArtifact
                    abstract Provider<FileSystemLocation> getInputArtifact()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

    #include "mlir/Support/LLVM.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    // Returns int, float or complex DenseElementsAttr with scalar shape with the
    // given element type and the integer value.
    template <typename T>
    DenseElementsAttr GetScalarOfType(Type ty, T raw_value) {
      RankedTensorType scalar_ty = RankedTensorType::get({}, ty);
      if (auto float_ty = mlir::dyn_cast<FloatType>(ty)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/ThrottlingOutputEventListener.java

        private final List<OutputEvent> queue = new ArrayList<OutputEvent>();
    
        public ThrottlingOutputEventListener(OutputEventListener listener, Clock clock) {
            this(listener, Integer.getInteger("org.gradle.internal.console.throttle", 100), Executors.newSingleThreadScheduledExecutor(), clock);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/intstr/intstr.go

    // FromString creates an IntOrString object with a string value.
    func FromString(val string) IntOrString {
    	return IntOrString{Type: String, StrVal: val}
    }
    
    // Parse the given string and try to convert it to an int32 integer before
    // setting it as a string value.
    func Parse(val string) IntOrString {
    	i, err := strconv.ParseInt(val, 10, 32)
    	if err != nil {
    		return FromString(val)
    	}
    	return FromInt32(int32(i))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:09 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top