Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 735 for pathOf (1.54 sec)

  1. src/cmd/vendor/golang.org/x/mod/sumdb/client.go

    	// ReadRemote reads and returns the content served at the given path
    	// on the remote database server. The path begins with "/lookup" or "/tile/",
    	// and there is no need to parse the path in any way.
    	// It is the implementation's responsibility to turn that path into a full URL
    	// and make the HTTP request. ReadRemote should return an error for
    	// any non-200 HTTP response status.
    	ReadRemote(path string) ([]byte, error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:50:49 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testcshared/cshared_test.go

    		if err != nil {
    			return fmt.Errorf("unable to find dlltool path: %v\n%s\n", err, out)
    		}
    		dlltoolpath := strings.TrimSpace(string(out))
    		if filepath.Ext(dlltoolpath) == "" {
    			// Some compilers report slash-separated paths without extensions
    			// instead of ordinary Windows paths.
    			// Try to find the canonical name for the path.
    			if lp, err := exec.LookPath(dlltoolpath); err == nil {
    				dlltoolpath = lp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. src/cmd/vendor/github.com/google/pprof/internal/driver/commands.go

    		"Using auto will scale each value independently to the most natural unit."),
    	"compact_labels": "Show minimal headers",
    	"source_path":    "Search path for source files",
    	"trim_path":      "Path to trim from source paths before search",
    	"intel_syntax": helpText(
    		"Show assembly in Intel syntax",
    		"Only applicable to commands `disasm` and `weblist`"),
    
    	// Filtering options
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. src/cmd/gofmt/gofmt.go

    			err := filepath.WalkDir(arg, func(path string, f fs.DirEntry, err error) error {
    				if err != nil || !isGoFile(f) {
    					return err
    				}
    				info, err := f.Info()
    				if err != nil {
    					s.AddReport(err)
    					return nil
    				}
    				s.Add(fileWeight(path, info), func(r *reporter) error {
    					return processFile(path, info, nil, r)
    				})
    				return nil
    			})
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/README

    	TESTGO_GOROOT=<GOROOT used to build cmd/go, for use in tests that may change GOROOT>
    	HOME=/no-home
    	PATH=<actual PATH>
    	TMPDIR=$WORK/tmp
    	GODEBUG=<actual GODEBUG>
    	devnull=<value of os.DevNull>
    	goversion=<current Go version; for example, 1.12>
    
    On Plan 9, the variables $path and $home are set instead of $PATH and $HOME.
    On Windows, the variables $USERPROFILE and $TMP are set instead of
    $HOME and $TMPDIR.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modfetch/codehost/git_test.go

    	})
    
    	if localGitURLErr != nil {
    		t.Fatal(localGitURLErr)
    	}
    	// Convert absolute path to file URL. LocalGitRepo will not accept
    	// Windows absolute paths because they look like a host:path remote.
    	// TODO(golang.org/issue/32456): use url.FromFilePath when implemented.
    	if strings.HasPrefix(localGitRepo, "/") {
    		return "file://" + localGitRepo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/toolexec.txt

    #
    # As such, TOOLEXEC_IMPORTPATH must see the same strings, to be able to uniquely
    # identify each package being built as reported by 'go list -f {{.ImportPath}}'.
    # Note that these are not really "import paths" anymore, but that naming is
    # consistent with 'go list -json' at least.
    
    go test -toolexec=$PWD/mytool
    
    stderr -count=2 '^# test/main\.test$'
    stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main\.test"$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/import_test.go

    )
    
    var importTests = []struct {
    	path string
    	m    module.Version
    	err  string
    }{
    	{
    		path: "golang.org/x/net/context",
    		m: module.Version{
    			Path: "golang.org/x/net",
    		},
    	},
    	{
    		path: "golang.org/x/net",
    		err:  `module golang.org/x/net@.* found \(v[01]\.\d+\.\d+\), but does not contain package golang.org/x/net`,
    	},
    	{
    		path: "golang.org/x/text",
    		m: module.Version{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 20 15:29:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/mvs.go

    	if m.Version == "" && MainModules.Contains(m.Path) {
    		return module.Version{Path: m.Path, Version: "none"}, nil
    	}
    
    	list, _, err := versions(ctx, m.Path, CheckAllowed)
    	if err != nil {
    		if errors.Is(err, os.ErrNotExist) {
    			return module.Version{Path: m.Path, Version: "none"}, nil
    		}
    		return module.Version{}, err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 19:01:38 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/addmod.go

    			fatalf("%v", err)
    		}
    		run(goCmd, "get", "-d", arg)
    		path := arg
    		if i := strings.Index(path, "@"); i >= 0 {
    			path = path[:i]
    		}
    		out := run(goCmd, "list", "-m", "-f={{.Path}} {{.Version}} {{.Dir}}", path)
    		f := strings.Fields(out)
    		if len(f) != 3 {
    			log.Printf("go list -m %s: unexpected output %q", arg, out)
    			exitCode = 1
    			continue
    		}
    		path, vers, dir := f[0], f[1], f[2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top