- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 449 for 15000 (0.01 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/PunycodeTest.kt
/** * It's invalid to have a label longer than 63 characters. If that's requested, the encoder may * overflow and return null. */ @Test fun overflowEncodingOversizedLabel() { val a1000 = "a".repeat(1000) val a1000MaxCodePoint = a1000 + "\udbff\udfff" testEncodeDecode( a1000MaxCodePoint, "xn--$a1000-nc89312g", ) assertNull( Punycode.encode(a1000MaxCodePoint.repeat(2)),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
*/ protected int splitSize = 10; /** * Maximum size of the thumbnail generation task queue. */ protected int thumbnailTaskQueueSize = 10000; /** * Number of tasks to process in bulk operations. */ protected int thumbnailTaskBulkSize = 100; /** * Timeout in milliseconds for thumbnail task queue operations.Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
// When fileFsFullSizeInfo.decode(buffer.array(), 0, 32); double percentFree = (fileFsFullSizeInfo.getFree() * 100.0) / fileFsFullSizeInfo.getCapacity(); double percentUsed = ((fileFsFullSizeInfo.getCapacity() - fileFsFullSizeInfo.getFree()) * 100.0) / fileFsFullSizeInfo.getCapacity(); // Then assertEquals(25.0, percentFree, 0.001);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
int startOffset = 100; // Set up transaction parameters transaction.setMaxSetupCount((byte) 3); transaction.setTotalParameterCount(500); transaction.setTotalDataCount(1000); transaction.setMaxParameterCount(2048); transaction.setMaxDataCountForTest(4096); transaction.setParameterCount(250); transaction.setParameterOffset(150);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
tests/lru_test.go
if lc.Len() != 10 { t.Fatalf("length differs from expected") } } func TestLRUConcurrency(t *testing.T) { lc := lru.NewLRU[string, string](0, nil, 0) wg := sync.WaitGroup{} wg.Add(1000) for i := 0; i < 1000; i++ { go func(i int) { lc.Add(fmt.Sprintf("key-%d", i/10), fmt.Sprintf("val-%d", i/10)) wg.Done() }(i) } wg.Wait() if lc.Len() != 100 { t.Fatalf("length differs from expected")
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java
private FileBasicInfo fileBasicInfo; // Use Unix timestamps (milliseconds since 1970) for test values private static final long TEST_CREATE_TIME = System.currentTimeMillis() - 10000; private static final long TEST_LAST_ACCESS_TIME = System.currentTimeMillis() - 8000; private static final long TEST_LAST_WRITE_TIME = System.currentTimeMillis() - 6000;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test invalid buffer size validation") void testInvalidBufferSize() { assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(-1, 1000, "test")); assertThrows(IllegalArgumentException.class, () -> InputValidator.validateBufferSize(1001, 1000, "test")); } @Test @DisplayName("Test SMB2 buffer size validation")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java
assertNull(exception.getCause()); } public void test_constructor_withLongMessage() { // Test with a long message StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1000; i++) { sb.append("LDAP configuration error ").append(i).append(" "); } String longMessage = sb.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
} public void test_longMessage() { // Test with very long message StringBuilder sb = new StringBuilder(); for (int i = 0; i < 1000; i++) { sb.append("Long message part ").append(i).append(" "); } String longMessage = sb.toString(); ScheduledJobException exception = new ScheduledJobException(longMessage);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java
} public void test_longMessageHandling() { // Test with very long message StringBuilder longMessage = new StringBuilder(); for (int i = 0; i < 1000; i++) { longMessage.append("Storage error ").append(i).append(" "); } String message = longMessage.toString(); StorageException exception = new StorageException(message);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0)