Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 1,350 for finally (0.06 seconds)

  1. src/main/java/org/codelibs/core/io/CopyUtil.java

            assertArgumentNotNull("in", in);
            assertArgumentNotNull("out", out);
    
            final InputStream is = URLUtil.openStream(in);
            try {
                final FileOutputStream os = OutputStreamUtil.create(out);
                try {
                    return copyInternal(wrap(is), os);
                } finally {
                    CloseableUtil.close(os);
                }
            } finally {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 45.2K bytes
    - Click Count (0)
  2. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    
      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java

            // Create multiple threads accessing the same property
            final String testKey = "domain.title";
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
            final String[] results = new String[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/SystemUtilTest.java

            try {
                System.setProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS, "thread-test");
    
                final String[] results = new String[10];
                Thread[] threads = new Thread[10];
    
                for (int i = 0; i < 10; i++) {
                    final int index = i;
                    threads[i] = new Thread(() -> {
                        results[index] = SystemUtil.getSearchEngineHttpAddress();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  5. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       * found in any textbook.
       */
    
      /** Monitor guarding all access */
      final Monitor monitor;
    
      /** Guard for waiting takes */
      private final Monitor.Guard notEmpty;
    
      /** Guard for waiting puts */
      private final Monitor.Guard notFull;
    
      // Internal helper methods
    
      /** Circularly increment i. */
      final int inc(int i) {
        return (++i == items.length) ? 0 : i;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      // http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/main/java/util/concurrent/
    
      private static final long serialVersionUID = 5595510919245408276L;
    
      final PriorityQueue<E> q;
      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
          new Monitor.Guard(monitor) {
            @Override
            public boolean isSatisfied() {
              return !q.isEmpty();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Test
        public void test_mimetype_variable_replacement() {
            final String testCommand = "generate-thumbnail image ${url} ${outputFile} ${mimetype}";
            final String tempPath = "/tmp/test.gif";
            final String outputPath = "/tmp/thumbnail.png";
            final String mimeType = "image/gif";
    
            final String expandedCommand =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

        public void test_multipleConcurrentSearches() throws Exception {
            final int numSearchThreads = 5;
            final CountDownLatch startLatch = new CountDownLatch(1);
            final CountDownLatch endLatch = new CountDownLatch(numSearchThreads);
            final List<List<Map<String, Object>>> allResults = new ArrayList<>();
    
            try (RankFusionProcessor processor = new RankFusionProcessor()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top