Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 462 for calculateId (0.15 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/descriptor/UrlRepositoryDescriptor.java

                this.authenticationSchemes = ImmutableList.copyOf(authenticationSchemes);
                return self();
            }
    
            protected String calculateId(
                Class<? extends ExternalResourceResolver> implementation,
                List<ResourcePattern> metadataResources,
                List<ResourcePattern> artifactResources,
                List<String> metadataSources,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/model/CalculatedValue.java

         */
        Try<T> getValue() throws IllegalStateException;
    
        /**
         * Returns true if this value is already calculated.
         * Note that some other thread may currently be calculating the value even if this method returns false.
         */
        boolean isFinalized();
    
        /**
         * Calculates the value, if not already calculated. Collects any exception and does not rethrow them.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy

            1 * fileSystemAccess.readRegularFileContentHash(file.absolutePath) >> Optional.empty()
            1 * calculator.calculate(file, false) >> 12
            0 * _
    
            when:
            result = cache.get(file)
    
            then:
            result == 12
            0 * _
        }
    
        def "reuses calculated value for file across cache instances"() {
            def file = new File("thing.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainer.java

        private final DisplayName displayName;
        // Null when the value has been calculated and assigned to the result field. When not null the result has not been calculated
        // or is currently being calculated or has just been calculated. It is possible for both this field and the result field to be
        // non-null at the same time for a brief period just after the result has been calculated
        @Nullable
        private volatile CalculationState<T, S> calculationState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

      MinMax calibration calculates the global min and global max values.
    
      global min = min of given sample inputs
      global max = max of given sample inputs
      """
    
      def get_min_max_value(self) -> tuple[float, float]:
        """Calculates the global min and max values.
    
        Returns:
          (min_value, max_value): Min and max calculated using MinMax
        """
        return (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters_test.cc

    #include <cmath>
    #include <cstdint>
    
    #include <gtest/gtest.h>
    
    namespace stablehlo::quantization {
    namespace {
    
    // Calculates the number of bins from the range and bin width.
    inline int32_t CalculateActualNumBins(const float min_value,
                                          const float max_value,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 05 09:09:34 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConfigurationBuildDependenciesIntegrationTest.groovy

            failure.assertHasCause("Could not get resource '${module.pom.uri}'")
        }
    
        @ToBeFixedForConfigurationCache
        def "does not download anything when task dependencies are calculated for configuration that is used as a task input"() {
            def module = mavenHttpRepo.module("test", "test", "1.0").publish()
            buildFile << """
                allprojects {
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/size.go

    		CheckSize(t1)
    
    	case TCHANARGS:
    		t1 := t.ChanArgs()
    		CalcSize(t1) // just in case
    		// Make sure size of t1.Elem() is calculated at this point. We can
    		// use CalcSize() here rather than CheckSize(), because the top-level
    		// (possibly recursive) type will have been calculated before the fake
    		// chanargs is handled.
    		CalcSize(t1.Elem())
    		if t1.Elem().width >= 1<<16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/configuration/AllProperties.java

     * properties files.
     */
    public interface AllProperties {
        /**
         * Returns the system properties defined as command-line options.
         */
        Map<String, String> getRequestedSystemProperties();
    
        /**
         * Returns all properties that should be considered to calculate build option values.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      return folded_results.front();
    }
    
    // Calculates zero-point offset by reducing the weight and multiply it with zp.
    // Originally, we have:
    //   output = (int8_input - input_zp) * (int8_weight - weight_zp)
    // So, offset = input_zp * int8_weight + weight_zp * int8_input
    // - input_zp * weight_zp.
    // This function calculates the `offset` value mentioned above. Note that the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top