- Sort Score
- Num 10 results
- Language All
Results 891 - 900 of 2,394 for Batch (0.02 seconds)
-
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} fail("Should have thrown RuntimeException"); } catch (RuntimeException e) { assertEquals("Simulated processing error", e.getMessage()); // If InputStream wasn't properly closed, this would leak resources // try-with-resources ensures cleanup happens } catch (IOException e) { fail("Should not throw IOException: " + e.getMessage()); }Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 9.6K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java
try { file = File.createTempFile("script", extention); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), content.getBytes()); return file; } catch (final IOException e) { throw new IORuntimeException(e); } } private File createScriptTempFileStdout(final int sleep) { String extention; String content;Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 9.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java
* Gets the first rule that matches the given response data. * @param responseData the response data to match against * @return the first matching rule, or null if no rule matches */ @Override public Rule getRule(final ResponseData responseData) { for (final Rule rule : ruleList) { if (rule.match(responseData)) { return rule; } } return null; }Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 3.4K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
assertTrue(sitemapsRule.match(responseData)); InputStream is = responseData.getResponseBody(); assertTrue(is instanceof InputStream); CloseableUtil.closeQuietly(responseData); } private void assertMatchFalse(ResponseData responseData) { sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*")); assertFalse(sitemapsRule.match(responseData));
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Mar 15 06:52:00 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
assertEquals(expected.length, bytesWritten, "Number of bytes written should match expected length."); byte[] actual = new byte[bytesWritten]; System.arraycopy(dst, 0, actual, 0, bytesWritten); // Use assertArrayEquals for byte array comparison org.junit.jupiter.api.Assertions.assertArrayEquals(expected, actual, "Byte array content should match the expected format."); } @Test
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
} private void assertSetCountNegativeOldCount() { try { getMultiset().setCount(e3(), -1, 1); fail("calling setCount() with a negative oldCount should throw IllegalArgumentException"); } catch (IllegalArgumentException expected) { } } // Negative oldCount. @CollectionFeature.Require(SUPPORTS_ADD) public void testSetCountConditional_negativeOldCount_addSupported() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 4K bytes - Click Count (0) -
samples/slack/src/main/java/okhttp3/slack/OAuthSessionFactory.java
.setResponseCode(404) .setBody("unexpected request"); } try { OAuthSession session = slackApi.exchangeCode(code, redirectUrl()); listener.sessionGranted(session); } catch (IOException e) { return new MockResponse() .setResponseCode(400) .setBody("code exchange failed: " + e.getMessage()); } synchronized (this) { listeners.remove(state);
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Aug 12 07:26:27 GMT 2021 - 3.8K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/helper/RoleQueryHelper.java
} }); } catch (final RuntimeException e) { try { requestManager.findLoginManager(FessUserBean.class).ifPresent(LoginManager::logout); } catch (final Exception e1) { // ignore } throw e; } }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15.1K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
CompletableFuture<Void> future = CompletableFuture.runAsync(() -> { handleLeaseBreak(key, newState); }); try { future.get(timeoutSeconds, TimeUnit.SECONDS); } catch (TimeoutException e) { // Force lease release if break handling times out LeaseEntry entry = leases.get(key); if (entry != null) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
try { try (ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token))) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch (IOException e) { throw new PACDecodingException("Malformed kerberos ticket", e); } Enumeration<?> fields = sequence.getObjects(); while (fields.hasMoreElements()) {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.7K bytes - Click Count (0)