Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,108 for reachable (0.19 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unreachable/unreachable.go

    		if x.Else != nil {
    			r := d.reachable
    			d.reachable = true
    			d.findDead(x.Else)
    			d.reachable = d.reachable || r
    		} else {
    			// might not have executed if statement
    			d.reachable = true
    		}
    
    	case *ast.LabeledStmt:
    		d.findDead(x.Stmt)
    
    	case *ast.RangeStmt:
    		d.findDead(x.Body)
    		d.reachable = true
    
    	case *ast.ReturnStmt:
    		d.reachable = false
    
    	case *ast.SelectStmt:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:01 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/deadcode.go

    			}
    			if !reachable[c.ID] {
    				reachable[c.ID] = true
    				p = append(p, c) // push
    			}
    		}
    	}
    	return reachable
    }
    
    // liveValues returns the live values in f and a list of values that are eligible
    // to be statements in reversed data flow order.
    // The second result is used to help conserve statement boundaries for debugging.
    // reachable is a map from block ID to whether the block is reachable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/print.go

    	fmt.Fprintln(p.w, f.Type)
    }
    
    func (p stringFuncPrinter) startBlock(b *Block, reachable bool) {
    	if !p.printDead && !reachable {
    		return
    	}
    	fmt.Fprintf(p.w, "  b%d:", b.ID)
    	if len(b.Preds) > 0 {
    		io.WriteString(p.w, " <-")
    		for _, e := range b.Preds {
    			pred := e.b
    			fmt.Fprintf(p.w, " b%d", pred.ID)
    		}
    	}
    	if !reachable {
    		fmt.Fprint(p.w, " DEAD")
    	}
    	io.WriteString(p.w, "\n")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 31 21:41:20 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.h

    namespace tensorflow {
    
    // Checks if a graph or reachable functions in the library have any
    // StatefulPartitionedOps with _XlaMustCompile=true. The function library will
    // be skipped if nullptr is provided.
    bool IsSupportedByNonReplicatedBridge(
        const Graph& graph, const FunctionLibraryDefinition* function_library);
    
    // Checks if a graph or reachable functions in the library have any ops with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 16:33:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/link/internal/ld/deadcode.go

    //
    // There are three ways a method of a reachable type can be invoked:
    //
    //  1. direct call
    //  2. through a reachable interface type
    //  3. reflect.Value.Method (or MethodByName), or reflect.Type.Method
    //     (or MethodByName)
    //
    // The first case is handled by the flood fill, a directly called method
    // is marked as reachable.
    //
    // The second case is handled by decomposing all reachable interface
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. src/cmd/go/internal/mvs/graph.go

    	// To help catch disconnected-graph bugs, enforce that all required versions
    	// are actually reachable from the roots (and therefore should affect the
    	// selected versions of the modules they name).
    	if _, reachable := g.isRoot[m]; !reachable {
    		panic(fmt.Sprintf("%v is not reachable from any root", m))
    	}
    
    	// Truncate reqs to its capacity to avoid aliasing bugs if it is later
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 01 02:52:19 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops_pass.cc

      SymbolUserMap symbol_map(table, module);
    
      // Create map from caller to set of all callee(s).
      llvm::DenseMap<func::FuncOp, llvm::DenseSet<func::FuncOp>> caller_callee_map;
    
      // Use worklist to populate the set of reachable functions.
      std::queue<func::FuncOp> function_worklist;
    
      // Iterates over all functions within the module to (1) create caller-callee
      // map, and (2) initialize function worklist with functions referenced from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:01:13 UTC 2023
    - 8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

      // Visit fetches first to create a starting point for ops that are reachable.
      reachable_ops.insert(graph.GetFetch());
      VisitOpOperands(graph, graph.GetFetch(), &reachable_ops, &ops_to_visit);
    
      // Find and visit ops that should be preserved regardless of being reachable
      // from a fetch.
      for (Operation& op : graph.GetBody().without_terminator()) {
        auto island = llvm::dyn_cast<IslandOp>(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/Traverser.java

      }
    
      /**
       * Creates a new traverser for the given general {@code graph}.
       *
       * <p>Traversers created using this method are guaranteed to visit each node reachable from the
       * start node(s) at most once.
       *
       * <p>If you know that no node in {@code graph} is reachable by more than one path from the start
       * node(s), consider using {@link #forTree(SuccessorsFunction)} instead.
       *
       * <p><b>Performance notes</b>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/graph/Traverser.java

      }
    
      /**
       * Creates a new traverser for the given general {@code graph}.
       *
       * <p>Traversers created using this method are guaranteed to visit each node reachable from the
       * start node(s) at most once.
       *
       * <p>If you know that no node in {@code graph} is reachable by more than one path from the start
       * node(s), consider using {@link #forTree(SuccessorsFunction)} instead.
       *
       * <p><b>Performance notes</b>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 30 20:12:45 UTC 2023
    - 19.8K bytes
    - Viewed (0)
Back to top