Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for Output (0.27 sec)

  1. src/cmd/addr2line/main.go

    //
    // Usage:
    //
    //	go tool addr2line binary
    //
    // Addr2line reads hexadecimal addresses, one per line and with optional 0x prefix,
    // from standard input. For each input address, addr2line prints two output lines,
    // first the name of the function containing the address and second the file:line
    // of the source code corresponding to that address.
    //
    // This tool is intended for use only by pprof; its interface may change or
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  2. misc/ios/go_ios_exec.go

    	return nil
    }
    
    // findDevImage use the device iOS version and build to locate a suitable
    // developer image.
    func findDevImage() (string, error) {
    	cmd := idevCmd(exec.Command("ideviceinfo"))
    	out, err := cmd.Output()
    	if err != nil {
    		return "", fmt.Errorf("ideviceinfo: %v", err)
    	}
    	var iosVer, buildVer string
    	lines := bytes.Split(out, []byte("\n"))
    	for _, line := range lines {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/lex/lex_test.go

    	for _, test := range lexTests {
    		input := NewInput(test.name)
    		input.Push(NewTokenizer(test.name, strings.NewReader(test.input), nil))
    		result := drain(input)
    		if result != test.output {
    			t.Errorf("%s: got %q expected %q", test.name, result, test.output)
    		}
    	}
    }
    
    // lines joins the arguments together as complete lines.
    func lines(a ...string) string {
    	return strings.Join(a, "\n") + "\n"
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. src/archive/tar/writer.go

    			paxHdrs[paxSize] = strconv.FormatInt(hdr.Size, 10)
    			delete(paxHdrs, paxPath) // Recorded by paxGNUSparseName
    		}
    	*/
    	_ = realSize
    
    	// Write PAX records to the output.
    	isGlobal := hdr.Typeflag == TypeXGlobalHeader
    	if len(paxHdrs) > 0 || isGlobal {
    		// Sort keys for deterministic ordering.
    		var keys []string
    		for k := range paxHdrs {
    			keys = append(keys, k)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 19.6K bytes
    - Viewed (0)
  5. src/bufio/bufio.go

    func (b *Reader) writeBuf(w io.Writer) (int64, error) {
    	n, err := w.Write(b.buf[b.r:b.w])
    	if n < 0 {
    		panic(errNegativeWrite)
    	}
    	b.r += n
    	return int64(n), err
    }
    
    // buffered output
    
    // Writer implements buffering for an [io.Writer] object.
    // If an error occurs writing to a [Writer], no more data will be
    // accepted and all subsequent writes, and [Writer.Flush], will return the error.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  6. doc/asm.html

    <a href="/pkg/runtime/"><code>runtime</code></a> and
    <a href="/pkg/math/big/"><code>math/big</code></a>.
    You can also examine what the compiler emits as assembly code
    (the actual output may differ from what you see here):
    </p>
    
    <pre>
    $ cat x.go
    package main
    
    func main() {
    	println(3)
    }
    $ GOOS=linux GOARCH=amd64 go tool compile -S x.go        # or: go build -gcflags -S x.go
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  7. src/archive/zip/example_test.go

    		rc, err := f.Open()
    		if err != nil {
    			log.Fatal(err)
    		}
    		_, err = io.CopyN(os.Stdout, rc, 68)
    		if err != nil {
    			log.Fatal(err)
    		}
    		rc.Close()
    		fmt.Println()
    	}
    	// Output:
    	// Contents of README:
    	// This is the source code repository for the Go programming language.
    }
    
    func ExampleWriter_RegisterCompressor() {
    	// Override the default Deflate compressor with a higher compression level.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 27 00:22:03 GMT 2016
    - 2K bytes
    - Viewed (0)
  8. src/archive/tar/reader.go

    				hdr.ChangeTime = time.Unix(p2.parseNumeric(b), 0)
    			}
    
    			// Prior to Go1.8, the Writer had a bug where it would output
    			// an invalid tar file in certain rare situations because the logic
    			// incorrectly believed that the old GNU format had a prefix field.
    			// This is wrong and leads to an output file that mangles the
    			// atime and ctime fields, which are often left unused.
    			//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    		}
    	})
    }
    
    func TestSplitUSTARPath(t *testing.T) {
    	sr := strings.Repeat
    
    	vectors := []struct {
    		input  string // Input path
    		prefix string // Expected output prefix
    		suffix string // Expected output suffix
    		ok     bool   // Split success?
    	}{
    		{"", "", "", false},
    		{"abc", "", "", false},
    		{"用戶名", "", "", false},
    		{sr("a", nameSize), "", "", false},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg go/doc, type Example struct, Comments []*ast.CommentGroup
    pkg go/doc, type Example struct, Doc string
    pkg go/doc, type Example struct, Name string
    pkg go/doc, type Example struct, Output string
    pkg go/doc, type Filter func(string) bool
    pkg go/doc, type Func struct
    pkg go/doc, type Func struct, Decl *ast.FuncDecl
    pkg go/doc, type Func struct, Doc string
    pkg go/doc, type Func struct, Level int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
Back to top