Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 233 for 35000 (0.06 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

          override fun OkHttpClient.Builder.withOverride(value: Int): OkHttpClient.Builder =
            connectTimeout(value.toLong(), TimeUnit.MILLISECONDS)
    
          override val nonDefaultValue: Int = 5000
    
          override val badValue: Int
            get() = 10
    
          override fun isDefaultValue(value: Int): Boolean = value == 10000
        }
    
        object ReadTimeoutOverride : Override<Int> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt

            .isEqualTo("Code must be in range [1000,5000): 1")
        }
        data.write("88021388".decodeHex()) // Close with code 5000
        assertFailsWith<ProtocolException> {
          clientReader.processNextFrame()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Code must be in range [1000,5000): 5000")
        }
      }
    
      @Test fun closeReservedSetThrows() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 16:11:23 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  3. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

       * should yield one sleep for a total delay of 500ms.
       */
      @Test
      fun throttleRequest() {
        assumeNotWindows()
        server.enqueue(
          MockResponse()
            .throttleBody(3, 500, TimeUnit.MILLISECONDS),
        )
        val startNanos = System.nanoTime()
        val connection = server.url("/").toUrl().openConnection()
        connection.setDoOutput(true)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/MockWitnessService.java

                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
            }
    
            registrations.clear();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

              i++
              keyIndex++
            }
          }
        } while (cursor.next() != -1)
      }
    
      fun closeCodeExceptionMessage(code: Int): String? =
        if (code < 1000 || code >= 5000) {
          "Code must be in range [1000,5000): $code"
        } else if (code in 1004..1006 || code in 1015..2999) {
          "Code $code is reserved and may not be used."
        } else {
          null
        }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/persistent/HandleReconnector.java

        /**
         * Create a new handle reconnector
         * @param manager the persistent handle manager
         */
        public HandleReconnector(PersistentHandleManager manager) {
            this(manager, 3, 1000);
        }
    
        /**
         * Create a new handle reconnector with custom settings
         * @param manager the persistent handle manager
         * @param maxRetries maximum number of retry attempts
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 8.5K bytes
    - Click Count (1)
  7. guava-tests/test/com/google/common/base/StopwatchTest.java

        ticker.advance(1234567);
        assertThat(stopwatch.toString()).isEqualTo("1.235 ms");
        stopwatch.reset();
        stopwatch.start();
        ticker.advance(5000000000L);
        assertThat(stopwatch.toString()).isEqualTo("5.000 s");
        stopwatch.reset();
        stopwatch.start();
        ticker.advance((long) (1.5 * 60 * 1000000000L));
        assertThat(stopwatch.toString()).isEqualTo("1.500 min");
        stopwatch.reset();
        stopwatch.start();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            this.name = "\\PIPE\\LANMAN";
    
            this.maxParameterCount = 8;
            this.maxDataCount = 16384;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        public void reset(final int key, final String lastN) {
            super.reset();
            this.lastName = lastN;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/SmbException.java

         */
        public long getRetryDelay() {
            switch (severity) {
            case RECOVERABLE:
                return 100; // Immediate retry with small delay
            case TRANSIENT:
                return 5000; // Wait 5 seconds
            default:
                return 0; // No retry
            }
        }
    
        @Override
        public String toString() {
            StringBuilder sb = new StringBuilder();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            DataStoreException exception = new DataStoreException(message);
            assertEquals(message, exception.getMessage());
            assertTrue(exception.getMessage().length() > 5000);
        }
    
        @Test
        public void test_getLocalizedMessage() {
            // Test getLocalizedMessage method (inherited from Throwable)
            String message = "Localized error message";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.9K bytes
    - Click Count (0)
Back to Top