- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for IsPunct (0.09 sec)
-
src/bytes/example_test.go
// Output: // 3 // 8 // -1 } func ExampleLastIndexFunc() { fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsLetter)) fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsPunct)) fmt.Println(bytes.LastIndexFunc([]byte("go gopher!"), unicode.IsNumber)) // Output: // 8 // 9 // -1 } func ExampleMap() { rot13 := func(r rune) rune { switch {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 11K bytes - Viewed (0) -
api/go1.txt
pkg unicode, func IsMark(int32) bool pkg unicode, func IsNumber(int32) bool pkg unicode, func IsOneOf([]*RangeTable, int32) bool pkg unicode, func IsPrint(int32) bool pkg unicode, func IsPunct(int32) bool pkg unicode, func IsSpace(int32) bool pkg unicode, func IsSymbol(int32) bool pkg unicode, func IsTitle(int32) bool pkg unicode, func IsUpper(int32) bool pkg unicode, func SimpleFold(int32) int32
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)