- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ConcurrentLinkedQueue (0.14 sec)
-
src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java
private static final Logger log = LoggerFactory.getLogger(RdmaBufferManager.class); private final RdmaProvider provider; private final ConcurrentLinkedQueue<RdmaMemoryRegion> availableSendRegions; private final ConcurrentLinkedQueue<RdmaMemoryRegion> availableReceiveRegions; private final AtomicLong totalAllocated; private final AtomicLong totalReleased; // Buffer pool configuration
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/TestingRemovalListeners.java
return new CountingRemovalListener<>(); } /** {@link RemovalListener} that adds all {@link RemovalNotification} objects to a queue. */ @GwtIncompatible // ConcurrentLinkedQueue static class QueuingRemovalListener<K, V> extends ConcurrentLinkedQueue<RemovalNotification<K, V>> implements RemovalListener<K, V> { @Override public void onRemoval(RemovalNotification<K, V> notification) { add(notification);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/DispatcherTest.java
ImmutableList.of( subscriber(bus, s1, "handleString", String.class), subscriber(bus, s2, "handleString", String.class)); private final ConcurrentLinkedQueue<Object> dispatchedSubscribers = new ConcurrentLinkedQueue<>(); private Dispatcher dispatcher; public void testPerThreadQueuedDispatcher() { dispatcher = Dispatcher.perThreadDispatchQueue();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
private static final int MAX_BUFFER_SIZE = 0x100000; // 1MB maximum // Use concurrent queue for lock-free operations private static final java.util.concurrent.ConcurrentLinkedQueue<byte[]> bufferQueue = new java.util.concurrent.ConcurrentLinkedQueue<>(); // Track queue size with atomic counter for efficiency
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
new TestStringQueueGenerator() { @Override public Queue<String> create(String[] elements) { return new ConcurrentLinkedQueue<>(MinimalCollection.of(elements)); } }) .named("ConcurrentLinkedQueue") .withFeatures( CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 7.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
new TestStringQueueGenerator() { @Override public Queue<String> create(String[] elements) { return new ConcurrentLinkedQueue<>(MinimalCollection.of(elements)); } }) .named("ConcurrentLinkedQueue") .withFeatures( CollectionFeature.GENERAL_PURPOSE, CollectionFeature.KNOWN_ORDER, CollectionSize.ANY)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
// probably provide a stronger order guarantee, though that order would obviously be different // in some cases. /** Global event queue. */ private final ConcurrentLinkedQueue<EventWithSubscriber> queue = new ConcurrentLinkedQueue<>(); @Override void dispatch(Object event, Iterator<Subscriber> subscribers) { checkNotNull(event); while (subscribers.hasNext()) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/LocalCacheMapComputeTest.java
import static org.junit.Assert.assertThrows; import com.google.common.util.concurrent.UncheckedExecutionException; import java.util.ArrayList; import java.util.List; import java.util.Queue; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.ExecutionException; import java.util.function.IntConsumer; import java.util.stream.IntStream; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:49:18 UTC 2025 - 6.4K bytes - Viewed (0) -
docs/contribute/concurrency.md
#### Per-Connection Locks Each connection has its own lock. The connections in the pool are all in a `ConcurrentLinkedQueue`. Due to data races, iterators of this queue may return removed connections. Callers must check the connection's `noNewExchanges` property before using connections from the pool.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0)