- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 150 for increment (0.17 sec)
-
src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java
} @Test @DisplayName("checkRelease(): when connected and usage>0 performs check without throwing") void checkRelease_connectedAndInUse_doesNotThrow() { // Arrange: spy isConnected() to return true; increment usage via acquire() CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx)); doReturn(true).when(trace).isConnected();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java
*/ private int getFailureCount(ChangeNotificationHandle handle) { return failureCounts.getOrDefault(handle.getDirectoryPath(), 0); } /** * Increment failure count for a handle * * @param handle notification handle */ private void incrementFailureCount(ChangeNotificationHandle handle) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
* the response, the client will issue a conditional `GET`. The server will then send either * the updated response if it has changed, or a short 'not modified' response if the client's copy * is still valid. Such responses increment both the network count and hit count. * * The best way to improve the cache hit rate is by configuring the web server to return cacheable
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
* This is usually incremented in conjunction with {@link #missCount}, though {@code missCount} is * also incremented when an exception is encountered during cache loading (see {@link * #loadExceptionCount}). Multiple concurrent misses for the same key will result in a single load * operation. This may be incremented not in conjunction with {@code missCount} if the load occursRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java
assertEquals(1, statsObject.count.get()); assertEquals(2, statsObject.increment()); assertEquals(2, statsObject.count.get()); assertEquals(1, statsObject.decrement()); assertEquals(1, statsObject.count.get()); assertEquals(0, statsObject.decrement()); assertEquals(0, statsObject.count.get()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 15K bytes - Viewed (0) -
cmd/data-scanner-metric.go
duration := time.Since(startTime) atomic.AddUint64(&p.operations[s], 1) if s < scannerMetricLastRealtime { p.latency[s].addSize(duration, int64(sz)) } } } // incTime will increment time on metric s with a specific duration. // Use for s < scannerMetricLastRealtime func (p *scannerMetrics) incTime(s scannerMetric, d time.Duration) { atomic.AddUint64(&p.operations[s], 1)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java
/** * Checks if the cache has pending changes * @return true if cache has changes */ public boolean hasChanges() { return hasChanges; } /** * Get and increment inconsistency count * * @return the current inconsistency count */ public int getInconsistencyCount() { return inconsistencyCount.getAndIncrement(); } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 11.4K bytes - Viewed (0) -
cmd/site-replication-utils.go
st.Status = s.Status return nil } sm.resyncStatus[s.ResyncID] = st return saveSiteResyncMetadata(GlobalContext, st, newObjectLayerFn()) } return nil } // increment SyncedBuckets count func (sm *siteResyncMetrics) incBucket(o resyncOpts, bktStatus ResyncStatusType) { if !globalSiteReplicationSys.isEnabled() { return } sm.Lock() defer sm.Unlock()
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.8K 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) -
guava/src/com/google/common/net/InetAddresses.java
* both IPv4 and IPv6 addresses. * * @param address the InetAddress to increment * @return a new InetAddress that is one more than the passed in address * @throws IllegalArgumentException if InetAddress is at the end of its range * @since 10.0 */ public static InetAddress increment(InetAddress address) { byte[] addr = address.getAddress(); int i = addr.length - 1;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0)