- Sort Score
- Result 10 results
- Languages All
Results 421 - 430 of 557 for 1080 (0.05 sec)
-
src/test/java/jcifs/EmptyIteratorTest.java
long endTime = System.currentTimeMillis(); long duration = endTime - startTime; // Then - should complete quickly (this is more of a performance indicator) assertTrue(duration < 1000, "Creating and using 10000 EmptyIterators should be fast (took " + duration + "ms)"); } @Test @DisplayName("EmptyIterator should work correctly in nested iteration") void testNestedIteration() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
// Arrange transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); byte[] smallBuffer = new byte[1]; byte[] largeBuffer = new byte[1000]; // Act & Assert assertEquals(0, transPeekNamedPipe.readSetupWireFormat(smallBuffer, 0, 1)); assertEquals(0, transPeekNamedPipe.readSetupWireFormat(largeBuffer, 500, 500));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE); for (int i = 1; i <= 5; i++) { int newResumeKey = i * 1000; String newFilename = "file" + i + ".txt"; trans2FindNext2.reset(newResumeKey, newFilename); byte[] buffer = new byte[256];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedQueryHelperTest.java
} } static class MockFessConfig extends FessConfig.SimpleImpl { @Override public Integer getPageRelatedqueryMaxFetchSizeAsInteger() { return 1000; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 16.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/AdminWizardAction.java
if (StringUtil.isBlank(configName)) { configName = StringUtils.abbreviate(configPath, 30); } // normalize final StringBuilder buf = new StringBuilder(1000); for (int i = 0; i < configPath.length(); i++) { final char c = configPath.charAt(i); if (c == '\\') { buf.append('/'); } else if (c == ' ') {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java
} }; } public enum Value { INSTANCE; } public enum ListSizeDistribution { UNIFORM_0_TO_2(0, 2), UNIFORM_0_TO_9(0, 9), ALWAYS_0(0, 0), ALWAYS_10(10, 10); final int min; final int max; ListSizeDistribution(int min, int max) { this.min = min; this.max = max; } public int chooseSize(Random random) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
executorService = new ThreadPoolExecutor( NUM_THREADS, NUM_THREADS, Long.MAX_VALUE, SECONDS, new ArrayBlockingQueue<Runnable>(1000)); executorService.prestartAllCoreThreads(); AtomicInteger integer = new AtomicInteger(); // Execute a bunch of tasks to ensure that our threads are allocated and hot
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 15.8K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
if (input == null) { return "null"; } // Remove control characters and limit length String sanitized = input.replaceAll("[\\x00-\\x1f]", ""); if (sanitized.length() > 1000) { sanitized = sanitized.substring(0, 997) + "..."; } return sanitized; } /** * Validates that a value is within the specified range *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
return "doc-id-" + dataMap.get("url"); } } private static class TestIndexingHelper extends IndexingHelper { int sendDocumentsCalled = 0; long documentSize = 1000; @Override public void sendDocuments(SearchEngineClient searchEngineClient, DocList docList) { sendDocumentsCalled++; docList.clear(); } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(result); } /** * Test thread safety of enum */ public void test_threadSafety() throws Exception { final int threadCount = 100; final int iterationsPerThread = 1000; final Set<Exception> exceptions = new HashSet<>(); Thread[] threads = new Thread[threadCount]; for (int i = 0; i < threadCount; i++) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0)