Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for stdIn (0.04 seconds)

  1. src/cmd/addr2line/addr2line_test.go

    	}
    	return syms
    }
    
    func runAddr2Line(t *testing.T, dbgExePath, addr string) (funcname, path, lineno string) {
    	cmd := testenv.Command(t, testenv.Executable(t), dbgExePath)
    	cmd.Stdin = strings.NewReader(addr)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("go tool addr2line %v: %v\n%s", os.Args[0], err, string(out))
    	}
    	f := strings.Split(string(out), "\n")
    	if len(f) < 3 && f[2] == "" {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Sep 06 13:23:48 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. src/bufio/example_test.go

    	// Buffer contents: Hello, world!
    	// This is a ReadFrom example.
    }
    
    // The simplest use of a Scanner, to read standard input as a set of lines.
    func ExampleScanner_lines() {
    	scanner := bufio.NewScanner(os.Stdin)
    	for scanner.Scan() {
    		fmt.Println(scanner.Text()) // Println will add back the final '\n'
    	}
    	if err := scanner.Err(); err != nil {
    		fmt.Fprintln(os.Stderr, "reading standard input:", err)
    	}
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 01 21:52:12 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

         * @see #createTerminal(LookupContext)
         */
        protected void doCreateTerminal(C context, TerminalBuilder builder) {
            if (context.invokerRequest.embedded()) {
                InputStream in = context.invokerRequest.stdIn().orElse(InputStream.nullInputStream());
                OutputStream out = context.invokerRequest.stdOut().orElse(OutputStream.nullOutputStream());
                builder.streams(in, out);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  4. src/archive/tar/reader.go

    	// io.CopyN done shortly afterwards to trigger any IO errors.
    	var seekSkipped int64 // Number of bytes skipped via Seek
    	if sr, ok := r.(io.Seeker); ok && n > 1 {
    		// Not all io.Seeker can actually Seek. For example, os.Stdin implements
    		// io.Seeker, but calling Seek always returns an error and performs
    		// no action. Thus, we try an innocent seek to the current position
    		// to see if Seek is really supported.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Oct 07 19:46:36 GMT 2025
    - 26.9K bytes
    - Click Count (0)
  5. docs/debugging/xl-meta/main.go

    			ndjson = true
    		}
    
    		toPrint := make([]string, 0, 16)
    		for _, file := range files {
    			var r io.Reader
    			var sz int64
    			switch file {
    			case "-":
    				r = os.Stdin
    			default:
    				f, err := os.Open(file)
    				if err != nil {
    					return err
    				}
    				if st, err := f.Stat(); err == nil {
    					sz = st.Size()
    				}
    				defer f.Close()
    				r = f
    			}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.4K bytes
    - Click Count (0)
  6. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), type Timeval struct, Usec int32
    pkg syscall (freebsd-386-cgo), type WaitStatus uint32
    pkg syscall (freebsd-386-cgo), var Stderr int
    pkg syscall (freebsd-386-cgo), var Stdin int
    pkg syscall (freebsd-386-cgo), var Stdout int
    pkg syscall (freebsd-amd64), const F_DUP2FD_CLOEXEC = 18
    pkg syscall (freebsd-amd64), const F_DUP2FD_CLOEXEC ideal-int
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Click Count (1)
  7. CHANGELOG/CHANGELOG-1.21.md

    - Client-go exec credential plugins will pass stdin only when interactive terminal is detected on stdin. This fixes a bug where previously it was checking if **stdout** is an interactive terminal. ([#99654](https://github.com/kubernetes/kubernetes/pull/99654), [@ankeesler](https://github.com/ankeesler))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Oct 14 07:03:14 GMT 2022
    - 367.3K bytes
    - Click Count (0)
  8. api/go1.txt

    pkg os, var ErrExist error
    pkg os, var ErrInvalid error
    pkg os, var ErrNotExist error
    pkg os, var ErrPermission error
    pkg os, var Interrupt Signal
    pkg os, var Kill Signal
    pkg os, var Stderr *File
    pkg os, var Stdin *File
    pkg os, var Stdout *File
    pkg os/exec, func Command(string, ...string) *Cmd
    pkg os/exec, func LookPath(string) (string, error)
    pkg os/exec, method (*Cmd) CombinedOutput() ([]uint8, error)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Click Count (0)
  9. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Timeval struct, Usec int32
    pkg syscall (netbsd-arm64-cgo), type WaitStatus uint32
    pkg syscall (netbsd-arm64-cgo), var Stderr int
    pkg syscall (netbsd-arm64-cgo), var Stdin int
    pkg syscall (netbsd-arm64-cgo), var Stdout int
    pkg syscall (netbsd-arm64), const AF_APPLETALK = 16
    pkg syscall (netbsd-arm64), const AF_APPLETALK ideal-int
    pkg syscall (netbsd-arm64), const AF_ARP = 28
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Click Count (0)
  10. api/go1.14.txt

    pkg syscall (freebsd-arm64), type Timeval struct, Usec int64
    pkg syscall (freebsd-arm64), type WaitStatus uint32
    pkg syscall (freebsd-arm64), var Stderr int
    pkg syscall (freebsd-arm64), var Stdin int
    pkg syscall (freebsd-arm64), var Stdout int
    pkg syscall (freebsd-arm64-cgo), const AF_APPLETALK = 16
    pkg syscall (freebsd-arm64-cgo), const AF_APPLETALK ideal-int
    pkg syscall (freebsd-arm64-cgo), const AF_ARP = 35
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Click Count (0)
Back to Top