- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,808 for try (0.01 sec)
-
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
} @Override public synchronized void insert(final StemmerOverrideItem item) { try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) { reload(updater); } } @Override public synchronized void update(final StemmerOverrideItem item) { try (StemmerOverrideUpdater updater = new StemmerOverrideUpdater(item)) { reload(updater); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.7K 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) -
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/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) -
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) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
monitor.enter(); try { return q.poll(); } finally { monitor.leave(); } } @CanIgnoreReturnValue // pushed down from class to method @Override public @Nullable E poll(long timeout, TimeUnit unit) throws InterruptedException { Monitor monitor = this.monitor; if (monitor.enterWhen(notEmpty, timeout, unit)) { try { return q.poll();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
try { return input.readLong(); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public float readFloat() { try { return input.readFloat(); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public double readDouble() { try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
int max = this.transportContext.getConfig().getWinsServers().length; if (max == 0) { max = 1; /* No WINs, try only bcast addr */ } synchronized (response) { while (max-- > 0) { try { synchronized (this.LOCK) { request.nameTrnId = getNextNameTrnId(); nid = request.nameTrnId;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
System.getProperties().entrySet().stream().filter(e -> e.getKey().toString().startsWith("jcifs.")).forEach(e -> { props.setProperty((String) e.getKey(), (String) e.getValue()); }); try { cifsContext = new BaseContext(new PropertyConfiguration(props)); } catch (final CIFSException e) { throw new CrawlingAccessException(e); } // smb auth
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 22.5K 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)