- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 62 for drain (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/QueuesTest.java
} private static <T> int drain( BlockingQueue<T> q, Collection<? super T> buffer, int maxElements, long timeout, TimeUnit unit, boolean interruptibly) throws InterruptedException { return interruptibly ? Queues.drain(q, buffer, maxElements, timeout, unit)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 12.2K 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) -
guava/src/com/google/common/collect/Queues.java
@GwtIncompatible // BlockingQueue public static <E> int drain( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout) throws InterruptedException { // TODO(b/126049426): Consider using saturateToNanos(timeout) instead. return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Queues.java
public static <E> int drain( BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout) throws InterruptedException { // TODO(b/126049426): Consider using saturateToNanos(timeout) instead. return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.3K 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) -
cmd/bitrot-streaming.go
h hash.Hash shardSize int64 hashBytes []byte } func (b *streamingBitrotReader) Close() error { if b.rc == nil { return nil } if closer, ok := b.rc.(io.Closer); ok { // drain the body for connection reuse at network layer. xhttp.DrainBody(io.NopCloser(b.rc)) return closer.Close() } return nil } func (b *streamingBitrotReader) ReadAt(buf []byte, offset int64) (int, error) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:19:30 UTC 2025 - 6.2K bytes - Viewed (0) -
cmd/admin-heal-ops.go
} h.mutex.Unlock() case <-h.ctx.Done(): h.mutex.Lock() h.endTime = UTCNow() h.currentStatus.Summary = healFinishedStatus h.mutex.Unlock() // drain traverse channel so the traversal // go-routine does not leak. go func() { // Eventually the traversal go-routine closes // the channel and returns, so this go-routine // itself will not leak.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.21.md
## Changes by Kind ### Deprecation
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Fri Oct 14 07:03:14 UTC 2022 - 367.3K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.29.md
- Added `kubectl node drain` helper callbacks `OnPodDeletionOrEvictionStarted` and `OnPodDeletionOrEvictionFailed`; people extending `kubectl` can use these new callbacks for more granularity. Deprecated the `OnPodDeletedOrEvicted`
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Mar 12 00:36:01 UTC 2025 - 429.6K bytes - Viewed (1)