- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for doSleep (0.14 sec)
-
internal/ringbuffer/ring_buffer_test.go
} debugln := func(args ...interface{}) { if debug { fmt.Println(args...) } } // Inject random reader/writer sleeps. const maxSleep = int(1 * time.Millisecond) doSleep := !testing.Short() rb := New(4 << 10).SetBlocking(true) // Reader var readErr error var wg sync.WaitGroup wg.Add(1) go func() { readRng := rand.New(rand.NewSource(1)) defer wg.Done()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 00:11:04 UTC 2024 - 26.8K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/gprof_c.c
// Functions exported from Go. extern void GoSleep(); struct cgoContextArg { uintptr_t context; }; void gprofCgoContext(void *arg) { ((struct cgoContextArg*)arg)->context = 1; } void gprofCgoTraceback(void *arg) { // spend some time here so the P is more likely to be retaken. volatile int i; for (i = 0; i < 123456789; i++); } void CallGoSleep() { GoSleep();
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 18:32:21 UTC 2021 - 700 bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/gprof.go
go C.CallGoSleep() go C.CallGoSleep() go C.CallGoSleep() time.Sleep(1 * time.Second) prof := pprof.Lookup("goroutine") prof.WriteTo(io.Discard, 1) fmt.Println("OK") } //export GoSleep func GoSleep() { time.Sleep(time.Hour)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 11 15:34:02 UTC 2021 - 868 bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
EvGoStop: {"GoStop", 5, true, []string{}, nil}, EvGoSched: {"GoSched", 5, true, []string{}, nil}, EvGoPreempt: {"GoPreempt", 5, true, []string{}, nil}, EvGoSleep: {"GoSleep", 5, true, []string{}, nil}, EvGoBlock: {"GoBlock", 5, true, []string{}, nil}, EvGoUnblock: {"GoUnblock", 5, true, []string{"g", "seq"}, nil}, // in 1.5 format it was {"g"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
RELEASE.md
Chang, u2takey, Utkarsh Upadhyay, Vadim Markovtsev, voegtlel, Wai Hon Law, wangsiyu, Wenhao Hu, wenhao.hu, William D. Irons, Yan Facai (颜发才), Yanbo Liang, Yihong Wang, Yilei (Dolee) Yang, Yong Tang, Yuan (Terry) Tang # Release 1.8.0 ## Major Features And Improvements * Can now pass `tf.contrib.distribute.MirroredStrategy()` to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0)