Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for enumValue (0.18 sec)

  1. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/EnumBuildOption.java

        }
    
        private E getValue(String value) {
            E enumValue = null;
            if (value != null) {
                enumValue = tryGetValue(value);
                if (enumValue == null) {
                    enumValue = tryGetValue(value.toLowerCase(Locale.ROOT));
                }
                if (enumValue == null) {
                    enumValue = tryGetValue(value.toUpperCase(Locale.ROOT));
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:39 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/EnumValueSnapshot.java

            }
            return snapshotter.snapshot(value);
        }
    
        private boolean isEqualEnum(@Nullable Object value) {
            if (value instanceof Enum<?>) {
                Enum<?> enumValue = (Enum<?>) value;
                return enumValue.name().equals(name) && enumValue.getDeclaringClass().getName().equals(className);
            }
            return false;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/mutation/typeprovider.go

    }
    
    var _ types.Provider = (*TypeProvider)(nil)
    
    // EnumValue returns the numeric value of the given enum value name.
    // This TypeProvider does not have special handling for EnumValue and thus directly delegate
    // to its underlying type provider.
    func (p *TypeProvider) EnumValue(enumName string) ref.Val {
    	return p.underlyingTypeProvider.EnumValue(enumName)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 21:02:36 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/EnumCodec.kt

            writeEnumValueOf(value::class.java.superclass, value)
        }
    }
    
    
    private
    fun WriteContext.writeEnumValueOf(enumClass: Class<out Any>, enumValue: Any) {
        writeClass(enumClass)
        writeSmallInt((enumValue as Enum<*>).ordinal)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json

            "minLength": 14,
            "pattern": "patternValue",
            "maxItems": 16,
            "minItems": 17,
            "uniqueItems": true,
            "multipleOf": 19.5,
            "enum": [
              "enumValue"
            ],
            "maxProperties": 21,
            "minProperties": 22,
            "required": [
              "requiredValue"
            ],
            "items": [
              {}
            ],
            "allOf": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.yaml

          default: defaultValue
          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
          id: idValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top