- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for isLetter (1.27 sec)
-
src/cmd/vendor/golang.org/x/text/cases/info.go
// isBreak returns whether this rune should introduce a break. func (c info) isBreak() bool { return c.cccVal() == cccBreak } // isLetter returns whether the rune is of break type ALetter, Hebrew_Letter, // Numeric, ExtendNumLet, or Extend. func (c info) isLetter() bool { ccc := c.cccVal() if ccc == cccZero { return !c.isCaseIgnorable() } return ccc != cccBreak
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.9K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/html.go
switch { case strings.HasPrefix(t, "<!--"): end = "-->" case strings.HasPrefix(t, "<?"): end = "?>" case strings.HasPrefix(t, "<![CDATA["): end = "]]>" case strings.HasPrefix(t, "<!") && len(t) >= 3 && isLetter(t[2]): if 'a' <= t[2] && t[2] <= 'z' { // Goldmark and the Dingus only accept <!UPPER> not <!lower>. p.corner = true } end = ">" } if end != "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 11.9K bytes - Viewed (0) -
utils/utils.go
return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10)) } } return "" } func IsValidDBNameChar(c rune) bool { return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@' } // CheckTruth check string true or not func CheckTruth(vals ...string) bool { for _, val := range vals {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 22 06:43:02 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/FileOrUriNotationConverter.java
result.converted(((TextResource) notation).asFile()); } } private static boolean isWindowsRootDirectory(String scheme) { return scheme.length() == 2 && Character.isLetter(scheme.charAt(0)) && scheme.charAt(1) == ':' && OperatingSystem.current().isWindows(); } private static void convertToUrl(String notationString, NotationConvertResult<? super Object> result) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 09 01:09:38 UTC 2024 - 6.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go
if strings.HasPrefix(elem, "!!") { return fmt.Errorf("invalid double negative in build constraint: %s", arg) } elem = strings.TrimPrefix(elem, "!") for _, c := range elem { if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' { return fmt.Errorf("invalid non-alphanumeric build constraint: %s", arg) } } } } return nil } var ( nl = []byte("\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/vendor/rsc.io/markdown/code.go
var n int peek := s if peek.trimFence(&fence, &info, &n) { if fence[0] == '~' && info != "" { // goldmark does not handle info after ~~~ p.corner = true } else if info != "" && !isLetter(info[0]) { // goldmark does not allow numbered info. // goldmark does not treat a tab as introducing a new word. p.corner = true } for _, c := range info { if isUnicodeSpace(c) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 4.8K bytes - Viewed (0) -
pkg/config/security/security.go
"P-521", "P-384", "X25519", "X25519Kyber768Draft00", ) func IsValidCipherSuite(cs string) bool { if cs == "" || cs == "ALL" { return true } if !unicode.IsNumber(rune(cs[0])) && !unicode.IsLetter(rune(cs[0])) { // Not all of these are correct, but this is needed to support advanced cases like - and + operators // without needing to parse the full expression return true }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:43:34 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/build/relnote/links.go
if c := s[n]; c < utf8.RuneSelf { if isIdentASCII(c) && (n > 0 || c < '0' || c > '9') { n++ continue } break } r, nr := utf8.DecodeRuneInString(s[n:]) if unicode.IsLetter(r) { n += nr continue } break } return s[:n], n > 0 } // isIdentASCII reports whether c is an ASCII identifier byte. func isIdentASCII(c byte) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 8.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go
check.pass.Reportf(pos, "invalid double negative in build constraint: %s", arg) check.crossCheck = false continue } elem = strings.TrimPrefix(elem, "!") for _, c := range elem { if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' { check.pass.Reportf(pos, "invalid non-alphanumeric build constraint: %s", arg) check.crossCheck = false break } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 9.3K bytes - Viewed (0) -
src/text/template/funcs.go
func goodName(name string) bool { if name == "" { return false } for i, r := range name { switch { case r == '_': case i == 0 && !unicode.IsLetter(r): return false case !unicode.IsLetter(r) && !unicode.IsDigit(r): return false } } return true } // findFunction looks for a function in the template, and global map.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0)