Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 141 for replay (0.06 sec)

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

        assertContent("A", getResponse(newRequest("/a")))
    
        // Give the server time to disconnect.
        Thread.sleep(500)
    
        // If the request body is larger than OkHttp's replay buffer, the failure may still occur.
        val requestBodyChars = CharArray(requestSize)
        Arrays.fill(requestBodyChars, 'x')
        val requestBody = String(requestBodyChars)
        for (j in 0..1) {
          try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    props.setProperty(FessEnv.MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT, "smtp-relay.example.com:465");
                    props.setProperty(FessEnv.MAIL_SUBJECT_TEST_PREFIX, "[テスト環境]");
                    props.setProperty(FessEnv.MAIL_RETURN_PATH, "no-reply******@****.***");
                    return props;
                }
            };
    
            assertEquals("smtp-relay.example.com:465", specialMailEnv.getMailSmtpServerMainHostAndPort());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

        server.listener.assertFailure()
      }
    
      @Test
      fun protocolErrorInCloseResponseClosesConnection() {
        client.webSocket!!.close(1000, "Hello")
        server.processNextFrame()
        // Not closed until close reply is received.
        assertThat(client.closed).isFalse()
    
        // Manually write an invalid masked close frame.
        server.sink.write("888760b420bb635c68de0cd84f".decodeHex()).emit()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("", matcher.removeFrom(s));
        assertEquals(Strings.repeat("z", s.length()), matcher.replaceFrom(s, 'z'));
        assertEquals(Strings.repeat("ZZ", s.length()), matcher.replaceFrom(s, "ZZ"));
        assertEquals("", matcher.trimFrom(s));
        assertEquals(s.length(), matcher.countIn(s));
      }
    
      // Kotlin subSequence()/replace() always return new strings, violating expectations of this test
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        rateLimiter.acquire(1); // R1.00, to repay previous
    
        rateLimiter.setRate(2.0); // update the rate!
    
        rateLimiter.acquire(1); // R1.00, to repay previous (the previous was under the old rate!)
        rateLimiter.acquire(2); // R0.50, to repay previous (now the rate takes effect)
        rateLimiter.acquire(4); // R1.00, to repay previous
        rateLimiter.acquire(1); // R2.00, to repay previous
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        rateLimiter.acquire(1); // R1.00, to repay previous
    
        rateLimiter.setRate(2.0); // update the rate!
    
        rateLimiter.acquire(1); // R1.00, to repay previous (the previous was under the old rate!)
        rateLimiter.acquire(2); // R0.50, to repay previous (now the rate takes effect)
        rateLimiter.acquire(4); // R1.00, to repay previous
        rateLimiter.acquire(1); // R2.00, to repay previous
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertEquals("", matcher.removeFrom(s));
        assertEquals(Strings.repeat("z", s.length()), matcher.replaceFrom(s, 'z'));
        assertEquals(Strings.repeat("ZZ", s.length()), matcher.replaceFrom(s, "ZZ"));
        assertEquals("", matcher.trimFrom(s));
        assertEquals(s.length(), matcher.countIn(s));
      }
    
      // Kotlin subSequence()/replace() always return new strings, violating expectations of this test
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.sendFrame().ping(true, Http2Connection.AWAIT_PING, 0)
        peer.play()
    
        // Play it back.
        val connection = connect(peer)
        val stream = connection.newStream(headerEntries("c", "cola"), false)
        assertThat(stream.takeHeaders()).isEqualTo(headersOf("a", "android"))
        connection.writePingAndAwaitPong() // Ensure that the 2nd SYN REPLY has been received.
    
        // Verify the peer received what was expected.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/PermissionHelperTest.java

                }
            }
        }
    
        public void test_encode_withLongValues() {
            String longUser = "user" + "x".repeat(1000);
            String longGroup = "group" + "y".repeat(1000);
            String longRole = "role" + "z".repeat(1000);
    
            String encodedUser = permissionHelper.encode("{user}" + longUser);
            String encodedGroup = permissionHelper.encode("{group}" + longGroup);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

        // request headers.
        // 431 "Request Header Fields Too Large"
        val largeHeaders =
          Headers
            .Builder()
            .apply {
              repeat(32) {
                add("name-$it", "value-$it-" + "0".repeat(1024))
              }
            }.build()
        val call2 =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top