Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 115 for 1500 (0.02 sec)

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

      /**
       * We delay sending the last byte of the request body 1500 ms. The 1000 ms read timeout should
       * only elapse 1000 ms after the request body is sent.
       */
      @Test
      fun headersReadTimeoutDoesNotStartUntilLastRequestBodyByteFire() {
        enableProtocol(Protocol.HTTP_2)
        server.enqueue(
          MockResponse
            .Builder()
            .headersDelay(1500, TimeUnit.MILLISECONDS)
            .build(),
        )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            assertEquals(2, result.size());
            assertEquals("1500", result.get("total_docs"));
            assertEquals("3", result.get("error_count"));
        }
    
        public void test_setMaxSessionIdsInList() {
            crawlingInfoHelper.setMaxSessionIdsInList(500);
            assertEquals(500, crawlingInfoHelper.maxSessionIdsInList);
    
            crawlingInfoHelper.setMaxSessionIdsInList(0);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        assertAtLeastTimePassed(stopwatch, 1000);
        assertInterrupted();
      }
    
      public void testConditionAwaitInterruptedTimeoutNotExceeded() {
        Stopwatch stopwatch = Stopwatch.createStarted();
        Condition condition = TestCondition.createAndSignalAfter(1000, MILLISECONDS);
        requestInterruptIn(500);
    
        boolean signaledBeforeTimeout = awaitUninterruptibly(condition, 1500, MILLISECONDS);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

         * the server doesn't respond the web socket will be canceled.
         */
        const val CANCEL_AFTER_CLOSE_MILLIS = 60L * 1000
    
        /**
         * The smallest message that will be compressed. We use 1024 because smaller messages already
         * fit comfortably within a single ethernet packet (1500 bytes) even with framing overhead.
         *
         * For tests this must be big enough to realize real compression on test messages like
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.start();
        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        thread.start();
        thread.awaitWaiting();
        Thread.class.getMethod("suspend").invoke(thread);
        // Sleep for enough time to add 1500 milliseconds of overwait to the get() call.
        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        server.webSocket!!.close(1000, "Hello!")
        client.processNextFrame()
        client.listener.assertClosing(1000, "Hello!")
        assertThat(client.webSocket!!.close(1000, "Bye!")).isTrue()
        client.webSocket!!.finishReader()
        taskFaker.runTasks()
        client.listener.assertClosed(1000, "Hello!")
        server.processNextFrame()
        server.listener.assertClosing(1000, "Bye!")
        server.webSocket!!.finishReader()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_writeExpirationHours() {
        CacheBuilderSpec spec = parse("expireAfterWrite=150h");
        assertEquals(HOURS, spec.writeExpirationTimeUnit);
        assertEquals(150L, spec.writeExpirationDuration);
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterWrite(150L, HOURS), CacheBuilder.from(spec));
      }
    
      public void testParse_writeExpirationMinutes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

        public void test_getDetectText_longText() {
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 1100; i++) {
                sb.append("a");
            }
            String longText = sb.toString();
    
            String result = languageHelper.getDetectText(longText);
            assertEquals(1000, result.length());
        }
    
        public void test_getDetectText_whitespaceNormalization() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

      }
    
      public void testParse_writeExpirationHours() {
        CacheBuilderSpec spec = parse("expireAfterWrite=150h");
        assertEquals(HOURS, spec.writeExpirationTimeUnit);
        assertEquals(150L, spec.writeExpirationDuration);
        assertCacheBuilderEquivalence(
            CacheBuilder.newBuilder().expireAfterWrite(150L, HOURS), CacheBuilder.from(spec));
      }
    
      public void testParse_writeExpirationMinutes() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
Back to top