- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for drainTo (0.04 sec)
-
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) -
guava/src/com/google/common/collect/ForwardingBlockingDeque.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
android/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) -
android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.3K bytes - Viewed (0) -
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) -
docs/contribute/concurrency.md
#### Do-stuff-later pool
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Logger.java
/** * Logger entries returned by {@link #drain()} method. * @param level The logging level, never {@code null}. * @param message The logging message, never {@code null}. * @param error The error, if applicable. */ record Entry(@Nonnull Level level, @Nonnull String message, @Nullable Throwable error) {} /**
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 4.9K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex_test.go
result := drain(input) if result != test.output { t.Errorf("%s: got %q expected %q", test.name, result, test.output) } } } // lines joins the arguments together as complete lines. func lines(a ...string) string { return strings.Join(a, "\n") + "\n" } // drain returns a single string representing the processed input tokens.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/logging/AccumulatingLogger.java
requireNonNull(level, "level"); requireNonNull(message, "message"); entries.get().add(new Entry(level, message, error)); } @Override public List<Entry> drain() { return entries.getAndSet(new CopyOnWriteArrayList<>()); }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jan 31 20:56:58 UTC 2025 - 1.7K bytes - Viewed (0)