Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 313 for walkIf (0.12 sec)

  1. src/cmd/compile/internal/walk/select.go

    // license that can be found in the LICENSE file.
    
    package walk
    
    import (
    	"cmd/compile/internal/base"
    	"cmd/compile/internal/ir"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    	"cmd/internal/src"
    )
    
    func walkSelect(sel *ir.SelectStmt) {
    	lno := ir.SetPos(sel)
    	if sel.Walked() {
    		base.Fatalf("double walkSelect")
    	}
    	sel.SetWalked(true)
    
    	init := ir.TakeInit(sel)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K 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. 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)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/doc.go

    // Package tests defines an Analyzer that checks for common mistaken
    // usages of tests and examples.
    //
    // # Analyzer tests
    //
    // tests: check for common mistaken usages of tests and examples
    //
    // The tests checker walks Test, Benchmark, Fuzzing and Example functions checking
    // malformed names, wrong signatures and examples documenting non-existent
    // identifiers.
    //
    // Please see the documentation for package testing in golang.org/pkg/testing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 703 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/runtime/unsafe.go

    		panicunsafestringlen()
    	}
    
    	if uintptr(len) > -uintptr(ptr) {
    		if ptr == nil {
    			panicunsafestringnilptr()
    		}
    		panicunsafestringlen()
    	}
    }
    
    // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeString
    func unsafestring64(ptr unsafe.Pointer, len64 int64) {
    	len := int(len64)
    	if int64(len) != len64 {
    		panicunsafestringlen()
    	}
    	unsafestring(ptr, len)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/bean/PropertyWalker.java

    import org.gradle.internal.reflect.validation.TypeValidationContext;
    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * Walks properties declared by the type.
     */
    @ServiceScope(Scope.Global.class)
    public interface PropertyWalker {
        void visitProperties(Object instance, TypeValidationContext validationContext, PropertyVisitor visitor);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top