- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 134 for isLetter (0.23 sec)
-
src/cmd/vendor/rsc.io/markdown/link.go
// characters, space, <, and >. If the URI includes these characters, // they must be percent-encoded (e.g. %20 for a space). j := i if j+1 >= len(s) || s[j] != '<' || !isLetter(s[j+1]) { return nil, 0, false } j++ for j < len(s) && isScheme(s[j]) && j-(i+1) <= 32 { j++ } if j-(i+1) < 2 || j-(i+1) > 32 || j >= len(s) || s[j] != ':' { return nil, 0, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 20.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java
StringBuilder cleanId = new StringBuilder(); boolean previousWasDash = false; for (int i = 0; i < id.length(); i++) { char c = id.charAt(i); if (Character.isLetter(c)) { previousWasDash = false; cleanId.append(Character.toLowerCase(c)); } else { if (previousWasDash) { continue; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 19.4K bytes - Viewed (0) -
internal/event/target/postgresql.go
return err } else if match { return nil } // normalize the name to letters, digits, _ or $ valid := true cleaned := strings.Map(func(r rune) rune { switch { case unicode.IsLetter(r): return 'a' case unicode.IsDigit(r): return '0' case r == '_', r == '$': return r default: valid = false return -1 } }, name) if valid {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 13.3K bytes - Viewed (0) -
src/net/http/pattern.go
} } return p, nil } func isValidWildcardName(s string) bool { if s == "" { return false } // Valid Go identifier. for i, c := range s { if !unicode.IsLetter(c) && c != '_' && (i == 0 || !unicode.IsDigit(c)) { return false } } return true } func pathUnescape(path string) string { u, err := url.PathUnescape(path) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 16:36:30 UTC 2024 - 15.3K bytes - Viewed (0) -
src/database/sql/convert.go
} return fmt.Sprintf("with name %q", nv.Name) } func validateNamedValueName(name string) error { if len(name) == 0 { return nil } r, _ := utf8.DecodeRuneInString(name) if unicode.IsLetter(r) { return nil } return fmt.Errorf("name %q does not begin with a letter", name) } // ccChecker wraps the driver.ColumnConverter and allows it to be used
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 16.2K bytes - Viewed (0) -
src/reflect/type.go
m sync.Map } type structTypeUncommon struct { structType u uncommonType } // isLetter reports whether a given 'rune' is classified as a Letter. func isLetter(ch rune) bool { return 'a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' || ch == '_' || ch >= utf8.RuneSelf && unicode.IsLetter(ch) } // isValidFieldName checks if a string is a valid (struct) field name or not. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
*/ @Deprecated public static CharMatcher javaDigit() { return JavaDigit.INSTANCE; } /** * Determines whether a character is a BMP letter according to {@linkplain * Character#isLetter(char) Java's definition}. If you only care to match letters of the Latin * alphabet, you can use {@code inRange('a', 'z').or(inRange('A', 'Z'))}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.7K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
*/ @Deprecated public static CharMatcher javaDigit() { return JavaDigit.INSTANCE; } /** * Determines whether a character is a BMP letter according to {@linkplain * Character#isLetter(char) Java's definition}. If you only care to match letters of the Latin * alphabet, you can use {@code inRange('a', 'z').or(inRange('A', 'Z'))}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 53.8K bytes - Viewed (0) -
src/text/scanner/scanner.go
s.error(fmt.Sprintf(format, args...)) } func (s *Scanner) isIdentRune(ch rune, i int) bool { if s.IsIdentRune != nil { return ch != EOF && s.IsIdentRune(ch, i) } return ch == '_' || unicode.IsLetter(ch) || unicode.IsDigit(ch) && i > 0 } func (s *Scanner) scanIdentifier() rune { // we know the zero'th rune is OK; start scanning at the next one ch := s.next() for i := 1; s.isIdentRune(ch, i); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
testing/architecture-test/src/test/java/org/gradle/architecture/test/KotlinCompatibilityTest.java
private final boolean isGetter; @Nullable public static Accessor from(JavaMethod method) { PropertyAccessorType propertyAccessorType = PropertyAccessorType.fromName(method.getName()); if (propertyAccessorType != null && (KotlinCompatibilityTest.isGetter(method, propertyAccessorType) || KotlinCompatibilityTest.isSetter(method, propertyAccessorType))) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9K bytes - Viewed (0)