SYMBOL INDEX (57 symbols across 4 files) FILE: examples/sum.go function main (line 10) | func main() { FILE: mapreduce.go constant defaultWorkers (line 11) | defaultWorkers = 16 constant minWorkers (line 12) | minWorkers = 1 type ForEachFunc (line 24) | type ForEachFunc type GenerateFunc (line 26) | type GenerateFunc type MapFunc (line 28) | type MapFunc type MapperFunc (line 31) | type MapperFunc type ReducerFunc (line 34) | type ReducerFunc type VoidReducerFunc (line 37) | type VoidReducerFunc type Option (line 39) | type Option type mapperContext (line 41) | type mapperContext struct type mapReduceOptions (line 51) | type mapReduceOptions struct type Writer (line 57) | type Writer interface function Finish (line 63) | func Finish(fns ...func() error) error { function FinishVoid (line 81) | func FinishVoid(fns ...func()) { function ForEach (line 96) | func ForEach[T any](generate GenerateFunc[T], mapper ForEachFunc[T], opt... function MapReduce (line 129) | func MapReduce[T, U, V any](generate GenerateFunc[T], mapper MapperFunc[... function MapReduceChan (line 137) | func MapReduceChan[T, U, V any](source <-chan T, mapper MapperFunc[T, U]... function mapReduceWithPanicChan (line 144) | func mapReduceWithPanicChan[T, U, V any](source <-chan T, panicChan *onc... function MapReduceVoid (line 228) | func MapReduceVoid[T, U any](generate GenerateFunc[T], mapper MapperFunc... function WithContext (line 241) | func WithContext(ctx context.Context) Option { function WithWorkers (line 248) | func WithWorkers(workers int) Option { function buildOptions (line 258) | func buildOptions(opts ...Option) *mapReduceOptions { function buildSource (line 267) | func buildSource[T any](generate GenerateFunc[T], panicChan *onceChan) c... function drain (line 284) | func drain[T any](channel <-chan T) { function executeMappers (line 290) | func executeMappers[T, U any](mCtx mapperContext[T, U]) { function newOptions (line 331) | func newOptions() *mapReduceOptions { function once (line 338) | func once(fn func(error)) func(error) { type guardedWriter (line 347) | type guardedWriter struct function newGuardedWriter (line 353) | func newGuardedWriter[T any](ctx context.Context, channel chan<- T, done... method Write (line 361) | func (gw guardedWriter[T]) Write(v T) { type onceChan (line 372) | type onceChan struct method write (line 377) | func (oc *onceChan) write(val any) { FILE: mapreduce_fuzz_test.go function FuzzMapReduce (line 18) | func FuzzMapReduce(f *testing.F) { FILE: mapreduce_test.go function init (line 19) | func init() { function TestFinish (line 23) | func TestFinish(t *testing.T) { function TestFinishNone (line 42) | func TestFinishNone(t *testing.T) { function TestFinishVoidNone (line 48) | func TestFinishVoidNone(t *testing.T) { function TestFinishErr (line 54) | func TestFinishErr(t *testing.T) { function TestFinishVoid (line 72) | func TestFinishVoid(t *testing.T) { function TestForEach (line 87) | func TestForEach(t *testing.T) { function TestGeneratePanic (line 137) | func TestGeneratePanic(t *testing.T) { function TestMapperPanic (line 150) | func TestMapperPanic(t *testing.T) { function TestMapReduce (line 171) | func TestMapReduce(t *testing.T) { function TestMapReduceWithReduerWriteMoreThanOnce (line 285) | func TestMapReduceWithReduerWriteMoreThanOnce(t *testing.T) { function TestMapReduceVoid (line 303) | func TestMapReduceVoid(t *testing.T) { function TestMapReduceVoidWithDelay (line 383) | func TestMapReduceVoidWithDelay(t *testing.T) { function TestMapReducePanic (line 407) | func TestMapReducePanic(t *testing.T) { function TestMapReducePanicOnce (line 424) | func TestMapReducePanicOnce(t *testing.T) { function TestMapReducePanicBothMapperAndReducer (line 445) | func TestMapReducePanicBothMapperAndReducer(t *testing.T) { function TestMapReduceVoidCancel (line 460) | func TestMapReduceVoidCancel(t *testing.T) { function TestMapReduceVoidCancelWithRemains (line 482) | func TestMapReduceVoidCancelWithRemains(t *testing.T) { function TestMapReduceWithoutReducerWrite (line 507) | func TestMapReduceWithoutReducerWrite(t *testing.T) { function TestMapReduceVoidPanicInReducer (line 525) | func TestMapReduceVoidPanicInReducer(t *testing.T) { function TestForEachWithContext (line 544) | func TestForEachWithContext(t *testing.T) { function TestMapReduceWithContext (line 561) | func TestMapReduceWithContext(t *testing.T) { function BenchmarkMapReduce (line 587) | func BenchmarkMapReduce(b *testing.B) {