Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 78 for badtype (0.12 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/NestedValidationUtil.java

         * @param propertyName the name of the property
         * @param beanType the type of the bean
         */
        public static void validateBeanType(
            TypeValidationContext validationContext,
            String propertyName,
            Class<?> beanType
        ) {
            getUnsupportedReason(beanType).ifPresent(reason ->
                validationContext.visitPropertyProblem(problem ->
                    problem
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyWriter.kt

    import org.gradle.internal.serialize.graph.writeNextProperty
    import java.lang.reflect.Field
    
    
    class BeanPropertyWriter(
        beanType: Class<*>
    ) : BeanStateWriter {
    
        private
        val relevantFields = relevantStateOf(beanType)
    
        /**
         * Serializes a bean by serializing the value of each of its fields.
         */
        override suspend fun WriteContext.writeStateOf(bean: Any) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenScope.groovy

                String type = null
                if (it != key) {
                    type = StringUtils.substringAfter(it, "@")
                }
                assert dependency.hasType(type)
            }
        }
    
        void assertOptionalDependencies(String... expected) {
            assertDependencies(optionalDependencies, expected)
        }
    
        void assertDependencyManagement(String... expected) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/AbstractPluginValidationIntegrationSpec.groovy

                    @TaskAction void execute() {}
                }
            """
    
            expect:
            assertValidationFailsWith([
                error(missingAnnotationConfig { type('MyTask').property('badTime').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
                error(missingAnnotationConfig { type('MyTask').property('oldThing').missingInputOrOutput() }, 'validation_problems', 'missing_annotation'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  5. cmd/admin-handlers_test.go

    	return objLayer, erasureDirs, nil
    }
    
    // cmdType - Represents different service subcomands like status, stop
    // and restart.
    type cmdType int
    
    const (
    	restartCmd cmdType = iota
    	stopCmd
    )
    
    // toServiceSignal - Helper function that translates a given cmdType
    // value to its corresponding serviceSignal value.
    func (c cmdType) toServiceSignal() serviceSignal {
    	switch c {
    	case restartCmd:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/utils/fill_quantization_options.cc

    using ::stablehlo::quantization::QuantizationComponentSpec;
    using ::stablehlo::quantization::QuantizationOptions;
    using QuantizationComponent =
        ::stablehlo::quantization::QuantizationComponentSpec_QuantizationComponent;
    using BitType = ::stablehlo::quantization::QuantizationComponentSpec_BitType;
    using BitWidth = ::stablehlo::quantization::QuantizationComponentSpec_BitWidth;
    
    // Sets component, bit type and bit width information to the given spec
    // instance.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

            baseType: KClass<*>
        ) {
            logUnsupported(
                "serialize",
                // TODO: maybe introduce a separate section for the lambda serialization contract
                DocumentationSection.RequirementsDisallowedTypes
            ) {
                text(" a lambda that captures or accepts a parameter of type ")
                reference(baseType)
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/DefaultBeanStateReaderLookup.kt

    ) : BeanStateReaderLookup {
    
        private
        val beanStateReaders = ConcurrentHashMap<Class<*>, BeanStateReader>()
    
        override fun beanStateReaderFor(beanType: Class<*>): BeanStateReader =
            beanStateReaders.computeIfAbsent(beanType) { type -> BeanPropertyReader(type, constructors, instantiatorFactory) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/SerializerRegistry.java

        /**
         * Returns true when this registry can serialize objects of the given type.
         */
        boolean canSerialize(Class<?> baseType);
    
        /**
         * Creates a serializer that uses the current registrations to serialize objects of type T.
         */
        <T> Serializer<T> build(Class<T> baseType);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10JvmTypeMapperContext.kt

                }
        }
    
        override val typeContext = KaFe10TypeSystemCommonBackendContextForTypeMapping(resolveSession)
    
        fun mapType(type: KotlinType, mode: TypeMappingMode = TypeMappingMode.DEFAULT, sw: JvmSignatureWriter? = null): Type {
            return AbstractTypeMapper.mapType(this, type, mode, sw)
        }
    
        fun isPrimitiveBacked(type: KotlinType): Boolean =
            AbstractTypeMapper.isPrimitiveBacked(this, type)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top