Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,023 for Parallel (0.17 sec)

  1. internal/grid/benchmark_test.go

    	}
    	const payloadSize = 512
    	rng := rand.New(rand.NewSource(time.Now().UnixNano()))
    	payload := make([]byte, payloadSize)
    	_, err = rng.Read(payload)
    	errFatal(err)
    
    	// Wait for all to connect
    	// Parallel writes per server.
    	b.Run("bytes", func(b *testing.B) {
    		for par := 1; par <= 32; par *= 2 {
    			b.Run("par="+strconv.Itoa(par*runtime.GOMAXPROCS(0)), func(b *testing.B) {
    				defer timeout(60 * time.Second)()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGeneratorConfiguration.groovy

        CompositeConfiguration compositeBuild
    
        String daemonMemory
        String compilerMemory
        String testRunnerMemory
        Map<String, String> systemProperties
        String[] featurePreviews
        boolean parallel
        int maxWorkers
        int maxParallelForks
        int testForkEvery
        boolean useTestNG
        Map<String, String> fileToChangeByScenario
    }
    
    @Builder(prefix = "with",
        builderStrategy = ExternalStrategy,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/services/BuildServiceSpec.java

        /**
         * Specifies the maximum number of tasks that can use this service in parallel. Setting this to 1 means that the service will be used by a single task at a time.
         * When this property has no value defined, then any number of tasks may use this service in parallel. This is the default.
         *
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 23 18:14:53 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/ParallelProjectExecutionIntegrationTest.groovy

    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    import org.junit.Rule
    
    @Requires(IntegTestPreconditions.NotParallelExecutor) // no point, always runs in parallel
    public class ParallelProjectExecutionIntegrationTest extends AbstractIntegrationSpec {
    
        @Rule public final BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/corefeature/ParallelDownloadsPerformanceTest.groovy

            when:
            def result = runner.run()
    
            then:
            result.assertCurrentVersionHasNotRegressed()
    
            cleanup:
            stopServer()
        }
    
        def "resolves dependencies from external repository (parallel)"() {
            startServer()
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiParallelConfigurationIntegrationTest.groovy

        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            server.start()
        }
    
        def "projects are configured and models created in parallel when project scoped model is queried concurrently"() {
            withSomeToolingModelBuilderPluginInBuildSrc("""
                ${server.callFromBuildUsingExpression("'model-' + project.name")}
            """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/os/removeall_test.go

    package os_test
    
    import (
    	"bytes"
    	"fmt"
    	"internal/testenv"
    	. "os"
    	"path/filepath"
    	"runtime"
    	"strconv"
    	"strings"
    	"testing"
    )
    
    func TestRemoveAll(t *testing.T) {
    	t.Parallel()
    
    	tmpDir := t.TempDir()
    	if err := RemoveAll(""); err != nil {
    		t.Errorf("RemoveAll(\"\"): %v; want nil", err)
    	}
    
    	file := filepath.Join(tmpDir, "file")
    	path := filepath.Join(tmpDir, "_TestRemoveAll_")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:29 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformIntegrationTest.groovy

        def "can handle parallel test execution"() {
            given:
            def numTestClasses = 32
            buildScriptWithJupiterDependencies("""
                test {
                    useJUnitPlatform()
                    systemProperty('junit.jupiter.execution.parallel.enabled', 'true')
                    systemProperty('junit.jupiter.execution.parallel.config.strategy', 'fixed')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/core/platform/test.h"
    
    // NOTE(allenl): These tests currently go through TFE_Execute and so are
    // integration testing rather than purely testing the parallel device. They
    // correspond fairly well to the implementation, but testing the C++ directly is
    // another option.
    
    namespace tensorflow {
    namespace parallel_device {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 15:44:44 UTC 2021
    - 12.5K bytes
    - Viewed (0)
  10. src/os/stat_test.go

    	}
    
    	if !os.SameFile(fi, fi2) {
    		t.Errorf("os.Open(%q).Stat() and os.Stat(%q) are not the same file", link, link)
    	}
    }
    
    func TestDirAndSymlinkStats(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    	t.Parallel()
    
    	tmpdir := t.TempDir()
    	dir := filepath.Join(tmpdir, "dir")
    	if err := os.Mkdir(dir, 0777); err != nil {
    		t.Fatal(err)
    	}
    	testDirStats(t, dir)
    
    	dirlink := filepath.Join(tmpdir, "link")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top