Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 292 for forkx (0.2 sec)

  1. 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)
  2. 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)
  3. maven-core/src/test/resources-project-builder/plugin-injection-merge-order/pom.xml

            <artifactId>maven-it-plugin-expression</artifactId>
            <version>2.1-SNAPSHOT</version>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.its.plugins</groupId>
            <artifactId>maven-it-plugin-fork</artifactId>
            <version>2.1-SNAPSHOT</version>
          </plugin>
        </plugins>
      </build>
    
      <profiles>
        <profile>
          <id>test</id>
          <activation>
            <property>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 29 19:02:56 UTC 2020
    - 4.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/syscall/syscall_openbsd_libc.go

    //sys	Seek(fd int, offset int64, whence int) (newoffset int64, err error) = SYS_lseek
    //sys	getcwd(buf []byte) (n int, err error)
    //sys	sysctl(mib []_C_int, old *byte, oldlen *uintptr, new *byte, newlen uintptr) (err error)
    //sysnb fork() (pid int, err error)
    //sysnb execve(path *byte, argv **byte, envp **byte) (err error)
    //sysnb exit(res int) (err error)
    //sys   ptrace(request int, pid int, addr uintptr, data uintptr) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top