- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for decrement (0.29 sec)
-
android/guava/src/com/google/common/cache/LongAdder.java
|| !(uncontended = a.cas(v = a.value, v + x))) retryUpdate(x, hc, uncontended); } } /** Equivalent to {@code add(1)}. */ @Override public void increment() { add(1L); } /** Equivalent to {@code add(-1)}. */ public void decrement() { add(-1L); } /** * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
*/ public int increment() { return count.incrementAndGet(); } /** * Decrements the reference count for this statistics object. * * @return the new reference count after decrementing */ public int decrement() { return count.decrementAndGet(); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
abstract void compareAndSetSeenExceptions( AggregateFutureState<?> state, @Nullable Set<Throwable> expect, Set<Throwable> update); /** Performs an atomic decrement-and-get of {@link AggregateFutureState#remainingField}. */ abstract int decrementAndGetRemainingCount(AggregateFutureState<?> state); abstract String atomicHelperTypeForTest(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
// Test increment assertEquals(1L, crawlerContext.incrementAndGetAccessCount()); assertEquals(1L, crawlerContext.getAccessCount()); assertEquals(2L, crawlerContext.incrementAndGetAccessCount()); assertEquals(2L, crawlerContext.getAccessCount()); // Test decrement assertEquals(1L, crawlerContext.decrementAndGetAccessCount());
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/TransportTest.java
@Test @DisplayName("acquire should increment usage count") void shouldIncrementUsageCount() { long initial = transport.getUsageCount(); transport.acquire(); assertEquals(initial + 1, transport.getUsageCount()); } @Test @DisplayName("release should decrement usage count") void shouldDecrementUsageCount() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
private strictfp double trueLog2(double d) { double trueLog2 = StrictMath.log(d) / StrictMath.log(2); // increment until it's >= the true value while (StrictMath.pow(2.0, trueLog2) < d) { trueLog2 = StrictMath.nextUp(trueLog2); } // decrement until it's <= the true value while (StrictMath.pow(2.0, trueLog2) > d) { trueLog2 = StrictMath.nextAfter(trueLog2, Double.NEGATIVE_INFINITY);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
* @param sid the RPC sid_t structure * @param type the SID type * @param domainName the domain name for this SID * @param acctName the account name for this SID * @param decrementAuthority whether to decrement the authority count */ public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) { this.revision = sid.revision;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* @param sid the RPC sid_t structure * @param type the SID type * @param domainName the domain name for this SID * @param acctName the account name for this SID * @param decrementAuthority whether to decrement the authority count */ public SID(final rpc.sid_t sid, final int type, final String domainName, final String acctName, final boolean decrementAuthority) { this.revision = sid.revision;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
/** * Removes an entry from within a table. All entries following the removed node can stay, but * all preceding ones need to be cloned. * * <p>This method does not decrement count for the removed entry, but does decrement count for * all partially collected entries which are skipped. As such callers which are modifying count * must re-read it after calling removeFromChain. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 90K bytes - Viewed (0)