Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 488 for Parallel (0.1 sec)

  1. src/runtime/hash_test.go

    					b[2] = byte(k)
    					h.addB(b[:3])
    				}
    			}
    		}
    	}
    	h.check(t)
    }
    
    // Different length strings of all zeros have distinct hashes.
    func TestSmhasherZeros(t *testing.T) {
    	t.Parallel()
    	N := 256 * 1024
    	if testing.Short() {
    		N = 1024
    	}
    	h := newHashSet()
    	b := make([]byte, N)
    	for i := 0; i <= N; i++ {
    		h.addB(b[:i])
    	}
    	h.check(t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

        @Rule
        public BlockingHttpServer blockingServer = new BlockingHttpServer()
    
        def setup() {
            blockingServer.start()
        }
    
        String getAuthConfig() { '' }
    
        def "downloads artifacts in parallel from a Maven repo - #expression"() {
            def m1 = mavenRepo.module('test', 'test1', '1.0').publish()
            def m2 = mavenRepo.module('test', 'test2', '1.0').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/syscall/exec_unix_test.go

    			t.Fatal("timed out waiting for child process")
    		}
    	}
    }
    
    // Test a couple of cases that SysProcAttr can't handle. Issue 29458.
    func TestInvalidExec(t *testing.T) {
    	t.Parallel()
    	t.Run("SetCtty-Foreground", func(t *testing.T) {
    		t.Parallel()
    		cmd := create(t)
    		cmd.proc.SysProcAttr = &syscall.SysProcAttr{
    			Setctty:    true,
    			Foreground: true,
    			Ctty:       0,
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. pkg/apis/core/v1/helper/helpers_test.go

    			expectVal:    true,
    		},
    	}
    
    	for _, tc := range testCases {
    		tc := tc
    		t.Run(fmt.Sprintf("resourceName input=%s, expected value=%v", tc.resourceName, tc.expectVal), func(t *testing.T) {
    			t.Parallel()
    			v := IsNativeResource(tc.resourceName)
    			if v != tc.expectVal {
    				t.Errorf("Got %v but expected %v", v, tc.expectVal)
    			}
    		})
    	}
    }
    
    func TestHugePageSizeFromResourceName(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 23:03:54 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. Jenkinsfile

                            }
                        }
                    }
                }
            }
        }
    }
    
    // run the parallel ITs
    parallel(runITsTasks)
    
    // JENKINS-34376 seems to make it hard to detect the aborted builds
    } catch (org.jenkinsci.plugins.workflow.steps.FlowInterruptedException e) {
        echo "[FAILURE-002] FlowInterruptedException ${e}"
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Mar 03 21:28:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/net/netip/inlining_test.go

    package netip
    
    import (
    	"internal/testenv"
    	"os/exec"
    	"regexp"
    	"runtime"
    	"strings"
    	"testing"
    )
    
    func TestInlining(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    	out, err := exec.Command(
    		testenv.GoToolPath(t),
    		"build",
    		"--gcflags=-m",
    		"net/netip").CombinedOutput()
    	if err != nil {
    		t.Fatalf("go build: %v, %s", err, out)
    	}
    	got := map[string]bool{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. src/os/pidfd_linux_test.go

    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"os"
    	"syscall"
    	"testing"
    )
    
    func TestFindProcessViaPidfd(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	if err := os.CheckPidfdOnce(); err != nil {
    		// Non-pidfd code paths tested in exec_unix_test.go.
    		t.Skipf("skipping: pidfd not available: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r73/DeprecationsCrossVersionSpec.groovy

                        implementation rootProject
                    }
                }
            """
    
            when:
            withConnection {
                def builder = it.model(List)
                builder.withArguments("--parallel")
                collectOutputs(builder)
                return builder.get()
            }
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 20:23:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryStoreConcurrencyTest.groovy

                def context = Stub(BuildOperationContext)
                operation.run(context)
            }
        }
    
        @Issue("GRADLE-3206")
        def "can create new caches and access them in parallel"() {
            def store = new DefaultPersistentDirectoryStore(cacheDir, "<display>", mode(OnDemand), null, lockManager, executorFactory, buildOperationRunner)
            store.open()
    
            when:
            async {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/api/IsolatedAction.java

     * (including {@link org.gradle.api.services.BuildService}, which are not supported) is prevented.
     * The absence of shared mutable state allows these actions to be safely executed in parallel as needed.
     *
     * <p><b>IMPORTANT:</b> As isolated action instances are recreated using Configuration Cache serialization, they must
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:15:52 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top