Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 215 for isLetter (0.17 sec)

  1. src/go/internal/gccgoimporter/testdata/unicode.gox

    var Inscriptional_Parthian <type 1>;
    func Is (rangeTab <type 1>, r <type -21>) <type -15>;
    func IsControl (r <type -21>) <type -15>;
    func IsDigit (r <type -21>) <type -15>;
    func IsGraphic (r <type -21>) <type -15>;
    func IsLetter (r <type -21>) <type -15>;
    func IsLower (r <type -21>) <type -15>;
    func IsMark (r <type -21>) <type -15>;
    func IsNumber (r <type -21>) <type -15>;
    func IsOneOf (ranges <type 23 [] <type 24 *<type 2>>>, r <type -21>) <type -15>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/go/doc/comment/parse.go

    	line = strings.TrimSpace(line)
    
    	// a heading must start with an uppercase letter
    	r, _ := utf8.DecodeRuneInString(line)
    	if !unicode.IsLetter(r) || !unicode.IsUpper(r) {
    		return false
    	}
    
    	// it must end in a letter or digit:
    	r, _ = utf8.DecodeLastRuneInString(line)
    	if !unicode.IsLetter(r) && !unicode.IsDigit(r) {
    		return false
    	}
    
    	// exclude lines with illegal characters. we allow "(),"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/cmd/go/internal/imports/build.go

    func matchTag(name string, tags map[string]bool, prefer bool) bool {
    	// Tags must be letters, digits, underscores or dots.
    	// Unlike in Go identifiers, all digits are fine (e.g., "386").
    	for _, c := range name {
    		if !unicode.IsLetter(c) && !unicode.IsDigit(c) && c != '_' && c != '.' {
    			return false
    		}
    	}
    
    	if tags["*"] && name != "" && name != "ignore" {
    		// Special case for gathering all possible imports:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 30 18:50:57 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top