- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 172 for 30000 (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
@Test fun lastMaxAgeWins() { assertThat(parseCookie(0L, url, "a=b; Max-Age=2; Max-Age=4; Max-Age=1; Max-Age=3")!!.expiresAt) .isEqualTo(3000L) } /** If a cookie incorrectly defines multiple 'Expires' attributes, the last one defined wins. */ @Test fun lastExpiresAtWins() { assertThat( parseCookie( 0L, url,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
// Verify O(1) performance - should be reasonably fast (allowing for JVM overhead) assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)"); assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)"); assertEquals(threadCount * operationsPerThread, allocations.get());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
long diff7 = result7 - result0; assertTrue("1 day should be approximately ONE_DAY_IN_MILLIS", Math.abs(diff1 - Constants.ONE_DAY_IN_MILLIS) < 10000); assertTrue("7 days should be approximately 7 * ONE_DAY_IN_MILLIS", Math.abs(diff7 - 7 * Constants.ONE_DAY_IN_MILLIS) < 10000); } catch (Exception e) { // If method doesn't exist or cannot be accessed, just verify it doesn't crash
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmServlet.java
super.init(config); /* Set jcifs.smb1 properties we know we want; soTimeout and cachePolicy to 10min. */ Config.setProperty("jcifs.smb1.smb.client.soTimeout", "300000"); Config.setProperty("jcifs.smb1.netbios.cachePolicy", "600"); final Enumeration e = config.getInitParameterNames(); String name; while (e.hasMoreElements()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
assertEquals(3000, info.alloc); assertEquals(1500, info.free); assertEquals(4, info.sectPerAlloc); assertEquals(8192, info.bytesPerSect); assertEquals(3000L * 4 * 8192, info.getCapacity(), "Capacity calculation should be correct");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
@Override public SampleElements<Entry<String, Collection<Integer>>> samples() { return new SampleElements<>( mapEntry("one", ImmutableSet.of(10000)), mapEntry("two", ImmutableSet.of(-2000)), mapEntry("three", ImmutableSet.of(300)), mapEntry("four", ImmutableSet.of(-40)), mapEntry("five", ImmutableSet.of(5))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java
LdapOperationException exception = new LdapOperationException(message); assertEquals(message, exception.getMessage()); assertTrue(exception.getMessage().length() > 10000); } public void test_specialCharactersInMessage() { // Test with special characters in message String message = "LDAP error: \n\t\r Special chars: @#$%^&*(){}[]|\\:;\"'<>,.?/~`";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
/* suffix= */ null, /* directory= */ null /* defaults to java.io.tmpdir */); } /** Maximum loop count when creating temp directories. */ private static final int TEMP_DIR_ATTEMPTS = 10000; } private static final class ThrowingCreator extends TempFileCreator { private static final String MESSAGE = "Guava cannot securely create temporary files or directories under SDK versions before"
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
assertFalse(entry.hasChild("file2.txt")); // Should be removed to force refresh // Test DIRECTORY_RENAMED - should invalidate entire cache entry.updateChild("file3.txt", 3072L, 3000L, false, 0x20, 700L, 1000L); entry.markComplete(); directoryLeaseManager.handleDirectoryChange(directoryPath, "", DirectoryChangeNotifier.DirectoryChangeType.DIRECTORY_RENAMED);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 15.9K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
long now = System.currentTimeMillis(); long windowStart = currentWindowStart.get(); // Check if we need to reset the window (1 minute window) if (now - windowStart > 60000) { currentWindowStart.compareAndSet(windowStart, now); globalAttemptsInCurrentWindow.set(0); } int attempts = globalAttemptsInCurrentWindow.incrementAndGet();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)