- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for cmdLines (0.7 sec)
-
cmd/bootstrap-peer-server_gen.go
return } case "CmdLines": var zb0002 uint32 zb0002, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err, "CmdLines") return } if cap(z.CmdLines) >= int(zb0002) { z.CmdLines = (z.CmdLines)[:zb0002] } else { z.CmdLines = make([]string, zb0002) } for za0001 := range z.CmdLines { z.CmdLines[za0001], err = dc.ReadString() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Jan 24 21:36:44 UTC 2024 - 6.4K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
envValues[envK] = logger.HashString(env.Get(envK, "")) } scfg := &ServerSystemConfig{NEndpoints: globalEndpoints.NEndpoints(), MinioEnv: envValues} var cmdLines []string for _, ep := range globalEndpoints { cmdLines = append(cmdLines, ep.CmdLine) } scfg.CmdLines = cmdLines return scfg } func (s *bootstrapRESTServer) VerifyHandler(params *grid.MSS) (*ServerSystemConfig, *grid.RemoteErr) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 7.5K bytes - Viewed (0) -
src/runtime/testdata/testprog/numcpu_freebsd.go
cmd := exec.Command("cpuset", "-g", "-p", strconv.Itoa(pid)) cmdline := strings.Join(cmd.Args, " ") output, err := cmd.CombinedOutput() if err != nil { return nil, fmt.Errorf("fail to execute '%s': %s", cmdline, err) } output, _, ok := bytes.Cut(output, []byte("\n")) if !ok { return nil, fmt.Errorf("invalid output from '%s', '\\n' not found: %s", cmdline, output) } _, cpus, ok := bytes.Cut(output, []byte(":"))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 30 20:09:46 UTC 2022 - 3.4K bytes - Viewed (0) -
test/linkmain_run.go
func cleanup() { os.RemoveAll(tmpDir) } func run(cmdline ...string) { args := strings.Fields(strings.Join(cmdline, " ")) cmd := exec.Command(args[0], args[1:]...) out, err := cmd.CombinedOutput() if err != nil { fmt.Printf("$ %s\n", cmdline) fmt.Println(string(out)) fmt.Println(err) cleanup() os.Exit(1) } } func runFail(cmdline ...string) { args := strings.Fields(strings.Join(cmdline, " "))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 2.3K bytes - Viewed (0) -
tools/istio-iptables/pkg/dependencies/stub.go
} } else { // ...or as discrete individual commands cmdline := strings.Join(append([]string{iptVer.CmdToString(cmd)}, args...), " ") s.ExecutedAll = append(s.ExecutedAll, cmdline) if quietly { s.ExecutedQuietly = append(s.ExecutedQuietly, cmdline) } else { s.ExecutedNormally = append(s.ExecutedNormally, cmdline) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 17:46:23 UTC 2024 - 3.4K bytes - Viewed (0) -
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) -
src/cmd/go/internal/base/base.go
// If the command fails, Run reports the error using Errorf. func Run(cmdargs ...any) { cmdline := str.StringList(cmdargs...) if cfg.BuildN || cfg.BuildX { fmt.Printf("%s\n", strings.Join(cmdline, " ")) if cfg.BuildN { return } } cmd := exec.Command(cmdline[0], cmdline[1:]...) cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr if err := cmd.Run(); err != nil { Errorf("%v", err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 5.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
rsa.Service_name_len = uint64(length) } //sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error { cmdlineLen := len(cmdline) if cmdlineLen > 0 { // Account for the additional NULL byte added by // BytePtrFromString in kexecFileLoad. The kexec_file_load
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.3K bytes - Viewed (0) -
pkg/util/procfs/procfs_linux.go
if err != nil { continue } cmdline, err := os.ReadFile(filepath.Join("/proc", entry.Name(), "cmdline")) if err != nil { klog.V(4).Infof("Error reading file %s: %+v", filepath.Join("/proc", entry.Name(), "cmdline"), err) continue } // The bytes we read have '\0' as a separator for the command line parts := bytes.SplitN(cmdline, []byte{0}, 2) if len(parts) == 0 { continue
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 16 09:22:35 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go
return Renameat2(olddirfd, oldpath, newdirfd, newpath, 0) } //sys kexecFileLoad(kernelFd int, initrdFd int, cmdlineLen int, cmdline string, flags int) (err error) func KexecFileLoad(kernelFd int, initrdFd int, cmdline string, flags int) error { cmdlineLen := len(cmdline) if cmdlineLen > 0 { // Account for the additional NULL byte added by // BytePtrFromString in kexecFileLoad. The kexec_file_load
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 6.1K bytes - Viewed (0)