Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for repeats (0.04 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

            assertThat(BloomFilter.optimalNumOfBits(n, fpp)).isAtLeast(0);
          }
        }
    
        // some random values
        Random random = new Random(0);
        for (int repeats = 0; repeats < 10000; repeats++) {
          assertThat(BloomFilter.optimalNumOfBits(random.nextInt(1 << 16), random.nextDouble()))
              .isAtLeast(0);
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:19:59 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

      }
    
      @Test fun doesNotConsumeBuffer() {
        val buffer = Buffer()
        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Oct 06 22:47:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

      fun closeReasonMaximumLength() {
        webServer.enqueue(
          MockResponse
            .Builder()
            .webSocketUpgrade(serverListener)
            .build(),
        )
        val clientReason = repeat('C', 123)
        val serverReason = repeat('S', 123)
        val webSocket: WebSocket = newWebSocket()
        val server = serverListener.assertOpen()
        clientListener.assertOpen()
        webSocket.close(1000, clientReason)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

        peekTrailers(Protocol.HTTP_1_1)
      }
    
      @Test
      fun peekTrailersHttp2() {
        peekTrailers(Protocol.HTTP_2)
      }
    
      private fun peekTrailers(protocol: Protocol) {
        val responseBody = "a".repeat(OKHTTP_CLIENT_WINDOW_SIZE)
        enableProtocol(protocol)
    
        server.enqueue(
          MockResponse
            .Builder()
            .addHeader("h1", "v1")
            .trailers(headersOf("t1", "v2"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 08 21:45:04 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
        val cachedClient = bootstrapClient.newBuilder().cache(cache).build()
        val cachedDns = buildLocalhost(cachedClient, false)
    
        repeat(2) {
          server.enqueue(
            dnsResponse(
              "0000818000010003000000000567726170680866616365626f6f6b03636f6d0000010001c00c000500010" +
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

       * size to reach 0, causing an infinite loop.
       */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/CharStreamsTest.java

       * size to reach 0, causing an infinite loop.
       */
      @SuppressWarnings("InlineMeInliner") // String.repeat unavailable under Java 8
      public void testCopyWithReaderThatDoesNotFillBuffer() throws IOException {
        // need a long enough string for the buffer to hit 0 remaining before the copy completes
        String string = Strings.repeat("0123456789", 100);
        StringBuilder b = new StringBuilder();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. CHANGELOG.md

        `DurationUnit` which was a typealias in 1.5.x.
     *  Upgrade: [Okio 3.2.0][okio_3_2_0].
    
    
    ## Version 5.0.0-alpha.9
    
    _2022-06-16_
    
     *  New: Enforce label length limits in URLs. `HttpUrl` now rejects URLs whose domains aren't valid.
        This includes overly-long domain names (longer than 253 characters), overly-long labels (more
        than 63 characters between dots), and empty labels.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                    .build();
        }
    
        /**
         * Retrieves a list of popular words based on the specified search parameters.
         * Uses caching to improve performance for repeated requests.
         *
         * @param searchRequestType the type of search request
         * @param seed the seed value for popular word generation
         * @param tags array of tags to filter results
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/base/login/EntraIdCredential.java

             * @param roles Array of role names.
             */
            public synchronized void setRoles(final String[] roles) {
                this.roles = roles;
            }
    
            /**
             * Resets permissions to force recalculation on next getPermissions() call.
             * This is called after asynchronous parent group lookup completes.
             */
            public void resetPermissions() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top