Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 74 for connectionsOf (0.06 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            if (!nonPooled) {
                int currentSize = this.connections.size();
                if (currentSize >= maxPoolSize) {
                    // Try to remove idle connections
                    removeIdleConnections();
    
                    // If still at limit, throw exception
                    if (this.connections.size() >= maxPoolSize) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 33.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            when(address.getHostAddress()).thenReturn("192.168.1.100");
        }
    
        @Test
        @DisplayName("Should distinguish between pooled and non-pooled connections")
        void testPooledVsNonPooledConnections() {
            // When: Create pooled and non-pooled connections
            SmbTransportImpl pooled = pool.getSmbTransport(ctx, address, 445, false);
            SmbTransportImpl nonPooled = pool.getSmbTransport(ctx, address, 445, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/WinErrorTest.java

                    Arguments.of(WinError.ERROR_ACCESS_DENIED, "Access is denied."),
                    Arguments.of(WinError.ERROR_REQ_NOT_ACCEP,
                            "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept."),
                    Arguments.of(WinError.ERROR_BAD_PIPE, "The pipe state is invalid."),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

            maxIdleConnections = 2,
          )
        val c1 = factory.newConnection(pool, routeA1, 50L)
        val c2 = factory.newConnection(pool, routeB1, 75L)
    
        // With 2 connections, there's no need to evict until the connections time out.
        assertThat(pool.closeConnections(100L)).isEqualTo(50L)
        assertThat(pool.connectionCount()).isEqualTo(2)
        assertThat(c1.socket().isClosed).isFalse()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            private final List<HttpURLConnection> connections = new ArrayList<>();
            private int currentIndex = 0;
    
            void addConnection(HttpURLConnection conn) {
                connections.add(conn);
            }
    
            @Override
            protected URLConnection openConnection(URL u) throws IOException {
                if (currentIndex < connections.size()) {
                    return connections.get(currentIndex++);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

          allocationLimit = settings.getMaxConcurrentStreams()
    
          if (allocationLimit < oldLimit) {
            // We might need new connections to keep policies satisfied
            connectionPool.scheduleOpener(route.address)
          } else if (allocationLimit > oldLimit) {
            // We might no longer need some connections
            connectionPool.scheduleCloser()
          }
        }
      }
    
      override fun handshake(): Handshake? = handshake
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/WinError.java

        /** Array of Windows error messages corresponding to WINERR_CODES */
        String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
                "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/WinError.java

        /** Array of Windows error messages corresponding to WINERR_CODES */
        String[] WINERR_MESSAGES = { "The operation completed successfully.", "Access is denied.",
                "No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept.",
                "The pipe state is invalid.", "All pipe instances are busy.", "The pipe is being closed.",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

     *   <li>DEFAULT_MAX_CONNECTION_PER_ROUTE_PROPERTY: Default maximum connections per route.</li>
     *   <li>MAX_TOTAL_CONNECTION_PROPERTY: Maximum total connections.</li>
     *   <li>TIME_TO_LIVE_TIME_UNIT_PROPERTY: Time to live unit for connections.</li>
     *   <li>TIME_TO_LIVE_PROPERTY: Time to live for connections.</li>
     * </ul>
     *
     */
    public class HcHttpClient extends AbstractCrawlerClient {
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 52.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/Configuration.java

         *
         * Property {@code jcifs.smb.client.lport} (int)
         *
         * @return local port to use for outgoing connections
         */
        int getLocalPort();
    
        /**
         *
         * Property {@code jcifs.smb.client.laddr} (string)
         *
         * @return local address to use for outgoing connections
         */
        InetAddress getLocalAddr();
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top