Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for badtype (0.25 sec)

  1. src/cmd/fix/cftype.go

    		return strings.HasPrefix(s, "C.") && strings.HasSuffix(s, "Ref") && s != "C.CFAllocatorRef"
    	})
    }
    
    // typefix replaces nil with 0 for all nils whose type, when passed to badType, returns true.
    func typefix(f *ast.File, badType func(string) bool) bool {
    	if !imports(f, "C") {
    		return false
    	}
    	typeof, _ := typecheck(&TypeConfig{}, f)
    	changed := false
    
    	// step 1: Find all the nils with the offending types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 00:25:49 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

            private
            val propertyOriginalTypes = mutableMapOf<KClass<*>, MutableMap<String, KType>>()
    
            private
            val claimedFunctions = mutableMapOf<KClass<*>, MutableSet<KFunction<*>>>()
    
            fun addType(kClass: KClass<*>) {
                properties.getOrPut(kClass) { mutableMapOf() }
                propertyOriginalTypes.getOrPut(kClass) { mutableMapOf() }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go

    func buildTestEnv() (*cel.Env, error) {
    	fooType := common.SchemaDeclType(simpleMapSchema("foo", spec.StringProperty()), true).MaybeAssignTypeName("fooType")
    	barType := common.SchemaDeclType(simpleMapSchema("bar", spec.Int64Property()), true).MaybeAssignTypeName("barType")
    
    	env, err := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true).Extend(
    		environment.VersionedOptions{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BeanCodec.kt

            encodePreservingIdentityOf(value) {
                val beanType = GeneratedSubclasses.unpackType(value)
                withBeanTrace(beanType) {
                    writeBeanOf(beanType, value)
                }
            }
        }
    
        override suspend fun ReadContext.decode(): Any =
            decodePreservingIdentity { id ->
                val beanType = readClass()
                val generated = readBoolean()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/facts/imports.go

    			addType(T.Elem())
    		case *types.Slice:
    			addType(T.Elem())
    		case *types.Array:
    			addType(T.Elem())
    		case *types.Chan:
    			addType(T.Elem())
    		case *types.Map:
    			addType(T.Key())
    			addType(T.Elem())
    		case *types.Signature:
    			addType(T.Params())
    			addType(T.Results())
    			if tparams := T.TypeParams(); tparams != nil {
    				for i := 0; i < tparams.Len(); i++ {
    					addType(tparams.At(i))
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt

        fun constructorForSerialization(beanType: Class<*>): Constructor<out Any> {
            return cache.get(beanType) { -> createConstructor(beanType) }
        }
    
        private
        fun createConstructor(beanType: Class<*>): Constructor<out Any> {
            // Initialize the super types of the bean type, as this does not seem to happen via the generated constructors
            maybeInit(beanType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanSchema.kt

    )
    
    
    internal
    fun relevantStateOf(beanType: Class<*>): List<RelevantField> =
        when (IConventionAware::class.java.isAssignableFrom(beanType)) {
            true -> applyConventionMappingTo(beanType, relevantFieldsOf(beanType))
            else -> relevantFieldsOf(beanType)
        }
    
    
    private
    fun relevantFieldsOf(beanType: Class<*>) =
        relevantTypeHierarchyOf(beanType)
            .flatMap(Class<*>::relevantFields)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/main/java/org/gradle/platform/base/internal/registry/ModelMapBasedRule.java

        public ModelMapBasedRule(ModelReference<C> subject, final ModelType<? extends T> baseType, MethodRuleDefinition<?, ?> ruleDefinition, ModelReference<?>... additionalInputs) {
            super(subject, ruleDefinition.getDescriptor());
            this.inputs = calculateInputs(
                    baseType,
                    ruleDefinition.getReferences().subList(1, ruleDefinition.getReferences().size()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/MethodsTest.groovy

    class MethodsTest extends Specification  {
    
        interface BaseType {
            Object someMethodName(Object o)
        }
    
        interface ChildType extends BaseType {
            @Override String someMethodName(Object o)
            int someMethodName(int i)
        }
    
        def "distinguish overloaded overridden method signatures"() {
            def takeObjReturnObj = BaseType.declaredMethods[0]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt

    }
    
    
    fun IsolateContext.logUnsupported(
        action: String,
        baseType: KClass<*>,
        documentationSection: DocumentationSection = RequirementsDisallowedTypes,
        appendix: StructuredMessageBuilder = {}
    ) {
        logUnsupported(action, documentationSection, appendix) {
            text(" object of type ")
            reference(baseType)
        }
    }
    
    
    fun IsolateContext.logUnsupported(
        action: String,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top