Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for Edges (0.04 sec)

  1. src/cmd/link/internal/ld/inittask.go

    		}
    
    		// Find all incoming edges into s.
    		a := sort.Search(len(edges), func(i int) bool { return edges[i].to >= s })
    		b := sort.Search(len(edges), func(i int) bool { return edges[i].to > s })
    
    		// Decrement the import count for all packages that import s.
    		// If the count reaches 0, that package is now ready to schedule.
    		for _, e := range edges[a:b] {
    			m[e.from]--
    			if m[e.from] == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 30 20:09:45 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            assertNotNull(res.getExcidentEdges(v1), "no edges in the resulting graph after resolver");
    
            assertEquals(4, res.getVertices().size(), "wrong # of vertices in the resulting graph after resolver");
            assertEquals(
                    2,
                    res.getExcidentEdges(v1).size(),
                    "wrong # of excident edges in the resulting graph entry after resolver");
    
            assertEquals(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. src/internal/trace/mud.go

    		return math.NaN(), false
    	}
    
    	// Sort edges.
    	edges := d.unsorted
    	slices.SortFunc(edges, func(a, b edge) int {
    		return cmp.Compare(a.x, b.x)
    	})
    	// Merge with sorted edges.
    	d.unsorted = nil
    	if d.sorted == nil {
    		d.sorted = edges
    	} else {
    		oldSorted := d.sorted
    		newSorted := make([]edge, len(oldSorted)+len(edges))
    		i, j := 0, 0
    		for o := range newSorted {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. src/internal/dag/parse.go

    	g.edges[from][to] = true
    }
    
    func (g *Graph) DelEdge(from, to string) {
    	delete(g.edges[from], to)
    }
    
    func (g *Graph) HasEdge(from, to string) bool {
    	return g.edges[from] != nil && g.edges[from][to]
    }
    
    func (g *Graph) Edges(from string) []string {
    	edges := make([]string, 0, 16)
    	for k := range g.edges[from] {
    		edges = append(edges, k)
    	}
    	slices.SortFunc(edges, func(a, b string) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/BaseGraph.java

      Set<N> nodes();
    
      /** Returns all edges in this graph. */
      Set<EndpointPair<N>> edges();
    
      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/graph/BaseGraph.java

      Set<N> nodes();
    
      /** Returns all edges in this graph. */
      Set<EndpointPair<N>> edges();
    
      //
      // Graph properties
      //
    
      /**
       * Returns true if the edges in this graph are directed. Directed edges connect a {@link
       * EndpointPair#source() source node} to a {@link EndpointPair#target() target node}, while
       * undirected edges connect a pair of nodes to each other.
       */
      boolean isDirected();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/CompilationStateSerializerTest.groovy

            emptyCompileState.hash == TestHashCodes.hashCodeFrom(0x12345678)
            emptyCompileState.edges == stateOne.edges
    
            def otherCompileState = newState.getState(fileTwo)
            otherCompileState.hash == TestHashCodes.hashCodeFrom(0x23456789)
            otherCompileState.edges == stateTwo.edges
        }
    
        private SourceFileState compilationFileState(HashCode hash, Collection<String> includes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

        private MetadataGraphEdge cleanEdges(
                MetadataGraphVertex v, List<MetadataGraphEdge> edges, ArtifactScopeEnum scope) {
            if (edges == null || edges.isEmpty()) {
                return null;
            }
    
            if (edges.size() == 1) {
                MetadataGraphEdge e = edges.get(0);
                if (scope.encloses(e.getScope())) {
                    return e;
                }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/resource_operation_safety_analysis.h

    // -> ReadVariableOp1 and AssignVariableOp0 -> AssignVariableOp1 edges will be
    // respected by XlaLaunchOp though because all reads happen before all writes
    // with that limited clustering..
    //
    //
    // NB!  The result computed by this analysis assumes that we don't auto-cluster
    // back-edges (i.e. the edges from NextIteration to Merge).
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/mono.go

    // declaration "type T int", we construct edges T<-A and T<-B with
    // weight 1; and because of instantiation "f[T, map[A]B]" we construct
    // edges A<-T with weight 0, and B<-A and B<-B with weight 1.
    //
    // Finally, we look for any positive-weight cycles. Zero-weight cycles
    // are allowed because static instantiation will reach a fixed point.
    
    type monoGraph struct {
    	vertices []monoVertex
    	edges    []monoEdge
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 00:05:29 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top