Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for enumValue (0.19 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            options[5].name == "enumSetValue"
            options[5].description == "Descr enumSetValue"
            options[5].argumentType == List
    
            options[6].name == "enumValue"
            options[6].description == "Descr enumValue"
            options[6].argumentType == String
            options[6].availableValues as Set == ["ABC", "DEF"] as Set
    
            options[7].name == "integerListValue"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 10 12:45:01 UTC 2023
    - 33.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  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/apiserver/pkg/cel/types.go

    	}
    	return f.Type.DefaultValue()
    }
    
    // EnumValues returns the set of values that this field may take.
    func (f *DeclField) EnumValues() []ref.Val {
    	if f.enumValues == nil || len(f.enumValues) == 0 {
    		return []ref.Val{}
    	}
    	ev := make([]ref.Val, len(f.enumValues))
    	for i, e := range f.enumValues {
    		ev[i] = types.DefaultTypeAdapter.NativeToValue(e)
    	}
    	return ev
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 08 15:52:31 UTC 2023
    - 18K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. subprojects/diagnostics/src/integTest/groovy/org/gradle/api/tasks/diagnostics/HelpTaskIntegrationTest.groovy

         :proj2:hello
    
    Type
         CustomTask (CustomTask)
    
    Options
         --booleanValue     Configures a boolean flag in CustomTask.
    
         --no-booleanValue     Disables option --booleanValue.
    
         --enumValue     Configures an enum value in CustomTask.
                         Available values are:
                              ABC
                              DEF
                              GHIJKL
    
    ${builtInOptions}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 14K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                val arrayType = getType(analysisContext.resolveSession.moduleDescriptor)
                KaArrayAnnotationValue(value.expandArrayAnnotationValue(arrayType, analysisContext), sourcePsi = null, token)
            }
            is EnumValue -> KaEnumEntryAnnotationValue(CallableId(enumClassId, enumEntryName), sourcePsi = null, token)
            is KClassValue -> when (val value = value) {
                is KClassValue.Value.LocalClass -> {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    		// an object will always be serialized at least as {}, so account for that
    		minSerializedSize := int64(2)
    		for name, prop := range s.Properties() {
    			var enumValues []interface{}
    			if prop.Enum() != nil {
    				for _, e := range prop.Enum() {
    					enumValues = append(enumValues, e)
    				}
    			}
    			if fieldType := SchemaDeclType(prop, prop.IsXEmbeddedResource()); fieldType != nil {
    				if propName, ok := apiservercel.Escape(name); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top