Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for Walks (0.04 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package schema
    
    // Visitor recursively walks through a structural schema.
    type Visitor struct {
    	// Structural is called on each Structural node in the schema, before recursing into
    	// the subtrees. It is allowed to mutate s. Return true if something has been changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/assign.go

    	if as.X != nil && as.Y != nil {
    		return convas(as, init)
    	}
    	return as
    }
    
    // walkAssignDotType walks an OAS2DOTTYPE node.
    func walkAssignDotType(n *ir.AssignListStmt, init *ir.Nodes) ir.Node {
    	walkExprListSafe(n.Lhs, init)
    	n.Rhs[0] = walkExpr(n.Rhs[0], init)
    	return n
    }
    
    // walkAssignFunc walks an OAS2FUNC node.
    func walkAssignFunc(init *ir.Nodes, n *ir.AssignListStmt) ir.Node {
    	init.Append(ir.TakeInit(n)...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:09:06 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/format.go

    		if len(check.pkgPathMap[pkg.name]) > 1 {
    			return strconv.Quote(pkg.path)
    		}
    		return pkg.name
    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. src/go/types/format.go

    		if len(check.pkgPathMap[pkg.name]) > 1 {
    			return strconv.Quote(pkg.path)
    		}
    		return pkg.name
    	}
    	return ""
    }
    
    // markImports recursively walks pkg and its imports, to record unique import
    // paths in pkgPathMap.
    func (check *Checker) markImports(pkg *Package) {
    	if check.seenPkgMap[pkg] {
    		return
    	}
    	check.seenPkgMap[pkg] = true
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. src/internal/trace/internal/oldtrace/parser_test.go

    			if err != ErrTimeOrder {
    				t.Errorf("unordered trace is not detected %v: %v", f.Name(), err)
    			}
    		default:
    			t.Errorf("unknown input file suffix: %v", f.Name())
    		}
    	}
    }
    
    // checkTrace walks over a good trace and makes a bunch of additional checks
    // that may not cause the parser to outright fail.
    func checkTrace(t *testing.T, ver int, res Trace) {
    	for i := 0; i < res.Events.Len(); i++ {
    		ev := res.Events.Ptr(i)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    		return baseIfStmt(path, enclosingIndex+1)
    	case *ast.ForStmt:
    		if expr.Init == enclosingStmt || expr.Post == enclosingStmt {
    			return expr
    		}
    	}
    	return enclosingStmt.(ast.Stmt)
    }
    
    // baseIfStmt walks up the if/else-if chain until we get to
    // the top of the current if chain.
    func baseIfStmt(path []ast.Node, index int) ast.Stmt {
    	stmt := path[index]
    	for i := index + 1; i < len(path); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/nowb.go

    	// visible during later analysis. It maps from the ODCLFUNC of
    	// the caller to a list of callees.
    	extraCalls map[*ir.Func][]nowritebarrierrecCall
    
    	// curfn is the current function during AST walks.
    	curfn *ir.Func
    }
    
    type nowritebarrierrecCall struct {
    	target *ir.Func // caller or callee
    	lineno src.XPos // line of call
    }
    
    // newNowritebarrierrecChecker creates a nowritebarrierrecChecker. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/path/filepath/path.go

    			}
    		} else {
    			err = walk(filename, fileInfo, walkFn)
    			if err != nil {
    				if !fileInfo.IsDir() || err != SkipDir {
    					return err
    				}
    			}
    		}
    	}
    	return nil
    }
    
    // WalkDir walks the file tree rooted at root, calling fn for each file or
    // directory in the tree, including root.
    //
    // All errors that arise visiting files and directories are filtered by fn:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/patches/patches.go

    		}
    		patches = append(patches, string(patchJSON))
    	}
    
    	return &patchSet{
    		targetName: targetName,
    		patchType:  patchType,
    		patches:    patches,
    	}, nil
    }
    
    // getPatchSetsFromPath walks a path, ignores sub-directories and non-patch files, and
    // returns a list of patchFile objects.
    func getPatchSetsFromPath(targetPath string, knownTargets []string, output io.Writer) ([]*patchSet, []string, []string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/best-practices/organizing_gradle_projects.adoc

    [[sec:settings_file]]
    == Always define a settings file
    
    Gradle tries to locate a `settings.gradle` (Groovy DSL) or a `settings.gradle.kts` (Kotlin DSL) file with every invocation of the build.
    For that purpose, the runtime walks the hierarchy of the directory tree up to the root directory.
    The algorithm stops searching as soon as it finds the settings file.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:16:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top