Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 1,344 for calls (0.02 seconds)

  1. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * {@link #acquire()} blocks if necessary until a permit is available, and then takes it. Once
     * acquired, permits need not be released.
     *
     * <p>{@code RateLimiter} is safe for concurrent use: It will restrict the total rate of calls from
     * all threads. Note, however, that it does not guarantee fairness.
     *
     * <p>Rate limiters are often used to restrict the rate at which some physical or logical resource
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

            .isEqualTo(expectedKeys);
        assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet());
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
      }
    
      /**
       * Calls get() repeatedly from many different threads, and tests that all of the removed entries
       * (removed because of size limits or expiration) trigger appropriate removal notifications.
       */
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

            .isEqualTo(expectedKeys);
        assertThat(cache.asMap().keySet()).containsNoneIn(removalNotifications.keySet());
        threadPool.shutdown();
        threadPool.awaitTermination(300, SECONDS);
      }
    
      /**
       * Calls get() repeatedly from many different threads, and tests that all of the removed entries
       * (removed because of size limits or expiration) trigger appropriate removal notifications.
       */
      @J2ktIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        }
      }
    
      /**
       * This test attempts to create a situation in which one thread is constantly changing a file from
       * being a real directory to being a symlink to another directory. It then calls
       * deleteDirectoryContents thousands of times on a directory whose subtree contains the file
       * that's switching between directory and symlink to try to ensure that under no circumstance does
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            final NameQueryResponse response = new NameQueryResponse(this.transportContext.getConfig());
    
            if (addr != null) { /*
                                 * UniAddress calls always use this
                                 * because it specifies addr
                                 */
                request.addr = addr; /* if addr ends with 255 flag it bcast */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 38.5K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            .header("Sec-WebSocket-Version", "13")
            .header("Sec-WebSocket-Extensions", "permessage-deflate")
            .build()
        call = RealCall(webSocketClient, request, forWebSocket = true)
        call!!.enqueue(
          object : Callback {
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              val socket =
                try {
                  checkUpgradeSuccess(response)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt

            .url(server.url("/"))
            .post(AsyncRequestBody())
            .build()
        val call = client.newCall(request)
        call.timeout().timeout(250, TimeUnit.MILLISECONDS)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("timeout")
          assertTrue(call.isCanceled())
        }
      }
    
      @Test
      fun fullCallTimeoutDoesNotApplyOnceConnected() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            qosInfo.length = 10;
            qosInfo.impersonation_level = 1;
            qosInfo.context_mode = 2;
            qosInfo.effective_only = 3;
    
            qosInfo.encode(mockNdrBuffer);
    
            // Verify encode calls
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).enc_ndr_long(qosInfo.length);
            verify(mockNdrBuffer).enc_ndr_short(qosInfo.impersonation_level);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 60.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Splitter.java

       * @return a stream over the segments split from the parameter
       * @since 33.4.0 (but since 28.2 in the JRE flavor)
       */
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Stream calls.
      @IgnoreJRERequirement
      public Stream<String> splitToStream(CharSequence sequence) {
        // Can't use Streams.stream() from base
        return StreamSupport.stream(split(sequence).spliterator(), false);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  10. CHANGELOG/CHANGELOG-1.36.md

    - Client-go: fake client-go (i.e. anything using k8s.io/client-go/testing) now supports separate List+Watch calls  with checking of ResourceVersion in the Watch call. This closes a race condition where creating an object directly after an informer cache has synced (= List call completed) and before the Watch call completed would cause that object to not be sent to the informer. A visible side-effect of adding that support is that List meta data contains a ResourceVersion...
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Mar 19 23:38:00 GMT 2026
    - 142.1K bytes
    - Click Count (0)
Back to Top