- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 4,604 for finally (0.07 seconds)
-
src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java
private static final Logger log = LoggerFactory.getLogger(PersistentHandleManager.class); private final ConcurrentHashMap<String, HandleInfo> handles; private final ConcurrentHashMap<HandleGuid, HandleInfo> guidToHandle; private final Path stateDirectory; private final ScheduledExecutorService scheduler; private final CIFSContext context;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 13K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
} /** * @throws Exception */ @Test public void testForEachFile() throws Exception { final File rootDir = ResourceUtil.getBuildDir(getClass()); final String path = ResourceUtil.getResourcePath(getClass()); final int pos = path.lastIndexOf("/"); final String baseDirectory = path.substring(0, pos); ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
} finally { cbWithTracking.close(); } } @Test public void testRollingWindowMetrics() throws Exception { SmbCircuitBreaker cbWithWindow = new SmbCircuitBreaker("window-test"); try { // Execute mixed operations for (int i = 0; i < 10; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.2K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertThrows(RuntimeException.class, () -> GcFinalization.awaitClear(ref)); assertWrapsInterruptedException(expected); } finally { reachabilityFence(foo); interruptenator.shutdown(); Thread.interrupted(); } } private static final class Foo {} public void testAwaitDone_finalizationPredicate_interrupted() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/HtmlTagBasedGeneratorTest.java
Files.createDirectories(nestedPath); assertTrue(Files.exists(nestedPath)); assertTrue(Files.isDirectory(nestedPath)); } finally { // Cleanup deleteDirectory(tempDir.toFile()); } } @Test public void test_createDirectories_existingPath() throws Exception {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
public void unlock() { try { super.unlock(); } finally { lockStateChanged(readWriteLock); } } } private final class CycleDetectingReentrantWriteLock extends ReentrantReadWriteLock.WriteLock { @Weak final CycleDetectingReentrantReadWriteLock readWriteLock; CycleDetectingReentrantWriteLock(CycleDetectingReentrantReadWriteLock readWriteLock) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (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> *
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Monitor.java
* Finally, the programmer no longer has to hand-code the wait loop, and therefore doesn't have to * remember to use {@code while} instead of {@code if}. * * {@snippet : * public class SafeBox<V> { * private V value; * private final Monitor monitor = new Monitor(); * private final Monitor.Guard valuePresent = monitor.newGuard(() -> value != null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jan 28 22:39:02 GMT 2026 - 43.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
notifyFailed(shutdownFailure); } finally { monitor.leave(); dispatchListenerEvents(); } } return this; } @Override public final void awaitRunning() { monitor.enterWhenUninterruptibly(hasReachedRunning); try { checkCurrentState(RUNNING); } finally { monitor.leave(); } } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 19 21:24:11 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11K bytes - Click Count (0)