testing.common.hasSub (field)
6 uses
testing (current package)
benchmark.go#L241: if atomic.LoadInt32(&b.hasSub) != 0 || b.finished {
benchmark.go#L617: atomic.StoreInt32(&b.hasSub, 1)
benchmark.go#L649: atomic.StoreInt32(&sub.hasSub, 1)
testing.go#L402: hasSub int32 // Written atomically.
testing.go#L1181: if t.parent != nil && atomic.LoadInt32(&t.hasSub) == 0 {
testing.go#L1206: atomic.StoreInt32(&t.hasSub, 1)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |