- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,023 for Parallel (0.12 sec)
-
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/IntermediateBuildActionRunnerTest.groovy
def buildModelParameters = Mock(BuildModelParameters) def runner = new IntermediateBuildActionRunner(buildOperationExecutor, buildModelParameters, "Test operation") def "parallelism is defined by Tooling API parallel actions"() { when: runner.isParallel() then: 1 * buildModelParameters.isParallelToolingApiActions() >> true 0 * _ } def "runs supplied actions"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 20 17:58:18 UTC 2023 - 4.6K bytes - Viewed (0) -
src/hash/maphash/smhasher_test.go
// currently disabled in -race mode. var fixedSeed = MakeSeed() // Sanity checks. // hash should not depend on values outside key. // hash should not depend on alignment. func TestSmhasherSanity(t *testing.T) { t.Parallel() r := rand.New(rand.NewSource(1234)) const REP = 10 const KEYMAX = 128 const PAD = 16 const OFFMAX = 16 for k := 0; k < REP; k++ { for n := 0; n < KEYMAX; n++ { for i := 0; i < OFFMAX; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
src/cmd/go/testdata/script/test2json_interrupt.txt
[short] skip 'links and runs a test binary' [!fuzz] skip 'tests SIGINT behavior for interrupting fuzz tests' [GOOS:windows] skip 'windows does not support os.Interrupt' ? go test -json -fuzz FuzzInterrupt -run '^$' -parallel 1 stdout -count=1 '"Action":"pass","Package":"example","Test":"FuzzInterrupt"' stdout -count=1 '"Action":"pass","Package":"example","Elapsed":' mkdir $WORK/fuzzcache go test -c . -fuzz=. -o example_test.exe
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 08 03:52:44 UTC 2022 - 1.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/deadcode_test.go
// license that can be found in the LICENSE file. package ld import ( "bytes" "internal/testenv" "path/filepath" "testing" ) func TestDeadcode(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() tmpdir := t.TempDir() tests := []struct { src string pos, neg []string // positive and negative patterns }{ {"reflectcall", nil, []string{"main.T.M"}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:07:26 UTC 2023 - 1.7K bytes - Viewed (0) -
src/cmd/link/internal/ld/ld_test.go
testenv.MustHaveGoBuild(t) // When external linking, symbols may be defined externally, so we allow // undefined symbols and let external linker resolve. Skip the test. testenv.MustInternalLink(t, false) t.Parallel() out, err := testenv.Command(t, testenv.GoToolPath(t), "build", "./testdata/issue10978").CombinedOutput() if err == nil { t.Fatal("expected build to fail") } wantErrors := map[string]int{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 05:45:53 UTC 2023 - 10.3K bytes - Viewed (0) -
src/os/os_unix_test.go
t.Fatalf("Error reading from file: %v", err) } } } func TestNewFileBlock(t *testing.T) { t.Parallel() newFileTest(t, true) } func TestNewFileNonBlock(t *testing.T) { t.Parallel() newFileTest(t, false) } func TestNewFileInvalid(t *testing.T) { t.Parallel() const negOne = ^uintptr(0) if f := NewFile(negOne, "invalid"); f != nil { t.Errorf("NewFile(-1) got %v want nil", f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:32:43 UTC 2023 - 11.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/cshared_test.go
"internal/testenv" "os" "strings" "testing" ) func TestShared(t *testing.T) { testenv.MustHaveGoBuild(t) testenv.MustHaveCGO(t) testenv.MustHaveBuildMode(t, "c-shared") t.Parallel() requireOvercommit(t) GOOS, err := goEnv("GOOS") if err != nil { t.Fatal(err) } GOARCH, err := goEnv("GOARCH") if err != nil { t.Fatal(err) } libExt := "so"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 19 01:37:31 UTC 2023 - 2.1K bytes - Viewed (0) -
src/os/exec_unix_test.go
//go:build unix package os_test import ( "errors" "internal/testenv" "math" . "os" "runtime" "syscall" "testing" ) func TestErrProcessDone(t *testing.T) { testenv.MustHaveGoBuild(t) t.Parallel() p, err := StartProcess(testenv.GoToolPath(t), []string{"go"}, &ProcAttr{}) if err != nil { t.Fatalf("starting test process: %v", err) } p.Wait() if got := p.Signal(Kill); got != ErrProcessDone {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 2K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/ScalaConcurrencyIntegrationTest.groovy
class ScalaConcurrencyIntegrationTest extends AbstractIntegrationSpec { @Rule BlockingHttpServer httpServer = new BlockingHttpServer() @Issue("https://github.com/gradle/gradle/issues/14434") def "can run tests in parallel with project dependencies"() { given: httpServer.expectConcurrent(':a:test', ':b:test', ':c:test', ':d:test') httpServer.start() settingsFile << """ include 'a', 'b', 'c', 'd'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 16:10:12 UTC 2024 - 3.4K bytes - Viewed (0) -
src/os/pipe_test.go
func TestCloseWithBlockingReadByNewFile(t *testing.T) { t.Parallel() var p [2]syscallDescriptor err := syscall.Pipe(p[:]) if err != nil { t.Fatal(err) } // os.NewFile returns a blocking mode file. testCloseWithBlockingRead(t, os.NewFile(uintptr(p[0]), "reader"), os.NewFile(uintptr(p[1]), "writer")) } func TestCloseWithBlockingReadByFd(t *testing.T) { t.Parallel() r, w, err := os.Pipe() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 12.4K bytes - Viewed (0)