Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 761 for call1 (0.01 sec)

  1. android/guava/src/com/google/common/collect/PeekingIterator.java

       *
       * <p>The objects returned by consecutive calls to {@link #peek()} then {@link #next()} are
       * guaranteed to be equal to each other.
       */
      @CanIgnoreReturnValue
      @Override
      @ParametricNullness
      E next();
    
      /**
       * {@inheritDoc}
       *
       * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred
       * since the most recent call to {@link #next()}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     *
     * ```java
     * Call call = client.newCall(request);
     * call.enqueue(new Callback() {
     *   public void onResponse(Call call, Response response) throws IOException {
     *     try (ResponseBody responseBody = response.body()) {
     *     ... // Use the response.
     *     }
     *   }
     *
     *   public void onFailure(Call call, IOException e) {
     *   ... // Handle the failure.
     *   }
     * });
     * ```
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        return capacityWithoutIt >= addressState.policy.minimumConcurrentCalls
      }
    
      /**
       * Prunes any leaked calls and then returns the number of remaining live calls on [connection].
       * Calls are leaked if the connection is tracking them but the application code has abandoned
       * them. Leak detection is imprecise and relies on garbage collection.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jun 03 17:10:08 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

        assertEquals(0, (int) iter.next());
    
        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
         * We test peek() after various calls to make sure that one bad call doesn't interfere with its
         * ability to throw the correct exception in the future.
         */
        assertThrows(NoSuchElementException.class, iter::peek);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

      @get:JvmName("certificateChainCleaner")
      val certificateChainCleaner: CertificateChainCleaner?
    
      /**
       * Default call timeout (in milliseconds). By default there is no timeout for complete calls, but
       * there is for the connect, write, and read actions within a call.
       *
       * For WebSockets and duplex calls the timeout only applies to the initial setup.
       */
      @get:JvmName("callTimeoutMillis")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * insert a key-value pair with a key that isn't already in the multimap, {@code
     * AbstractMapBasedMultimap} calls {@link #createCollection()} to create the collection of values
     * for that key. The subclass should not call {@link #createCollection()} directly, and a new
     * instance should be created every time the method is called.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                        if (callCount[0] % 2 == 0) {
                            throw new RuntimeException("Even call error");
                        }
                        // Odd calls succeed
                    }
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // First call (odd) should succeed
            String result1 = aggregateLogJob.execute();
            assertEquals("", result1);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/PrintEventsNonConcurrent.java

        }
    
        @Override public void callStart(Call call) {
          printEvent("callStart");
        }
    
        @Override public void proxySelectStart(Call call, HttpUrl url) {
          printEvent("proxySelectStart");
        }
    
        @Override public void proxySelectEnd(Call call, HttpUrl url, List<Proxy> proxies) {
          printEvent("proxySelectEnd");
        }
    
        @Override public void dnsStart(Call call, String domainName) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 16 23:20:49 UTC 2020
    - 5.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

      public void testReturning() throws Exception {
        assertNull(Callables.returning(null).call());
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertSame(value, callable.call());
        // Expect the same value on subsequent calls
        assertSame(value, callable.call());
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testAsAsyncCallable() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

        OkHttp 2 uses the new `Request` class for this.
    
     *  **Dispatcher** is a new class that manages the queue of asynchronous calls. It
        implements limits on total in-flight calls and in-flight calls per host.
    
    #### Implementation changes
    
     * Support Android `TrafficStats` socket tagging.
     * Drop authentication headers on redirect.
     * Added support for compressed data frames.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top