Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 280 for forkx (0.06 sec)

  1. cmd/service.go

    // cancelGlobalContext can be used to indicate server shutdown.
    var GlobalContext, cancelGlobalContext = context.WithCancel(context.Background())
    
    // restartProcess starts a new process passing it the active fd's. It
    // doesn't fork, but starts a new process using the same environment and
    // arguments as when it was originally started. This allows for a newly
    // deployed binary to be started. It returns the pid of the newly started
    // process when successful.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. .github/workflows/contributor-pr.yml

              java-version: 11
          - id: determine-sys-prop-args
            uses: actions/github-script@v7
            with:
              script: |
                if (context.payload.pull_request && context.payload.pull_request.head.repo.fork) {
                    core.setOutput('sys-prop-args', '-DagreePublicBuildScanTermOfService=yes -DcacheNode=us')
                } else {
                    core.setOutput('sys-prop-args', '-DcacheNode=us')
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorProblemsApiIntegrationTest.groovy

        def buildOperationIdFile = file('build-operation-id.txt')
    
        def forkingOptions(Jvm javaVersion) {
            return """
                options.fork = true
                // We don't use toolchains here for consistency with the rest of the test suite
                options.forkOptions.javaHome = file('${javaVersion.javaHome}')
            """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 13:37:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy

        @Rule final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        private BuildCancellationToken buildCancellationToken = Mock(BuildCancellationToken)
    
        void "forks process"() {
            given:
            def out = new ByteArrayOutputStream()
            def err = new ByteArrayOutputStream()
    
            def execHandle = handle()
                    .args(args(TestApp.class, "arg1", "arg2"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 03:44:52 UTC 2021
    - 14.9K bytes
    - Viewed (0)
  5. platforms/core-runtime/process-services/src/main/java/org/gradle/process/ProcessForkOptions.java

     * limitations under the License.
     */
    package org.gradle.process;
    
    import java.io.File;
    import java.util.Map;
    
    /**
     * <p>Specifies the options to use to fork a process.</p>
     */
    public interface ProcessForkOptions {
        /**
         * Returns the name of the executable to use.
         *
         * @return The executable.
         */
        String getExecutable();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/process/JavaForkOptions.java

    import org.gradle.api.tasks.Optional;
    import org.gradle.internal.HasInternalProtocol;
    
    import javax.annotation.Nullable;
    import java.util.List;
    import java.util.Map;
    
    /**
     * <p>Specifies the options to use to fork a Java process.</p>
     */
    @HasInternalProtocol
    public interface JavaForkOptions extends ProcessForkOptions {
        /**
         * Returns the system properties which will be used for the process.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/FileContentGenerator.groovy

                            <version>3.8.0</version>
                            <configuration>
                                <source>1.8</source>
                                <target>1.8</target>
                                <fork>true</fork>
                                <meminitial>${config.compilerMemory}</meminitial>
                                <maxmem>${config.compilerMemory}</maxmem>
                            </configuration>
                        </plugin>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonExpiration.java

                long parsed = MemoryAmount.parseNotation(forkOptionsMaxHeapSize);
                if (parsed != -1) {
                    // From fork options
                    return parsed;
                }
    
                // If we don't know what the max heap is, approximate it based on OS total memory
                // according to JVM documentation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TaskProgressCrossVersionSpec.groovy

            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies { ${testImplementationConfiguration} 'junit:junit:4.13' }
                compileTestJava.options.fork = true  // forked as 'Gradle Test Executor 1'
            """
    
            file("src/test/java/MyTest.java") << """
                package example;
                public class MyTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonLifecycleTest.groovy

                task runInWorker(type: WorkerTask) {
                    isolationMode = 'processIsolation'
                }
    
                tasks.withType(JavaCompile) {
                    options.fork = true
                }
            """
    
            when:
            args("--info")
            succeeds "compileJava", "runInWorker"
    
            then:
            sinceSnapshot().count("Started Gradle worker daemon") == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top