- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for STDIN (0.04 sec)
-
staging/src/k8s.io/apiserver/pkg/util/proxy/streamtranslator_test.go
ctx, err := createSPDYServerStreams(w, req, Options{ Stdin: true, Stdout: true, }) if err != nil { t.Errorf("error on createHTTPStreams: %v", err) return } defer ctx.conn.Close() // Loopback STDIN data onto STDOUT stream. _, err = io.Copy(ctx.stdoutStream, ctx.stdinStream) if err != nil { t.Fatalf("error copying STDIN to STDOUT: %v", err) } })) defer spdyServer.Close()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 27 23:21:55 UTC 2024 - 36.4K bytes - Viewed (0) -
pkg/client/tests/remotecommand_test.go
}, { TestName: "in/out/err", Stdin: "a", Stdout: "b", Stderr: "c", MessageCount: 100, ClientProtocols: []string{remotecommandconsts.StreamProtocolV2Name}, ServerProtocols: []string{remotecommandconsts.StreamProtocolV2Name}, }, { TestName: "oversized stdin", Stdin: strings.Repeat("a", 20*1024*1024), Stdout: "b",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 10.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/ConsumerOperationParameters.java
public Builder setColorOutput(Boolean colorOutput) { this.colorOutput = colorOutput; return this; } public Builder setStdin(InputStream stdin) { this.stdin = stdin; return this; } public Builder setJavaHome(File javaHome) { validateJavaHome(javaHome); this.javaHome = javaHome; return this;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 19 19:46:37 UTC 2023 - 16.3K bytes - Viewed (0) -
src/os/exec/exec_test.go
return string(line) } err = c.Start() check("Start", err) _, err = stdin.Write([]byte("O:I am output\n")) check("first stdin Write", err) if g, e := line("first output line", outbr), "O:I am output"; g != e { t.Errorf("got %q, want %q", g, e) } _, err = stdin.Write([]byte("E:I am error\n")) check("second stdin Write", err) if g, e := line("first error line", errbr), "E:I am error"; g != e {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 48.4K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DefaultDaemonConnectionTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 19:51:37 UTC 2024 - 11.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/tasks/userinput/UserInputHandlingIntegrationTest.groovy
outputContains("result = <default>") } def "can ask boolean question and handle valid input '#stdin' in interactive build"() { when: runWithInput("askBoolean", BOOLEAN_PROMPT, stdin) then: outputContains("result = $accepted") where: stdin | accepted "yes" | true "no" | false "" | true }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 13.4K bytes - Viewed (0) -
src/os/exec/exec.go
Dir string // Stdin specifies the process's standard input. // // If Stdin is nil, the process reads from the null device (os.DevNull). // // If Stdin is an *os.File, the process's standard input is connected // directly to that file. // // Otherwise, during the execution of the command a separate // goroutine reads from Stdin and delivers that data to the command
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:53 UTC 2024 - 41.4K bytes - Viewed (0) -
pkg/kubelet/container/testing/runtime_mock.go
m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetAttach", ctx, id, stdin, stdout, stderr, tty) ret0, _ := ret[0].(*url.URL) ret1, _ := ret[1].(error) return ret0, ret1 } // GetAttach indicates an expected call of GetAttach. func (mr *MockStreamingRuntimeMockRecorder) GetAttach(ctx, id, stdin, stdout, stderr, tty any) *gomock.Call {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 27K bytes - Viewed (0) -
src/cmd/go/internal/cache/prog.go
) // ProgCache implements Cache via JSON messages over stdin/stdout to a child // helper process which can then implement whatever caching policy/mechanism it // wants. // // See https://github.com/golang/go/issues/59719 type ProgCache struct { cmd *exec.Cmd stdout io.ReadCloser // from the child process stdin io.WriteCloser // to the child process bw *bufio.Writer // to stdin jenc *json.Encoder // to bw
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 14 19:23:25 UTC 2023 - 11.8K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go
return b } // WithStdin sets the Stdin field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. // If called multiple times, the Stdin field is set to the value of the last call. func (b *ContainerApplyConfiguration) WithStdin(value bool) *ContainerApplyConfiguration { b.Stdin = &value return b }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 21:39:35 UTC 2023 - 14.4K bytes - Viewed (0)