Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for decrementAndGet (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

          seenExceptionsUpdater.compareAndSet(state, expect, update);
        }
    
        @Override
        int decrementAndGetRemainingCount(AggregateFutureState<?> state) {
          return remainingCountUpdater.decrementAndGet(state);
        }
    
        @Override
        String atomicHelperTypeForTest() {
          return "SafeAtomicHelper";
        }
      }
    
      private static final class SynchronizedAtomicHelper extends AtomicHelper {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

        return addAndGet(key, 1);
      }
    
      /**
       * Decrements by one the value currently associated with {@code key}, and returns the new value.
       */
      @CanIgnoreReturnValue
      public long decrementAndGet(K key) {
        return addAndGet(key, -1);
      }
    
      /**
       * Adds {@code delta} to the value currently associated with {@code key}, and returns the new
       * value.
       */
      @CanIgnoreReturnValue
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

             * Decrements the reference count for this statistics object.
             *
             * @return the new reference count after decrementing
             */
            public int decrement() {
                return count.decrementAndGet();
            }
        }
    
        /**
         * Enumeration of predefined statistics actions that can be recorded
         * during crawler operations. Each action represents a specific event
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. 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()));
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36K bytes
    - Viewed (0)
  5. 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);
              }
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top