Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 50 for Edges (0.04 sec)

  1. src/go/types/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 Apr 03 18:48:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/encapsulate_util.h

        const Graph* g, const string& outside_compilation_attr_name);
    
    // Preprocesses edges within the same XLA cluster. It will perform the following
    // operations in order:
    //
    // 0.  Remove edges from source node to outside compilation nodes, and edges
    //     from outside compilation nodes to sink node.
    // 1a. For edges between different outside compilation clusters, remove the edge
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. test/typeparam/graph.go

    // of edges. An edge connects two nodes. Both nodes and edges must be
    // comparable. This is an undirected simple graph.
    type _Graph[_Node _NodeC[_Edge], _Edge _EdgeC[_Node]] struct {
    	nodes []_Node
    }
    
    // _NodeC is the constraints on a node in a graph, given the _Edge type.
    type _NodeC[_Edge any] interface {
    	comparable
    	Edges() []_Edge
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/AbstractBaseGraph.java

    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
       */
      protected long edgeCount() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/AbstractBaseGraph.java

    @ElementTypesAreNonnullByDefault
    abstract class AbstractBaseGraph<N> implements BaseGraph<N> {
    
      /**
       * Returns the number of edges in this graph; used to calculate the size of {@link Graph#edges()}.
       * This implementation requires O(|N|) time. Classes extending this one may manually keep track of
       * the number of edges as the graph is updated, and override this method for better performance.
       */
      protected long edgeCount() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/cmd/internal/pgo/pprof.go

    	}
    	return postProcessNamedEdgeMap(weight, totalWeight)
    }
    
    func sortByWeight(edges []NamedCallEdge, weight map[NamedCallEdge]int64) {
    	sort.Slice(edges, func(i, j int) bool {
    		ei, ej := edges[i], edges[j]
    		if wi, wj := weight[ei], weight[ej]; wi != wj {
    			return wi > wj // want larger weight first
    		}
    		// same weight, order by name/line number
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. src/cmd/internal/pgo/pgo.go

    	// TotalWeight is the aggregated edge weights across the profile. This
    	// helps us determine the percentage threshold for hot/cold
    	// partitioning.
    	TotalWeight int64
    
    	// NamedEdgeMap contains all unique call edges in the profile and their
    	// edge weight.
    	NamedEdgeMap NamedEdgeMap
    }
    
    // NamedCallEdge identifies a call edge by linker symbol names and call site
    // offset.
    type NamedCallEdge struct {
    	CallerName     string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/SourceFileState.java

        }
    
        public HashCode getHash() {
            return hash;
        }
    
        /**
         * Were any edges in the include file graph unable to be resolved?
         */
        public boolean isHasUnresolved() {
            return hasUnresolved;
        }
    
        /**
         * The set of successfully resolved edges in the include file graph.
         */
        public ImmutableSet<IncludeFileEdge> getEdges() {
            return resolvedIncludes;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/resolver/CompactTree.kt

            override fun toString() = "ΓΈ"
        }
    
        data class Label(val label: String) : CompactTree() {
            override fun toString() = label
        }
    
        data class Branch(val edges: List<CompactTree>) : CompactTree() {
            override fun toString() = edges.joinToString(separator = ", ", prefix = "{", postfix = "}")
        }
    
        data class Edge(val label: Label, val tree: CompactTree) : CompactTree() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. 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)
Back to top