Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 229 for isLetter (0.45 sec)

  1. 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)
  2. src/cmd/vendor/rsc.io/markdown/inline.go

    	}
    	if x, end, ok := parseAutoLinkEmail(s, i); ok {
    		return x, i, end, true
    	}
    	if x, end, ok := parseHTMLTag(p, s, i); ok {
    		return x, i, end, true
    	}
    	return nil, 0, 0, false
    }
    
    func isLetter(c byte) bool {
    	return 'A' <= c && c <= 'Z' || 'a' <= c && c <= 'z'
    }
    
    func isLDH(c byte) bool {
    	return isLetterDigit(c) || c == '-'
    }
    
    func isLetterDigit(c byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modindex/build.go

    func parseWord(data []byte) (word, rest []byte) {
    	data = skipSpaceOrComment(data)
    
    	// Parse past leading word characters.
    	rest = data
    	for {
    		r, size := utf8.DecodeRune(rest)
    		if unicode.IsLetter(r) || '0' <= r && r <= '9' || r == '_' {
    			rest = rest[size:]
    			continue
    		}
    		break
    	}
    
    	word = data[:len(data)-len(rest)]
    	if len(word) == 0 {
    		return nil, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 17:39:23 UTC 2023
    - 26.8K bytes
    - Viewed (0)
  4. src/go/doc/reader.go

    	notIdentifier := func(ch rune) bool {
    		return !('a' <= ch && ch <= 'z' || 'A' <= ch && ch <= 'Z' ||
    			'0' <= ch && ch <= '9' ||
    			ch == '_' ||
    			ch >= utf8.RuneSelf && (unicode.IsLetter(ch) || unicode.IsDigit(ch)))
    	}
    
    	base := path.Base(importPath)
    	if strings.HasPrefix(base, "v") {
    		if _, err := strconv.Atoi(base[1:]); err == nil {
    			dir := path.Dir(importPath)
    			if dir != "." {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/mod/module/module.go

    		return strings.ContainsRune(allowed, r)
    	}
    	// It may be OK to add more ASCII punctuation here, but only carefully.
    	// For example Windows disallows < > \, and macOS disallows :, so we must not allow those.
    	return unicode.IsLetter(r)
    }
    
    // CheckPath checks that a module path is valid.
    // A valid module path is a valid import path, as checked by [CheckImportPath],
    // with three additional constraints.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 20:17:07 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  6. src/strings/strings.go

    			return false
    		case 'A' <= r && r <= 'Z':
    			return false
    		case r == '_':
    			return false
    		}
    		return true
    	}
    	// Letters and digits are not separators
    	if unicode.IsLetter(r) || unicode.IsDigit(r) {
    		return false
    	}
    	// Otherwise, all we can do for now is treat spaces as separators.
    	return unicode.IsSpace(r)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:48:16 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/connection/ToolingParameterProxy.java

                } else if (!setters.get(property).equals(getters.get(property))) {
                    throwParameterValidationError(clazz, String.format("Setter and getter for property %s have non corresponding types.", property));
                }
            }
        }
    
        private static boolean isGetter(Method method) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 15 10:27:26 UTC 2023
    - 7K bytes
    - Viewed (0)
  8. src/encoding/json/encode.go

    		switch {
    		case strings.ContainsRune("!#$%&()*+-./:;<=>?@[]^_{|}~ ", c):
    			// Backslash and quote chars are reserved, but
    			// otherwise any punctuation chars are allowed
    			// in a tag name.
    		case !unicode.IsLetter(c) && !unicode.IsDigit(c):
    			return false
    		}
    	}
    	return true
    }
    
    func typeByIndex(t reflect.Type, index []int) reflect.Type {
    	for _, i := range index {
    		if t.Kind() == reflect.Pointer {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  9. src/regexp/regexp.go

    	if str == "" {
    		return
    	}
    	brace := false
    	if str[0] == '{' {
    		brace = true
    		str = str[1:]
    	}
    	i := 0
    	for i < len(str) {
    		rune, size := utf8.DecodeRuneInString(str[i:])
    		if !unicode.IsLetter(rune) && !unicode.IsDigit(rune) && rune != '_' {
    			break
    		}
    		i += size
    	}
    	if i == 0 {
    		// empty name is not okay
    		return
    	}
    	name = str[:i]
    	if brace {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:50:01 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelPropertyExtractionContext.java

            PropertyAccessorExtractionContext isGetter = getAccessor(PropertyAccessorType.IS_GETTER);
            if (getGetter == null && isGetter == null) {
                return null;
            }
            Iterable<Method> getMethods = getGetter != null ? getGetter.getDeclaringMethods() : Collections.<Method>emptyList();
            Iterable<Method> isMethods = isGetter != null ? isGetter.getDeclaringMethods() : Collections.<Method>emptyList();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top