- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for setpriority (0.3 sec)
-
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 7.5K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.6K bytes - Viewed (0) -
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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ingest/Ingester.java
import org.codelibs.fess.entity.DataStoreParams; import org.codelibs.fess.util.ComponentUtil; public abstract class Ingester { protected int priority = 99; public int getPriority() { return priority; } public void setPriority(final int priority) { this.priority = priority; } public void register() { ComponentUtil.getIngestFactory().add(this); } // web/file
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/ScoreBooster.java
} bulkRequestBuilder = null; } } public int getPriority() { return this.priority; } public void setPriority(final int priority) { this.priority = priority; } public void setRequestTimeout(final String bulkRequestTimeout) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5K bytes - Viewed (0) -
cmd/kubelet/app/init_windows.go
) const ( serviceName = "kubelet" ) // getPriorityValue returns the value associated with a Windows process priorityClass // Ref: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/setpriority-method-in-class-win32-process func getPriorityValue(priorityClassName string) uint32 { var priorityClassMap = map[string]uint32{ "IDLE_PRIORITY_CLASS": uint32(windows.IDLE_PRIORITY_CLASS),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 09 01:54:34 UTC 2022 - 3.4K bytes - Viewed (0) -
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: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Sun Mar 24 13:19:43 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java
return changefreq; } public void setChangefreq(final String changefreq) { this.changefreq = changefreq; } public String getPriority() { return priority; } public void setPriority(final String priority) { this.priority = priority; } @Override public boolean equals(final Object obj) {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 4.9K bytes - Viewed (0) -
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); for (int i = 0; i < crawlerContext.numOfThread; i++) { threads[i].start(); }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.9K bytes - Viewed (0)