Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for isLetter (0.2 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/NamespaceBuilder.java

            }
            return result.toString();
        }
    
        private static boolean isCppIdentifierCharacterStart(char c) {
            return Character.isLetter(c) || c == '_';
        }
    
        private static boolean isCppIdentifierCharacterPart(char c) {
            return Character.isLetter(c) || Character.isDigit(c) || c == '_';
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. pkg/kubelet/cm/util/cdi/cdi.go

    		return fmt.Errorf("invalid name %q, should end with a letter or digit", name)
    	}
    	return nil
    }
    
    func isLetter(c rune) bool {
    	return ('A' <= c && c <= 'Z') || ('a' <= c && c <= 'z')
    }
    
    func isDigit(c rune) bool {
    	return '0' <= c && c <= '9'
    }
    
    func isAlphaNumeric(c rune) bool {
    	return isLetter(c) || isDigit(c)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 09:48:24 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  4. src/unicode/graphic.go

    func IsControl(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&pC != 0
    	}
    	// All control characters are < MaxLatin1.
    	return false
    }
    
    // IsLetter reports whether the rune is a letter (category [L]).
    func IsLetter(r rune) bool {
    	if uint32(r) <= MaxLatin1 {
    		return properties[uint8(r)]&(pLmask) != 0
    	}
    	return isExcludingLatin(Letter, r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 20:02:46 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/validate.go

    			return fmt.Errorf("duplicate analyzer: %s", a.Name)
    		}
    		color[a] = finished
    	}
    
    	return nil
    }
    
    func validIdent(name string) bool {
    	for i, r := range name {
    		if !(r == '_' || unicode.IsLetter(r) || i > 0 && unicode.IsDigit(r)) {
    			return false
    		}
    	}
    	return name != ""
    }
    
    type CycleInRequiresGraphError struct {
    	AnalyzerNames map[string]bool
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 21:52:54 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/lex/tokenizer.go

    		line: 1,
    		file: file,
    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    		return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 04 20:35:21 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/go/token/token.go

    // is not a digit. Keywords are not identifiers.
    func IsIdentifier(name string) bool {
    	if name == "" || IsKeyword(name) {
    		return false
    	}
    	for i, c := range name {
    		if !unicode.IsLetter(c) && c != '_' && (i == 0 || !unicode.IsDigit(c)) {
    			return false
    		}
    	}
    	return true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top