- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for XTestCustomContextGoroutines (0.44 sec)
-
src/context/context_test.go
} type myCtx struct { Context } type myDoneCtx struct { Context } func (d *myDoneCtx) Done() <-chan struct{} { c := make(chan struct{}) return c } func XTestCustomContextGoroutines(t testingT) { g := goroutines.Load() checkNoGoroutine := func() { t.Helper() now := goroutines.Load() if now != g { t.Fatalf("%d goroutines created", now-g) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 19 19:13:01 UTC 2023 - 7.7K bytes - Viewed (0)