Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 223 for nThreads (0.05 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        public Optional<Boolean> alsoMakeDependents() {
            return returnFirstPresentOrEmpty(MavenOptions::alsoMakeDependents);
        }
    
        @Override
        public Optional<String> threads() {
            return returnFirstPresentOrEmpty(MavenOptions::threads);
        }
    
        @Override
        public Optional<String> builder() {
            return returnFirstPresentOrEmpty(MavenOptions::builder);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

                            }
                        }
                    }
                });
            }
    
            // Start all threads
            for (Thread thread : threads) {
                thread.start();
            }
    
            // Wait for all threads
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Verify results
            assertTrue(exceptions.isEmpty());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenOptions.java

        @Nonnull
        Optional<Boolean> alsoMakeDependents();
    
        /**
         * Returns the number of threads used for parallel builds.
         *
         * @return an {@link Optional} containing the number of threads (or "1C" for one thread per CPU core), or empty if not specified
         */
        @Nonnull
        Optional<String> threads();
    
        /**
         * Returns the id of the build strategy to use.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                        throw new IllegalArgumentException("Invalid threads core multiplier value: '" + threadConfiguration
                                + "'. Value must be positive.");
                    }
    
                    int procs = Runtime.getRuntime().availableProcessors();
                    int threads = (int) (coreMultiplier * procs);
                    return threads == 0 ? 1 : threads;
                } else {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        assertTrue(thread.isAlive());
      }
    
      /**
       * Checks that the threads do not terminate within the default millisecond delay of {@code
       * timeoutMillis()}.
       */
      void assertThreadsStayAlive(Thread... threads) throws InterruptedException {
        assertThreadsStayAlive(timeoutMillis(), threads);
      }
    
      /** Checks that the threads do not terminate within the given millisecond delay. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildThreadFactory.java

    package org.apache.maven.lifecycle.internal;
    
    import java.util.concurrent.ThreadFactory;
    import java.util.concurrent.atomic.AtomicInteger;
    
    /**
     * Simple {@link ThreadFactory} implementation that ensures the corresponding threads have a meaningful name.
     */
    public class BuildThreadFactory implements ThreadFactory {
        private final AtomicInteger id = new AtomicInteger();
    
        private static final String PREFIX = "BuilderThread";
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     *
     * <p>This class supports an optional fairness policy for ordering waiting producer and consumer
     * threads. By default, this ordering is not guaranteed. However, a queue constructed with fairness
     * set to {@code true} grants threads access in FIFO order. Fairness generally decreases throughput
     * but reduces variability and avoids starvation.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

         */
        public GenerateThumbnailJob() {
            super();
        }
    
        /**
         * Sets the number of threads to use for thumbnail generation.
         *
         * @param numOfThreads the number of threads
         * @return this job instance for method chaining
         */
        public GenerateThumbnailJob numOfThreads(final int numOfThreads) {
            this.numOfThreads = numOfThreads;
            return this;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

                    } finally {
                        doneLatch.countDown();
                    }
                });
            }
    
            // Start all threads at once
            startLatch.countDown();
    
            // Wait for completion
            assertTrue(doneLatch.await(5, TimeUnit.SECONDS), "Threads did not complete in time");
            executor.shutdown();
    
            // Verify hash is not null
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashBasedTable.java

     * since an iteration across all row keys occurs.
     *
     * <p>Note that this implementation is not synchronized. If multiple threads access this table
     * concurrently and one of the threads modifies the table, it must be synchronized externally.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top