Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for stdIn (0.01 seconds)

  1. 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)
  2. 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)
  3. 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)
Back to Top