Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 264 for walkFn (0.51 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/DetermineExecutionPlanAction.java

                        if (visitingNodes.containsEntry(successor, currentSegment)) {
                            if (!walkedShouldRunAfterEdges.isEmpty()) {
                                //remove the last walked should run after edge and restore state from before walking it
                                GraphEdge toBeRemoved = walkedShouldRunAfterEdges.pop();
                                // Should run after edges only exist between tasks, so this cast is safe
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  2. src/go/parser/resolver.go

    				} else {
    					ast.Walk(r, kv.Key)
    				}
    				ast.Walk(r, kv.Value)
    			} else {
    				ast.Walk(r, e)
    			}
    		}
    
    	case *ast.InterfaceType:
    		r.openScope(n.Pos())
    		defer r.closeScope()
    		r.walkFieldList(n.Methods, ast.Fun)
    
    	// Statements
    	case *ast.LabeledStmt:
    		r.declare(n, nil, r.labelScope, ast.Lbl, n.Label)
    		ast.Walk(r, n.Stmt)
    
    	case *ast.AssignStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/convert.go

    	// pointers, usually for alignment."
    	var originals []ir.Node
    	var walk func(n ir.Node)
    	walk = func(n ir.Node) {
    		switch n.Op() {
    		case ir.OADD:
    			n := n.(*ir.BinaryExpr)
    			walk(n.X)
    			walk(n.Y)
    		case ir.OSUB, ir.OANDNOT:
    			n := n.(*ir.BinaryExpr)
    			walk(n.X)
    		case ir.OCONVNOP:
    			n := n.(*ir.ConvExpr)
    			if n.X.Type().IsUnsafePtr() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 17:28:22 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  4. src/go/types/stdlib_test.go

    	return filenames, nil
    }
    
    func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...any)) {
    	w := walker{pkgh, errh}
    	w.walk(dir)
    }
    
    type walker struct {
    	pkgh func(dir string, filenames []string)
    	errh func(args ...any)
    }
    
    func (w *walker) walk(dir string) {
    	files, err := os.ReadDir(dir)
    	if err != nil {
    		w.errh(err)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/stdlib_test.go

    }
    
    func walkPkgDirs(dir string, pkgh func(dir string, filenames []string), errh func(args ...interface{})) {
    	w := walker{pkgh, errh}
    	w.walk(dir)
    }
    
    type walker struct {
    	pkgh func(dir string, filenames []string)
    	errh func(args ...any)
    }
    
    func (w *walker) walk(dir string) {
    	files, err := os.ReadDir(dir)
    	if err != nil {
    		w.errh(err)
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/graph/CachingDirectedGraphWalkerTest.groovy

            0 * _._
    
            when:
            walker.add(1)
            def values = walker.findValues()
    
            then:
            values == ['1', '2', '3', '4'] as Set
    
            when:
            walker.add(2)
            values = walker.findValues()
    
            then:
            values == ['1', '2', '3', '4'] as Set
    
            when:
            walker.add(3)
            values = walker.findValues()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/stackcheck.go

    // target of an indirect/closure call.
    const stackCheckIndirect loader.Sym = ^loader.Sym(0)
    
    // doStackCheck walks the call tree to check that there is always
    // enough stack space for call frames, especially for a chain of
    // nosplit functions.
    //
    // It walks all functions to accumulate the number of bytes they can
    // grow the stack by without a split check and checks this against the
    // limit.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 16:49:08 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/rewrite.go

    	// Files and packages
    	case *ast.File:
    		a.apply(n, "Doc", nil, n.Doc)
    		a.apply(n, "Name", nil, n.Name)
    		a.applyList(n, "Decls")
    		// Don't walk n.Comments; they have either been walked already if
    		// they are Doc comments, or they can be easily walked explicitly.
    
    	case *ast.Package:
    		// collect and sort names for reproducible behavior
    		var names []string
    		for name := range n.Files {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/ast.go

    		f.walk(n.Body, ctxTypeSwitch, visit)
    	case *ast.CommClause:
    		f.walk(n.Comm, ctxStmt, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.SelectStmt:
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.ForStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(&n.Cond, ctxExpr, visit)
    		f.walk(n.Post, ctxStmt, visit)
    		f.walk(n.Body, ctxStmt, visit)
    	case *ast.RangeStmt:
    		f.walk(&n.Key, ctxExpr, visit)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/walk/switch.go

    	"cmd/compile/internal/types"
    	"cmd/internal/obj"
    	"cmd/internal/src"
    )
    
    // walkSwitch walks a switch statement.
    func walkSwitch(sw *ir.SwitchStmt) {
    	// Guard against double walk, see #25776.
    	if sw.Walked() {
    		return // Was fatal, but eliminating every possible source of double-walking is hard
    	}
    	sw.SetWalked(true)
    
    	if sw.Tag != nil && sw.Tag.Op() == ir.OTYPESW {
    		walkSwitchType(sw)
    	} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top