- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testPoolDequeue (0.1 sec)
-
src/sync/pool_test.go
} } done <- true }() } for i := 0; i < P; i++ { <-done } } func TestPoolDequeue(t *testing.T) { testPoolDequeue(t, NewPoolDequeue(16)) } func TestPoolChain(t *testing.T) { testPoolDequeue(t, NewPoolChain()) } func testPoolDequeue(t *testing.T, d PoolDequeue) { const P = 10 var N int = 2e6 if testing.Short() { N = 1e3 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8K bytes - Viewed (0)