Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 590 for walkP (0.04 sec)

  1. src/cmd/cgo/ast_go118.go

    	switch n := x.(type) {
    	default:
    		error_(token.NoPos, "unexpected type %T in walk", x)
    		panic("unexpected type")
    
    	case *ast.IndexListExpr:
    		f.walk(&n.X, ctxExpr, visit)
    		f.walk(n.Indices, ctxExpr, visit)
    	}
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return n.TypeParams
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 730 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/groovy/build.gradle

        scm 'some:unresolved:2.5'
    }
    
    // tag::walk-task[]
    tasks.register('walkDependencyGraph', DependencyGraphWalk) {
        dependencies = configurations.scm.incoming
    }
    
    abstract class DependencyGraphWalk extends DefaultTask {
    
        @Input
        abstract Property<ResolvableDependencies> getDependencies()
    
        @TaskAction
        void walk() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/name_anonymous_iterators.cc

      return count;
    }
    
    void NameAnonymousIteratorsPass::runOnOperation() {
      int count = 1;
      getOperation().walk(
          [&](TF::AnonymousIteratorOp op) { count = replace(op, count); });
      getOperation().walk(
          [&](TF::AnonymousIteratorV2Op op) { count = replace(op, count); });
      getOperation().walk(
          [&](TF::AnonymousIteratorV3Op op) { count = replace(op, count); });
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/kotlin/build.gradle.kts

        scm("some:unresolved:2.5")
    }
    
    // tag::walk-task[]
    tasks.register<DependencyGraphWalk>("walkDependencyGraph") {
        dependencies = configurations["scm"].incoming
    }
    
    abstract class DependencyGraphWalk: DefaultTask() {
    
        @get:Input
        abstract val dependencies: Property<ResolvableDependencies>
    
        @TaskAction
        fun walk() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  5. src/cmd/go/internal/fsys/fsys_test.go

    			initOverlay(t, tc.overlay)
    
    			var got []file
    			Walk(tc.root, func(path string, info fs.FileInfo, err error) error {
    				got = append(got, file{path, info.Name(), info.Size(), info.Mode(), info.IsDir()})
    				return nil
    			})
    
    			if len(got) != len(tc.wantFiles) {
    				t.Errorf("Walk: saw %#v in walk; want %#v", got, tc.wantFiles)
    			}
    			for i := 0; i < len(got) && i < len(tc.wantFiles); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  6. src/text/template/exec.go

    	truth, ok := isTrue(indirectInterface(val))
    	if !ok {
    		s.errorf("if/with can't use %v", val)
    	}
    	if truth {
    		if typ == parse.NodeWith {
    			s.walk(val, list)
    		} else {
    			s.walk(dot, list)
    		}
    	} else if elseList != nil {
    		s.walk(dot, elseList)
    	}
    }
    
    // IsTrue reports whether the value is 'true', in the sense of not the zero of its type,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/fifo_list.go

    	// additional latency aggregated from all requests in this queue.
    	QueueSum() queueSum
    
    	// Walk iterates through the list in order of oldest -> newest
    	// and executes the specified walkFunc for each request in that order.
    	//
    	// if the specified walkFunc returns false the Walk function
    	// stops the walk an returns immediately.
    	Walk(walkFunc)
    }
    
    // the FIFO list implementation is not safe for concurrent use by multiple
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:05:53 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/drop_while_shape_invariant.cc

        op->removeAttr(kShapeInvariantAttr);
    }
    void DropWhileShapeInvariantPass::runOnOperation() {
      getOperation().walk([](Operation* op) { DropWhileShapeInvariantAttr(op); });
    }
    
    void DropWhileShapeInvariantInDeviceClusterPass::runOnOperation() {
      getOperation().walk([](tf_device::ClusterOp cluster) {
        cluster.walk([](Operation* op) { DropWhileShapeInvariantAttr(op); });
      });
    }
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  9. test/escape_calls.go

    	g(&f(x[:])[0])
    }
    
    type Node struct {
    	s           string
    	left, right *Node
    }
    
    func walk(np **Node) int { // ERROR "leaking param content: np"
    	n := *np
    	w := len(n.s)
    	if n == nil {
    		return 0
    	}
    	wl := walk(&n.left)
    	wr := walk(&n.right)
    	if wl < wr {
    		n.left, n.right = n.right, n.left // ERROR "ignoring self-assignment"
    		wl, wr = wr, wl
    	}
    	*np = n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 22:06:07 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. src/path/filepath/path_test.go

    	check := func(t *testing.T, walk func(root string) error, root string) {
    		t.Helper()
    		sawFoo2 = false
    		err := walk(root)
    		if err != nil {
    			t.Fatal(err)
    		}
    		if sawFoo2 {
    			t.Errorf("SkipDir on file foo1 did not block processing of foo2")
    		}
    	}
    
    	t.Run("Walk", func(t *testing.T) {
    		Walk := func(root string) error { return filepath.Walk(td, walkFn) }
    		check(t, Walk, td)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top