Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 172 for forkx (0.07 sec)

  1. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java

    import org.gradle.internal.nativeintegration.services.NativeServices;
    import org.gradle.internal.nativeintegration.services.NativeServices.NativeServicesMode;
    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.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/BuildProgressCrossVersionSpec.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: Tue Sep 26 14:49:20 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompilerDaemonFailureIntegrationTest.groovy

            def buildOperations = new BuildOperationsFixture(executer, temporaryFolder)
    
            buildFile << """
                apply plugin: "java"
    
                tasks.compileJava {
                    options.fork = true
                    options.forkOptions.jvmArgs = ['--not-a-real-argument']
                }
            """
    
            file('src/main/java/ClassToCompile.java') << """
                class ClassToCompile {
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/jmh/java/org/gradle/internal/reflect/CachedConstructorsBenchmark.java

    import org.openjdk.jmh.annotations.*;
    import org.openjdk.jmh.infra.Blackhole;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedList;
    import java.util.Random;
    
    @Fork(4)
    @Threads(2)
    @Warmup(iterations = 10)
    @State(Scope.Benchmark)
    public class CachedConstructorsBenchmark {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. .github/PULL_REQUEST_TEMPLATE.md

    - [ ] Check ["Allow edit from maintainers" option](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) in pull request so that additional changes can be pushed by Gradle team.
    - [ ] Provide integration tests (under `<subproject>/src/integTest`) to verify changes from a user perspective.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 13 22:36:19 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/AbstractTaskOutputPackagingBenchmark.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMap;
    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.Scope;
    import org.openjdk.jmh.annotations.Setup;
    import org.openjdk.jmh.annotations.State;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/JavaCompileDaemonCancellationIntegrationTest.groovy

            buildFile << """
                plugins {
                    id 'java'
                }
                ${dependsOnPidCapturingAnnotationProcessor}
                tasks.withType(JavaCompile).configureEach {
                    options.fork = true
                }
            """
            file('src/main/java/Foo.java') << blockingFooClass
            def handler = blockingHttpServer.expectAndBlock("/block")
    
            when:
            startBuild("compileJava")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/TestLauncherDebugTestsCrossVersionTest.groovy

                    .debugTestsOn(jdwpClient.port)
                    .run()
            }
    
            then:
            true // test successfully executed with debugger attached
        }
    
        def "forks only one JVM to debug"() {
            setup:
            buildFile << """
                 tasks.withType(Test) {
                      forkEvery = 1
                      maxParallelForks = 2
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. .github/workflows/maven_build_itself.yml

    permissions: {}
    
    jobs:
      build:
    
        # execute on any push or pull request from forked repo
        if: github.event_name == 'push' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork )
    
        strategy:
          matrix:
            os: [ubuntu-latest, windows-latest]
            java: [17, 21]
          fail-fast: false
    
        runs-on: ${{ matrix.os }}
    
        steps:
          - uses: actions/checkout@v4
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 03 17:58:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. src/runtime/mem_bsd.go

    	if GOOS == "solaris" || GOOS == "illumos" {
    		// Be explicit that we don't want to reserve swap space
    		// for PROT_NONE anonymous mappings. This avoids an issue
    		// wherein large mappings can cause fork to fail.
    		flags |= _sunosMAP_NORESERVE
    	}
    	p, err := mmap(v, n, _PROT_NONE, flags, -1, 0)
    	if err != 0 {
    		return nil
    	}
    	return p
    }
    
    const _sunosEAGAIN = 11
    const _ENOMEM = 12
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top