Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 354 for Network (0.18 seconds)

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

     * subtype of {@code Network} that provides methods for adding and removing nodes and edges. If you
     * do not need to mutate a network (e.g. if you write a method than runs a read-only algorithm on
     * the network), you should use the non-mutating {@link Network} interface, or an {@link
     * ImmutableNetwork}.
     *
     * <p>You can create an immutable copy of an existing {@code Network} using {@link
     * ImmutableNetwork#copyOf(Network)}:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

      }
    
      @Test
      public void copyOfImmutableNetwork_optimized() {
        Network<String, String> network1 =
            ImmutableNetwork.copyOf(NetworkBuilder.directed().<String, String>build());
        Network<String, String> network2 = ImmutableNetwork.copyOf(network1);
    
        assertThat(network2).isSameInstanceAs(network1);
      }
    
      @Test
      public void edgesConnecting_directed() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/graph/ElementOrderTest.java

        addEdges(network);
    
        assertThat(network.edgeOrder()).isEqualTo(ElementOrder.insertion());
        assertThat(network.edges()).containsExactly("i", "e", "p").inOrder();
        assertThat(network.nodeOrder()).isEqualTo(ElementOrder.insertion()); // default
      }
    
      // The default ordering is INSERTION unless otherwise specified.
      @Test
      public void edgeOrder_default() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/ImmutableNetwork.java

      private ImmutableNetwork(Network<N, E> network) {
        super(
            NetworkBuilder.from(network), getNodeConnections(network), getEdgeToReferenceNode(network));
      }
    
      /** Returns an immutable copy of {@code network}. */
      public static <N, E> ImmutableNetwork<N, E> copyOf(Network<N, E> network) {
        return (network instanceof ImmutableNetwork)
            ? (ImmutableNetwork<N, E>) network
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

    /**
     * A concrete interceptor chain that carries the entire interceptor chain: all application
     * interceptors, the OkHttp core, all network interceptors, and finally the network caller.
     *
     * If the chain is for an application interceptor then [exchange] must be null. Otherwise it is for
     * a network interceptor and [exchange] must be non-null.
     */
    class RealInterceptorChain(
      internal val call: RealCall,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/Graphs.java

      /**
       * Returns a view of {@code network} with the direction (if any) of every edge reversed. All other
       * properties remain intact, and further updates to {@code network} will be reflected in the view.
       */
      public static <N, E> Network<N, E> transpose(Network<N, E> network) {
        if (!network.isDirected()) {
          return network; // the transpose of an undirected network is an identical network
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

      }
    
      @Test
      fun networkInterceptorsRewriteRequestToServer() {
        rewriteRequestToServer(true)
      }
    
      private fun rewriteRequestToServer(network: Boolean) {
        server.enqueue(MockResponse())
        addInterceptor(network) { chain: Interceptor.Chain ->
          val originalRequest = chain.request()
          chain.proceed(
            originalRequest
              .newBuilder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/ioctl/QueryNetworkInterfaceInfoResponse.java

        private List<NetworkInterfaceInfo> interfaces;
    
        /**
         * Create query network interface info response
         */
        public QueryNetworkInterfaceInfoResponse() {
            this.interfaces = new ArrayList<>();
        }
    
        /**
         * Get the list of network interfaces
         *
         * @return list of network interface information
         */
        public List<NetworkInterfaceInfo> getInterfaces() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/NtStatus.java

        /** A duplicate name exists on the network */
        int NT_STATUS_DUPLICATE_NAME = 0xC00000bd;
        /** The specified network name is no longer available */
        int NT_STATUS_NETWORK_NAME_DELETED = 0xC00000c9;
        /** Network access is denied */
        int NT_STATUS_NETWORK_ACCESS_DENIED = 0xC00000ca;
        /** The network resource type is not correct */
        int NT_STATUS_BAD_DEVICE_TYPE = 0xC00000cb;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 14.9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

      }
    
      @Test
      public void copyOfImmutableNetwork_optimized() {
        Network<String, String> network1 =
            ImmutableNetwork.copyOf(NetworkBuilder.directed().<String, String>build());
        Network<String, String> network2 = ImmutableNetwork.copyOf(network1);
    
        assertThat(network2).isSameInstanceAs(network1);
      }
    
      @Test
      public void edgesConnecting_directed() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top