- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for Decrements (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Oct 10 23:13:45 GMT 2025 - 11.7K bytes - Click Count (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. *Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 17.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
method.setAccessible(true); method.invoke(crawlerThread); assertEquals(Integer.valueOf(1), crawlerContext.getActiveThreadCount()); } /** * Test finishCrawling decrements active thread count. */ public void test_finishCrawling() throws Exception { crawlerContext.setActiveThreadCount(1); // Use reflection to access protected method
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 18.3K bytes - Click Count (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);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (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
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (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(); }
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 25.6K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
*/ protected boolean noWaitOnFolder = false; /** * Increments the active thread count. */ protected void startCrawling() { synchronized (crawlerContext.activeThreadCountLock) { crawlerContext.activeThreadCount++; } } /** * Decrements the active thread count. */ protected void finishCrawling() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Thu Aug 07 02:55:08 GMT 2025 - 20.4K bytes - Click Count (0) -
internal/lru/lru.go
func (l *LruList[K, V]) insertValue(k K, v V, expiresAt time.Time, at *Entry[K, V]) *Entry[K, V] { return l.insert(&Entry[K, V]{Value: v, Key: k, ExpiresAt: expiresAt}, at) } // Remove removes e from its list, decrements l.len func (l *LruList[K, V]) Remove(e *Entry[K, V]) V { e.prev.next = e.next e.next.prev = e.prev e.next = nil // avoid memory leaks e.prev = nil // avoid memory leaks e.list = nil l.len--
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Apr 25 08:22:26 GMT 2025 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
assertEquals(250L, t.delay, "delay should be configurable"); assertEquals("smb://custom/path/file.txt", t.url, "url should be configurable"); } @Test @DisplayName("TestLocking increments numComplete") void testNumCompleteIncrement() { TestLocking t = new TestLocking(); t.url = "smb://test/file.txt"; t.numIter = 0; // Set to 0 so run() exits immediately
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/DoubleMathTest.java
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); } if (StrictMath.abs(StrictMath.pow(2.0, trueLog2) - d)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Oct 30 14:15:36 GMT 2025 - 27.3K bytes - Click Count (0)