Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for findpaths (0.22 sec)

  1. src/cmd/compile/internal/ssa/poset.go

    // part of the path (or is dst itself).
    func (po *poset) findpaths(cur, dst uint32) bitset {
    	seen := newBitset(int(po.lastidx + 1))
    	path := newBitset(int(po.lastidx + 1))
    	path.Set(dst)
    	po.findpaths1(cur, dst, seen, path)
    	return path
    }
    
    func (po *poset) findpaths1(cur, dst uint32, seen bitset, path bitset) {
    	if cur == dst {
    		return
    	}
    	seen.Set(cur)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/initorder.go

    		for _, init := range check.Info.InitOrder {
    			fmt.Printf("\t%s\n", init)
    		}
    		fmt.Println()
    	}
    }
    
    // findPath returns the (reversed) list of objects []Object{to, ... from}
    // such that there is a path of object dependencies from 'from' to 'to'.
    // If there is no such path, the result is nil.
    func findPath(objMap map[Object]*declInfo, from, to Object, seen map[Object]bool) []Object {
    	if seen[from] {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. src/go/types/initorder.go

    		for _, init := range check.Info.InitOrder {
    			fmt.Printf("\t%s\n", init)
    		}
    		fmt.Println()
    	}
    }
    
    // findPath returns the (reversed) list of objects []Object{to, ... from}
    // such that there is a path of object dependencies from 'from' to 'to'.
    // If there is no such path, the result is nil.
    func findPath(objMap map[Object]*declInfo, from, to Object, seen map[Object]bool) []Object {
    	if seen[from] {
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. cni/pkg/install/install.go

    	// we shouldn't fire events for binaries that are not ours.
    	var binPaths []string
    	for _, bindir := range in.cfg.CNIBinTargetDirs {
    		for _, binary := range installedBinFiles.UnsortedList() {
    			binPaths = append(binPaths, filepath.Join(bindir, binary))
    		}
    	}
    	targets := append(
    		binPaths,
    		in.cfg.MountedCNINetDir,
    		in.cfg.K8sServiceAccountPath,
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc

    // true otherwise.
    // Note that there can be multiple paths, we don't care about which one we find.
    // BFS guarantees that we find a path with minimal number of edges.
    bool FindPathBfs(IslandOp source_op, IslandOp target_op,
                     std::vector<IslandOp>& path) {
      std::queue<IslandOp> worklist;
      // Stores predecessor pointers.
      IslandToIslandHashMap pred_map;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          // Otherwise, it's the first time seeing this lock relationship. Look for
          // a path from the acquiredLock to this.
          Set<LockGraphNode> seen = Sets.newIdentityHashSet();
          ExampleStackTrace path = acquiredLock.findPathTo(this, seen);
    
          if (path == null) {
            // this can be safely acquired after the acquiredLock.
            //
            // Note that there is a race condition here which can result in missing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          // Otherwise, it's the first time seeing this lock relationship. Look for
          // a path from the acquiredLock to this.
          Set<LockGraphNode> seen = Sets.newIdentityHashSet();
          ExampleStackTrace path = acquiredLock.findPathTo(this, seen);
    
          if (path == null) {
            // this can be safely acquired after the acquiredLock.
            //
            // Note that there is a race condition here which can result in missing
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Dec 15 19:31:54 UTC 2023
    - 35.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_cluster_util.cc

    string DescribeCycle(const GraphCycles* cycles, const Graph& graph, int src,
                         int dst) {
      int32_t max_path_size = graph.num_node_ids() + 1;
      std::vector<int32> path(max_path_size);
      int32_t path_size = cycles->FindPath(dst, src, max_path_size, path.data());
      if (path_size == 0) {
        return "";
      }
    
      auto node_name = [&graph](int node_id) {
        if (!FastBoundsCheck(node_id, graph.num_node_ids())) {
          return string("(null)");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/mvs/mvs.go

    			work.Add(r)
    		}
    	})
    
    	// If there was an error, find the shortest path from the target to the
    	// node where the error occurred so we can report a useful error message.
    	if len(errs) > 0 {
    		errPath := g.FindPath(func(m module.Version) bool {
    			return errs[m] != nil
    		})
    		if len(errPath) == 0 {
    			panic("internal error: could not reconstruct path to module with error")
    		}
    
    		err := errs[errPath[len(errPath)-1]]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 21:58:12 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  10. .space/CODEOWNERS

    /compiler/testData/compiler/smoke/ "Kotlin Compiler Core"
    /compiler/testData/debug/ "Kotlin Compiler Core" "Kotlin JVM" "Kotlin Common Backend" "Kotlin Wasm"
    /compiler/testData/diagnostics/ "Kotlin Compiler Core"
    /compiler/testData/friendPaths/ "Kotlin Compiler Core"
    # UNKNOWN: /compiler/testData/integration/
    /compiler/testData/ir/closureAnnotator/ "Kotlin JVM"
    /compiler/testData/ir/interpreter/ "Kotlin Common Backend"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:55:49 UTC 2024
    - 24K bytes
    - Viewed (2)
Back to top