Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 323 for walkFn (0.23 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. 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)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package schema
    
    // Visitor recursively walks through a structural schema.
    type Visitor struct {
    	// Structural is called on each Structural node in the schema, before recursing into
    	// the subtrees. It is allowed to mutate s. Return true if something has been changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  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. 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)
  9. 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)
  10. 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)
Back to top