- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 875 for Millisecond (0.48 sec)
-
test/fixedbugs/issue8158.go
// license that can be found in the LICENSE file. package main import ( "runtime" "time" ) func main() { c := make(chan bool, 1) go f1(c) <-c time.Sleep(10 * time.Millisecond) go f2(c) <-c } func f1(done chan bool) { defer func() { recover() done <- true runtime.Goexit() // left stack-allocated Panic struct on gp->panic stack }() panic("p") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 767 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) -
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) -
pilot/pkg/config/kube/gateway/controller_test.go
ns.Create(ns1) s.AssertEmpty(t, time.Millisecond*10) ns.Create(ns2) s.AssertEmpty(t, time.Millisecond*10) ns1.Annotations = map[string]string{"foo": "bar"} ns.Update(ns1) s.AssertEmpty(t, time.Millisecond*10) ns2.Annotations = map[string]string{"foo": "bar"} ns.Update(ns2) s.AssertEmpty(t, time.Millisecond*10) ns1.Labels["bar"] = "foo" ns.Update(ns1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 16:47:06 UTC 2024 - 5.6K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/wait.go
waitCmd.PersistentFlags().IntVar(&requestTimeoutMillis, "requestTimeoutMillis", 500, "number of milliseconds to wait for response") waitCmd.PersistentFlags().IntVar(&periodMillis, "periodMillis", 500, "number of milliseconds to wait between attempts") waitCmd.PersistentFlags().StringVar(&url, "url", "http://localhost:15021/healthz/ready", "URL to use in requests")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 2.5K bytes - Viewed (0) -
test/gcstring.go
) type T struct { ptr **int pad [120]byte } var things []interface{} func main() { setup() runtime.GC() runtime.GC() time.Sleep(10*time.Millisecond) runtime.GC() runtime.GC() time.Sleep(10*time.Millisecond) } func setup() { var Ts []interface{} buf := make([]byte, 128) for i := 0; i < 10000; i++ { s := string(buf) t := &T{ptr: new(*int)}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 872 bytes - Viewed (0) -
pkg/sleep/sleep_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Sep 07 14:36:37 UTC 2022 - 895 bytes - Viewed (0) -
src/net/tcpsockopt_solaris.go
if idle == 0 { idle = defaultTCPKeepAliveIdle } // The kernel expects milliseconds so round to next highest // millisecond. if idle > 0 { msecs := int(roundDurationUp(idle, time.Millisecond)) err := fd.pfd.SetsockoptInt(syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE_THRESHOLD, msecs) runtime.KeepAlive(fd) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 3.3K bytes - Viewed (0) -
pkg/cache/cache_test.go
func testCacheExpiration(c ExpiringCache, evictExpired func(time.Time), t *testing.T) { now := time.Now() c.SetWithExpiration("EARLY", "123", 10*time.Millisecond) c.SetWithExpiration("LATER", "123", 20*time.Millisecond+123*time.Nanosecond) evictExpired(now) s := c.Stats() _, ok := c.Get("EARLY") if !ok { t.Errorf("Got no value, expected EARLY to be present") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:49 UTC 2023 - 8.5K bytes - Viewed (0) -
src/os/signal/signal_plan9_test.go
// The first SIGHUP should be waiting for us on c. waitSig(t, c, syscall.Note("hangup")) } func TestStress(t *testing.T) { dur := 3 * time.Second if testing.Short() { dur = 100 * time.Millisecond } defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(4)) done := make(chan bool) finished := make(chan bool) go func() { sig := make(chan os.Signal, 1) Notify(sig, syscall.Note("alarm")) defer Stop(sig)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Mar 14 17:56:50 UTC 2021 - 3.6K bytes - Viewed (0)