Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for isalnum (0.14 sec)

  1. src/regexp/syntax/parse.go

    // Python rejects names starting with digits.
    // We don't enforce either of those.
    func isValidCaptureName(name string) bool {
    	if name == "" {
    		return false
    	}
    	for _, c := range name {
    		if c != '_' && !isalnum(c) {
    			return false
    		}
    	}
    	return true
    }
    
    // parseInt parses a decimal integer.
    func (p *parser) parseInt(s string) (n int, rest string, ok bool) {
    	if s == "" || s[0] < '0' || '9' < s[0] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // Therefore we need to cast a char to unsigned char before calling
    // isspace(), etc.
    
    inline bool IsAlpha(char ch) {
      return isalpha(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsAlNum(char ch) {
      return isalnum(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsDigit(char ch) {
      return isdigit(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsLower(char ch) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 67.2K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-port.h

    // Therefore we need to cast a char to unsigned char before calling
    // isspace(), etc.
    
    inline bool IsAlpha(char ch) {
      return isalpha(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsAlNum(char ch) {
      return isalnum(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsDigit(char ch) {
      return isdigit(static_cast<unsigned char>(ch)) != 0;
    }
    inline bool IsLower(char ch) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 67.2K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/mod/semver/semver.go

    	i := 1
    	start := 1
    	for i < len(v) && v[i] != '+' {
    		if !isIdentChar(v[i]) && v[i] != '.' {
    			return
    		}
    		if v[i] == '.' {
    			if start == i || isBadNum(v[start:i]) {
    				return
    			}
    			start = i + 1
    		}
    		i++
    	}
    	if start == i || isBadNum(v[start:i]) {
    		return
    	}
    	return v[:i], v[i:], true
    }
    
    func parseBuild(v string) (t, rest string, ok bool) {
    	if v == "" || v[0] != '+' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/internal/coerce/StringToEnumTransformer.java

                if (type.isInstance(arg) || arg == null) {
                    // Can use arg without conversion
                    continue;
                }
                if (!(arg instanceof CharSequence && type.isEnum())) {
                    // Cannot convert
                    return args;
                }
                needsTransform = true;
            }
            if (!needsTransform) {
                return args;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. src/regexp/syntax/perl_groups.go

    	0x41, 0x5a,
    	0x5f, 0x5f,
    	0x61, 0x7a,
    }
    
    var code17 = []rune{ /* [:xdigit:] */
    	0x30, 0x39,
    	0x41, 0x46,
    	0x61, 0x66,
    }
    
    var posixGroup = map[string]charGroup{
    	`[:alnum:]`:   {+1, code4},
    	`[:^alnum:]`:  {-1, code4},
    	`[:alpha:]`:   {+1, code5},
    	`[:^alpha:]`:  {-1, code5},
    	`[:ascii:]`:   {+1, code6},
    	`[:^ascii:]`:  {-1, code6},
    	`[:blank:]`:   {+1, code7},
    	`[:^blank:]`:  {-1, code7},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/EnumStrategy.java

        @Override
        public <T> void extract(ModelSchemaExtractionContext<T> extractionContext) {
            ModelType<T> type = extractionContext.getType();
            if (type.getRawClass().isEnum()) {
                extractionContext.found(new ScalarValueSchema<T>(type));
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/EnumCodec.kt

    
    object EnumCodec : EncodingProducer, Decoding {
    
        override fun encodingForType(type: Class<*>): Encoding? =
            EnumEncoding.takeIf { type.isEnum }
                ?: EnumSubTypeEncoding.takeIf { type.superclass?.isEnum == true }
    
        override suspend fun ReadContext.decode(): Any? {
            val enumClass = readClass()
            val enumOrdinal = readSmallInt()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

            "Constructor" to "AddedClass(java.lang.String)",
            "Constructor" to "AddedClass()",
            "Class" to "AddedEnum",
            "Field" to "FOO"
        ) + reportedMembersFor("AddedEnum", isEnum = true) + listOf(
            "Method" to "AddedEnum.valueOf(java.lang.String)",
            "Method" to "AddedEnum.values()",
            "Class" to "AddedObject",
            "Field" to "INSTANCE",
            "Field" to "cathedral"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jul 11 06:57:51 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedEnumValueSnapshot.java

            return value;
        }
    
        @Nullable
        @Override
        public <S> S coerce(Class<S> type) {
            if (type.isInstance(value)) {
                return type.cast(value);
            }
            if (type.isEnum() && type.getName().equals(value.getDeclaringClass().getName())) {
                return type.cast(Enum.valueOf(Cast.uncheckedNonnullCast(type.asSubclass(Enum.class)), value.name()));
            }
            return null;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top