- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 2,063 for batch (0.22 sec)
-
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
* result doesn't match the expected value. */ public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
boolean match = false; if (cachedKeyLen == searchLen) { match = cachedKey.equals(key); } else if (cachedKeyLen < searchLen) { match = key.startsWith(cachedKey); } else if (log.isTraceEnabled()) { log.trace(key + " vs. " + cachedKey); } if (match) { if (log.isDebugEnabled()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityServiceTest.java
preauthService.finalizeSession(sessionId); } catch (Exception e) { fail("Concurrent session handling failed: " + e.getMessage()); } finally { latch.countDown(); } }); } assertTrue(latch.await(10, TimeUnit.SECONDS)); executor.shutdown(); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 20.4K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
call: Call, response: Response, ) { processResponse(response, hostname, responses, failures) latch.countDown() } }, ) } try { latch.await() } catch (e: InterruptedException) { failures.add(e) } } private fun processResponse( response: Response, hostname: String,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
return robotsTxt; } catch (final Exception e) { throw new RobotsTxtException("Failed to parse robots.txt.", e); } } /** * Extracts the value from a line using the given pattern. * @param pattern the pattern to match against * @param line the line to extract the value from * @return the extracted value, or null if no match */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 7.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
} /** * Test match method implementation */ public void test_match_implementation() { ResponseData responseData = new ResponseData(); responseData.setUrl("http://example.com"); // Test default match (true) assertTrue(testRule.match(responseData)); assertEquals(1, testRule.getMatchCallCount());Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java
fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("Invalid format: 12", e.getMessage()); } try { IntervalControlHelper.parseTime("12:30:45"); fail("Should throw FessSystemException"); } catch (FessSystemException e) { assertEquals("Invalid format: 12:30:45", e.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 13.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
// Without any patterns, all URLs should match assertTrue(urlFilter.match("https://example.com/")); assertTrue(urlFilter.match("https://test.com/page")); assertTrue(urlFilter.match("ftp://files.com/document.pdf")); assertTrue(urlFilter.match("file:///home/user/file.txt")); } /** * Test match with complex URL patterns */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
// Note: isTarget requires FessConfig which needs container // We can only verify the method handles missing container gracefully try { generator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized assertTrue(e.getMessage().contains("Not initialized")); } } public void test_addCondition() {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0)