- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 239 for tpath (2.56 sec)
-
tools/bug-report/pkg/util/path/path.go
func FromString(path string) Path { path = filepath.Clean(path) path = strings.TrimPrefix(path, pathSeparator) path = strings.TrimSuffix(path, pathSeparator) pv := splitEscaped(path, []rune(pathSeparator)[0]) var r []string for _, str := range pv { if str != "" { str = strings.ReplaceAll(str, escapedPathSeparator, pathSeparator) // Is str of the form node[expr], convert to "node", "[expr]"?
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Sep 01 20:55:53 UTC 2020 - 2.2K bytes - Viewed (0) -
src/plugin/plugin_dlopen.go
) func open(name string) (*Plugin, error) { cPath := make([]byte, C.PATH_MAX+1) cRelName := make([]byte, len(name)+1) copy(cRelName, name) if C.realpath( (*C.char)(unsafe.Pointer(&cRelName[0])), (*C.char)(unsafe.Pointer(&cPath[0]))) == nil { return nil, errors.New(`plugin.Open("` + name + `"): realpath failed`) } filepath := C.GoString((*C.char)(unsafe.Pointer(&cPath[0]))) pluginsMu.Lock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 14 16:55:22 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/go/internal/base/path.go
cwdOnce.Do(func() { cwd = UncachedCwd() }) return cwd } // ShortPath returns an absolute or relative name for path, whatever is shorter. func ShortPath(path string) string { if rel, err := filepath.Rel(Cwd(), path); err == nil && len(rel) < len(path) { return rel } return path } // RelPaths returns a copy of paths with absolute paths // made relative to the current directory if they would be shorter.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 20 19:17:27 UTC 2023 - 2K bytes - Viewed (0) -
src/path/filepath/path.go
// Join(base, path) will always produce a path contained within base and // Clean(path) will always produce an unrooted path with no ".." path elements. // // IsLocal is a purely lexical operation. // In particular, it does not account for the effect of any symbolic links // that may exist in the filesystem. func IsLocal(path string) bool { return filepathlite.IsLocal(path) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0) -
src/cmd/go/internal/str/path.go
// Joining a relative path to a bare Windows drive letter produces a path // relative to the working directory on that drive, but the original path // was absolute, not relative. Keep the leading path separator so that it // remains absolute when joined to prefix. } else { // Prefix ends in a regular path element, so strip the path separator that // follows it. trimmed = trimmed[1:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 31 20:33:02 UTC 2023 - 3.9K bytes - Viewed (0) -
src/cmd/go/internal/load/path.go
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package load import ( "path/filepath" ) // expandPath returns the symlink-expanded form of path. func expandPath(p string) string { x, err := filepath.EvalSymlinks(p) if err == nil { return x } return p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 20:32:02 UTC 2019 - 374 bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/Path.java
import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Specifies a model path on a parameter */ @Target({ElementType.PARAMETER}) @Retention(RetentionPolicy.RUNTIME) @Incubating public @interface Path { String value();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1018 bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
func hostObject(ctxt *Link, objname string, path string) { if ctxt.Debugvlog > 1 { ctxt.Logf("hostObject(%s)\n", path) } objlib := sym.Library{ Pkg: objname, } f, err := bio.Open(path) if err != nil { Exitf("cannot open host object %q file %s: %v", objname, path, err) } defer f.Close() h := ldobj(ctxt, f, &objlib, 0, path, path) if h.ld == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/coderepo_test.go
if strings.Contains(tt.path, "gopkg.in") { testenv.SkipFlaky(t, 54503) } t.Parallel() if tt.vcs != "mod" { testenv.MustHaveExecPath(t, tt.vcs) } ctx := context.Background() repo := Lookup(ctx, "direct", tt.path) if tt.mpath == "" { tt.mpath = tt.path } if mpath := repo.ModulePath(); mpath != tt.mpath {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 18 20:10:14 UTC 2023 - 29.4K bytes - Viewed (0) -
pkg/kubelet/stats/host_stats_provider.go
for _, f := range files { if f.IsDir() { continue } // Only include *files* under pod log directory. fpath := filepath.Join(dirname, f.Name()) results[fpath] = volume.NewMetricsDu(fpath) } return results, nil } // metricsByPathToFsStats converts a metrics provider by path to fs stats func metricsByPathToFsStats(metricsByPath metricsProviderByPath, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 17:55:59 UTC 2024 - 6.6K bytes - Viewed (0)