Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 795 for Traverse (0.13 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/utils/tpu_cluster_util.cc

      const CallGraph call_graph(module);
      // symbol_table caches callees in the CallGraph.
      SymbolTableCollection symbol_table;
      // List pending nodes to traverse with their root TPU cluster.
      llvm::SmallVector<std::pair<CallGraphNode*, tf_device::ClusterOp>>
          pending_call_nodes;
      // Cache the host device for each TPU cluster.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/fuse_branchredirect.go

    // We can redirect p to s directly.
    //
    // The implementation here borrows the framework of the prove pass.
    //
    //	1, Traverse all blocks of function f to find If blocks.
    //	2,   For any If block b, traverse all its predecessors to find If blocks.
    //	3,     For any If block predecessor p, update relationship p->b.
    //	4,     Traverse all successors of b.
    //	5,       For any successor s of b, try to update relationship b->s, if a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/ast/inspector/inspector.go

    				f(ev.node, false, stack)
    			}
    			stack = stack[:len(stack)-1]
    		}
    		i++
    	}
    }
    
    // traverse builds the table of events representing a traversal.
    func traverse(files []*ast.File) []event {
    	// Preallocate approximate number of events
    	// based on source file extent.
    	// This makes traverse faster by 4x (!).
    	var extent int
    	for _, f := range files {
    		extent += int(f.End() - f.Pos())
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. subprojects/core-api/src/main/java/org/gradle/api/file/UserClassFilePermissions.java

     *     <li>EXECUTE access: the capability to run a file as a program; executing a directory doesn't really make sense, it's more like
     *     a traverse permission; for example, a user must have 'execute' access to the 'bin' directory in order to execute the 'ls' or 'cd' commands.</li>
     * </ul>
     *
     * @since 8.3
     */
    public interface UserClassFilePermissions {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 12:31:43 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/meta.go

    }
    
    type PatchMetaFromOpenAPIV3 struct {
    	// SchemaList is required to resolve OpenAPI V3 references
    	SchemaList map[string]*spec.Schema
    	Schema     *spec.Schema
    }
    
    func (s PatchMetaFromOpenAPIV3) traverse(key string) (PatchMetaFromOpenAPIV3, error) {
    	if s.Schema == nil {
    		return PatchMetaFromOpenAPIV3{}, nil
    	}
    	if len(s.Schema.Properties) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  7. pkg/kubelet/pluginmanager/pluginwatcher/plugin_watcher.go

    	if err != nil {
    		return fmt.Errorf("failed to start plugin fsWatcher, err: %v", err)
    	}
    	w.fsWatcher = fsWatcher
    
    	// Traverse plugin dir and add filesystem watchers before starting the plugin processing goroutine.
    	if err := w.traversePluginDir(w.path); err != nil {
    		klog.ErrorS(err, "Failed to traverse plugin socket path", "path", w.path)
    	}
    
    	go func(fsWatcher *fsnotify.Watcher) {
    		for {
    			select {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 01 00:26:37 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  8. 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)
  9. src/cmd/compile/internal/ssa/layout.go

    		//           b1
    		//         0/ \1
    		//        b2   b3
    		// Traverse b.Succs in order, the right child node b3 will be scheduled immediately after
    		// b1, traverse b.Succs in reverse order, the left child node b2 will be scheduled
    		// immediately after b1. The test results show that reverse traversal performs a little
    		// better.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 5K bytes
    - Viewed (0)
  10. test/initexp.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    // The init cycle diagnosis used to take exponential time
    // to traverse the call graph paths. This test case takes
    // at least two minutes on a modern laptop with the bug
    // and runs in a fraction of a second without it.
    // 10 seconds (-t 10 above) should be plenty if the code is working.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top