Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 200 for ontimeout (0.05 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        /** Connection timeout in milliseconds */
        int CONN_TIMEOUT = Config.getInt("jcifs.smb1.smb.client.connTimeout", DEFAULT_CONN_TIMEOUT);
        /** Native operating system name */
        String NATIVE_OS = Config.getProperty("jcifs.smb1.smb.client.nativeOs", System.getProperty("os.name"));
        /** Native LAN manager name */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                nextNameTrnId = 1;
            }
            return nextNameTrnId;
        }
    
        void ensureOpen(final int timeout) throws IOException {
            closeTimeout = 0;
            if (SO_TIMEOUT != 0) {
                closeTimeout = Math.max(SO_TIMEOUT, timeout);
            }
            // If socket is still good, the new closeTimeout will
            // be ignored; see tryClose comment.
            if (socket == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java

        }
    
        /**
         * Sets the connection timeout.
         * @param connectionTimeout The connection timeout in milliseconds.
         */
        public void setConnectionTimeout(final Integer connectionTimeout) {
            this.connectionTimeout = connectionTimeout;
        }
    
        /**
         * Sets the socket timeout.
         * @param soTimeout The socket timeout in milliseconds.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

     * attempting to read with a short timeout. If the fails immediately we know the socket is
     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean =
      try {
        val readTimeout = soTimeout
        try {
          soTimeout = 1
          !source.exhausted()
        } finally {
          soTimeout = readTimeout
        }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  5. src/main/java/jcifs/Configuration.java

        int getSendBufferSize();
    
        /**
         *
         * Property {@code jcifs.smb.client.soTimeout} (int, default 35000)
         *
         * @return socket timeout, in milliseconds
         */
        int getSoTimeout();
    
        /**
         *
         * Property {@code jcifs.smb.client.connTimeout} (int, default 35000)
         *
         * @return timeout for establishing a socket connection, in milliseconds
         */
        int getConnTimeout();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/config/PropertyConfigurationTest.java

            props.setProperty("jcifs.netbios.hostname", "testhost");
            props.setProperty("jcifs.netbios.scope", "");
            props.setProperty("jcifs.smb.client.connTimeout", "35000");
            props.setProperty("jcifs.smb.client.soTimeout", "35000");
    
            config = new PropertyConfiguration(props);
        }
    
        @Test
        @DisplayName("Should create configuration from Properties")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/WholeOperationTimeoutTest.kt

        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertThat(call.isCanceled()).isTrue()
        }
      }
    
      @Flaky
      @Test
      fun noTimeout() {
        // Flaky https://github.com/square/okhttp/issues/5304
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                                long timeout = RESPONSE_TIMEOUT;
                                resp.expiration = System.currentTimeMillis() + timeout;
                                while (resp.hasMoreElements()) {
                                    wait(timeout);
                                    timeout = resp.expiration - System.currentTimeMillis();
                                    if (timeout <= 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

        } else {
          javaNetSocket.soTimeout = chain.readTimeoutMillis()
          okHttpSocket.source.timeout().timeout(chain.readTimeoutMillis.toLong(), MILLISECONDS)
          okHttpSocket.sink.timeout().timeout(chain.writeTimeoutMillis.toLong(), MILLISECONDS)
          Http1ExchangeCodec(client, this, okHttpSocket)
        }
      }
    
      internal fun useAsSocket() {
        javaNetSocket.soTimeout = 0
        noNewExchanges()
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  10. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            this.maxRetryCount = maxRetryCount;
        }
    
        /**
         * Sets the connection timeout in milliseconds.
         *
         * @param connTimeout The connection timeout.
         */
        public void setConnTimeout(final long connTimeout) {
            this.connTimeout = connTimeout;
        }
    
        /**
         * Sets the search preference for search requests.
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top