Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for outputs (0.25 sec)

  1. misc/go_android_exec/exitcode_test.go

    		if err == nil || !wantErr.MatchString(err.Error()) {
    			t.Errorf("want error matching %s, got %s", wantErr, err)
    		}
    		// And it should flush all output (even if it looks
    		// like we may be getting an exit code)
    		if got := out.String(); text != got {
    			t.Errorf("want full output %q, got %q", text, got)
    		}
    	}
    	wantErr = regexp.MustCompile("^no exit code")
    	check("abc")
    	check("exitcode")
    	check("exitcode=")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed May 03 14:54:58 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. src/cmd/asm/doc.go

    	-dynlink
    		Support references to Go symbols defined in other shared libraries.
    	-e
    		No limit on number of errors reported.
    	-gensymabis
    		Write symbol ABI information to output file. Don't assemble.
    	-o file
    		Write output to file. The default is foo.o for /a/b/c/foo.s.
    	-p pkgpath
    		Set expected package import to pkgpath.
    	-shared
    		Generate code that can be linked into a shared library.
    	-spectre list
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. misc/go_android_exec/main.go

    	out, err := cmd.Output()
    	if err != nil {
    		if ee, ok := err.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    			return errorf("%v: %s", cmd, ee.Stderr)
    		}
    		return errorf("%v: %w", cmd, err)
    	}
    
    	parts := strings.SplitN(string(bytes.TrimSpace(out)), ":", 4)
    	if len(parts) < 2 {
    		return errorf("%v: missing ':' in output: %q", cmd, out)
    	}
    	importPath = parts[0]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. misc/cgo/gmp/gmp.go

    This is a syntactically valid Go program—it can be parsed with the Go
    parser and processed by godoc—but it is not compiled directly by gc.
    Instead, a separate tool, cgo, processes it to produce three output
    files.  The first two, 6g.go and 6c.c, are a Go source file for 6g and
    a C source file for 6c; both compile as part of the named package
    (gmp, in this example).  The third, gcc.c, is a C source file for gcc;
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  9. src/cmd/api/main_test.go

    		cmd := exec.Command(goCmd(), "list", "-e", "-deps", "-json", "std")
    		cmd.Env = listEnv(w.context)
    		if w.context.Dir != "" {
    			cmd.Dir = w.context.Dir
    		}
    		cmd.Stderr = os.Stderr
    		out, err := cmd.Output()
    		if err != nil {
    			log.Fatalf("loading imports: %v\n%s", err, out)
    		}
    
    		var stdPackages []string
    		importMap := make(map[string]map[string]string)
    		importDir := make(map[string]string)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  10. api/go1.10.txt

    pkg encoding/xml, type TokenReader interface, Token() (Token, error)
    pkg flag, method (*FlagSet) ErrorHandling() ErrorHandling
    pkg flag, method (*FlagSet) Name() string
    pkg flag, method (*FlagSet) Output() io.Writer
    pkg html/template, type Srcset string
    pkg math, func Erfcinv(float64) float64
    pkg math, func Erfinv(float64) float64
    pkg math, func Round(float64) float64
    pkg math, func RoundToEven(float64) float64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
Back to top