Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 297 for Thresholds (0.55 sec)

  1. pkg/controller/podgc/gc_controller_test.go

    				{name: "c", phase: v1.PodFailed},
    			},
    			threshold:                     1,
    			deletedPodNames:               sets.New("a", "b"),
    			enablePodDisruptionConditions: true,
    		},
    		{
    			name: "threshold = 0, disables terminated pod deletion",
    			pods: []nameToPhase{
    				{name: "a", phase: v1.PodFailed},
    				{name: "b", phase: v1.PodSucceeded},
    			},
    			threshold: 0,
    			// threshold = 0 disables terminated pod deletion
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/LowMemoryDaemonExpirationStrategy.java

    import java.util.concurrent.locks.ReentrantLock;
    
    import static org.gradle.launcher.daemon.server.expiry.DaemonExpirationStatus.GRACEFUL_EXPIRE;
    
    /**
     * An expiry strategy which only triggers when system memory falls below a threshold.
     */
    public class LowMemoryDaemonExpirationStrategy implements DaemonExpirationStrategy, OsMemoryStatusListener {
        private ReentrantLock lock = new ReentrantLock();
        private OsMemoryStatus memoryStatus;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/report/Tag.java

            }
    
            static FlakinessInfoTag createFailureThresholdTag(BigDecimal threshold) {
                return new FlakinessInfoTag(String.format("FAILURE-THRESHOLD(%.2f%%)", threshold.doubleValue() * 100), FAILURE_THRESHOLD_TITLE);
            }
    
            private FlakinessInfoTag(String name, String title) {
                this.name = name;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. istioctl/pkg/wait/wait.go

    				return fmt.Errorf("--for must be 'delete' or 'distribution', got: %s", forFlag)
    			}
    			if proxyFlag != "" && threshold != 1 {
    				printVerbosef(cmd, "both the proxy and threshold options were provided; the threshold option is being ignored.")
    				threshold = 1
    			}
    			var w *watcher
    			ctx, cancel := context.WithTimeout(context.Background(), timeout)
    			defer cancel()
    			if generation == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 17 12:24:17 UTC 2024
    - 10.1K bytes
    - Viewed (1)
  5. pkg/test/framework/components/echo/util/traffic/result.go

    	return float64(r.SuccessfulRequests) / float64(r.TotalRequests)
    }
    
    // CheckSuccessRate asserts that a minimum success threshold was met.
    func (r Result) CheckSuccessRate(t test.Failer, minimumPercent float64) {
    	if r.PercentSuccess() < minimumPercent {
    		t.Fatalf("Minimum success threshold, %f, was not met. %d/%d (%f) requests failed: %v",
    			minimumPercent, r.SuccessfulRequests, r.TotalRequests, r.PercentSuccess(), r.Error)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 12 22:50:35 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker.go

    			return false, t.prune(pruneInterval)
    		}, stopCh)
    	klog.InfoS("StorageObjectCountTracker pruner is exiting")
    }
    
    func (t *objectCountTracker) prune(threshold time.Duration) error {
    	oldestLastUpdatedAtAllowed := t.clock.Now().Add(-threshold)
    
    	// lock for writing
    	t.lock.Lock()
    	defer t.lock.Unlock()
    
    	for groupResource, count := range t.counts {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 16 09:12:00 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. maven-slf4j-provider/src/test/java/org/apache/maven/slf4j/MavenLoggerFactoryTest.java

            assertFalse(logLevelRecorder.metThreshold());
    
            logger.warn("This should not hit the fail threshold");
            assertFalse(logLevelRecorder.metThreshold());
    
            logger.error("This should hit the fail threshold");
            assertTrue(logLevelRecorder.metThreshold());
    
            logger.warn("This should not reset the fail threshold");
            assertTrue(logLevelRecorder.metThreshold());
        }
    
        @Test
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 09 06:36:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

        protected static final String PREFIX = "curl4j-";
    
        protected static final String SUFFIX = ".tmp";
    
        protected boolean done = false;
    
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        @Override
    Registered: Wed Jun 12 08:29:43 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceFlakinessDataProvider.java

        /**
         * The failure threshold of flaky scenario, if a flaky scenario performance test's difference is higher than this value,
         * it will be recognized as a real failure.
         *
         * <pre>
         *  SELECT TESTID, TESTPROJECT, MAX(ABS((BASELINEMEDIAN-CURRENTMEDIAN)/BASELINEMEDIAN)) as THRESHOLD
         *  FROM TESTEXECUTION
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. cluster/gce/util.sh

    function print-windows-node-kubelet-config {
      # Notes:
      # - We don't run any static pods on Windows nodes yet.
    
      # TODO(mtaufen): Does it make any sense to set eviction thresholds for inodes
      # on Windows?
    
      # TODO(pjh, mtaufen): It may make sense to use a different hairpin mode on
      # Windows. We're currently using hairpin-veth, but
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
Back to top