- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for decrementAndGet (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/helper/LogNotificationHelper.java
maxBufferSize = 1000; } queue.offer(event); if (size.incrementAndGet() > maxBufferSize) { if (queue.poll() != null) { size.decrementAndGet(); } } } /** * Drains all events from the buffer and returns them as a list. * * @return a list of all buffered events */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 5.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
removeFromReplica(replica, replicatedMaxValue); } private static void removeFromReplica(Map<Integer, AtomicInteger> replica, int value) { AtomicInteger numOccur = replica.get(value); if (numOccur.decrementAndGet() == 0) { replica.remove(value); } } private static void assertIntact(MinMaxPriorityQueue<?> q) { if (!q.isIntact()) { fail("State " + Arrays.toString(q.toArray())); }
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) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
removeFromReplica(replica, replicatedMaxValue); } private static void removeFromReplica(Map<Integer, AtomicInteger> replica, int value) { AtomicInteger numOccur = replica.get(value); if (numOccur.decrementAndGet() == 0) { replica.remove(value); } } private static void assertIntact(MinMaxPriorityQueue<?> q) { if (!q.isIntact()) { fail("State " + Arrays.toString(q.toArray())); }
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) -
android/guava/src/com/google/common/util/concurrent/Futures.java
delegateIndex = delegates.size(); } @SuppressWarnings("Interruption") // We are propagating an interrupt from a caller. private void recordCompletion() { if (incompleteOutputCount.decrementAndGet() == 0 && wasCancelled) { for (ListenableFuture<? extends T> toCancel : inputFutures) { if (toCancel != null) { toCancel.cancel(shouldInterrupt); } } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 64.2K bytes - Click Count (0)