- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 159 for tims (0.09 sec)
-
src/time/time.go
// that the methods [Time.GobDecode], [Time.UnmarshalBinary], [Time.UnmarshalJSON] and // [Time.UnmarshalText] are not concurrency-safe. // // Time instants can be compared using the [Time.Before], [Time.After], and [Time.Equal] methods. // The [Time.Sub] method subtracts two instants, producing a [Duration]. // The [Time.Add] method adds a Time and a Duration, producing a Time. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go
name: "foo", ttl: 3 * time.Second, }, }, kmsv1: true, }, { desc: "Install multiple healthz", config: "testdata/valid-configs/kms/multiple-providers.yaml", want: []healthChecker{ &kmsPluginProbe{ name: "foo", ttl: 3 * time.Second, }, &kmsPluginProbe{ name: "bar", ttl: 3 * time.Second, }, }, kmsv1: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 72.3K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
// Age the session ticket a bit, but not yet expired. serverConfig.Time = func() time.Time { return time.Now().Add(24*time.Hour + time.Minute) } testResumeState("OldSessionTicket", true) ticket = getTicket() // Expire the session ticket, which would force a full handshake. serverConfig.Time = func() time.Time { return time.Now().Add(24*8*time.Hour + time.Minute) } testResumeState("ExpiredSessionTicket", false)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
src/testing/testing.go
const arbitraryTimeout = 2 * time.Second var ( start time.Time nextSleep = 1 * time.Millisecond ) for { err := os.RemoveAll(path) if !isWindowsRetryable(err) { return err } if start.IsZero() { start = time.Now() } else if d := time.Since(start) + nextSleep; d >= arbitraryTimeout { return err } time.Sleep(nextSleep)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/cmd/go/internal/test/test.go
testKillTimeout = 100 * 365 * 24 * time.Hour // backup alarm; defaults to about a century if no timeout is set testWaitDelay time.Duration // how long to wait for output to close after a test binary exits; zero means unlimited testCacheExpire time.Time // ignore cached test results before this time
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 71.9K bytes - Viewed (0) -
pkg/kubelet/pod_workers_test.go
if pod.Labels == nil { pod.Labels = make(map[string]string) } pod.Labels[label] = value return pod } withDeletionTimestamp := func(pod *v1.Pod, ts time.Time, gracePeriod *int64) *v1.Pod { pod.DeletionTimestamp = &metav1.Time{Time: ts} pod.DeletionGracePeriodSeconds = gracePeriod return pod } intp := func(i int64) *int64 { return &i }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 75.6K bytes - Viewed (0) -
src/time/format.go
// // The remainder of this comment describes the handling of time zones. // // In the absence of a time zone indicator, Parse returns a time in UTC. // // When parsing a time with a zone offset like -0700, if the offset corresponds // to a time zone used by the current location ([Local]), then Parse uses that // location and zone in the returned time. Otherwise it records the time as
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
src/crypto/tls/tls_test.go
if err = srv.SetDeadline(time.Now()); err != nil { t.Fatalf("SetDeadline(time.Now()) err: %v", err) } if _, err = srv.Write([]byte("should fail")); err == nil { t.Fatal("Write should have timed out") } // Clear deadline and make sure it still times out if err = srv.SetDeadline(time.Time{}); err != nil { t.Fatalf("SetDeadline(time.Time{}) err: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 60.5K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
deadline = time.Now().Add(1 * time.Second) } else { deadline = time.Now().Add(10 * time.Second) } } // If we're running a long test, start with a long duration // for tests that try to make sure something *doesn't* happen. duration := 5 * time.Second if testing.Short() { duration = 100 * time.Millisecond }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
// Scheme: scheme.WebSocket, // Count: 4, // Timeout: time.Second * 2, //}, { Port: echo.Port{Name: "tcp"}, Scheme: scheme.TCP, Count: 1, }, //{ // Port: echo.Port{Name: "grpc"}, // Scheme: scheme.GRPC, // Count: 4, // Timeout: time.Second * 2, //}, //{ // Port: echo.Port{Name: "https"}, // Scheme: scheme.HTTPS,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0)