Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for forkx (0.04 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/SingleUseDaemonIntegrationTest.groovy

            executer.requireIsolatedDaemons()
        }
    
        def "forks build when JVM args are requested"() {
            requireJvmArg('-Xmx64m')
    
            file('build.gradle') << "println 'hello world'"
    
            when:
            succeeds()
    
            then:
            wasForked()
    
            and:
            daemons.daemon.stops()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 13:41:21 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/syscall/exec_plan9.go

    		}
    		procs.waits[ret.pid] = waitc
    		procs.Unlock()
    
    		forkc <- ret
    
    		var w waitErr
    		for w.err == nil && w.Pid != ret.pid {
    			w.err = Await(&w.Waitmsg)
    		}
    		waitc <- &w
    		close(waitc)
    	}()
    	ret := <-forkc
    	return ret.pid, ret.err
    }
    
    // Combination of fork and exec, careful to be thread safe.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleContextualExecuter.java

            configCache(true),
            isolatedProjects(true);
    
            final public boolean forks;
            final public boolean executeParallel;
    
            Executer(boolean forks) {
                this(forks, false);
            }
    
            Executer(boolean forks, boolean parallel) {
                this.forks = forks;
                this.executeParallel = parallel;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 18:06:31 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AnnotationProcessingSmokeTest.groovy

     */
    
    package org.gradle.smoketests
    
    import org.gradle.testkit.runner.GradleRunner
    
    class AnnotationProcessingSmokeTest extends AbstractSmokeTest {
    
        def 'project lombok works when options.fork=#fork'() {
            given:
            buildFile << """
                plugins {
                    id("java")
                }
                ${mavenCentralRepository()}
                dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            javaCompile.destinationDirectory.fileValue(new File('somewhere'))
            def invalidExecutable = temporaryFolder.file("invalidExecutable")
    
            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.executable = invalidExecutable
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Execute.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Used if your Mojo needs to fork a <a href="/ref/3.0.4/maven-core/lifecycles.html">lifecycle</a>.
     *
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.TYPE)
    @Inherited
    public @interface Execute {
        /**
         * Lifecycle phase to fork. Note that specifying a phase overrides specifying a goal.
         * @return the phase
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  7. .github/workflows/maven.yml

                if [ $? -eq 0 ]; then
                  echo "Found a branch \"$branch\" in fork \"$user/$repo\", configuring this for the integration tests to be run against."
                  target_branch=$branch
                  target_user=$user
                else
                  echo "Could not find fork \"$user/$repo\" or a branch \"$branch\" in this fork. Falling back to \"$target_branch\" in \"$target_user/$repo\"."
                fi
              else
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. testing/performance/src/templates/project-with-source/build.gradle

    }
    
    String compilerMemory = getProperty('compilerMemory')
    String testRunnerMemory = getProperty('testRunnerMemory')
    int testForkEvery = getProperty('testForkEvery') as Integer
    
    tasks.withType(JavaCompile) {
        options.fork = true
        options.forkOptions.memoryInitialSize=compilerMemory
        options.forkOptions.memoryMaximumSize=compilerMemory
    }
    tasks.withType(Test) {
        minHeapSize = testRunnerMemory
        maxHeapSize = testRunnerMemory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top