- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,270 for iterations (0.1 seconds)
-
guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(ITERATIONS / 2, map.size()); assertEquals(nonZeroKeys, map.asMap().keySet()); } public void testClear() { AtomicLongMap<Object> map = AtomicLongMap.create(); for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); } assertEquals(ITERATIONS, map.size()); map.clear(); assertEquals(0, map.size()); assertTrue(map.isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java
assertEquals(ITERATIONS / 2, map.size()); assertEquals(nonZeroKeys, map.asMap().keySet()); } public void testClear() { AtomicLongMap<Object> map = AtomicLongMap.create(); for (int i = 0; i < ITERATIONS; i++) { map.put(new Object(), i); } assertEquals(ITERATIONS, map.size()); map.clear(); assertEquals(0, map.size()); assertTrue(map.isEmpty()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 17.5K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/TestPlatform.java
*/ package com.google.common.primitives; import com.google.common.annotations.GwtCompatible; @GwtCompatible final class TestPlatform { static int reduceIterationsIfGwt(int iterations) { return iterations / 10; } private TestPlatform() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 852 bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/TestPlatform.java
import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.NullUnmarked; @GwtCompatible @NullUnmarked final class TestPlatform { static int reduceIterationsIfGwt(int iterations) { return iterations; } private TestPlatform() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 907 bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/TestPlatform.java
import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.NullUnmarked; @GwtCompatible @NullUnmarked final class TestPlatform { static int reduceIterationsIfGwt(int iterations) { return iterations; } private TestPlatform() {}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 907 bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java
assertNull(exceptions[i], "Thread " + i + " threw exception"); } // Verify all readers completed all iterations for (int i = 0; i < readerCount; i++) { assertEquals("Reader " + i + " should complete all iterations", iterations, trueCount[i] + falseCount[i]); } } /** * Test getName() method can be called concurrently without issues. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.8K bytes - Click Count (1) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
executor.shutdown(); // Then - Verify no exceptions occurred if (!exceptions.isEmpty()) { fail("Concurrent operations caused exceptions: " + exceptions.get(0)); } assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed"); } /** * Test that session release with double-check pattern prevents race conditions. */ @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
* 800 bytes long as the C++ reference implementation. */ public void testMultipleLengths() { int iterations = 800; byte[] buf = new byte[iterations * 4]; int bufLen = 0; long h = 0; for (int i = 0; i < iterations; ++i) { h ^= fingerprint(buf, i); h = remix(h); buf[bufLen++] = getChar(h); h ^= fingerprint(buf, i * i % bufLen);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
@Test @DisplayName("Test multiple sign operations in sequence") void testMultipleSignOperations() { // Arrange int iterations = 10; // Act for (int i = 0; i < iterations; i++) { signingDigest.sign(testData, i, testData.length - i, request, response); } // AssertCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)