- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRaceChanItselfLen (0.16 sec)
-
src/runtime/race/testdata/chan_test.go
func TestRaceChanItselfClose(t *testing.T) { compl := make(chan bool, 1) c := make(chan int) go func() { close(c) compl <- true }() c = make(chan int) <-compl } func TestRaceChanItselfLen(t *testing.T) { compl := make(chan bool, 1) c := make(chan int) go func() { _ = len(c) compl <- true }() c = make(chan int) <-compl }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 19:55:29 UTC 2023 - 11K bytes - Viewed (0)