Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,066 for finally (0.3 sec)

  1. 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();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. android/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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  10. 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)
Back to top