- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 52 for Decrements (0.05 seconds)
-
src/main/java/jcifs/internal/witness/WitnessRegistration.java
*/ public void updateHeartbeat() { this.lastHeartbeat = System.currentTimeMillis(); this.heartbeatFailures = 0; } /** * Increments the heartbeat failure count. */ public void incrementHeartbeatFailures() { this.heartbeatFailures++; } /** * Gets the number of consecutive heartbeat failures. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 6.7K bytes - Click Count (0) -
cmd/http-tracer_test.go
wg.Wait() finalStats := stats.Load(false) expected := numGoroutines * opsPerGoroutine actual := finalStats["TestAPI"] if actual != expected { t.Errorf("Race condition detected: expected %d, got %d (lost %d increments)", expected, actual, expected-actual) } } // TestBucketHTTPStatsRaceCondition tests concurrent access to bucket-level HTTP stats. func TestRaulBucketHTTPStatsRaceCondition(t *testing.T) {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAdder.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
long initial = transport.getUsageCount(); transport.acquire(); assertEquals(initial + 1, transport.getUsageCount()); } @Test @DisplayName("release should decrement usage count") void shouldDecrementUsageCount() { transport.acquire(); long beforeRelease = transport.getUsageCount(); transport.release();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/en/docs/tutorial/extra-models.md
/// ## Reduce duplication { #reduce-duplication } Reducing code duplication is one of the core ideas in **FastAPI**. As code duplication increments the chances of bugs, security issues, code desynchronization issues (when you update in one place but not in the others), etc. And these models are all sharing a lot of the data and duplicating attribute names and types.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.7K bytes - Click Count (0) -
guava/src/com/google/common/cache/AbstractCache.java
/** Returns {@code value}, if non-negative. Otherwise, returns {@link Long#MAX_VALUE}. */ private static long negativeToMaxValue(long value) { return (value >= 0) ? value : Long.MAX_VALUE; } /** Increments all counters by the values in {@code other}. */ public void incrementBy(StatsCounter other) { CacheStats otherStats = other.snapshot(); hitCount.add(otherStats.hitCount());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 9.2K bytes - Click Count (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
/** Returns {@code value}, if non-negative. Otherwise, returns {@link Long#MAX_VALUE}. */ private static long negativeToMaxValue(long value) { return (value >= 0) ? value : Long.MAX_VALUE; } /** Increments all counters by the values in {@code other}. */ public void incrementBy(StatsCounter other) { CacheStats otherStats = other.snapshot(); hitCount.add(otherStats.hitCount());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K 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: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
cmd/namespace-lock.go
if readLock { locked = nsLk.GetRLock(ctx, opsID, lockSource, timeout) } else { locked = nsLk.GetLock(ctx, opsID, lockSource, timeout) } if !locked { // We failed to get the lock // Decrement ref count since we failed to get the lock n.lockMapMutex.Lock() n.lockMap[resource].ref-- if n.lockMap[resource].ref < 0 { logger.CriticalIf(GlobalContext, errors.New("resource reference count was lower than 0"))Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
cmd/bucket-replication-stats.go
atomic.AddInt64(&v.nowCount, -1) r.qCache.bucketStats[bucket] = v atomic.AddInt64(&r.qCache.srQueueStats.nowBytes, -1*sz) atomic.AddInt64(&r.qCache.srQueueStats.nowCount, -1) } // incProxy increments proxy metrics for proxied calls func (r *ReplicationStats) incProxy(bucket string, api replProxyAPI, isErr bool) { if r != nil { r.pCache.inc(bucket, api, isErr) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 13.6K bytes - Click Count (0)