Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for EnumValue (0.51 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt

        val parameterName = StandardClassIds.Annotations.ParameterNames.value
        return computeTargetAnnotationArguments(annotation, builder, enumClassId, parameterName) {
            ElementType.entries.firstOrNull { enumValue -> enumValue.name == it }?.name
        }
    }
    
    private fun <T> FirAnnotation.findFromRawArguments(expectedEnumClass: ClassId, transformer: (String) -> T?): Set<T> = buildSet {
        fun addIfMatching(arg: FirExpression) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/debug/dwarf/type.go

    // The only indication of its native integer type is its ByteSize
    // (inside [CommonType]).
    type EnumType struct {
    	CommonType
    	EnumName string
    	Val      []*EnumValue
    }
    
    // An EnumValue represents a single enumeration value.
    type EnumValue struct {
    	Name string
    	Val  int64
    }
    
    func (t *EnumType) String() string {
    	s := "enum"
    	if t.EnumName != "" {
    		s += " " + t.EnumName
    	}
    	s += " {"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1.CustomResourceDefinition.yaml

            definitions:
              definitionsKey: {}
            dependencies:
              dependenciesKey:
              - <no json tag> PropertyValue
            description: descriptionValue
            enum:
            - enumValue
            example: exampleValue
            exclusiveMaximum: true
            exclusiveMinimum: true
            externalDocs:
              description: descriptionValue
              url: urlValue
            format: formatValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractValueProcessor.java

            }
            if (value instanceof List) {
                return processList((List<?>) value, visitor);
            }
            if (value instanceof Enum) {
                return visitor.enumValue((Enum<?>) value);
            }
            if (value instanceof Class<?>) {
                return visitor.classValue((Class<?>) value);
            }
            Class<?> valueClass = value.getClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 19:08:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1.CustomResourceDefinition.json

                "pattern": "patternValue",
                "maxItems": 16,
                "minItems": 17,
                "uniqueItems": true,
                "multipleOf": 19.5,
                "enum": [
                  "enumValue"
                ],
                "maxProperties": 21,
                "minProperties": 22,
                "required": [
                  "requiredValue"
                ],
                "items": [
                  {}
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java

            }
    
            @Override
            public ValueSnapshot hashCode(HashCode value) {
                return new HashCodeSnapshot(value);
            }
    
            @Override
            public ValueSnapshot enumValue(Enum<?> value) {
                return new EnumValueSnapshot(value);
            }
    
            @Override
            public ValueSnapshot classValue(Class<?> value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultIsolatableFactory.java

            }
    
            @Override
            public Isolatable<?> hashCode(HashCode value) {
                return new HashCodeSnapshot(value);
            }
    
            @Override
            public Isolatable<?> enumValue(Enum<?> value) {
                return new IsolatedEnumValueSnapshot(value);
            }
    
            @Override
            public Isolatable<?> classValue(Class<?> value) {
                throw new IsolationException(value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 22:53:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/GUtil.java

            return CollectionUtils.findFirst(enumConstants, new Spec<T>() {
                @Override
                public boolean isSatisfiedBy(T enumValue) {
                    return enumValue.name().equalsIgnoreCase(literal);
                }
            });
        }
    
        public static <T extends Enum<T>> EnumSet<T> toEnumSet(Class<T> enumType, Object[] values) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/util/GUtil.java

            return CollectionUtils.findFirst(enumConstants, new Spec<T>() {
                @Override
                public boolean isSatisfiedBy(T enumValue) {
                    return enumValue.name().equalsIgnoreCase(literal);
                }
            });
        }
    
        public static <T extends Enum<T>> EnumSet<T> toEnumSet(Class<T> enumType, Object[] values) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/types.go

    type DeclTypeProvider struct {
    	registeredTypes map[string]*DeclType
    	typeProvider    ref.TypeProvider
    	typeAdapter     ref.TypeAdapter
    }
    
    func (rt *DeclTypeProvider) EnumValue(enumName string) ref.Val {
    	return rt.typeProvider.EnumValue(enumName)
    }
    
    func (rt *DeclTypeProvider) FindIdent(identName string) (ref.Val, bool) {
    	return rt.typeProvider.FindIdent(identName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top