Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 590 for walkP (0.05 sec)

  1. 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)
  2. src/cmd/go/internal/fsys/fsys.go

    		if err := walk(filename, fi, walkFn); err != nil {
    			if !fi.IsDir() || err != filepath.SkipDir {
    				return err
    			}
    		}
    	}
    	return nil
    }
    
    // Walk walks the file tree rooted at root, calling walkFn for each file or
    // directory in the tree, including root.
    func Walk(root string, walkFn filepath.WalkFunc) error {
    	Trace("Walk", root)
    	info, err := Lstat(root)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/testdata/script/mod_proxy_list.txt

    stderr '404 Not Found'
    
    # get should walk down the proxy list past 404 and 410 responses.
    env GOPROXY=$proxy/404,$proxy/410,$proxy
    go get rsc.io/quote@v1.1.0
    
    # get should not walk past other 4xx errors if proxies are separated with ','.
    env GOPROXY=$proxy/403,$proxy
    ! go get rsc.io/quote@v1.2.0
    stderr 'reading.*/403/rsc.io/.*: 403 Forbidden'
    
    # get should not walk past non-4xx errors if proxies are separated with ','.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  5. src/path/filepath/example_unix_walk_test.go

    	}
    
    	return tmpDir, nil
    }
    
    func ExampleWalk() {
    	tmpDir, err := prepareTestDirTree("dir/to/walk/skip")
    	if err != nil {
    		fmt.Printf("unable to create test dir tree: %v\n", err)
    		return
    	}
    	defer os.RemoveAll(tmpDir)
    	os.Chdir(tmpDir)
    
    	subDirToSkip := "skip"
    
    	fmt.Println("On Unix:")
    	err = filepath.Walk(".", func(path string, info fs.FileInfo, err error) error {
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/go/chdir_test.go

    	script, err := os.ReadFile("testdata/script/chdir.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	var walk func(string, *base.Command)
    	walk = func(name string, cmd *base.Command) {
    		if len(cmd.Commands) > 0 {
    			for _, sub := range cmd.Commands {
    				walk(name+" "+sub.Name(), sub)
    			}
    			return
    		}
    		if !cmd.Runnable() {
    			return
    		}
    		if cmd.CustomFlags {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 03 12:16:35 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/TypeMetadataWalker.java

    import java.lang.annotation.Annotation;
    
    /**
     * A generalized type metadata walker for traversing annotated types and instances using their {@link TypeMetadata}.
     *
     * During the walk we first visit the root (the type or instance passed to {@link #walk(Object, TypeMetadataVisitor)},
     * and then the properties are visited in depth-first order.
     * Nested properties are marked with a nested annotation and are inspected for child properties that can be
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

        def "type walker should correctly visit empty type"() {
            given:
            def visitor = new TestStaticMetadataVisitor()
    
            when:
            TypeMetadataWalker.typeWalker(typeMetadataStore, TestNested.class).walk(TypeToken.of(MyEmptyTask), visitor)
    
            then:
            visitor.all == ["null::MyEmptyTask"]
        }
    
        def "instance walker should correctly visit instance with null values"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  10. cmd/preferredimports/preferredimports.go

    	var files []*ast.File
    	for _, f := range fs {
    		files = append(files, f)
    	}
    	return files
    }
    
    type collector struct {
    	dirs  []string
    	regex *regexp.Regexp
    }
    
    // handlePath walks the filesystem recursively, collecting directories,
    // ignoring some unneeded directories (hidden/vendored) that are handled
    // specially later.
    func (c *collector) handlePath(path string, info os.FileInfo, err error) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:44 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top