Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 177 for instantly (0.17 sec)

  1. pkg/apis/autoscaling/types.go

    // They can limit the scaling velocity by specifying scaling policies.
    // They can prevent flapping by specifying the stabilization window, so that the
    // number of replicas is not set instantly, instead, the safest value from the stabilization
    // window is chosen.
    type HPAScalingRules struct {
    	// StabilizationWindowSeconds is the number of seconds for which past recommendations should be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  2. pkg/controller/tainteviction/taint_eviction_test.go

    			expectedDeleteTimes: durationSlice{
    				{[]string{"pod1"}, 0},
    				{[]string{"pod2"}, time.Second},
    			},
    		},
    		{
    			description: "Evict all pods not matching all taints instantly",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    				*addToleration(testutil.NewPod("pod2", "node1"), 1, 1),
    				*addToleration(testutil.NewPod("pod3", "node1"), 1, -1),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  3. src/runtime/traceruntime.go

    // written as happening atomically.
    type traceLocker struct {
    	mp  *m
    	gen uintptr
    }
    
    // debugTraceReentrancy checks if the trace is reentrant.
    //
    // This is optional because throwing in a function makes it instantly
    // not inlineable, and we want traceAcquire to be inlineable for
    // low overhead when the trace is disabled.
    const debugTraceReentrancy = false
    
    // traceAcquire prepares this M for writing one or more trace events.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  4. pkg/controller/volume/persistentvolume/provision_test.go

    					reactor.AddVolume(volume)
    				}
    			}),
    		},
    	}
    
    	runMultisyncTests(t, ctx, tests, storageClasses, storageClasses[0].Name)
    }
    
    // When provisioning is disabled, provisioning a claim should instantly return nil
    func TestDisablingDynamicProvisioner(t *testing.T) {
    	_, ctx := ktesting.NewTestContext(t)
    	ctrl, err := newTestController(ctx, nil, nil, false)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta2/types.go

    // They can limit the scaling velocity by specifying scaling policies.
    // They can prevent flapping by specifying the stabilization window, so that the
    // number of replicas is not set instantly, instead, the safest value from the stabilization
    // window is chosen.
    type HPAScalingRules struct {
    	// stabilizationWindowSeconds is the number of seconds for which past recommendations should be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Instants.groovy

    /**
     * A dynamic collection of {@link NamedInstant} objects. When a property of this object is accessed from a test thread, a new instant is defined. When
     * accessed from the main thread, queries an existing instant, asserting that it exists.
     */
    class Instants implements InstantFactory, OperationListener {
        private final Object lock = new Object()
        private final Map<String, NamedInstant> timePoints = [:]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v2/types.go

    // They can limit the scaling velocity by specifying scaling policies.
    // They can prevent flapping by specifying the stabilization window, so that the
    // number of replicas is not set instantly, instead, the safest value from the stabilization
    // window is chosen.
    type HPAScalingRules struct {
    	// stabilizationWindowSeconds is the number of seconds for which past recommendations should be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  8. src/runtime/mgcsweep.go

    	assertWorldStopped()
    
    	// Sweeping must be complete before marking commences, so
    	// sweep any unswept spans. If this is a concurrent GC, there
    	// shouldn't be any spans left to sweep, so this should finish
    	// instantly. If GC was forced before the concurrent sweep
    	// finished, there may be spans to sweep.
    	for sweepone() != ^uintptr(0) {
    	}
    
    	// Make sure there aren't any outstanding sweepers left.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Instant.groovy

    /**
     * A point in time.
     */
    class Instant implements Comparable<Instant> {
        final long nanos
    
        Instant(long nanos) {
            this.nanos = nanos
        }
    
        @Override
        String toString() {
            return "[instant at $nanos]"
        }
    
        int compareTo(Instant t) {
            return nanos.compareTo(t.nanos)
        }
    
        Instant plus(long millis) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. src/runtime/metrics_test.go

    	// If the bug we expect is happening, then the Sleep CPU time will be accounted for
    	// as user time rather than idle time. In an ideal world we'd expect the whole application
    	// to go instantly idle the moment this goroutine goes to sleep, and stay asleep for that
    	// duration. However, the Go runtime can easily eat into idle time while this goroutine is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top