go/src/iter/pull_test.go

func count(n int) Seq[int] {}

func squares(n int) Seq2[int, int64] {}

func TestPull(t *testing.T) {}

func TestPull2(t *testing.T) {}

// stableNumGoroutine is like NumGoroutine but tries to ensure stability of
// the value by letting any exiting goroutines finish exiting.
func stableNumGoroutine() int {}

func TestPullDoubleNext(t *testing.T) {}

var nextSlot

func doDoubleNext() Seq[int] {}

func TestPullDoubleNext2(t *testing.T) {}

var nextSlot2

func doDoubleNext2() Seq2[int, int] {}

func TestPullDoubleYield(t *testing.T) {}

func storeYield() Seq[int] {}

var yieldSlot

func TestPullDoubleYield2(t *testing.T) {}

func storeYield2() Seq2[int, int] {}

var yieldSlot2

func TestPullPanic(t *testing.T) {}

func panicSeq() Seq[int] {}

func panicCleanupSeq() Seq[int] {}

func TestPull2Panic(t *testing.T) {}

func panicSeq2() Seq2[int, int] {}

func panicCleanupSeq2() Seq2[int, int] {}

func panicsWith(v any, f func()) (panicked bool) {}

func TestPullGoexit(t *testing.T) {}

func goexitSeq() Seq[int] {}

func goexitCleanupSeq() Seq[int] {}

func TestPull2Goexit(t *testing.T) {}

func goexitSeq2() Seq2[int, int] {}

func goexitCleanupSeq2() Seq2[int, int] {}

func goexits(t *testing.T, f func()) bool {}

func TestPullImmediateStop(t *testing.T) {}

func TestPull2ImmediateStop(t *testing.T) {}