Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 815 for Threads (0.09 sec)

  1. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

     * possibly run in another thread. That cause should itself be an {@code Error}; if not, use {@code
     * ExecutionException} or {@link UncheckedExecutionException}. This allows the client code to
     * continue to distinguish between exceptions and errors, even when they come from other threads.
     *
     * @author Chris Povirk
     * @since 10.0
     */
    @GwtCompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/MapIteratorCache.java

       * As such, this field must be cleared before every map mutation.
       *
       * Note about volatile: volatile doesn't make it safe to read from a mutable graph in one thread
       * while writing to it in another. All it does is help with _reading_ from multiple threads
       * concurrently. For more information, see AbstractNetworkTest.concurrentIteration.
       */
      private transient volatile @Nullable Entry<K, V> cacheEntry;
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            cli.initialize(request);
            cli.cli(request);
            assertEquals("multithreaded", request.commandLine.getOptionValue(CLIManager.BUILDER));
            assertEquals("8", request.commandLine.getOptionValue(CLIManager.THREADS));
    
            // override from command line
            request = new CliRequest(new String[] {"--builder", "foobar"}, null);
            cli.cli(request);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

      private var nextTcpConnectAtNanos = Long.MIN_VALUE
    
      /**
       * Plans currently being connected, and that will later be added to [connectResults]. This is
       * mutated by the call thread only. If is accessed by background connect threads.
       */
      private val tcpConnectsInFlight = CopyOnWriteArrayList<Plan>()
    
      /**
       * Results are posted here as they occur. The find job is done when either one plan completes
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

            fesenClient = new FesenClient();
            mockClient = mock(Client.class);
            fesenClient.client = mockClient;
        }
    
        /**
         * Test: Thread-safe listener management using CopyOnWriteArrayList
         * Verifies that multiple threads can safely add listeners concurrently
         */
        @Test
        public void testThreadSafeListenerManagement() throws Exception {
            final int numThreads = 10;
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        assertFalse(future.isDone());
        assertFalse(future.isCancelled());
    
        CountDownLatch successLatch = new CountDownLatch(1);
    
        // Run cancellation in a separate thread as an extra thread-safety test.
        new Thread(
                () -> {
                  assertThrows(CancellationException.class, future::get);
                  successLatch.countDown();
                })
            .start();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                        });
                    }
    
                    // start all threads at once
                    try {
                        startLatch.await();
                    } catch (InterruptedException e) {
                        e.printStackTrace();
                    }
    
                    // wait for all thread to end
                    try {
                        endLatch.await();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. CHANGELOG.md

     *  New: Support [JPMS]. We replaced our `Automatic-Module-Name` metadata with proper
        `module-info.java` files.
    
     *  Fix: Recover gracefully when worker threads are interrupted. When we introduced fast fallback in
        OkHttp 5.0, we started using background threads while connecting. Sadly that code didn't handle
        interruptions well. This is now fixed.
    
     *  Upgrade: [Kotlin 2.2.20][kotlin_2_2_20].
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  9. src/main/java/org/codelibs/fess/exec/Crawler.java

            }
        }
    
        /**
         * Waits for a crawler thread to complete execution.
         * This method handles interruptions gracefully and logs when a crawler process is interrupted.
         *
         * @param crawlerThread the thread to wait for; null threads are ignored
         */
        private void joinCrawlerThread(final Thread crawlerThread) {
            if (crawlerThread != null) {
                try {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java

        @Min(value = 0)
        @Max(value = 9223372036854775807L)
        @ValidateTypeFailure
        public Long maxAccessCount;
    
        /** The number of threads to use for crawling (required, 1 to 2147483647). */
        @Required
        @Min(value = 1)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer numOfThread;
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top