Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for simultaneously (0.07 seconds)

  1. src/test/java/org/codelibs/fess/ds/AbstractDataStoreTest.java

                }
            });
            writerThread.start();
    
            // Give threads a moment to reach the latch
            Thread.sleep(50);
    
            // Release all threads to start simultaneously
            startLatch.countDown();
    
            // Wait for writer thread to complete
            writerThread.join(1000);
    
            // Wait for all reader threads to complete
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (1)
  2. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

        /**
         * Test concurrent getDataStoreNames calls to verify synchronized method works correctly.
         * Multiple threads call getDataStoreNames() simultaneously.
         */
        @Test
        public void test_getDataStoreNames_concurrentAccess() throws Exception {
            final int threadCount = 10;
            final Thread[] threads = new Thread[threadCount];
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

                            } finally {
                                endLatch.countDown();
                            }
                        });
                    }
    
                    startLatch.countDown(); // Start all threads simultaneously
                    assertTrue("Concurrent registration timed out", endLatch.await(10, TimeUnit.SECONDS));
    
                    // Verify all searchers were registered (1 initial + numThreads * searchersPerThread)
    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)
  4. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            assertTrue("Should contain properties definition", contentNew.contains("properties"));
        }
    
        /**
         * Test that both mapping and settings resources can be loaded simultaneously.
         * Verifies no resource contention or locking issues.
         */
        @Test
        public void testResourceLoading_simultaneousAccess() throws Exception {
            String mappings;
            String settings;
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        }
    
      /**
       * Holding the lock of the connection being added or removed when mutating this, and check its
       * [RealConnection.noNewExchanges] property. This defends against races where a connection is
       * simultaneously adopted and removed.
       */
      private val connections = ConcurrentLinkedQueue<RealConnection>()
    
      init {
        // Put a floor on the keep alive duration, otherwise cleanup will spin loop.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        /*
         * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or
         * even entire message) that simultaneously:
         *
         * - _shouldn't_ be null, so we don't annotate it with @Nullable
         *
         * - _can_ be null without causing a runtime failure (because we don't want the interesting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        /*
         * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or
         * even entire message) that simultaneously:
         *
         * - _shouldn't_ be null, so we don't annotate it with @Nullable
         *
         * - _can_ be null without causing a runtime failure (because we don't want the interesting
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  8. docs/recipes.md

    Use an HTTP POST to send a request body to a service. This example posts a markdown document to a web service that renders markdown as HTML. Because the entire request body is in memory simultaneously, avoid posting large (greater than 1 MiB) documents using this API.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
          fun run() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 47.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

     * <li>File system crawling - crawls file systems and documents</li>
     * <li>Data store crawling - crawls databases and other data sources</li>
     * <li>Combined crawling - runs multiple crawling types simultaneously</li>
     * </ul>
     *
     * <p>Command line usage:
     * <pre>
     * java org.codelibs.fess.exec.Crawler [options...]
     *   -s, --sessionId sessionId     : Session ID for the crawling session
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

        /*
         * An uninterruptible wait on a Condition requires different logic than an uninterruptible wait
         * on most other types: In cases in which we "should" receive both an interrupt and a
         * notification nearly simultaneously, we sometimes receive only an interrupt. Thus, when we're
         * interrupted, we can't just poll whether it's time to end the wait because our "end the wait"
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
Back to Top