Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 83 for isLetter (0.15 sec)

  1. 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)
  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. 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)
  6. 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)
  7. 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)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/PropertyAccessorType.java

     *
     * Generally follows the JavaBean conventions, with 2 exceptions: is methods can return `Boolean` (in addition to `boolean`) and setter methods can return non-void values.
     *
     * This is essentially a superset of the conventions supported by Java, Groovy and Kotlin.
     */
    public enum PropertyAccessorType {
        IS_GETTER(2) {
            @Override
            public Class<?> propertyTypeFor(Method method) {
                return method.getReturnType();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolInfoProvider.kt

        private fun getJvmName(property: FirProperty, isSetter: Boolean): Name {
            if (property.backingField?.symbol?.hasAnnotation(JvmStandardClassIds.Annotations.JvmField, analysisSession.useSiteSession) == true) {
                return property.name
            }
            return Name.identifier(getJvmNameAsString(property, isSetter))
        }
    
        private fun getJvmNameAsString(property: FirProperty, isSetter: Boolean): String {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertyGetterSymbol.kt

        override val analysisSession: KaFirSession,
    ) : KaPropertyGetterSymbol(), KaFirSymbol<FirPropertyAccessorSymbol> {
        override val token: KaLifetimeToken get() = builder.token
        init {
            require(firSymbol.isGetter)
        }
    
        override val psi: PsiElement? by cached { firSymbol.findPsi() }
    
        override val isDefault: Boolean get() = withValidityAssertion { firSymbol.fir is FirDefaultPropertyAccessor }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top