- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 936 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) -
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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
E e) /*-{ return ******@****.***::getDeclaringClass()(); }-*/; static int reduceIterationsIfGwt(int iterations) { return iterations / 10; } static int reduceExponentIfGwt(int exponent) { return exponent / 2; } private Platform() {}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jun 10 15:17:16 UTC 2025 - 5.5K 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) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
* bytes long as the original implementation in C++. See http://cl/106539598 */ 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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K 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)