Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 221 for __fork (0.1 sec)

  1. .github/workflows/arm-ci-extended-cpp.yml

              fi
              docker container prune -f
              docker image prune -af
          - name: Clean repository
            shell: bash
            run: find /home/ubuntu/actions-runner/_work/tensorflow/tensorflow/. -name . -o -prune -exec sudo rm -rf -- {} + || true
          - name: Checkout repository for nightly (skipped for releases)
            if: ${{ github.event_name == 'schedule' }}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 07 17:41:21 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/optimizing-performance/performance.adoc

    [source.multi-language-sample,kotlin]
    ----
    <task>.options.isFork = true
    ----
    .build.gradle
    [source.multi-language-sample,groovy]
    ----
    <task>.options.fork = true
    ----
    ====
    
    To apply the configuration to _all_ Java compilation tasks, you can `configureEach` java compilation task:
    
    ====
    include::sample[dir="snippets/performance/parallelTestExecution/kotlin",files="build.gradle.kts[tags=fork-java]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 03:39:56 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  3. 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)
  4. platforms/jvm/language-groovy/src/main/java/org/gradle/api/internal/tasks/compile/GroovyCompilerFactory.java

            MinimalGroovyCompileOptions groovyOptions = spec.getGroovyCompileOptions();
            CompilerWorkerExecutor compilerWorkerExecutor =
                groovyOptions.isFork() ?
                    new ProcessIsolatedCompilerWorkerExecutor(workerDaemonFactory, actionExecutionSpecFactory, projectCacheDir) :
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

            """
                tasks.withType(JavaCompile) {
                    options.fork = true
                }
            """
        }
    
        @Override
        String logStatement() {
            "compiler daemon"
        }
    
        def setup() {
            executer.withArguments("-d")
        }
    
        def "respects fork options settings"() {
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. platforms/core-execution/build-cache/src/jmh/java/org/gradle/OptionalBenchmark.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package org.gradle;
    
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.State;
    import org.openjdk.jmh.annotations.Warmup;
    import org.openjdk.jmh.infra.Blackhole;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canJointCompileWithJavaCompilerExecutable/build.gradle

    apply plugin: "groovy"
    
    repositories {
        mavenCentral()
    }
    
    compileGroovy {
        options.fork = true
        options.forkOptions.javaHome = file(jdkHome)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 152 bytes
    - Viewed (0)
  9. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/FileWalkingBenchmark.java

     * limitations under the License.
     */
    
    package org.gradle.caching.internal.tasks;
    
    import org.apache.commons.io.FileUtils;
    import org.openjdk.jmh.annotations.Benchmark;
    import org.openjdk.jmh.annotations.Fork;
    import org.openjdk.jmh.annotations.Level;
    import org.openjdk.jmh.annotations.Measurement;
    import org.openjdk.jmh.annotations.Param;
    import org.openjdk.jmh.annotations.Scope;
    import org.openjdk.jmh.annotations.Setup;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. src/syscall/exec_freebsd.go

    func runtime_AfterFork()
    func runtime_AfterForkInChild()
    
    // Fork, dup fd onto 0..len(fd), and exec(argv0, argvv, envv) in child.
    // If a dup or exec fails, write the errno error to pipe.
    // (Pipe is close-on-exec so if exec succeeds, it will be closed.)
    // In the child, this function must not acquire any locks, because
    // they might have been locked at the time of the fork. This means
    // no rescheduling, no malloc calls, and no new stack segments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 29 18:51:35 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top