Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 292 for forkx (0.07 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/AbstractJavaModuleCompileIntegrationTest.groovy

                case JavaCompileMultiTestInterceptor.Compiler.WORKER_JDK_COMPILER:
                    buildFile << """
                        tasks.withType(JavaCompile) {
                            options.fork = true
                        }
                    """
                    break
                case JavaCompileMultiTestInterceptor.Compiler.WORKER_COMMAND_LINE_COMPILER:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. pilot/pkg/leaderelection/k8sleaderelection/README.md

    # k8sleaderelection
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Oct 11 16:58:48 UTC 2021
    - 935 bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/environment/JreJavaHomeJavaIntegrationTest.groovy

            file('build.gradle') << """
            println "Used JRE: ${jreJavaHome.absolutePath.replace(File.separator, '/')}"
            apply plugin:'java'
            compileJava {
                options.fork = ${forkMode}
            }
            """
            when:
            executer.withJavaHome(jreJavaHome.absolutePath).withTasks("compileJava").run().output
            then:
            javaClassFile("org/test/JavaClazz.class").exists()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.compile.GroovyCompileOptions.xml

                </tr>
                <tr>
                    <td>encoding</td>
                    <td><literal>UTF-8</literal></td>
                </tr>
                <tr>
                    <td>fork</td>
                    <td><literal>true</literal></td>
                </tr>
                <tr>
                    <td>forkOptions</td>
                    <td></td>
                </tr>
                <tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. src/os/pipe_test.go

    func TestEPIPE(t *testing.T) {
    	// This test cannot be run in parallel because of a race similar
    	// to the one reported in https://go.dev/issue/22315.
    	//
    	// Even though the pipe is opened with O_CLOEXEC, if another test forks in
    	// between the call to os.Pipe and the call to r.Close, that child process can
    	// retain an open copy of r's file descriptor until it execs. If one of our
    	// Write calls occurs during that interval it can spuriously succeed,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/integtests/GroovyToJavaConversionIntegrationTest.groovy

        def "For every boolean is getter there is a get Getter"() {
            given:
            executer.requireDaemon().requireIsolatedDaemons() // We need to fork - if we do not fork Class-Decoration does not happen
    
            when:
            def convertedClasses = this.getClass().getResource( '/org/gradle/initialization/converted-types.txt' ).readLines()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 22 20:01:36 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. src/syscall/exec_unix.go

    // license that can be found in the LICENSE file.
    
    //go:build unix
    
    // Fork, exec, wait, etc.
    
    package syscall
    
    import (
    	errorspkg "errors"
    	"internal/bytealg"
    	"runtime"
    	"sync"
    	"unsafe"
    )
    
    // ForkLock is used to synchronize creation of new file descriptors
    // with fork.
    //
    // We want the child in a fork/exec sequence to inherit only the
    // file descriptors we intend. To do that, we mark all file
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/ProviderAwareCompilerDaemonForkOptions.java

    import org.gradle.util.internal.CollectionUtils;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Fork options for compilation that can accept user-defined {@link CommandLineArgumentProvider} objects.
     *
     * Only take effect if {@code fork} is {@code true}.
     *
     * @since 7.1
     */
    @Incubating
    public class ProviderAwareCompilerDaemonForkOptions extends BaseForkOptions {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/jmh/java/org/gradle/api/internal/provider/EvaluationContextPerfTest.java

    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.OutputTimeUnit;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.infra.Blackhole;
    
    import java.util.concurrent.TimeUnit;
    
    @State(Scope.Thread)
    @OutputTimeUnit(TimeUnit.MILLISECONDS)
    @Fork(2)
    public class EvaluationContextPerfTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 20:21:31 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy

            javaCompile.destinationDirectory.fileValue(temporaryFolder.createDir())
            def invalidJavaHome = "invalidJavaHome"
    
            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.javaHome = new File("invalidJavaHome")
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top