- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for delay (0.18 sec)
-
src/runtime/proc.go
throw("findrunnable: netpoll with spinning") } delay := int64(-1) if pollUntil != 0 { if now == 0 { now = nanotime() } delay = pollUntil - now if delay < 0 { delay = 0 } } if faketime != 0 { // When using fake time, just poll. delay = 0 } list, delta := netpoll(delay) // block until new work is available
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
if initialDelay <= 0 { t.Fatal("Initial delay is expected to be set.") } resetCounters(manager) // Immediate (second) sync gets limited by the backoff expectSyncDaemonSets(t, manager, ds, podControl, 0, 0, 0) delay := manager.failedPodsBackoff.Get(backoffKey) if delay != initialDelay { t.Fatal("Backoff delay shouldn't be raised while waiting.") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/config/validation/validation.go
} return nil } func validateHTTPFaultInjectionDelay(delay *networking.HTTPFaultInjection_Delay) (errs error) { if delay == nil { return } errs = appendErrors(errs, validatePercentage(delay.Percentage)) switch v := delay.HttpDelayType.(type) { case *networking.HTTPFaultInjection_Delay_FixedDelay:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
{5, now}, {3, now}, }, scaleDownStabilizationWindowSeconds: 3 * 60, }, { // we can reuse only the first recommendation element // as the scale up delay = 150 (set in test), scale down delay = 300 (by default) // hence, only the first recommendation is obsolete for both scale up and scale down name: "scale up stabilization, reuse one of obsolete recommendation element", key: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
src/net/http/transport_test.go
return 0, errors.New("error") }, }, nil } }, ).ts // Set a short delay in RoundTrip to give the persistConn time to notice // the connection is broken. We want to exercise the path where writeLoop exits // before it reads the request to send. If this delay is too short, we may instead // exercise the path where writeLoop accepts the request and then fails to write it.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CallTest.kt
sink.writeUtf8(data) sink.close() return result } private fun cancelLater( call: Call, delay: Long, ): Thread { val thread = object : Thread("canceler") { override fun run() { try { sleep(delay) } catch (e: InterruptedException) { throw AssertionError() } call.cancel()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 142.5K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
// The pending load was clobbered by a manual write. // Unblock all pending gets, and have them return the new value. set(newValue); } else { // The pending load was removed. Delay notifications until loading completes. oldValue = unset(); } // TODO(fry): could also cancel loading if we had a handle on its future }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 149.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy
then: 'transforming build starts artifact transform' transformBarrier.waitForAllPendingCalls() def cachedTransform = null poll { // there's a delay in receiving the output cachedTransform = gradleUserHomeOutputDir("lib1-1.0.jar", "lib1-1.0.jar.txt") { transformingBuild.standardOutput } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 11:52:44 UTC 2024 - 97.8K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/LocalCache.java
// The pending load was clobbered by a manual write. // Unblock all pending gets, and have them return the new value. set(newValue); } else { // The pending load was removed. Delay notifications until loading completes. oldValue = unset(); } // TODO(fry): could also cancel loading if we had a handle on its future }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 143.6K bytes - Viewed (0) -
src/net/http/serve_test.go
100 * time.Millisecond, 500 * time.Millisecond, time.Second, 5 * time.Second, }, func(t *testing.T, timeout time.Duration) error { SetRSTAvoidanceDelay(t, timeout) t.Logf("set RST avoidance delay to %v", timeout) const bodySize = 5 << 20 req := []byte(fmt.Sprintf("POST / HTTP/1.1\r\nHost: foo.com\r\nContent-Length: %d\r\n\r\n", bodySize)) for i := 0; i < bodySize; i++ { req = append(req, 'x')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0)