- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 115 for Increments (0.05 sec)
-
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) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/AbstractCache.java
loadSuccessCount.increment(); totalLoadTime.add(loadTime); } @SuppressWarnings("GoodTime") // b/122668874 @Override public void recordLoadException(long loadTime) { loadExceptionCount.increment(); totalLoadTime.add(loadTime); } @Override public void recordEviction() { evictionCount.increment(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
@Suppress("UNCHECKED_CAST") internal fun Array<String>.concat(value: String): Array<String> { val result = copyOf(size + 1) result[result.lastIndex] = value return result as Array<String> } /** Increments [startIndex] until this string is not ASCII whitespace. Stops at [endIndex]. */ internal fun String.indexOfFirstNonAsciiWhitespace( startIndex: Int = 0, endIndex: Int = length, ): Int {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
loadSuccessCount.increment(); totalLoadTime.add(loadTime); } @SuppressWarnings("GoodTime") // b/122668874 @Override public void recordLoadException(long loadTime) { loadExceptionCount.increment(); totalLoadTime.add(loadTime); } @Override public void recordEviction() { evictionCount.increment(); } @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
method.setAccessible(true); final boolean result = (boolean) method.invoke(crawlerThread, 5); assertFalse(result); } /** * Test startCrawling increments active thread count. */ public void test_startCrawling() throws Exception { assertEquals(Integer.valueOf(0), crawlerContext.getActiveThreadCount());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (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.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (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) } }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Feb 18 16:25:55 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0); // Should report 26 bytes written (20 from encode + 6 increment) assertEquals(26, written); // Check that padding bytes are zeros // The implementation writes 8 bytes with writeInt8 but only increments by 6 // This means bytes 20-27 will be zero (8 bytes written by writeInt8) for (int i = 20; i < 28; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.8K bytes - Viewed (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() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 20.4K bytes - Viewed (0)