Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 269 for Traverse (0.34 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		if wantParens {
    			ps.endScope(')')
    		}
    	} else {
    		parenthesize(ps, t.Third)
    	}
    }
    
    func (t *Trinary) Traverse(fn func(AST) bool) {
    	if fn(t) {
    		t.Op.Traverse(fn)
    		t.First.Traverse(fn)
    		t.Second.Traverse(fn)
    		t.Third.Traverse(fn)
    	}
    }
    
    func (t *Trinary) Copy(fn func(AST) AST, skip func(AST) bool) AST {
    	if skip(t) {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

          }
        }
        result.replaceAllUsesWith(ret0);
      }
    
      if (!has_resource_result) return success();
    
      // Eliminate unused region results. Traverse in reverse order so that
      // indices to be deleted stay unchanged.
      for (OpResult result : llvm::reverse(op->getResults())) {
        if (!result.use_empty()) continue;
        int result_idx = result.getResultNumber();
        for (Region &region : op->getRegions())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

    import org.gradle.integtests.fixtures.ToBeFixedForIsolatedProjects
    
    class TaskSelectionIntegrationTest extends AbstractIntegrationSpec {
    
        @ToBeFixedForIsolatedProjects(because = "subprojects")
        def "given an unqualified name traverse project tree from current project and select all tasks with matching name"() {
            createDirs("a", "b", "a/a", "b/b")
            settingsFile << "include 'a', 'b', 'a:a', 'b:b'"
    
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

    bool IsConstantOrNone(Operation* op) {
      return (op->getNumResults() == 1 &&
              mlir::isa<NoneType>(op->getResult(0).getType())) ||
             matchPattern(op, m_Constant()) || isa<QConstOp>(op);
    }
    
    // Pre-order traverse, adding results and BlockArgs to `been_defined` and
    // collecting operands not contained within `been_defined`. If we encounter an
    // operand that references a Value that has been defined (and added to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc

                                      OpBuilder* builder) {
      Region* cluster_region = &cluster.getBody();
      llvm::SmallSetVector<Operation*, 4> head_outside_compiled_ops;
    
      // Traverse the graph in topological order to find all outside compiled ops
      // at head of TPU computation or unary ops that are only used by other outside
      // compiled ops.
      auto cluster_ops = cluster.GetBody().without_terminator();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

            // If this configuration's version is in conflict, do not traverse.
            // If none of the incoming edges are transitive, remove previous state and do not traverse.
            // If not traversed before, simply add all selected outgoing edges (either hard or pending edges)
            // If traversed before:
            //      If net exclusions for this node have not changed, ignore
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  7. cni/pkg/repair/netns.go

    // * use crictl to inspect the pod; this returns the bind-mounted network namespace file.
    // * /var/lib/cni/results shows the outputs of CNI plugins; this containers the bind-mounted network namespace file.
    //
    // Instead, we traverse the procfs. Comments on this method are inline.
    func getPodNetNs(pod *corev1.Pod) (string, error) {
    	parsedPodAddr := net.ParseIP(pod.Status.PodIP)
    	if parsedPodAddr == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 04:07:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc

        auto cluster_id =
            cluster_func_op->getAttrOfType<StringAttr>(TF::kReplicationInfoAttr);
        if (!cluster_id) return WalkResult::advance();
    
        llvm::SmallVector<int, 4> dynamic_shape_arg_index;
    
        // Traverse the operands of the cluster func op and find which operand
        // is returned by TPUAnnotateTensorsWithDynamicShapeOp.
        for (const auto& cluster_func_operand :
             llvm::enumerate(cluster_func_op.getOperands())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. cmd/metacache-walk.go

    	// Leave empty to not check disk ID.
    	DiskID string
    }
    
    // supported FS for Nlink optimization in readdir.
    const (
    	xfs  = "XFS"
    	ext4 = "EXT4"
    )
    
    // WalkDir will traverse a directory and return all entries found.
    // On success a sorted meta cache stream will be returned.
    // Metadata has data stripped, if any.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jun 01 05:17:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  10. src/internal/trace/mud.go

    				break
    			} else if oldSorted[i].x < edges[j].x {
    				newSorted[o] = oldSorted[i]
    				i++
    			} else {
    				newSorted[o] = edges[j]
    				j++
    			}
    		}
    		d.sorted = newSorted
    	}
    
    	// Traverse edges in order computing a cumulative sum.
    	csum, rate, prevX := 0.0, 0.0, 0.0
    	for _, e := range d.sorted {
    		newCsum := csum + (e.x-prevX)*rate
    		if newCsum >= y {
    			// y was exceeded between the previous edge
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top