Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 436 for Parallel (0.2 sec)

  1. src/cmd/go/internal/par/queue.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package par
    
    import "fmt"
    
    // Queue manages a set of work items to be executed in parallel. The number of
    // active work items is limited, and excess items are queued sequentially.
    type Queue struct {
    	maxActive int
    	st        chan queueState
    }
    
    type queueState struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 24 21:08:46 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/asan_test.go

    	// otherwise a segmentation fault will occur.
    	if !compilerRequiredAsanVersion(goos, goarch) {
    		t.Skipf("skipping on %s/%s: too old version of compiler", goos, goarch)
    	}
    
    	t.Parallel()
    	requireOvercommit(t)
    	config := configure("address")
    	config.skipIfCSanitizerBroken(t)
    
    	mustRun(t, config.goCmd("build", "std"))
    
    	cases := []struct {
    		src               string
    		memoryAccessError string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:37:31 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ParallelForkingGradleExecuter.java

            args.addAll(super.getAllArgs());
            if (getDistribution().getVersion().compareTo(GradleVersion.version("2.3")) <= 0) {
                args.add("--parallel-threads=4");
            } else {
                args.add("--parallel");
                maybeSetMaxWorkers(args);
            }
            return args;
        }
    
        private void maybeSetMaxWorkers(List<String> args) {
            for (String arg : args) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/go/doc/testdata/testing.1.golden

    	func (c *T) Log(args ...any)
    
    	// Logf formats its arguments according to the format, analogous ...
    	func (c *T) Logf(format string, args ...any)
    
    	// Parallel signals that this test is to be run in parallel with ...
    	func (t *T) Parallel()
    
    	// log generates the output. It's always at the same stack depth. 
    	func (c *T) log(s string)
    
    	// 
    	func (t *T) report()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 8.4K bytes
    - Viewed (0)
  5. src/cmd/objdump/objdump_test.go

    			ok = false
    		}
    	}
    
    	if !ok || testing.Verbose() {
    		t.Logf("full disassembly:\n%s", text)
    	}
    }
    
    func testGoAndCgoDisasm(t *testing.T, printCode bool, printGnuAsm bool) {
    	t.Parallel()
    	testDisasm(t, "fmthello.go", printCode, printGnuAsm)
    	if testenv.HasCGO() {
    		testDisasm(t, "fmthellocgo.go", printCode, printGnuAsm)
    	}
    }
    
    func TestDisasm(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/buildcache/TaskOutputCachingJavaPerformanceTest.groovy

        )
        def "clean assemble with local cache"() {
            given:
            setupTestProject(runner)
            runner.args += "--parallel"
            pushToRemote = false
    
            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
        }
    
        @RunFor([
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    go test
    
    # For the fuzzing phase, we reduce GOMAXPROCS to avoid consuming too many
    # resources during the test. Ideally this would just free up resources to run
    # other parallel tests more quickly, but unfortunately it is actually necessary
    # in some 32-bit environments to prevent the fuzzing engine from running out of
    # address space (see https://go.dev/issue/65434).
    env GOMAXPROCS=2
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentDependencyResolutionIntegrationTest.groovy

    import spock.lang.Issue
    
    @Requires(IntegTestPreconditions.NotParallelExecutor)
    // no point, always runs in parallel
    class ConcurrentDependencyResolutionIntegrationTest extends AbstractIntegrationSpec {
    
        def setup() {
            requireOwnGradleUserHomeDir()
            executer.withArgument('--parallel')
            executer.withArgument('--max-workers=8')
        }
    
        @Issue("gradle/performance#502")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/testing/benchmark_test.go

    	// specific algorithm (in this case, sorting) in parallel.
    	testing.Benchmark(func(b *testing.B) {
    		var compares atomic.Int64
    		b.RunParallel(func(pb *testing.PB) {
    			for pb.Next() {
    				s := []int{5, 4, 3, 2, 1}
    				slices.SortFunc(s, func(a, b int) int {
    					// Because RunParallel runs the function many
    					// times in parallel, we must increment the
    					// counter atomically to avoid racing writes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConcurrentDerivationStrategyIntegTest.groovy

                      }
                   }
                }
            """
    
            when:
            executer.withArgument('--parallel')
            run 'resolve'
    
            then:
            noExceptionThrown()
    
            when: "second build from cache"
            executer.withArgument('--parallel')
            run 'resolve'
    
            then:
            noExceptionThrown()
    
            where:
            displayName       | rules
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top