Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IsPunct (0.2 sec)

  1. 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)
  2. src/cmd/vendor/golang.org/x/build/relnote/links.go

    	}, true
    }
    
    // isLinkAdjacentRune reports whether r can be adjacent to a symbol link.
    // The logic is the same as the go/doc/comment package.
    func isLinkAdjacentRune(r rune) bool {
    	return unicode.IsPunct(r) || r == ' ' || r == '\t' || r == '\n'
    }
    
    // splitRef splits s into a package and possibly a symbol.
    // Examples:
    //
    //	splitRef("math.Max") => ("math", "Max", true)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"IsGraphic", Func, 0},
    		{"IsLetter", Func, 0},
    		{"IsLower", Func, 0},
    		{"IsMark", Func, 0},
    		{"IsNumber", Func, 0},
    		{"IsOneOf", Func, 0},
    		{"IsPrint", Func, 0},
    		{"IsPunct", Func, 0},
    		{"IsSpace", Func, 0},
    		{"IsSymbol", Func, 0},
    		{"IsTitle", Func, 0},
    		{"IsUpper", Func, 0},
    		{"Javanese", Var, 0},
    		{"Join_Control", Var, 0},
    		{"Kaithi", Var, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top