Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,646 for ncmd (0.06 sec)

  1. src/cmd/go/testdata/script/mod_invalid_path_plus.txt

    cp go.mod.orig go.mod
    go get example.net/cmd
    go list example.net/cmd/x++
    
    # 'go list -m' rejects module paths with pluses.
    ! go list -versions -m 'example.net/bad++'
    stderr '^go: malformed module path "example.net/bad\+\+": invalid char ''\+''$'
    
    # 'go get' accepts package paths with pluses.
    cp go.mod.orig go.mod
    go get example.net/cmd/x++
    go list -m example.net/cmd
    stdout '^example.net/cmd v0.0.0-00010101000000-000000000000 => ./cmd$'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 821 bytes
    - Viewed (0)
  2. src/cmd/link/dwarf_test.go

    			dir := "../../runtime/testdata/" + prog
    			cmd := testenv.Command(t, testenv.GoToolPath(t), "build", "-toolexec", os.Args[0], "-o", exe)
    			if buildmode != "" {
    				cmd.Args = append(cmd.Args, "-buildmode", buildmode)
    			}
    			cmd.Args = append(cmd.Args, dir)
    			cmd.Env = append(os.Environ(), env...)
    			cmd.Env = append(cmd.Env, "CGO_CFLAGS=") // ensure CGO_CFLAGS does not contain any flags. Issue #35459
    			cmd.Env = append(cmd.Env, "LINK_TEST_TOOLEXEC=1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 17:05:14 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  3. pkg/kubectl/cmd/convert/convert_test.go

    						return nil, nil
    					}),
    				}
    
    				buf := bytes.NewBuffer([]byte{})
    				cmd := NewCmdConvert(tf, genericiooptions.IOStreams{Out: buf, ErrOut: buf})
    				cmd.Flags().Set("filename", tc.file)
    				cmd.Flags().Set("output-version", tc.outputVersion)
    				cmd.Flags().Set("local", "true")
    				cmd.Flags().Set("output", "yaml")
    				cmd.Run(cmd, []string{})
    				if !strings.Contains(buf.String(), field.expected) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 03:21:17 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    go install example.com/cmd/a@v1.0.0 example.com/cmd/nomatch...@v1.0.0
    stderr '^go: warning: "example.com/cmd/nomatch\.\.\." matched no packages$'
    
    # If a wildcard matches only non-main packages, we should see a different warning.
    go install example.com/cmd/err...@v1.0.0
    stderr '^go: warning: "example.com/cmd/err\.\.\." matched only non-main packages$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/list_std.txt

    ! stdout .
    
    # Standard packages should include cmd, but not cmd/vendor.
    go list ./...
    stdout cmd/compile
    ! stdout vendor/golang.org
    ! stdout cmd/vendor
    
    # In GOPATH mode, packages vendored into GOROOT should be reported as standard.
    go list -f '{{if .Standard}}{{.ImportPath}}{{end}}' std cmd
    stdout golang.org/x/net/http2/hpack
    stdout cmd/vendor/golang\.org/x/arch/x86/x86asm
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 702 bytes
    - Viewed (0)
  6. istioctl/pkg/internaldebug/internal-debug_test.go

    			}
    			verifyExecTestOutput(t, DebugCommand(ctx), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 15 08:28:50 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/search.go

    	"io/fs"
    	"os"
    	"path"
    	"path/filepath"
    	"runtime"
    	"sort"
    	"strings"
    	"sync"
    
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/fsys"
    	"cmd/go/internal/gover"
    	"cmd/go/internal/imports"
    	"cmd/go/internal/modindex"
    	"cmd/go/internal/par"
    	"cmd/go/internal/search"
    	"cmd/go/internal/str"
    	"cmd/go/internal/trace"
    	"cmd/internal/pkgpattern"
    
    	"golang.org/x/mod/module"
    )
    
    type stdFilter int8
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. pkg/cmd/flag_test.go

    	AddFlags(cmd)
    
    	testName := "Initialize int Flag"
    	if !flag.Parsed() {
    		t.Errorf("%s: flag.Parsed() returns false, should be true", testName)
    	}
    
    	cmd.Flags().VisitAll(func(f *pflag.Flag) {
    		if f.Name != "testint" {
    			t.Errorf("%s: pflag name error. Actual %s, Expected %s", testName, f.Name, "testint")
    		}
    	})
    
    	_ = cmd.Flags().Parse([]string{})
    	if testInt != defaultInt {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 3.4K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/kubeadm.go

    			flag.CommandLine.Var(f.Value, f.Name, f.Usage)
    		}
    	})
    
    	pflag.CommandLine.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)
    	pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
    
    	cmd := cmd.NewKubeadmCommand(os.Stdin, os.Stdout, os.Stderr)
    	return cmd.Execute()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 04:38:21 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_list_std.txt

    stdout ^bytes$
    ! stdout ^builtin$
    ! stdout ^cmd/
    ! stdout ^vendor/
    ! stdout ^golang\.org/x/
    
    
    # Within std, the vendored dependencies of cmd should still appear to be part of cmd.
    
    go list -f '{{if .Standard}}{{.ImportPath}}{{end}}' cmd
    stdout ^cmd/vendor/golang\.org/x/arch/x86/x86asm
    
    go list -f '{{if not .Standard}}{{.ImportPath}}{{end}}' cmd
    ! stdout .
    
    go list cmd/...
    stdout ^cmd/compile
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 28 18:50:20 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top