depth

package
v2.0.0-...-cfe7cf8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Fanout determines the number of children each branch will have.
	Fanout = 1 << FanoutBits
)
View Source
const FanoutBits = 3

Variables

This section is empty.

Functions

This section is empty.

Types

type Gauge

type Gauge int
var (

	// NonParallel is a Gauge that never triggers parallel behaviour.
	NonParallel Gauge = -1
)

func NewGauge

func NewGauge(count int) Gauge

func (Gauge) Parallel

func (pd Gauge) Parallel(depth int, mask masker.Masker, f func(i int) (bool, int)) (_ bool, matches int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL