- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 592 for pipe1 (0.04 sec)
-
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/test/java/jcifs/tests/PipeTest.java
} @Test public void testSRVS () throws DcerpcException, IOException { try ( DcerpcHandle handle = DcerpcHandle .getHandle("ncacn_np:" + getTestServer() + "[\\PIPE\\srvsvc]", withTestNTLMCredentials(getContext())) ) { MsrpcShareEnum rpc = new MsrpcShareEnum(handle.getServerWithDfs()); handle.sendrecv(rpc); assertEquals(0, rpc.retval); } }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.4K bytes - Viewed (0) -
src/runtime/signal_plan9.go
// We mark them SigPanic here so that debug.SetPanicOnFault will work. {_SigPanic, "sys: trap:"}, // SIGTRAP // Writes to a closed pipe can be handled if desired, otherwise they're ignored. {_SigNotify, "sys: write on closed pipe"}, // Other system notes are more serious and cannot be recovered. {_SigThrow, "sys:"}, // Issued to all other procs when calling runtime·exit.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 07 16:25:17 UTC 2016 - 1.9K 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) -
src/internal/fuzz/worker.go
cmd.Env = w.env[:len(w.env):len(w.env)] // copy on append to ensure workers don't overwrite each other. // Create the "fuzz_in" and "fuzz_out" pipes so we can communicate with // the worker. We don't use stdin and stdout, since the test binary may // do something else with those. // // Each pipe has a reader and a writer. The coordinator writes to fuzzInW // and reads from fuzzOutR. The worker inherits fuzzInR and fuzzOutW.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 37.7K bytes - Viewed (0) -
src/runtime/debug/example_monitor_test.go
cmd := exec.Command(exe, "-test.run=ExampleSetCrashOutput_monitor") cmd.Env = append(os.Environ(), monitorVar+"=1") cmd.Stderr = os.Stderr cmd.Stdout = os.Stderr pipe, err := cmd.StdinPipe() if err != nil { log.Fatalf("StdinPipe: %v", err) } debug.SetCrashOutput(pipe.(*os.File), debug.CrashOptions{}) // (this conversion is safe) if err := cmd.Start(); err != nil { log.Fatalf("can't start monitor: %v", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 2.7K bytes - Viewed (0)