Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 249 for drained (0.05 sec)

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

          }
        }
    
        /**
         * Performs a depth-first traversal of the graph edges defined by each node's {@code
         * allowedPriorLocks} to find a path between {@code this} and the specified {@code lock}.
         *
         * @return If a path was found, a chained {@link ExampleStackTrace} illustrating the path to the
         *     {@code lock}, or {@code null} if no path was found.
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/MediaType.java

      public static final MediaType WEBM_AUDIO = createConstant(AUDIO_TYPE, "webm");
    
      /**
       * L16 audio, as defined by <a href="https://tools.ietf.org/html/rfc2586">RFC 2586</a>.
       *
       * @since 24.1
       */
      public static final MediaType L16_AUDIO = createConstant(AUDIO_TYPE, "l16");
    
      /**
       * L24 audio, as defined by <a href="https://tools.ietf.org/html/rfc3190">RFC 3190</a>.
       *
       * @since 20.0
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().poll(timeout, unit);
      }
    
      @Override
      public int drainTo(Collection<? super E> c) {
        return delegate().drainTo(c);
      }
    
      @Override
      public int drainTo(Collection<? super E> c, int maxElements) {
        return delegate().drainTo(c, maxElements);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Streams.java

       * comes from a data structure supporting efficient indexed random access, typically an array or
       * list.
       *
       * <p>The order of the resulting stream is defined if and only if the order of the original stream
       * was defined.
       */
      public static <T extends @Nullable Object, R extends @Nullable Object> Stream<R> mapWithIndex(
          Stream<T> stream, FunctionWithIndex<? super T, ? extends R> function) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/annotations/VisibleForTesting.java

     * representation will be hard to change. Instead, use <a
     * href="http://errorprone.info/bugpattern/RestrictedApi">RestrictedApiChecker</a>, which enforces
     * fine-grained visibility policies.
     *
     * @author Johannes Henkel
     */
    @GwtCompatible
    public @interface VisibleForTesting {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jan 30 22:25:16 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

      protected abstract BlockingQueue<E> delegate();
    
      @CanIgnoreReturnValue
      @Override
      public int drainTo(Collection<? super E> c, int maxElements) {
        return delegate().drainTo(c, maxElements);
      }
    
      @CanIgnoreReturnValue
      @Override
      public int drainTo(Collection<? super E> c) {
        return delegate().drainTo(c);
      }
    
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingBlockingDeque.java

        return delegate().poll(timeout, unit);
      }
    
      @Override
      public int drainTo(Collection<? super E> c) {
        return delegate().drainTo(c);
      }
    
      @Override
      public int drainTo(Collection<? super E> c, int maxElements) {
        return delegate().drainTo(c, maxElements);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

        "SelfEquals", // TODO(cpovirk): Consider using EqualsTester from Guava.
        "UndefinedEquals", // Comparisons of an object to itself *are* defined.
      })
      public void testEquals_self() {
        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
      // Comparisons to null *are* defined.
      @SuppressWarnings("UndefinedEquals")
      public void testEquals_null() {
        // noinspection ObjectEqualsNull
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ComparisonChain.java

    import com.google.common.primitives.Booleans;
    import com.google.errorprone.annotations.InlineMe;
    import java.util.Comparator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should
     * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>.
     *
     * <p>Example usage of {@code ComparisonChain}:
     *
     * {@snippet :
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/TestLogHandler.kt

            try {
              base.evaluate()
            } finally {
              afterEach(null)
            }
          }
        }
    
      fun takeAll(): List<String> {
        val list = mutableListOf<String>()
        logs.drainTo(list)
        return list
      }
    
      fun take(): String =
        logs.poll(10, TimeUnit.SECONDS)
          ?: throw AssertionError("Timed out waiting for log message.")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top