- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 69 for getCRuntime (0.29 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/RuntimeExec3InstrumentationInDynamicGroovyWithoutIndyIntegrationTest.groovy
*/ package org.gradle.internal.cc.impl.inputs.process.instrument /** * Test cases for triple-argument {@code Runtime.exec}: * <pre> * Runtime.getRuntime().exec("echo 123", env, cwd) * Runtime.getRuntime().exec(["echo", "123"], env, cwd) * </pre> */ class RuntimeExec3InstrumentationInDynamicGroovyWithoutIndyIntegrationTest extends RuntimeExec3InstrumentationInDynamicGroovyWithIndyIntegrationTest {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/CrashingWorker.java
public class CrashingWorker implements RequestHandler<String, Object> { @Override public Object run(String request) { if (request.equals("halt-ok")) { Runtime.getRuntime().halt(0); } else if (request.equals("halt")) { Runtime.getRuntime().halt(12); } else { System.exit(12); } throw new UnsupportedOperationException(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 15 22:51:06 UTC 2020 - 1.1K bytes - Viewed (0) -
fess-crawler-es/src/main/java/org/codelibs/fess/crawler/util/EsCrawlerConfig.java
protected String filterIndex = ".crawler.filter"; protected int queueShards = Runtime.getRuntime().availableProcessors() * 2; protected int dataShards = Runtime.getRuntime().availableProcessors() * 2; protected int filterShards = Runtime.getRuntime().availableProcessors() * 2; protected int queueReplicas = 1; protected int dataReplicas = 1;
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.7K bytes - Viewed (0) -
maven-jline/src/main/java/org/apache/maven/jline/MessageUtils.java
MessageUtils.doSystemUninstall(); } }); Runtime.getRuntime().addShutdownHook(shutdownHook); } } public static void systemUninstall() { doSystemUninstall(); if (shutdownHook != null) { try { Runtime.getRuntime().removeShutdownHook(shutdownHook); } catch (IllegalStateException var3) { // ignore
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 13:48:49 UTC 2024 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/context/AbstractCIFSContext.java
private static final Logger log = LoggerFactory.getLogger(AbstractCIFSContext.class); private boolean closed; /** * */ public AbstractCIFSContext () { Runtime.getRuntime().addShutdownHook(this); } /** * @param creds * @return a wrapped context with the given credentials */ @Override public CIFSContext withCredentials ( Credentials creds ) {
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 10:50:16 UTC 2020 - 3.7K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/DefaultJvmMemoryInfo.java
public class DefaultJvmMemoryInfo implements JvmMemoryInfo { private final long totalMemory; //this does not change public DefaultJvmMemoryInfo() { this.totalMemory = Runtime.getRuntime().maxMemory(); } /** * Max memory that this process can commit in bytes. Always returns the same value because maximum memory is determined at jvm start. */ long getMaxMemory() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/process/internal/shutdown/ShutdownHooks.java
HOOKS.put(shutdownHook, thread); Runtime.getRuntime().addShutdownHook(thread); } public static void removeShutdownHook(Runnable shutdownHook) { try { Thread thread = HOOKS.remove(shutdownHook); if (thread != null) { Runtime.getRuntime().removeShutdownHook(thread); } } catch (IllegalStateException e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 12 05:56:18 UTC 2021 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/MemoryUtil.java
import java.util.Map; import java.util.Objects; public final class MemoryUtil { private MemoryUtil() { } public static String getMemoryUsageLog() { final Runtime runtime = Runtime.getRuntime(); final long freeBytes = runtime.freeMemory(); final long maxBytes = runtime.maxMemory(); final long totalBytes = runtime.totalMemory(); final long usedBytes = totalBytes - freeBytes;
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/performance/parallelTestExecution/kotlin/build.gradle.kts
// end::parallel-calculated[] // end::fork-every[] // end::disable-reports[] // tag::parallel-4[] maxParallelForks = 4 // end::parallel-4[] // tag::parallel-calculated[] maxParallelForks = (Runtime.getRuntime().availableProcessors() / 2).coerceAtLeast(1) // end::parallel-calculated[] // tag::fork-every[] forkEvery = 100 // end::fork-every[] // tag::disable-reports[] reports.html.required = false
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 995 bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/play/integtest/fixtures/external/basicplayapp/app/controllers/Application.scala
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 941 bytes - Viewed (0)