Lines Matching refs:pauseSpec
1867 visit(modules []*moduleInfo, visit func(*moduleInfo, chan<- pauseSpec) bool)
1880 func (unorderedVisitorImpl) visit(modules []*moduleInfo, visit func(*moduleInfo, chan<- pauseSpec) …
1898 func (bottomUpVisitorImpl) visit(modules []*moduleInfo, visit func(*moduleInfo, chan<- pauseSpec) b…
1916 func (topDownVisitorImpl) visit(modules []*moduleInfo, visit func(*moduleInfo, chan<- pauseSpec) bo…
1932 type pauseSpec struct { struct
1948 visit func(module *moduleInfo, pause chan<- pauseSpec) bool) []error {
1952 pauseCh := make(chan pauseSpec)
1956 var unpauseBacklog []pauseSpec // Visitors that are ready to unpause but backlogged due to limit.
1961 pauseMap := make(map[*moduleInfo][]pauseSpec)
1986 unpauseOrBacklog := func(pauseSpec pauseSpec) {
1989 close(pauseSpec.unpause)
1991 unpauseBacklog = append(unpauseBacklog, pauseSpec)
2052 case pauseSpec := <-pauseCh:
2053 if pauseSpec.until.waitingCount == -1 {
2055 close(pauseSpec.unpause)
2058 pauseMap[pauseSpec.until] = append(pauseMap[pauseSpec.until], pauseSpec)
2127 for _, pauseSpec := range pauseMap[module] {
2128 cycle := check(pauseSpec.paused, pauseSpec.until)
2515 visit := func(module *moduleInfo, pause chan<- pauseSpec) bool {
2727 func(m *moduleInfo, pause chan<- pauseSpec) bool {
2800 func(module *moduleInfo, pause chan<- pauseSpec) bool {