Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 3,112 for finally (0.04 seconds)

  1. dbflute_fess/playsql/take-finally.sql

    Shinsuke Sugaya <******@****.***> 1436049991 +0900
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jul 04 22:46:31 GMT 2015
    - 1 bytes
    - Click Count (0)
  2. tests/test_dependency_yield_except_httpexception.py

    initial_state = {"except": False, "finally": False}
    
    state = initial_state.copy()
    
    app = FastAPI()
    
    
    async def get_database():
        temp_database = fake_database.copy()
        try:
            yield temp_database
            fake_database.update(temp_database)
        except HTTPException:
            state["except"] = True
            raise
        finally:
            state["finally"] = True
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Sep 29 03:29:38 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. android/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)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    interruptedExceptionThrown.set(true);
                    throw e;
                  } finally {
                  }
                });
        assertFalse(task.isDone());
        Thread thread =
            new Thread(
                () -> {
                  try {
                    task.run();
                  } finally {
                    exitLatch.countDown();
                  }
                });
        thread.start();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final CrawlerWebServer server2 = new CrawlerWebServer(0);
            server2.start();
    
            final String url1 = "http://localhost:" + server1.getPort() + "/";
            final String url2 = "http://localhost:" + server2.getPort() + "/";
            try {
                final int maxCount = 10;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  10. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/ReservedPortRange.java

    import java.util.concurrent.locks.Lock;
    import java.util.concurrent.locks.ReentrantLock;
    
    public class ReservedPortRange {
        private final int startPort;
        private final int endPort;
        private final Lock lock = new ReentrantLock();
        private PortDetector portDetector = new DefaultPortDetector();
        private final List<Integer> allocated = new ArrayList<Integer>();
        private Map<String, Integer> allocatedPortsId = new HashMap<>();
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2.8K bytes
    - Click Count (0)
Back to Top