- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,654 for Try (0.01 sec)
-
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
infoMap.put("CrawlerEndTime", "2024-01-01T11:00:00"); try { crawler.sendMail(infoMap); } catch (Exception e) { fail("Should not throw exception: " + e.getMessage()); } } public void test_sendMail_withEmptyInfoMap() { Map<String, String> infoMap = new HashMap<>(); try { crawler.sendMail(infoMap); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
*/ public static ByteBuffer map(final FileChannel channel, final MapMode mode) { assertArgumentNotNull("channel", channel); assertArgumentNotNull("mode", mode); try { return channel.map(mode, 0, channel.size()); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Returns the size of the file.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
} @Override public synchronized void insert(final ProtwordsItem item) { try (ProtwordsUpdater updater = new ProtwordsUpdater(item)) { reload(updater); } } @Override public synchronized void update(final ProtwordsItem item) { try (ProtwordsUpdater updater = new ProtwordsUpdater(item)) { reload(updater); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
private void assertSetCountIncreasingFailure(E element, int count) { try { setCountNoCheckReturnValue(element, count); fail("a call to multiset.setCount() to increase an element's count should throw"); } catch (UnsupportedOperationException expected) { } } private void assertSetCountDecreasingFailure(E element, int count) { try { setCountNoCheckReturnValue(element, count);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CloseableUtil.java
* <pre> * InputStream is = ...; * try { * is.read(...); * } finally { * close(is); * } * </pre> * <p> * If an exception occurs in the try block, there is a possibility that an exception will also occur in the finally block's {@link #close(Closeable)}. If the exception is thrown from the finally block, the original exception from the try block will be lost. * </p> *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
try { dataIndexHelper.crawl("test-session"); assertTrue("Should complete quickly with empty config list", true); } catch (Exception e) { assertTrue("Exception handling should be fast", true); } } public void test_crawl_withConfigIdList_emptyList() { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
long start = System.currentTimeMillis(); try (OutputStream os = file.getOutputStream()) { os.write(data); } long writeTime = System.currentTimeMillis() - start; // Read back start = System.currentTimeMillis(); byte[] readData = new byte[data.length]; try (InputStream is = file.getInputStream()) { is.read(readData); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
assertEquals(expected, options.toString()); } public void test_initializeProbes() { // Test that initializeProbes doesn't throw exception try { ThumbnailGenerator.initializeProbes(); // If no exception thrown, test passes assertTrue(true); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java
try { getMap().replace(k0(), v3(), v4()); } catch (UnsupportedOperationException tolerated) { // the operation would be a no-op, so exceptions are allowed but not required } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT) public void testReplaceEntry_unsupportedAbsentKey() { try { getMap().replace(k3(), v3(), v4());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.4K bytes - Viewed (0)