Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 487 for cLower (0.34 sec)

  1. android/guava/src/com/google/common/math/DoubleUtils.java

      static boolean isFinite(double d) {
        return getExponent(d) <= MAX_EXPONENT;
      }
    
      static boolean isNormal(double d) {
        return getExponent(d) >= MIN_EXPONENT;
      }
    
      /*
       * Returns x scaled by a power of 2 such that it is in the range [1, 2). Assumes x is positive,
       * normal, and finite.
       */
      static double scaleNormalize(double x) {
        long significand = doubleToRawLongBits(x) & SIGNIFICAND_MASK;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 28 15:37:52 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  2. src/cmd/cover/cfg_test.go

    	}
    }
    
    func TestCoverOnPackageWithNoTestFiles(t *testing.T) {
    	testenv.MustHaveGoRun(t)
    
    	// For packages with no test files, the new "go test -cover"
    	// strategy is to run cmd/cover on the package in a special
    	// "EmitMetaFile" mode. When running in this mode, cmd/cover walks
    	// the package doing instrumentation, but when finished, instead of
    	// writing out instrumented source files, it directly emits a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/workerApi/md5CustomTask/groovy/buildSrc/src/main/java/CreateMD5.java

                try {
                    InputStream stream = new FileInputStream(sourceFile);
                    System.out.println("Generating MD5 for " + sourceFile.getName() + "...");
                    // Artificially make this task slower.
                    Thread.sleep(3000); // <4>
                    Provider<RegularFile> md5File = getDestinationDirectory().file(sourceFile.getName() + ".md5");  // <5>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/pjrt_tensor_buffer_util.h

    // contains a PjRtTensorBuffer. The PjRtTensorBuffer holds the pointer to the
    // device memory. It also owns the PjRtBuffer.
    //
    // TODO(b/289001822): Create a unit test to cover this function.
    absl::StatusOr<Tensor> MakeTensorFromPjRtBuffer(
        DataType dtype, const TensorShape& shape,
        std::unique_ptr<xla::PjRtBuffer> pjrt_buffer);
    
    // For TensorFlow internal use only.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 14 18:14:47 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. pkg/config/crd/validator.go

    	}
    	return nil
    }
    
    func NewValidatorFromFiles(files ...string) (*Validator, error) {
    	crds := []apiextensions.CustomResourceDefinition{}
    	closers := make([]io.Closer, 0, len(files))
    	defer func() {
    		for _, closer := range closers {
    			closer.Close()
    		}
    	}()
    	for _, file := range files {
    		data, err := os.Open(file)
    		if err != nil {
    			return nil, fmt.Errorf("failed to read input yaml file: %v", err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 17 15:38:40 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. testing/performance/docs/performance-bisect.md

            def slower = checkBaselineVersion({ it.fasterThan(current) }, { it.getSpeedStatsAgainst(displayName, current) })
    //        def larger = checkBaselineVersion({ it.usesLessMemoryThan(current) }, { it.getMemoryStatsAgainst(displayName, current) })
    //        if (slower && larger) {
    //            throw new AssertionError("$slower\n$larger")
    //        }
            if (slower) {
                throw new AssertionError(slower)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * Similar to load64, but allows offset + 8 > input.length, padding the result with zeroes. This
       * has to explicitly reverse the order of the bytes as it packs them into the result which makes
       * it slower than the native version.
       *
       * @param input the input bytes
       * @param offset the offset into the array at which to start reading
       * @param length the number of bytes from the input to read
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/test/groovy/org/gradle/performance/fixture/CrossVersionPerformanceTestExecutionTest.groovy

            result.assertCurrentVersionHasNotRegressed()
    
            then:
            AssertionError e = thrown()
            e.message.startsWith("Speed ${result.displayName}: we're slower than 1.0 with 99% confidence.")
            e.message.contains('Difference: 11 ms slower (11 ms), 11.00%')
            !e.message.contains('1.3')
        }
    
        def "can lookup the results for a baseline version"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToFutureTest.java

        ClosingFuture<Closeable> closingFuture =
            ClosingFuture.submit(
                new ClosingCallable<Closeable>() {
                  @Override
                  public Closeable call(DeferredCloser closer) throws Exception {
                    return closer.eventuallyClose(mockCloseable, executor);
                  }
                },
                executor);
        FluentFuture<Closeable> unused = closingFuture.finishToFuture();
        assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DefaultModelViewState.java

            this.mutable = mutable;
            this.canReadChildren = canReadChildren;
        }
    
        public void close() {
            closed = true;
        }
    
        public Action<Object> closer() {
            return new Action<Object>() {
                @Override
                public void execute(Object o) {
                    close();
                }
            };
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top