Lines Matching refs:visited
1959 visited := 0 // Number of finished visitors.
2029 visited++
2138 if visited != toVisit {
2139 panic(fmt.Errorf("parallelVisit ran %d visitors, expected %d", visited, toVisit))
2183 visited := make(map[*moduleInfo]bool) // modules that were already checked
2191 visited[module] = true
2226 if !visited[dep] {
2255 if !visited[module] {
2973 visited := make(map[*moduleInfo]bool)
2986 if allowDuplicates || !visited[dep.module] {
2992 if recurse && !visited[dep.module] {
2994 visited[dep.module] = true
3272 visited := make(map[Variable]bool) // variables that were already checked
3278 visited[v] = true
3289 if !visited[dep] {
3332 if !visited[v] {
3773 visited := make(map[Variable]bool)
3777 visited[v] = true
3782 if !visited[dep] {
3812 if !visited[v] {