Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 490 for Codes (0.02 seconds)

  1. android/guava/src/com/google/common/graph/Network.java

     * whose edges are <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#uniqueness">unique</a> objects.
     *
     * <p>A graph is composed of a set of nodes and a set of edges connecting pairs of nodes.
     *
     * <p>There are three primary interfaces provided to represent graphs. In order of increasing
     * complexity they are: {@link Graph}, {@link ValueGraph}, and {@link Network}. You should generally
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 17.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/StandardValueGraph.java

        // Prefer the heavier "MapRetrievalCache" for nodes if lookup is expensive.
        this.nodeConnections =
            (nodeConnections instanceof TreeMap)
                ? new MapRetrievalCache<N, GraphConnections<N, V>>(nodeConnections)
                : new MapIteratorCache<N, GraphConnections<N, V>>(nodeConnections);
        this.edgeCount = checkNonNegative(edgeCount);
      }
    
      @Override
      public Set<N> nodes() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/builder/multithreaded/SmartProjectComparatorTest.java

            // Verify the actual chain length calculation
            // Leaf nodes (no downstream dependencies)
            assertEquals(1L, weightX, "Project X should have weight 1 (1 + 0)");
            assertEquals(1L, weightY, "Project Y should have weight 1 (1 + 0)");
            assertEquals(1L, weightZ, "Project Z should have weight 1 (1 + 0)");
    
            // Middle nodes
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Aug 06 12:03:40 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. cmd/peer-s3-client.go

    	copy(client.pools, p)
    }
    
    // newPeerS3Clients creates new peer clients.
    func newPeerS3Clients(endpoints EndpointServerPools) (peers []peerS3Client) {
    	nodes := endpoints.GetNodes()
    	peers = make([]peerS3Client, len(nodes))
    	for i, node := range nodes {
    		if node.IsLocal {
    			peers[i] = &localPeerS3Client{node: node}
    		} else {
    			peers[i] = newPeerS3Client(node)
    		}
    		peers[i].SetPools(node.Pools)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt

        // [distinguished_name]
        // [req_extensions]
        // [x509_extensions]
        // subjectAltName=DNS:localhost.localdomain,DNS:localhost,IP:127.0.0.1
        //
        // $ openssl req -x509 -nodes -days 36500 -subj '/CN=localhost' -config ./cert.cnf \
        //     -newkey rsa:512 -out cert.pem
        val certificate =
          certificate(
            """
            -----BEGIN CERTIFICATE-----
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/StandardNetwork.java

    /**
     * Standard implementation of {@link Network} that supports the options supplied by {@link
     * NetworkBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a
     * map of edges to reference nodes. The reference node is defined to be the edge's source node on
     * directed graphs, and an arbitrary endpoint of the edge on undirected graphs.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  7. guava/src/com/google/common/graph/StandardNetwork.java

    /**
     * Standard implementation of {@link Network} that supports the options supplied by {@link
     * NetworkBuilder}.
     *
     * <p>This class maintains a map of nodes to {@link NetworkConnections}. This class also maintains a
     * map of edges to reference nodes. The reference node is defined to be the edge's source node on
     * directed graphs, and an arbitrary endpoint of the edge on undirected graphs.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  8. guava/src/com/google/common/io/Files.java

        private final File file;
        private final ImmutableSet<FileWriteMode> modes;
    
        private FileByteSink(File file, FileWriteMode... modes) {
          this.file = checkNotNull(file);
          this.modes = ImmutableSet.copyOf(modes);
        }
    
        @Override
        public FileOutputStream openStream() throws IOException {
          return new FileOutputStream(file, modes.contains(APPEND));
        }
    
        @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        assertThat(network.nodes()).containsExactly("A");
        assertThat(network.edges()).isEmpty();
      }
    
      @Test
      public void immutableNetworkBuilder_putEdgeFromNodes() {
        ImmutableNetwork<String, Integer> network =
            NetworkBuilder.directed().<String, Integer>immutable().addEdge("A", "B", 10).build();
    
        assertThat(network.nodes()).containsExactly("A", "B");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/graph/ForwardingNetwork.java

     * @author James Sexton
     * @author Joshua O'Madadhain
     */
    abstract class ForwardingNetwork<N, E> extends AbstractNetwork<N, E> {
    
      abstract Network<N, E> delegate();
    
      @Override
      public Set<N> nodes() {
        return delegate().nodes();
      }
    
      @Override
      public Set<E> edges() {
        return delegate().edges();
      }
    
      @Override
      public boolean isDirected() {
        return delegate().isDirected();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
Back to Top