Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Setpriority (0.05 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        ThreadFactory factory2 = builder.setPriority(2).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
        assertEquals(2, factory2.newThread(monitoredRunnable).getPriority());
      }
    
      public void testBuildTwice() {
        ThreadFactory unused;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
        ThreadFactory factory2 = builder.setPriority(2).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
        assertEquals(2, factory2.newThread(monitoredRunnable).getPriority());
      }
    
      public void testBuildTwice() {
        ThreadFactory unused;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *
       * @param priority the priority for new Threads created with this ThreadFactory
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setPriority(int priority) {
        // Thread#setPriority() already checks for validity. These error messages
        // are nicer though and will fail-fast.
        checkArgument(
            priority >= Thread.MIN_PRIORITY,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java

                super.mergePluginExecution(target, source, sourceDominant, context);
    
                target.setPriority(Math.min(target.getPriority(), source.getPriority()));
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/ingest/Ingester.java

         *
         * @return the priority value
         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this ingester.
         * Lower numbers indicate higher priority.
         *
         * @param priority the priority value to set
         */
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/score/ScoreBooster.java

        /**
         * Gets the priority of this score booster.
         * @return The priority.
         */
        public int getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this score booster.
         * @param priority The priority.
         */
        public void setPriority(final int priority) {
            this.priority = priority;
        }
    
        /**
         * Sets the request timeout.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                  request: UrlRequest,
                  info: UrlResponseInfo?,
                ) {
                  completableFuture.completeExceptionally(CancellationException())
                }
              },
            ).setPriority(REQUEST_PRIORITY_MEDIUM)
            .setDirectExecutorAllowed(true)
            .setTrafficStatsTag(101)
            .build()
    
        req.start()
        return completableFuture
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    PluginExecution execution = new PluginExecution();
                    execution.setId(getExecutionId(plugin, gs.goal));
                    execution.setPhase(phase);
                    execution.setPriority(i - mojos.size());
                    execution.getGoals().add(gs.goal);
    
                    execution.setLocation("", location);
                    execution.setLocation("id", location);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

        /**
         * Returns the priority of this sitemap entry.
         * @return the priority
         */
        public String getPriority() {
            return priority;
        }
    
        /**
         * Sets the priority of this sitemap entry.
         * @param priority the priority to set
         */
        public void setPriority(final String priority) {
            this.priority = priority;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

                threads[i] =
                        new Thread(crawlerThreadGroup, crawlerThread, "Crawler-" + crawlerContext.sessionId + "-" + Integer.toString(i + 1));
                threads[i].setDaemon(daemon);
                threads[i].setPriority(threadPriority);
            }
    
            // run
            crawlerContext.setStatus(CrawlerStatus.RUNNING);
            if (logger.isInfoEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top