- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for availableProcessors (0.23 sec)
-
android/guava/src/com/google/common/cache/Striped64.java
/** Generator of new random hash codes */ static final Random rng = new Random(); /** Number of CPUS, to place bound on table size */ static final int NCPU = Runtime.getRuntime().availableProcessors(); /** Table of cells. When non-null, size is a power of 2. */ transient volatile Cell @Nullable [] cells; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutManager.java
*/ public synchronized int getTimeoutTaskCount() { return timeoutTaskList.size(); } @Override public void run() { int nThreads = Runtime.getRuntime().availableProcessors() / 2; final String value = System.getProperty("corelib.timeout_task.num_of_threads"); if (StringUtil.isNotBlank(value)) { try { nThreads = Integer.parseInt(value);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
} return value; } Integer getProcessorsAsInteger(); default int availableProcessors() { final int num = getProcessorsAsInteger(); if (num > 0) { return num; } return Runtime.getRuntime().availableProcessors(); } Integer getCrawlerHttpThreadPoolSizeAsInteger(); default int getCrawlerHttpProcessors() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 86.5K bytes - Viewed (0) -
build.gradle.kts
javaLauncher.set(javaToolchains.launcherFor { languageVersion.set(JavaLanguageVersion.of(testJavaVersion)) }) maxParallelForks = Runtime.getRuntime().availableProcessors() * 2 testLogging { exceptionFormat = TestExceptionFormat.FULL } systemProperty("okhttp.platform", platform) systemProperty("junit.jupiter.extensions.autodetection.enabled", "true")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 08:06:31 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* and memory footprint. For example, if a set of tasks are CPU-bound, one could easily create a * very compact {@code Striped<Lock>} of {@code availableProcessors() * 4} stripes, instead of * possibly thousands of locks which could be created in a {@code Map<K, Lock>} structure. * * @author Dimitris Andreou * @since 13.0 */ @J2ktIncompatible @GwtIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
int numThreads = ComponentUtil.getFessConfig().getRankFusionThreadsAsInteger(); if (numThreads <= 0) { numThreads = Runtime.getRuntime().availableProcessors() * 3 / 2 + 1; } executorService = Executors.newFixedThreadPool(numThreads); } } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
if ("adaptive".equalsIgnoreCase(value)) { if (fessConfig.availableProcessors() >= 4) { return null; } final String requestsPerSecond = String.valueOf(fessConfig.getIndexReindexSizeAsInteger() * fessConfig.availableProcessors()); logger.info("Set requests_per_second to {}", requestsPerSecond); return requestsPerSecond;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0)