- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 681 for aslash (0.12 sec)
-
test/fuse.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 23 00:02:36 UTC 2024 - 5.3K bytes - Viewed (0) -
src/net/http/httputil/reverseproxy.go
} // Same as singleJoiningSlash, but uses EscapedPath to determine // whether a slash should be added apath := a.EscapedPath() bpath := b.EscapedPath() aslash := strings.HasSuffix(apath, "/") bslash := strings.HasPrefix(bpath, "/") switch { case aslash && bslash: return a.Path + b.Path[1:], apath + bpath[1:] case !aslash && !bslash: return a.Path + "/" + b.Path, apath + "/" + bpath }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 23:37:42 UTC 2024 - 24.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware.go
// See-also: https://github.com/golang/go/issues/44290 func singleJoiningSlash(a, b string) string { aslash := strings.HasSuffix(a, "/") bslash := strings.HasPrefix(b, "/") switch { case aslash && bslash: return a + b[1:] case !aslash && !bslash: return a + "/" + b } return a + b } func (h *UpgradeAwareHandler) DialForUpgrade(req *http.Request) (net.Conn, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:10:30 UTC 2024 - 19.6K bytes - Viewed (0) -
src/archive/tar/testdata/trailing-slash.tar
Caio Marcelo de Oliveira Filho <******@****.***> 1514852203 -0800
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 18:36:49 UTC 2018 - 2.5K bytes - Viewed (0) -
src/os/exec_windows.go
cmd = cmd[1:] } inquote = !inquote } else { b = append(b, c) } nslash = 0 continue case '\\': nslash++ continue } b = appendBSBytes(b, nslash) nslash = 0 b = append(b, c) } return appendBSBytes(b, nslash), "" } // commandLineToArgv splits a command line into individual argument
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 5K bytes - Viewed (0) -
src/path/path.go
// slashes are removed. // If the path is empty, Dir returns ".". // If the path consists entirely of slashes followed by non-slash bytes, Dir // returns a single slash. In any other case, the returned path does not end in a // slash. func Dir(path string) string { dir, _ := Split(path) return Clean(dir)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 23 17:33:57 UTC 2023 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/validation/path/name_test.go
Prefix: false, ExpectedMsg: "", }, "dot dot,prefix": { Name: "..", Prefix: true, ExpectedMsg: "", }, "slash": { Name: "foo/bar", Prefix: false, ExpectedMsg: "/", }, "slash,prefix": { Name: "foo/bar", Prefix: true, ExpectedMsg: "/", }, "percent": { Name: "foo%bar",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 27 13:49:29 UTC 2017 - 3.8K bytes - Viewed (0) -
src/cmd/go/internal/web/url_windows.go
return "", errors.New("file URL encodes volume in host field: too few slashes?") } return `\\` + host + path, nil } // If host is empty, path must contain an initial slash followed by a // drive letter and path. Remove the slash and verify that the path is valid. if vol := filepath.VolumeName(path[1:]); vol == "" || strings.HasPrefix(vol, `\\`) { return "", errors.New("file URL missing drive letter") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:43:51 UTC 2019 - 1.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/slashpath.txt
# .a files should use slash-separated paths even on windows # This is important for reproducing native builds with cross-compiled builds. go build -o x.a text/template ! grep 'GOROOT\\' x.a ! grep 'text\\template' x.a ! grep 'c:\\' x.a # executables should use slash-separated paths even on windows # This is important for reproducing native builds with cross-compiled builds. go build -o hello.exe hello.go ! grep 'GOROOT\\' hello.exe
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 23:10:31 UTC 2023 - 596 bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_cache.go
h.WriteString(string(svc.Hostname)) h.Write(Slash) h.WriteString(svc.Attributes.Namespace) h.Write(Separator) } h.Write(Separator) for _, vs := range r.VirtualServices { for _, cfg := range model.VirtualServiceDependencies(vs) { h.WriteString(cfg.Kind.String()) h.Write(Slash) h.WriteString(cfg.Name) h.Write(Slash) h.WriteString(cfg.Namespace) h.Write(Separator) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 5.8K bytes - Viewed (0)