- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for Decrements (0.05 sec)
-
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
} runningTasks++; } } /** Decrements the running task count. */ private void endTask() { synchronized (lock) { int numRunning = --runningTasks; if (numRunning == 0) { lock.notifyAll(); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
*/ public long get(K key) { return map.getOrDefault(key, 0L); } /** * Increments by one the value currently associated with {@code key}, and returns the new value. */ @CanIgnoreReturnValue public long incrementAndGet(K key) { return addAndGet(key, 1); } /** * Decrements by one 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) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java
return accessCount.get(); } /** * Increments the access count and returns the new value. * @return The incremented access count. */ public long incrementAndGetAccessCount() { return accessCount.incrementAndGet(); } /** * Decrements the access count and returns the new value. * @return The decremented access count. */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java
/** * A helper which does some thread-safe operations for aggregate futures, which must be implemented * differently in GWT. Namely: * * <ul> * <li>Lazily initializes a set of seen exceptions * <li>Decrements a counter atomically * </ul> */ @GwtCompatible @ReflectionSupport(value = ReflectionSupport.Level.FULL) abstract class AggregateFutureState<OutputT extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
} runningTasks++; } } /** Decrements the running task count. */ private void endTask() { synchronized (lock) { int numRunning = --runningTasks; if (numRunning == 0) { lock.notifyAll(); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java
} /** * Increments the reference count for this statistics object. * * @return the new reference count after incrementing */ public int increment() { return count.incrementAndGet(); } /** * Decrements the reference count for this statistics object. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 17.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
when (this[i]) { '\t', '\n', '\u000C', '\r', ' ' -> Unit else -> return i } } return endIndex } /** * Decrements [endIndex] until `input[endIndex - 1]` is not ASCII whitespace. Stops at [startIndex]. */ internal fun String.indexOfLastNonAsciiWhitespace( startIndex: Int = 0, endIndex: Int = length, ): Int { for (i in endIndex - 1 downTo startIndex) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
assertSame(response, out); verify(treeConnection).send(resourceLoc, request, response, params); } @Test @DisplayName("close calls release and decrements usage; double release throws") void closeAndReleaseBehavior() { // Validates usage counting and that an extra release() throws RuntimeCIFSException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
verify(tree, times(1)).release(); } @Test @DisplayName("release() decrements usage; closes only when count reaches zero") void release_decrementsAndClosesOnZero() throws CIFSException { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(8L, true, true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java
assertEquals(1L, crawlerContext.decrementAndGetAccessCount()); // Test large increments for (int i = 0; i < 1000; i++) { crawlerContext.incrementAndGetAccessCount(); } assertEquals(1001L, crawlerContext.getAccessCount()); // Test large decrements for (int i = 0; i < 500; i++) { 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)