Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,332 for delegate (0.08 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

        return UnknownLengthSource()
      }
    
      /**
       * Sets the delegate of `timeout` to [Timeout.NONE] and resets its underlying timeout
       * to the default configuration. Use this to avoid unexpected sharing of timeouts between pooled
       * connections.
       */
      private fun detachTimeout(timeout: ForwardingTimeout) {
        val oldDelegate = timeout.delegate
        timeout.setDelegate(Timeout.NONE)
        oldDelegate.clearDeadline()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/SuppliersTest.java

        Supplier<Integer> copy = reserialize(memoizedSupplier);
        Object unused2 = memoizedSupplier.get();
    
        CountingSupplier countingCopy =
            (CountingSupplier) ((Suppliers.MemoizingSupplier<Integer>) copy).delegate;
        checkMemoize(countingCopy, copy);
      }
    
      public void testCompose() {
        Supplier<Integer> fiveSupplier =
            new Supplier<Integer>() {
              @Override
              public Integer get() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/SuppliersTest.java

        Supplier<Integer> copy = reserialize(memoizedSupplier);
        Object unused2 = memoizedSupplier.get();
    
        CountingSupplier countingCopy =
            (CountingSupplier) ((Suppliers.MemoizingSupplier<Integer>) copy).delegate;
        checkMemoize(countingCopy, copy);
      }
    
      public void testCompose() {
        Supplier<Integer> fiveSupplier =
            new Supplier<Integer>() {
              @Override
              public Integer get() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Address.kt

      /** Returns the client's proxy authenticator. */
      @get:JvmName("proxyAuthenticator") val proxyAuthenticator: Authenticator,
      /**
       * Returns this address's explicitly-specified HTTP proxy, or null to delegate to the
       * [proxy selector][proxySelector].
       */
      @get:JvmName("proxy") val proxy: Proxy?,
      protocols: List<Protocol>,
      connectionSpecs: List<ConnectionSpec>,
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/hash/AbstractCompositeHashFunction.java

    import java.nio.charset.Charset;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract composition of multiple hash functions. {@linkplain #newHasher()} delegates to the
     * {@code Hasher} objects of the delegate hash functions, and in the end, they are used by
     * {@linkplain #makeHash(Hasher[])} that constructs the final {@code HashCode}.
     *
     * @author Dimitris Andreou
     */
    @Immutable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DescendingMultiset.java

        return forwardMultiset().headMultiset(fromElement, boundType).descendingMultiset();
      }
    
      @Override
      protected Multiset<E> delegate() {
        return forwardMultiset();
      }
    
      @Override
      public SortedMultiset<E> descendingMultiset() {
        return forwardMultiset();
      }
    
      @Override
      @CheckForNull
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

        assertTrue(multimap.replaceValues("bar", asList(2, 4)) instanceof RandomAccess);
      }
    
      /** Test throwing ConcurrentModificationException when a sublist's ancestor's delegate changes. */
      public void testSublistConcurrentModificationException() {
        ListMultimap<String, Integer> multimap = create();
        multimap.putAll("foo", asList(1, 2, 3, 4, 5));
        List<Integer> list = multimap.get("foo");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/ByteSink.java

      /**
       * Opens a new buffered {@link OutputStream} for writing to this sink. The returned stream is not
       * required to be a {@link BufferedOutputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new,
       * independent stream each time it is called.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 28 16:55:09 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/TraverserTest.java

        private final SuccessorsFunction<Character> delegate;
        final Multiset<Character> requestedNodes = HashMultiset.create();
    
        RequestSavingGraph(SuccessorsFunction<Character> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        public Iterable<? extends Character> successors(Character node) {
          requestedNodes.add(node);
          return delegate.successors(node);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/TraverserTest.java

        private final SuccessorsFunction<Character> delegate;
        final Multiset<Character> requestedNodes = HashMultiset.create();
    
        RequestSavingGraph(SuccessorsFunction<Character> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        public Iterable<? extends Character> successors(Character node) {
          requestedNodes.add(node);
          return delegate.successors(node);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
Back to top