- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsPunct (0.1 sec)
-
src/cmd/vendor/rsc.io/markdown/inline.go
} return strings.NewReplacer(list...) }() func isPunct(c byte) bool { return '!' <= c && c <= '/' || ':' <= c && c <= '@' || '[' <= c && c <= '`' || '{' <= c && c <= '~' } func parseEscape(p *parseState, s string, i int) (Inline, int, int, bool) { if i+1 < len(s) { c := s[i+1] if isPunct(c) { return &Escaped{Plain{s[i+1 : i+2]}}, i, i + 2, true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 21.9K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns.go
// dashes, which is how the UID is represented within Kubernetes. func canonicalizePodUID(uid string) types.UID { return types.UID(strings.Map(func(r rune) rune { if unicode.IsPunct(r) { r = '-' } return r }, uid)) } // Cgroup represents a linux cgroup. type Cgroup struct { HierarchyID string ControllerList string GroupPath string }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0)