Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 283 for pdfork (0.19 sec)

  1. src/runtime/race/testdata/atomic_test.go

    	type foo struct {
    		bar int64
    	}
    
    	var doFork func(f *foo, depth int)
    	doFork = func(f *foo, depth int) {
    		atomic.StoreInt64(&f.bar, 1)
    		defer atomic.StoreInt64(&f.bar, 0)
    		if depth > 0 {
    			for i := 0; i < 2; i++ {
    				f2 := &foo{}
    				go doFork(f2, depth-1)
    			}
    		}
    		runtime.GC()
    	}
    
    	f := &foo{}
    	doFork(f, 11)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 16 17:26:46 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/KotlinDslFileContentGenerator.groovy

            tasks.withType<JavaCompile> {
                options.isFork = true
                options.isIncremental = true
                options.forkOptions.memoryInitialSize = compilerMemory
                options.forkOptions.memoryMaximumSize = compilerMemory
            }
            tasks.withType<GroovyCompile> {
                options.isFork = true
                options.isIncremental = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/modifiers/NamesTest.groovy

            expect:
            Names.displayNameFor(Test.ONE) == "one"
            Names.displayNameFor(Test.THING_TWO) == "thing two"
        }
    
        def "calculates id"() {
            expect:
            Names.idFor(Test.ONE) == "one"
            Names.idFor(Test.THING_TWO) == "thing-two"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. src/runtime/os_openbsd_syscall.go

    		tf_stack: uintptr(stk) - goarch.PtrSize,
    	}
    
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    	ret := retryOnEAGAIN(func() int32 {
    		errno := tfork(&param, unsafe.Sizeof(param), mp, mp.g0, abi.FuncPCABI0(mstart))
    		// tfork returns negative errno
    		return -errno
    	})
    	sigprocmask(_SIG_SETMASK, &oset, nil)
    
    	if ret != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/performance/parallelTestExecution/groovy/build.gradle

    // end::parallel-calculated[]
    
    // tag::fork-every[]
        forkEvery = 100
    // end::fork-every[]
    
    // tag::disable-reports[]
        reports.html.required = false
        reports.junitXml.required = false
    // end::disable-reports[]
    
    // tag::parallel-4[]
    // tag::parallel-calculated[]
    // tag::fork-every[]
    // tag::disable-reports[]
    }
    // end::parallel-4[]
    // end::parallel-calculated[]
    // end::fork-every[]
    // end::disable-reports[]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 976 bytes
    - Viewed (0)
  6. build-logic/performance-testing/src/test/kotlin/gradlebuild/performance/tasks/DetermineBaselinesTest.kt

            mockGitOperation(listOf("git", "rev-parse", "--short", "master-fork-point"), "master-fork-point")
    
            // then
            verifyBaselineDetermination("my-branch", false, null, "5.1-commit-master-fork-point")
        }
    
        @Test
        fun `not determines fork point commit in security advisory fork`() {
            // given
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 21 09:29:24 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/CompileOptionsTest.groovy

            !compileOptions.verbose
            !compileOptions.fork
    
            compileOptions.compilerArgs.empty
            compileOptions.encoding == null
            compileOptions.bootstrapClasspath == null
            compileOptions.extensionDirs == null
    
            compileOptions.forkOptions != null
            compileOptions.debugOptions != null
        }
    
        def testFork() {
            compileOptions.fork = false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DefaultJavaCompileSpecFactoryTest.groovy

    import spock.lang.Specification
    
    class DefaultJavaCompileSpecFactoryTest extends Specification {
    
        def "produces correct spec with fork=#fork, executable=#executable, toolchain=#toolchain"() {
            CompileOptions options = TestUtil.newInstance(CompileOptions, TestUtil.objectFactory())
            options.fork = fork
            options.forkOptions.executable = executable ? Jvm.current().javacExecutable.absolutePath : null
    
            def javaToolchain = null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyCompileOptionsTest.groovy

            assertFalse(compileOptions.parameters)
        }
    
        @Test
        void testFork() {
            compileOptions.fork = false
            assertNull(compileOptions.forkOptions.memoryMaximumSize)
    
            compileOptions.fork([memoryMaximumSize: '1g'])
            assertTrue(compileOptions.fork)
            assertEquals(compileOptions.forkOptions.memoryMaximumSize, '1g')
        }
    
        @Test
        void testDefine() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDebugLogger.java

            if (!forkedExecutions.isEmpty()) {
                for (Map.Entry<String, List<MojoExecution>> fork : forkedExecutions.entrySet()) {
                    logger.debug("--- init fork of " + fork.getKey() + " for " + mojoExecId + " ---");
    
                    debugDependencyRequirements(fork.getValue());
    
                    for (MojoExecution forkedExecution : fork.getValue()) {
                        debugMojoExecution(forkedExecution);
                    }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top