- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 659 for iterations (0.05 sec)
-
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() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 852 bytes - Viewed (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); } // Assert
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
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
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java
public int[] call() throws Exception { int iterations = 100000; int nKeys = keys.size(); int[] deltas = new int[nKeys]; Operation[] operations = Operation.values(); for (int i = 0; i < iterations; i++) { int keyIndex = random.nextInt(nKeys); String key = keys.get(keyIndex); Operation op = operations[random.nextInt(operations.length)]; switch (op) { case ADD:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6K bytes - Viewed (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() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 907 bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
t.url = null; // Null URL t.numIter = 0; // No iterations to avoid NPE // Should not throw exception assertDoesNotThrow(() -> t.run(), "run() should handle null URL gracefully"); assertEquals(1, t.numComplete, "numComplete should still be incremented"); } @Test @DisplayName("run method handles zero iterations") void testRunWithZeroIterations() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Platform.java
return mapMaker.weakKeys(); } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { return e.getDeclaringClass(); } static int reduceIterationsIfGwt(int iterations) { return iterations; } static int reduceExponentIfGwt(int exponent) { return exponent; } private Platform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/SuppliersTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Platform.java
return mapMaker.weakKeys(); } static <E extends Enum<E>> Class<E> getDeclaringClassOrObjectForJ2cl(E e) { return e.getDeclaringClass(); } static int reduceIterationsIfGwt(int iterations) { return iterations; } static int reduceExponentIfGwt(int exponent) { return exponent; } private Platform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0)