- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 422 for Kqueue (0.04 seconds)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* * <ul> * <li>invoking the {@code finalize} methods of unreachable objects * <li>clearing weak references to unreachable referents * <li>enqueuing weak references to unreachable referents in their reference queue * </ul> * * <p>This class uses (possibly repeated) invocations of {@link java.lang.System#gc()} to cause * finalization to happen. However, a call to {@code System.gc()} is specified to be no more than a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0) -
docs/bucket/replication/DESIGN.md
### Replication of object version and metadata
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 14.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EvictingQueueTest.java
assertTrue(queue.add("one")); assertTrue(queue.add("two")); assertTrue(queue.add("three")); assertThat(queue.element()).isEqualTo("one"); assertThat(queue.peek()).isEqualTo("one"); assertEquals(3, queue.size()); assertEquals(0, queue.remainingCapacity()); assertTrue(queue.add("four")); assertThat(queue.element()).isEqualTo("two");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(6, queue.size()); assertEquals(8, queue.capacity()); checkUnbounded(queue); checkNatural(queue); } public void testCreation_maximumSize_withContents() { MinMaxPriorityQueue<Integer> queue = rawtypeToWildcard(MinMaxPriorityQueue.maximumSize(42)).create(NUMBERS); assertEquals(6, queue.size()); assertEquals(11, queue.capacity()); assertEquals(42, queue.maximumSize);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ConsumingQueueIterator.java
import java.util.Queue; import org.jspecify.annotations.Nullable; /** * An Iterator implementation which draws elements from a queue, removing them from the queue as it * iterates. This class is not thread safe. */ @GwtCompatible final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> { private final Queue<T> queue; ConsumingQueueIterator(Queue<T> queue) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/MoreExecutors.java
* <p>After execution begins on a thread from the {@code delegate} {@link Executor}, tasks are * polled and executed from a task queue until there are no more tasks. The thread will not be * released until there are no more tasks to run. * * <p>If a task is submitted while a thread is executing tasks from the task queue, the thread * will not be released until that submitted task is also complete. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 45.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ConsumingQueueIterator.java
import java.util.Queue; import org.jspecify.annotations.Nullable; /** * An Iterator implementation which draws elements from a queue, removing them from the queue as it * iterates. This class is not thread safe. */ @GwtCompatible final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> { private final Queue<T> queue; ConsumingQueueIterator(Queue<T> queue) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.4K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* formally, removes an element {@code e} such that {@code o.equals(e)}, if this queue contains * one or more such elements. Returns {@code true} if and only if this queue contained the * specified element (or equivalently, if this queue changed as a result of the call). * * @param o element to be removed from this queue, if presentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 19K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
private final BlockingQueue<String> queue; EnableWrites(BlockingQueue<String> queue, long tMinus) { super(tMinus); assertFalse(queue.isEmpty()); assertFalse(queue.offer("shouldBeRejected")); this.queue = queue; } @Override protected void doAction() { assertThat(queue.remove()).isNotNull(); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 38.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingQueueTest.java
.testForwarding( Queue.class, new Function<Queue, Queue>() { @Override public Queue apply(Queue delegate) { return wrap(delegate); } }); } private static <T> Queue<T> wrap(Queue<T> delegate) { return new ForwardingQueue<T>() { @Override protected Queue<T> delegate() { return delegate;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.3K bytes - Click Count (0)