- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for isSlash (0.23 sec)
-
src/cmd/go/internal/fsys/fsys.go
if l := len(path); l >= 5 && isSlash(path[0]) && isSlash(path[1]) && !isSlash(path[2]) && path[2] != '.' { // first, leading `\\` and next shouldn't be `\`. its server name. for n := 3; n < l-1; n++ { // second, next '\' shouldn't be repeated. if isSlash(path[n]) { n++ // third, following something characters. its share name. if !isSlash(path[n]) { if path[n] == '.' { break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K 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) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/superTypes/KtSuperTypesCallArgumentsRenderer.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 1.8K bytes - Viewed (0) -
src/net/http/routing_tree.go
// trailing slash in the pattern). if c.pattern.lastSegment().s != "" { matches = append(matches, pathUnescape(path[1:])) // remove initial slash } return c, matches } return nil, nil } // firstSegment splits path into its first segment, and the rest. // The path must begin with "/". // If path consists of only a slash, firstSegment returns ("/", "").
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:43:24 UTC 2024 - 7.5K bytes - Viewed (0) -
src/path/filepath/symlink.go
// Ignore path component ".". continue } else if path[start:end] == ".." { // Back up to previous component if possible. // Note that volLen includes any leading slash. // Set r to the index of the last slash in dest, // after the volume. var r int for r = len(dest) - 1; r >= volLen; r-- { if os.IsPathSeparator(dest[r]) { break } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 23:07:50 UTC 2024 - 3.3K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
func (m *nonstrictResolver) Resolve(typeURL string) (legacyproto.Message, error) { // See https://github.com/golang/protobuf/issues/747#issuecomment-437463120 mname := typeURL if slash := strings.LastIndex(typeURL, "/"); slash >= 0 { mname = mname[slash+1:] } mt, err := protoregistry.GlobalTypes.FindMessageByName(protoreflect.FullName(mname)) if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 3.7K bytes - Viewed (0) -
src/cmd/doc/main.go
// work. var period int // slash+1: if there's no slash, the value is -1 and start is 0; otherwise // start is the byte after the slash. for start := slash + 1; start < len(arg); start = period + 1 { period = strings.Index(arg[start:], ".") symbol := "" if period < 0 { period = len(arg) } else { period += start symbol = arg[period+1:] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 12.2K bytes - Viewed (0) -
pilot/pkg/networking/core/cluster_cache.go
} h.Write(Separator) if t.service != nil { h.WriteString(string(t.service.Hostname)) h.Write(Slash) h.WriteString(t.service.Attributes.Namespace) } h.Write(Separator) for _, dr := range t.destinationRule.GetFrom() { h.WriteString(dr.Name) h.Write(Slash) h.WriteString(dr.Namespace) } h.Write(Separator) for _, efk := range t.envoyFilterKeys { h.WriteString(efk)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 19:09:43 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/metacache-walk.go
// ReportNotFound will return errFileNotFound if all disks reports the BaseDir cannot be found. ReportNotFound bool // FilterPrefix will only return results with given prefix within folder. // Should never contain a slash. FilterPrefix string // ForwardTo will forward to the given object path. ForwardTo string // Limit the number of returned objects if > 0. Limit int // DiskID contains the disk ID of the disk.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:17:37 UTC 2024 - 12.4K bytes - Viewed (0) -
src/path/filepath/path.go
// that is, replace "/.." by "/" at the beginning of a path, // assuming Separator is '/'. // // The returned path ends in a slash only if it represents a root directory, // such as "/" on Unix or `C:\` on Windows. // // Finally, any occurrences of slash are replaced by Separator. // // If the result of this process is an empty string, Clean // returns the string ".". //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15.5K bytes - Viewed (0)