Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for cmdLines (0.15 sec)

  1. src/syscall/exec_windows.go

    		return 0, 0, err
    	}
    
    	var cmdline string
    	// Windows CreateProcess takes the command line as a single string:
    	// use attr.CmdLine if set, else build the command line by escaping
    	// and joining each argument with spaces
    	if sys.CmdLine != "" {
    		cmdline = sys.CmdLine
    	} else {
    		cmdline = makeCmdLine(argv)
    	}
    
    	var argvp *uint16
    	if len(cmdline) != 0 {
    		argvp, err = UTF16PtrFromString(cmdline)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 18:29:48 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/work/shell.go

    }
    
    // runOut runs the command given by cmdline in the directory dir.
    // It returns the command output and any errors that occurred.
    // It accumulates execution time in a.
    func (sh *Shell) runOut(dir string, env []string, cmdargs ...any) ([]byte, error) {
    	a := sh.action
    
    	cmdline := str.StringList(cmdargs...)
    
    	for _, arg := range cmdline {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. src/net/http/pprof/pprof.go

    	http.HandleFunc(prefix+"/debug/pprof/cmdline", Cmdline)
    	http.HandleFunc(prefix+"/debug/pprof/profile", Profile)
    	http.HandleFunc(prefix+"/debug/pprof/symbol", Symbol)
    	http.HandleFunc(prefix+"/debug/pprof/trace", Trace)
    }
    
    // Cmdline responds with the running program's
    // command line, with arguments separated by NUL bytes.
    // The package initialization registers it as /debug/pprof/cmdline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom.go

    			// Preserve any current pool status.
    			if currentPool.CmdLine == pool.endpoints.CmdLine {
    				newMeta.Pools = append(newMeta.Pools, currentPool)
    				skip = true
    				break
    			}
    		}
    		if skip {
    			continue
    		}
    		newMeta.Pools = append(newMeta.Pools, PoolStatus{
    			CmdLine:    pool.endpoints.CmdLine,
    			ID:         idx,
    			LastUpdate: UTCNow(),
    		})
    	}
    	return newMeta
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 14:30:43 UTC 2024
    - 41.5K bytes
    - Viewed (1)
  5. cmd/endpoint-ellipses.go

    			SetCount:     len(poolArgs[i].layout),
    			DrivesPerSet: len(poolArgs[i].layout[0]),
    			Endpoints:    endpointList,
    			Platform:     fmt.Sprintf("OS: %s | Arch: %s", runtime.GOOS, runtime.GOARCH),
    			CmdLine:      poolArgs[i].cmdline,
    		}); err != nil {
    			return nil, -1, err
    		}
    	}
    
    	return endpointServerPools, setupType, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  6. pkg/log/options_test.go

    package log
    
    import (
    	"reflect"
    	"strconv"
    	"strings"
    	"testing"
    
    	"github.com/spf13/cobra"
    )
    
    func TestOpts(t *testing.T) {
    	resetGlobals()
    
    	cases := []struct {
    		cmdLine string
    		result  Options
    	}{
    		{"--log_as_json", Options{
    			OutputPaths:         []string{defaultOutputPath},
    			ErrorOutputPaths:    []string{defaultErrorOutputPath},
    			defaultOutputLevels: "default:info,grpc:none",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 26 20:38:10 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. src/os/readfrom_linux_test.go

    func TestProcCopy(t *testing.T) {
    	t.Parallel()
    
    	const cmdlineFile = "/proc/self/cmdline"
    	cmdline, err := ReadFile(cmdlineFile)
    	if err != nil {
    		t.Skipf("can't read /proc file: %v", err)
    	}
    	in, err := Open(cmdlineFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    	defer in.Close()
    	outFile := filepath.Join(t.TempDir(), "cmdline")
    	out, err := Create(outFile)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:49:26 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modfetch/codehost/codehost.go

    // a *RunError indicating the command, exit status, and standard error.
    // Standard error is unavailable for commands that exit successfully.
    func Run(ctx context.Context, dir string, cmdline ...any) ([]byte, error) {
    	return RunWithStdin(ctx, dir, nil, cmdline...)
    }
    
    // bashQuoter escapes characters that have special meaning in double-quoted strings in the bash shell.
    // See https://www.gnu.org/software/bash/manual/html_node/Double-Quotes.html.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/buildid.go

    	// for testing vet or supplying an alternative analysis tool.
    	if name == "vet" && VetTool != "" {
    		path = VetTool
    		desc = VetTool
    	}
    
    	cmdline := str.StringList(cfg.BuildToolexec, path, "-V=full")
    	cmd := exec.Command(cmdline[0], cmdline[1:]...)
    	var stdout, stderr strings.Builder
    	cmd.Stdout = &stdout
    	cmd.Stderr = &stderr
    	if err := cmd.Run(); err != nil {
    		if stderr.Len() > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:31:25 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. src/syscall/mksyscall.pl

    # call.  This must only be used for system calls which can never
    # block, as otherwise the system call could cause all goroutines to
    # hang.
    
    use strict;
    
    my $cmdline = "mksyscall.pl " . join(' ', @ARGV);
    my $errors = 0;
    my $_32bit = "";
    my $plan9 = 0;
    my $darwin = 0;
    my $openbsd = 0;
    my $netbsd = 0;
    my $dragonfly = 0;
    my $arm = 0; # 64-bit value should use (even, odd)-pair
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:15:02 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top