Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,898 for finally (0.05 sec)

  1. 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(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. 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 {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  3. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/SecureCredentialStorage.java

        private static final Logger log = LoggerFactory.getLogger(SecureCredentialStorage.class);
    
        private static final String ENCRYPTION_ALGORITHM = "AES/GCM/NoPadding";
        private static final String KEY_ALGORITHM = "AES";
        private static final String KEY_DERIVATION_ALGORITHM = "PBKDF2WithHmacSHA256";
        private static final int KEY_SIZE = 256;
        private static final int GCM_TAG_SIZE = 128;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. 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++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (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>
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

         */
        protected ExtractData getText(final InputStream inputStream, final Map<String, String> params,
                final BiConsumer<ExtractData, InputStream> postFilter) {
            if (inputStream == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
    
            final File tempFile;
            final boolean isByteStream = inputStream instanceof ByteArrayInputStream;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            final List<String> commands =
                    Arrays.asList("convert ${url} ${outputFile}", "echo Processing ${url} to ${outputFile}", "cp ${url} ${outputFile}");
    
            final String tempPath = "/tmp/test.tmp";
            final String outputPath = "/tmp/output.jpg";
    
            // Simulate the variable replacement logic from the source code
            final List<String> processedCommands = new ArrayList<>();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                            Thread.yield();
                        }
                    } catch (Exception e) {
                        exceptions.add(e);
                    } finally {
                        endLatch.countDown();
                    }
                });
            }
    
            // Start all threads simultaneously
            startLatch.countDown();
    
            // Wait for completion
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloserTest.java

        private final List<Suppression> suppressions = new ArrayList<>();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top