Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 155 for badtype (0.21 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/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy

            ivy.expectArtifact('ivyPublish', 'txt').hasType("txt").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'html').hasType("html").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'jar').hasType("jar").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'reg').hasType("reg").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'foo').hasType("foo").hasConf(null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  3. 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)
  4. subprojects/core/src/main/java/org/gradle/api/internal/DefaultPolymorphicNamedEntityInstantiator.java

        private final Class<? extends T> baseType;
        private final String displayName;
    
        public DefaultPolymorphicNamedEntityInstantiator(Class<? extends T> type, String displayName) {
            this.displayName = displayName;
            this.baseType = type;
        }
    
        @Override
        public <S extends T> S create(String name, Class<S> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. 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)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/collections/SortedSetElementSourceTest.groovy

            source.isEmpty()
    
            when:
            source.realizePending()
    
            then:
            source.iterator().collect() == []
        }
    
        class BaseType {}
        class SomeType extends BaseType {}
        class SomeOtherType extends BaseType {}
    
        @Override
        List<CharSequence> iterationOrder(CharSequence... values) {
            return (values as List).sort()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:12:14 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top