- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 436 for Parallel (0.3 sec)
-
src/cmd/go/internal/par/work.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package par implements parallel execution helpers. package par import ( "errors" "math/rand" "sync" "sync/atomic" ) // Work manages a set of work items to be executed in parallel, at most once each. // The items in the set must all be valid map keys. type Work[T comparable] struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:54:54 UTC 2024 - 4.3K bytes - Viewed (0) -
testing/performance/src/templates/archivePerformanceProject/gradle.properties
org.gradle.jvmargs=-Xms256m -Xmx256m org.gradle.parallel=true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 87 bytes - Viewed (0) -
testing/performance/src/templates/generateLotsOfDeprecationWarnings/gradle.properties
org.gradle.jvmargs=-Xms1G -Xmx1G org.gradle.parallel=true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 83 bytes - Viewed (0) -
src/io/pipe.go
// the written data. // The data is copied directly from the Write to the corresponding // Read (or Reads); there is no internal buffering. // // It is safe to call Read and Write in parallel with each other or with Close. // Parallel calls to Read and parallel calls to Write are also safe: // the individual calls will be gated sequentially. func Pipe() (*PipeReader, *PipeWriter) { pw := &PipeWriter{r: PipeReader{pipe: pipe{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:34:35 UTC 2023 - 5.1K bytes - Viewed (0) -
src/os/path_windows_test.go
want = strings.ReplaceAll(want, veryLong, "long") t.Errorf("addExtendedPrefix(%#q) = %#q; want %#q", in, got, want) } } } func TestMkdirAllLongPath(t *testing.T) { t.Parallel() tmpDir := t.TempDir() path := tmpDir for i := 0; i < 100; i++ { path += `\another-path-component` } if err := os.MkdirAll(path, 0777); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 23 16:37:32 UTC 2024 - 8K bytes - Viewed (0) -
build-logic/gradle.properties
org.gradle.jvmargs=-Xmx2500m -XX:MaxMetaspaceSize=768m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 org.gradle.parallel=true
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 24 02:52:56 UTC 2024 - 173 bytes - Viewed (0) -
src/runtime/nbpipe_pipe_test.go
// license that can be found in the LICENSE file. //go:build aix || darwin package runtime_test import ( "runtime" "syscall" "testing" ) func TestSetNonblock(t *testing.T) { t.Parallel() r, w, errno := runtime.Pipe() if errno != 0 { t.Fatal(syscall.Errno(errno)) } defer func() { runtime.Close(r) runtime.Close(w) }() checkIsPipe(t, r, w) runtime.SetNonblock(r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 03 20:47:17 UTC 2022 - 706 bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/buffered/buffered_test.go
batch = backend.collectEvents(nil, stopCh) }() close(stopCh) wg.Wait() assert.Empty(t, batch, "Empty final batch") } func TestBufferedBackendProcessEventsAfterStop(t *testing.T) { t.Parallel() backend := NewBackend(&fake.Backend{}, testBatchConfig()).(*bufferedBackend) closedStopCh := make(chan struct{}) close(closedStopCh) backend.Run(closedStopCh) backend.Shutdown()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 14 17:20:35 UTC 2018 - 5.9K bytes - Viewed (0) -
src/cmd/link/cgo_test.go
import ( "bytes" "internal/testenv" "os" "path/filepath" "strconv" "testing" ) // Issues 43830, 46295 func TestCGOLTO(t *testing.T) { testenv.MustHaveCGO(t) testenv.MustHaveGoBuild(t) t.Parallel() goEnv := func(arg string) string { cmd := testenv.Command(t, testenv.GoToolPath(t), "env", arg) cmd.Stderr = new(bytes.Buffer) line, err := cmd.Output() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 09 22:13:02 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/internal/filelock/filelock_test.go
} } func TestLockExcludesLock(t *testing.T) { t.Parallel() f, remove := mustTempFile(t) defer remove() other := mustOpen(t, f.Name()) defer other.Close() lock(t, f) lockOther := mustBlock(t, "Lock", other) unlock(t, f) lockOther(t) unlock(t, other) } func TestLockExcludesRLock(t *testing.T) { t.Parallel() f, remove := mustTempFile(t) defer remove()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 4K bytes - Viewed (0)