- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 456 for Millisecond (0.2 sec)
-
pilot/pkg/model/jwks_resolver_test.go
} } func TestJwtPubKeyEvictionForNotUsed(t *testing.T) { r := NewJwksResolver( 100*time.Millisecond, /*EvictionDuration*/ 2*time.Millisecond, /*RefreshInterval*/ 2*time.Millisecond, /*RefreshIntervalOnFailure*/ testRetryInterval, ) defer r.Close() ms := startMockServer(t) defer ms.Stop()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 09:47:21 UTC 2024 - 19.2K bytes - Viewed (0) -
src/cmd/trace/testdata/testprog/main.go
allocHog(25 * time.Millisecond) // checkProcStartStop relies on this. var wg2 sync.WaitGroup for i := 0; i < runtime.GOMAXPROCS(0); i++ { wg2.Add(1) go func() { defer wg2.Done() cpuHog(50 * time.Millisecond) }() } wg2.Wait() // checkSyscalls relies on this. done := make(chan error) go blockingSyscall(50*time.Millisecond, done) if err := <-done; err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 17:15:58 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/gomaxprocs.go
go func() { for { runtime.GC() time.Sleep(1 * time.Millisecond) } }() // Start tracing. if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) } // Run GOMAXPROCS a bunch of times, up and down. for i := 1; i <= 16; i *= 2 { runtime.GOMAXPROCS(i) time.Sleep(1 * time.Millisecond) } for i := 16; i >= 1; i /= 2 { runtime.GOMAXPROCS(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 967 bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress.go
var tmp [1]byte rp.Read(tmp[:]) <-done wg.Done() }() time.Sleep(time.Millisecond) // give the goroutine above time to block if err := trace.Start(os.Stdout); err != nil { log.Fatalf("failed to start tracing: %v", err) } defer trace.Stop() procs := runtime.GOMAXPROCS(10) time.Sleep(50 * time.Millisecond) // test proc stop/start events go func() { runtime.LockOSThread() for { select {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/stress-start-stop.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.7K bytes - Viewed (0) -
src/time/sleep_test.go
logErrs := func() { for _, e := range errs { t.Log(e) } } for i := 0; i < 5; i++ { AfterFunc(100*Millisecond, func() {}) t0 := newTimer(50 * Millisecond) c1 := make(chan bool, 1) t1 := AfterFunc(150*Millisecond, func() { c1 <- true }) c2 := After(200 * Millisecond) if !t0.Stop() { errs = append(errs, "failed to stop event 0") continue } if !t1.Stop() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:33:57 UTC 2024 - 22.5K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/gc-stress.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.5K bytes - Viewed (0) -
src/net/tcpsockopt_windows.go
} if interval == 0 { interval = defaultTCPKeepAliveInterval } // The kernel expects milliseconds so round to next highest // millisecond. tcpKeepAliveIdle := uint32(roundDurationUp(idle, time.Millisecond)) tcpKeepAliveInterval := uint32(roundDurationUp(interval, time.Millisecond)) ka := syscall.TCPKeepalive{ OnOff: 1, Time: tcpKeepAliveIdle, Interval: tcpKeepAliveInterval, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:35 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/ioutil/ioutil_test.go
work := NewDeadlineWorker(500 * time.Millisecond) err := work.Run(func() error { time.Sleep(600 * time.Millisecond) return nil }) if err != context.DeadlineExceeded { t.Error("DeadlineWorker shouldn't be successful - should return context.DeadlineExceeded") } err = work.Run(func() error { time.Sleep(450 * time.Millisecond) return nil }) if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 22 23:07:14 UTC 2024 - 5.5K bytes - Viewed (0) -
internal/kms/kms.go
} var defaultLatencyBuckets = []time.Duration{ 10 * time.Millisecond, 50 * time.Millisecond, 100 * time.Millisecond, 250 * time.Millisecond, 500 * time.Millisecond, 1000 * time.Millisecond, // 1s 1500 * time.Millisecond, 3000 * time.Millisecond, 5000 * time.Millisecond, 10000 * time.Millisecond, // 10s } // KMS is a connection to a key management system.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 11.4K bytes - Viewed (0)