Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,510 for measure (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	// as a result, we need to measure the usage of this object for quota
    	// on updates, we need to subtract the previous measured usage
    	// if usage shows no change, just return since it has no impact on quota
    	deltaUsage, err := evaluator.Usage(inputObject)
    	if err != nil {
    		return quotas, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

              if ((hash1 & (1 << k)) == (hash2 & (1 << k))) {
                same[k] += 1;
              } else {
                diff[k] += 1;
              }
            }
          }
          // measure probability and assert it's within margin of error
          for (int j = 0; j < hashBits; j++) {
            double prob = (double) diff[j] / (double) (diff[j] + same[j]);
            Assert.assertEquals(0.50d, prob, epsilon);
          }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/quota/v1/generic/evaluator.go

    // MatchesScopeFunc knows how to evaluate if an object matches a scope
    type MatchesScopeFunc func(scope corev1.ScopedResourceSelectorRequirement, object runtime.Object) (bool, error)
    
    // UsageFunc knows how to measure usage associated with an object
    type UsageFunc func(object runtime.Object) (corev1.ResourceList, error)
    
    // MatchingResourceNamesFunc is a function that returns the list of resources matched
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 05 00:02:47 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

                        // This limit is 255 arguments as of Java 20. Deserializing that many is not a problem for the current implementation.
                        // The check is here as a future-proofing measure, in case the limit is relaxed or the generated code size grows.
                        if (codeSizeSoFar == 0) {
                            // This is the first lambda to process in this method, but it doesn't fit already - cannot proceed.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. pkg/proxy/endpointschangetracker.go

    	// ensure that no further traffic for the Service gets delivered to them.
    	DeletedUDPEndpoints []ServiceEndpoint
    
    	// NewlyActiveUDPServices identifies UDP Services that have just gone from 0 to
    	// non-0 endpoints. Existing conntrack entries caching the fact that these
    	// services are black holes must be deleted to ensure that traffic can immediately
    	// begin flowing to the new endpoints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  6. pkg/kubelet/eviction/helpers.go

    			result = append(result, volume.Name)
    		}
    	}
    	return result
    }
    
    // containerUsage aggregates container disk usage and inode consumption for the specified stats to measure.
    func containerUsage(podStats statsapi.PodStats, statsToMeasure []fsStatsType) v1.ResourceList {
    	disk := resource.Quantity{Format: resource.BinarySI}
    	inodes := resource.Quantity{Format: resource.DecimalSI}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  7. src/runtime/mstats.go

    	// c-shared and c-archive build modes and other sources of stacks from
    	// the OS (notably, any allocated by C code) are not currently measured.
    	// Note this too may change in the future.
    	StackSys uint64
    
    	// Off-heap memory statistics.
    	//
    	// The following statistics measure runtime-internal
    	// structures that are not allocated from heap memory (usually
    	// because they are part of implementing the heap). Unlike
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

            if (!actualText.contains(expectedText)) {
                if (!expectedText.contains("\n")) {
                    Arrays.stream(actualText.split("\n"))
                        // Measure Levenshtein distance for each line
                        .map(line -> new LineWithDistance(line, StringUtils.getLevenshteinDistance(line, expectedText)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

        RateLimiter rateLimiter = new SmoothWarmingUp(stopwatch, warmupPeriod, unit, coldFactor);
        rateLimiter.setRate(permitsPerSecond);
        return rateLimiter;
      }
    
      /**
       * The underlying timer; used both to measure elapsed time and sleep as necessary. A separate
       * object to facilitate testing.
       */
      private final SleepingStopwatch stopwatch;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  10. src/cmd/vendor/rsc.io/markdown/html.go

    			end = j + 1
    		}
    		if r > unicode.MaxRune || r == 0 {
    			r = unicode.ReplacementChar
    		}
    		return &Plain{string(rune(r))}, start, end, true
    	}
    
    	// Max name in list is 32 bytes. Try for 64 for good measure.
    	for j := i + 1; j < len(s) && j-i < 64; j++ {
    		if s[j] == '&' { // Stop possible quadratic search on &&&&&&&.
    			break
    		}
    		if s[j] == ';' {
    			if r, ok := htmlEntity[s[i:j+1]]; ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top