Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 232 for nThreads (0.06 seconds)

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

            // extend the command line to accept its own configuration parameters.
            //
            if (context.options().threads().isPresent()) {
                int degreeOfConcurrency =
                        calculateDegreeOfConcurrency(context.options().threads().get());
                if (degreeOfConcurrency > 1) {
                    request.setBuilderId("multithreaded");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 11 17:20:46 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

                                if (!"concurrentName".equals(name)) {
                                    errorCount.incrementAndGet();
                                }
    
                                // Occasionally change name (10% of threads)
                                if (threadId % 10 == 0 && j % 10 == 0) {
                                    testTransformer.setName("concurrentName");
                                }
                            }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ds/AbstractDataStore.java

        /**
         * The mime type.
         */
        public String mimeType = "application/datastore";
    
        /**
         * The flag to check if the data store is alive.
         * Volatile to ensure visibility across threads.
         */
        protected volatile boolean alive = true;
    
        /**
         * Default constructor.
         */
        public AbstractDataStore() {
            // nothing
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  4. android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java

       * the {@code shutdownNow} method. First, "best-effort" with regards to canceling running tasks is
       * implemented as "no-effort". No interrupts or other attempts are made to stop threads executing
       * tasks. Second, the returned list will always be empty, as any submitted task is considered to
       * have started execution. This applies also to tasks given to {@code invokeAll} or {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       * Executor#execute(Runnable) execute()} method is called when this service is started, and should
       * return promptly.
       *
       * <p>The default implementation returns a new {@link Executor} that sets the name of its threads
       * to the string returned by {@link #serviceName}
       */
      protected Executor executor() {
        return command -> newThread(serviceName(), command).start();
      }
    
      @Override
      public String toString() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      }
    
      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.withLock {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

        /**
         * Timestamp of the last time data store names were loaded from plugin files.
         * Used to implement a time-based cache refresh mechanism.
         * Volatile to ensure visibility across threads.
         */
        protected volatile long lastLoadedTime = 0;
    
        /**
         * Creates a new instance of DataStoreFactory.
         * This constructor initializes the factory for managing data store instances
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/exec/Crawler.java

        protected CrawlingInfoService crawlingInfoService;
    
        /**
         * Adds an error message to the error queue for later processing.
         * This method is thread-safe and can be called from multiple crawler threads.
         *
         * @param msg the error message to add; ignored if null or blank
         */
        public static void addError(final String msg) {
            if (StringUtil.isNotBlank(msg)) {
                errors.offer(msg);
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 31.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/Constants.java

        /** Default interval time in milliseconds for web crawling. */
        public static final int DEFAULT_INTERVAL_TIME_FOR_WEB = 10000;
    
        /** Default number of threads for file system crawling. */
        public static final int DEFAULT_NUM_OF_THREAD_FOR_FS = 5;
    
        /** Default number of threads for web crawling. */
        public static final int DEFAULT_NUM_OF_THREAD_FOR_WEB = 1;
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * exception, and wrongly believes that its exception is new (leading it to logging it when it
         * shouldn't)
         *
         * Our solution is for threads to CAS seenExceptionsField from null to a Set populated with _the
         * initial exception_, no matter which thread does the work. This ensures that
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top