- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 553 for delay (0.1 sec)
-
src/internal/trace/testdata/generators/go122-fail-first-gen-first.go
// Regression test for #55160. // // The issue is that the parser reads ahead to the first batch of the // next generation to find generation boundaries, but if it finds an // error, it needs to delay handling that error until later. Previously // it would handle that error immediately and a totally valid generation // would be skipped for parsing and rejected because of an error in a // batch in the following generation. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 1.7K bytes - Viewed (0) -
security/pkg/nodeagent/cache/secretcache.go
gracePeriod := time.Duration((graceRatio) * float64(secretLifeTime)) delay := time.Until(secret.ExpireTime.Add(-gracePeriod)) if delay < 0 { delay = 0 } return delay } func (sc *SecretManagerClient) registerSecret(item security.SecretItem) { delay := rotateTime(item, sc.configOptions.SecretRotationGracePeriodRatio)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 04 08:29:46 UTC 2024 - 28.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go
w.WriteHeader(200) } func TestAudit(t *testing.T) { shortRunningPath := "/api/v1/namespaces/default/pods/foo" longRunningPath := "/api/v1/namespaces/default/pods?watch=true" delay := 500 * time.Millisecond for _, test := range []struct { desc string path string verb string auditID string omitStages []auditinternal.Stage
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 22.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/concurrent/TaskRunnerTest.kt
"FINE: Q10000 finished run in 0 µs: task", ) } /** Repeat with a delay of 200 but schedule with a delay of 50. The schedule wins. */ @Test fun executeScheduledEarlierReplacesRepeatedLater() { val task = object : Task("task") { val schedules = mutableListOf(50.µs) val delays = mutableListOf(200.µs, -1) override fun runOnce(): Long {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 23K bytes - Viewed (0) -
src/encoding/json/example_test.go
// Ed: Go fmt. // Sam: Go fmt who? // Ed: Go fmt yourself! // json.Delim: ] } // This example uses RawMessage to delay parsing part of a JSON message. func ExampleRawMessage_unmarshal() { type Color struct { Space string Point json.RawMessage // delay parsing until we know the color space } type RGB struct { R uint8 G uint8 B uint8 } type YCbCr struct { Y uint8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 6.1K bytes - Viewed (0) -
src/debug/dwarf/entry.go
rnglistsBase, _ = cu.Val(AttrRnglistsBase).(int64) } else if a.tag == TagCompileUnit { delay = append(delay, delayed{i, off, formRnglistx}) break } val = resolveRnglistx(uint64(rnglistsBase), off) } e.Field[i].Val = val } if b.err != nil { return nil } for _, del := range delay { switch del.fmt { case formAddrx: addrBase, _ := e.Val(AttrAddrBase).(int64)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 30.7K bytes - Viewed (0) -
tests/integration/operator/uninstall_test.go
if checkErr != nil { return checkErr } if exist { return fmt.Errorf("fail to delete iop") } return nil }, retry.Timeout(deletionTimeout), retry.Delay(retryDelay)) }) // For negative casse, use default profile, ingressgateway alway connect to istiod // deletion will fail t.NewSubTest("delete-iop-fail").Run(func(t framework.TestContext) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 20:33:28 UTC 2024 - 7.7K bytes - Viewed (0) -
tests/integration/ambient/wasm_test.go
ctx.Helper() if len(GetClientInstances()) == 0 { ctx.Fatal("there is no client") } cltInstance := GetClientInstances()[0] defaultOptions := []retry.Option{retry.Delay(100 * time.Millisecond), retry.Timeout(200 * time.Second)} httpOpts := echo.CallOptions{ To: GetTarget(), Port: echo.Port{ Name: "http", }, HTTP: echo.HTTP{ Path: "/path", Method: "GET",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 03 21:02:05 UTC 2024 - 7.2K bytes - Viewed (0) -
src/runtime/time.go
// so reads are allowed when holding either of the two mutexes. // // The delay argument is nanotime() - t.when, meaning the delay in ns between // when the timer should have gone off and now. Normally that amount is // small enough not to matter, but for channel timers that are fed lazily, // the delay can be arbitrarily long; package time subtracts it out to make
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 14:36:24 UTC 2024 - 37.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/loop_test.go
}, attemptsExpected: 1, expectedIntervals: func(t *testing.T, delays []time.Duration, delaysRequested []time.Duration) { if reflect.DeepEqual(delays, []time.Duration{time.Second}) { return } if !reflect.DeepEqual(delays, delaysRequested) { t.Fatalf("sliding non-immediate should have equal delays: %v", cmp.Diff(delays, delaysRequested)) } }, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 02:48:08 UTC 2023 - 15.8K bytes - Viewed (0)