Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 863 for calculateId (0.31 sec)

  1. staging/src/k8s.io/apiserver/pkg/quota/v1/interfaces.go

    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/client-go/tools/cache"
    )
    
    // UsageStatsOptions is an options structs that describes how stats should be calculated
    type UsageStatsOptions struct {
    	// Namespace where stats should be calculate
    	Namespace string
    	// Scopes that must match counted objects
    	Scopes []corev1.ResourceQuotaScope
    	// Resources are the set of resources to include in the measurement
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 30 21:02:09 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/file/TaskFileVarFactory.java

        /**
         * Creates a {@link FileCollection} that represents some task input that is calculated from one or more other file collections.
         *
         * <p>The implementation applies caching to the result, so that the matching files are calculated during file snapshotting and the result cached in memory for when it is queried again, either during task action execution or in order to calculate some other task input value.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 07 03:00:19 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/balanced_allocation.go

    	}
    
    	// ba.score favors nodes with balanced resource usage rate.
    	// It calculates the standard deviation for those resources and prioritizes the node based on how close the usage of those resources is to each other.
    	// Detail: score = (1 - std) * MaxNodeScore, where std is calculated by the root square of Σ((fraction(i)-mean)^2)/len(resources)
    	// The algorithm is partly inspired by:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/ResolutionResultProvider.java

    /**
     * Some value that is calculated as part of dependency resolution, but which may have a partial or different value
     * when the execution graph is calculated.
     * @param <T>
     */
    public interface ResolutionResultProvider<T> {
    
        /**
         * Returns the value available at execution graph calculation time. Note that the value may change between when the execution graph is calculated and
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jan 21 03:08:51 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmUtil.java

    
        /**
         * 
         * @param password
         * @return the calculated hash
         */
        public static byte[] nTOWFv1 ( String password ) {
            return getNTHash(password);
        }
    
    
        /**
         * 
         * @param passwordHash
         * @param serverChallenge
         * @param clientChallenge
         * @return the calculated response
         * @throws GeneralSecurityException
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 9.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. pkg/controller/podautoscaler/replica_calculator.go

    		if err != nil {
    			return 0, time.Time{}, fmt.Errorf("unable to calculate ready pods: %s", err)
    		}
    		replicaCount = int32(math.Ceil(usageRatio * float64(readyPodCount)))
    	} else {
    		// Scale to zero or n pods depending on usageRatio
    		replicaCount = int32(math.Ceil(usageRatio))
    	}
    
    	return replicaCount, timestamp, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  8. 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)
  9. internal/bucket/bandwidth/measurement.go

    		return
    	}
    
    	increment := float64(bytesSinceLastWindow) / duration.Seconds()
    	m.expMovingAvg = exponentialMovingAverage(betaBucket, m.expMovingAvg, increment)
    }
    
    // exponentialMovingAverage calculates the exponential moving average
    func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
    	return (1-beta)*incrementAvg + beta*previousAvg
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 03 20:41:51 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. 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)
Back to top