Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 221 for Edges (0.05 sec)

  1. src/internal/dag/parse_test.go

    func mustParse(t *testing.T, dag string) *Graph {
    	t.Helper()
    	g, err := Parse(dag)
    	if err != nil {
    		t.Fatal(err)
    	}
    	return g
    }
    
    func wantEdges(t *testing.T, g *Graph, edges string) {
    	t.Helper()
    
    	wantEdges := strings.Fields(edges)
    	wantEdgeMap := make(map[string]bool)
    	for _, e := range wantEdges {
    		wantEdgeMap[e] = true
    	}
    
    	for _, n1 := range g.Nodes {
    		for _, n2 := range g.Nodes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 15:31:42 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go

    }
    
    // edgeEntropyScore computes the entropy value for a set of edges
    // coming in or out of a node. Entropy (as defined in information
    // theory) refers to the amount of information encoded by the set of
    // edges. A set of edges that have a more interesting distribution of
    // samples gets a higher score.
    func edgeEntropyScore(n *Node, edges EdgeMap, self int64) float64 {
    	score := float64(0)
    	total := self
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 31K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            List<MetadataGraphEdge> edges = getIncidentEdges(vTo);
            if (edges == null || edges.isEmpty()) {
                return null;
            }
    
            List<MetadataGraphEdge> res = new ArrayList<>(edges.size());
    
            for (MetadataGraphEdge e : edges) {
                if (e.getSource().equals(vFrom)) {
                    res.add(e);
                }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Oct 05 18:41:13 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_cluster_util.cc

      // * replace edges to "Enter" nodes, and edges from "Exit" nodes with edges
      //   to/from the corresponding frame node. In essence, we collapse the loop
      //   into a single node for the purpose of cycle detection in the enclosing
      //   graph.
      // * the body of the loop should now be disconnected from the rest of the
      //   graph; we make it acyclic by breaking loop backedges (edges outgoing from
      //   "NextIteration" nodes.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/trim.go

    // These blocks were inserted to remove critical edges.
    func trim(f *Func) {
    	n := 0
    	for _, b := range f.Blocks {
    		if !trimmableBlock(b) {
    			f.Blocks[n] = b
    			n++
    			continue
    		}
    
    		bPos := b.Pos
    		bIsStmt := bPos.IsStmt() == src.PosIsStmt
    
    		// Splice b out of the graph. NOTE: `mergePhi` depends on the
    		// order, in which the predecessors edges are merged here.
    		p, i := b.Preds[0].b, b.Preds[0].i
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  6. src/runtime/mklockrank.go

    		var b bytes.Buffer
    		g.TransitiveReduction()
    		// Add cyclic edges for visualization.
    		for k := range cyclicRanks {
    			g.AddEdge(k, k)
    		}
    		// Reverse the graph. It's much easier to read this as
    		// a "<" partial order than a ">" partial order. This
    		// ways, locks are acquired from the top going down
    		// and time moves forward over the edges instead of
    		// backward.
    		g.Transpose()
    		generateDot(&b, g)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

                if (!s.ok()) {
                  return;
                }
                node_map[n] = copy;
              }
    
              // Only handle input edges. Output edges will be added later as
              // its output nodes' input edges.
              for (auto e : n->in_edges()) {
                if (node_map.find(e->src()) == node_map.end()) {
                  s = errors::Internal("Cannot find node image for ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/loopreschedchecks.go

    )
    
    type backedgesState struct {
    	b *Block
    	i int
    }
    
    // backedges returns a slice of successor edges that are back
    // edges.  For reducible loops, edge.b is the header.
    func backedges(f *Func) []Edge {
    	edges := []Edge{}
    	mark := make([]markKind, f.NumBlocks())
    	stack := []backedgesState{}
    
    	mark[f.Entry.ID] = notExplored
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 21:17:10 UTC 2023
    - 16K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    		}
    	}
    
    	edges := EdgeMap{}
    
    	// Add nodes and nodelets to DOT builder.
    	for _, n := range g.Nodes {
    		builder.addNode(n, nodeIDMap[n], maxFlat)
    		hasNodelets[n] = builder.addNodelets(n, nodeIDMap[n])
    
    		// Collect all edges. Use a fake node to support multiple incoming edges.
    		for _, e := range n.Out {
    			edges[&Node{}] = e
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String MULTIPLE_EDGES_CONNECTING =
          "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling "
              + "edgesConnecting() instead.";
      static final String PARALLEL_EDGES_NOT_ALLOWED =
          "Nodes %s and %s are already connected by a different edge. To construct a graph "
              + "that allows parallel edges, call allowsParallelEdges(true) on the Builder.";
      static final String SELF_LOOPS_NOT_ALLOWED =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top