- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 466 for pipe1 (0.18 sec)
-
src/syscall/exec_plan9.go
// so that pass 2 won't stomp on an fd it needs later. if pipe < nextfd { r1, _, _ = RawSyscall(SYS_DUP, uintptr(pipe), uintptr(nextfd), 0) if int32(r1) == -1 { goto childerror } pipe = nextfd nextfd++ } for i = 0; i < len(fd); i++ { if fd[i] >= 0 && fd[i] < i { if nextfd == pipe { // don't stomp on pipe nextfd++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 13.3K bytes - Viewed (0) -
src/syscall/forkpipe.go
// license that can be found in the LICENSE file. //go:build aix || darwin package syscall // forkExecPipe opens a pipe and non-atomically sets O_CLOEXEC on both file // descriptors. func forkExecPipe(p []int) error { err := Pipe(p) if err != nil { return err } _, err = fcntl(p[0], F_SETFD, FD_CLOEXEC) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 10 19:19:59 UTC 2023 - 604 bytes - Viewed (0) -
pkg/test/framework/components/echo/config/param/template.go
out.Insert(firstIdentifier) case parse.NodeIf: out.Merge(getParams(n.(*parse.IfNode).Pipe)) case parse.NodeWith: out.Merge(getParams(n.(*parse.WithNode).Pipe)) case parse.NodeRange: out.Merge(getParams(n.(*parse.RangeNode).Pipe)) case parse.NodeAction: out.Merge(getParams(n.(*parse.ActionNode).Pipe)) case parse.NodeCommand: for _, arg := range n.(*parse.CommandNode).Args { out.Merge(getParams(arg))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Sep 15 21:32:48 UTC 2022 - 2.8K bytes - Viewed (0) -
src/os/exec_test.go
testenv.MustHaveGoBuild(t) t.Parallel() r, w, err := os.Pipe() if err != nil { t.Fatalf("Pipe() got err %v, want nil", err) } defer r.Close() defer w.Close() p, err := os.StartProcess(testenv.GoToolPath(t), []string{"go"}, &os.ProcAttr{ // N.B. On Windows, StartProcess requires exactly 3 Files. Pass // in a dummy pipe to avoid irrelevant output on the test stdout. Files: []*os.File{r, w, w}, })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 18:08:44 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/start.go
log.Fatalf("opening sidecar log file for child: %v", err) } defer childLog.Close() cmd.Stderr = childLog } if reportCrashes { pipe, err := cmd.StdinPipe() if err != nil { log.Fatalf("StdinPipe: %v", err) } crashmonitor.Parent(pipe.(*os.File)) // (this conversion is safe) } if err := cmd.Start(); err != nil { log.Fatalf("can't start telemetry child process: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 10.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/NameValidationIntegrationTest.groovy
given: createDirs("folder", "folder/name|with|pipes") settingsFile << "include 'folder:name|with|pipes'" when: fails 'help' then: assertFailureContainsForbiddenCharacterMessage('project name', 'name|with|pipes', " Set the 'rootProject.name' or adjust the 'include' statement (see ${settingsDslUrl} for more details).")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 5.3K bytes - Viewed (0) -
src/runtime/crash_unix_test.go
cmd.Env = append(cmd.Env, "GOTRACEBACK=crash") pr, pw, err := os.Pipe() if err != nil { t.Fatal("creating pipe: ", err) } cmd.Stderr = pw if err := cmd.Start(); err != nil { t.Fatal("starting command: ", err) } defer cmd.Process.Wait() defer cmd.Process.Kill() if err := pw.Close(); err != nil { t.Log("closing write pipe: ", err) } defer pr.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 20:11:47 UTC 2023 - 9.2K bytes - Viewed (0) -
src/testing/run_example_wasm.go
"time" ) // TODO(@musiol, @odeke-em): unify this code back into // example.go when js/wasm gets an os.Pipe implementation. func runExample(eg InternalExample) (ok bool) { if chatty.on { fmt.Printf("%s=== RUN %s\n", chatty.prefix(), eg.Name) } // Capture stdout to temporary file. We're not using // os.Pipe because it is not supported on js/wasm. stdout := os.Stdout f := createTempFile(eg.Name) os.Stdout = f
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:56:32 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/hbone/dialer.go
if req.TLS != nil { url = "https://" + req.ProxyAddress } // Setup a pipe. We could just pass `conn` to `http.NewRequest`, but this has a few issues: // * Less visibility into i/o // * http will call conn.Close, which will close before we want to (finished writing response). pr, pw := io.Pipe() r, err := http.NewRequest(http.MethodConnect, url, pr) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 24 15:56:41 UTC 2023 - 5.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/crashmonitor/monitor.go
// exclusive use of a writable pipe connected to the child process's stdin. func Parent(pipe *os.File) { writeSentinel(pipe) // Ensure that we get pc=0x%x values in the traceback. debug.SetTraceback("system") setCrashOutput(pipe) } // Child runs the part of the crashmonitor that runs in the child process. // It expects its stdin to be connected via a pipe to the parent which has // run Parent. func Child() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 7.6K bytes - Viewed (0)