Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 480 for walkFn (0.12 sec)

  1. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterAsDirectoryWalkerTest.groovy

            fileTree.visit(fileVisitor)
            visited
        }
    
        @Override
        protected List<String> walkDirForPaths(DirectorySnapshotter walker, File rootDir, PatternSet patternSet) {
            def snapshot = walker.snapshot(rootDir.absolutePath, directoryWalkerPredicate(patternSet), [:], completeSnapshotConsumer)
            return SnapshotVisitorUtil.getAbsolutePaths(snapshot)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. src/go/types/mono.go

    	var stack []int
    	seen := make([]bool, len(check.mono.vertices))
    
    	// We have a path that contains a cycle and ends at v, but v may
    	// only be reachable from the cycle, not on the cycle itself. We
    	// start by walking backwards along the path until we find a vertex
    	// that appears twice.
    	for !seen[v] {
    		stack = append(stack, v)
    		seen[v] = true
    		v = check.mono.edges[check.mono.vertices[v].pre].src
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/deadstore.go

    		}
    
    		// Walk backwards looking for dead stores. Keep track of shadowed addresses.
    		// A "shadowed address" is a pointer, offset, and size describing a memory region that
    		// is known to be written. We keep track of shadowed addresses in the shadowed map,
    		// mapping the ID of the address to a shadowRange where future writes will happen.
    		// Since we're walking backwards, writes to a shadowed region are useless,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. platforms/software/version-control/src/main/java/org/gradle/vcs/git/internal/GitVersionControlSystem.java

                }
            }
        }
    
        private static void updateSubModules(Git git) throws IOException, GitAPIException {
            try (SubmoduleWalk walker = SubmoduleWalk.forIndex(git.getRepository())) {
                while (walker.next()) {
                    try (Repository submodule = walker.getRepository()) {
                        if (submodule != null) {
                            Git submoduleGit = Git.wrap(submodule);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 14:54:52 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/mono.go

    	var stack []int
    	seen := make([]bool, len(check.mono.vertices))
    
    	// We have a path that contains a cycle and ends at v, but v may
    	// only be reachable from the cycle, not on the cycle itself. We
    	// start by walking backwards along the path until we find a vertex
    	// that appears twice.
    	for !seen[v] {
    		stack = append(stack, v)
    		seen[v] = true
    		v = check.mono.edges[check.mono.vertices[v].pre].src
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/walk/builtin.go

    	r := ir.NewBlockStmt(base.Pos, nil)
    	r.List = calls
    	return walkStmt(typecheck.Stmt(r))
    }
    
    // walkRecoverFP walks an ORECOVERFP node.
    func walkRecoverFP(nn *ir.CallExpr, init *ir.Nodes) ir.Node {
    	return mkcall("gorecover", nn.Type(), init, walkExpr(nn.Args[0], init))
    }
    
    // walkUnsafeData walks an OUNSAFESLICEDATA or OUNSAFESTRINGDATA expression.
    func walkUnsafeData(n *ir.UnaryExpr, init *ir.Nodes) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      // for such regions to a new unique-id. This is required because walk() walks
      // the attached regions first before visiting the op, so there is no
      // opportunity during the walk to seed region arguments. Also note that walk
      // eventually also visits the Op on which the walk() is called, so make sure
      // we do not overwrite the function argument mapping here.
      func_op.walk([&](Operation* op) {
        if (op == func_op) return;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/nilcheck.go

    		op    walkState
    	}
    
    	work := make([]bp, 0, 256)
    	work = append(work, bp{block: f.Entry})
    
    	// map from value ID to known non-nil version of that value ID
    	// (in the current dominator path being walked). This slice is updated by
    	// walkStates to maintain the known non-nil values.
    	// If there is extrinsic information about non-nil-ness, this map
    	// points a value to itself. If a value is known non-nil because we
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. src/go/ast/walk_test.go

    package ast_test
    
    import (
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"testing"
    )
    
    func TestPreorderBreak(t *testing.T) {
    	// This test checks that Preorder correctly handles a break statement while
    	// in the middle of walking a node. Previously, incorrect handling of the
    	// boolean returned by the yield function resulted in the iterator calling
    	// yield for sibling nodes even after yield had returned false. With that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
Back to top