Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for PreIndex (0.21 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

    import kotlin.reflect.typeOf
    
    
    interface FunctionExtractor {
        fun memberFunctions(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<SchemaMemberFunction>
        fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor>
        fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex): DataTopLevelFunction?
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

        }
    
        private
        fun createDataType(
            kClass: KClass<*>,
            preIndex: PreIndex,
        ): DataClass {
            val properties = preIndex.getAllProperties(kClass)
    
            val functions = functionExtractor.memberFunctions(kClass, preIndex)
            val constructors = functionExtractor.constructors(kClass, preIndex)
            val name = kClass.fqName
    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. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/AccessorTest.kt

                        )
                    )
                } else emptyList()
    
            override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = emptyList()
            override fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex): DataTopLevelFunction? = null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/schemaFromGradleExtensions.kt

        override fun memberFunctions(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<SchemaMemberFunction> =
            if (kClass == typeToExtend) extensionInfo.map(ExtensionInfo::schemaFunction) else emptyList()
    
        override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = emptyList()
    
        override fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex) = null
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/common/DependencyCollectorFunctionExtractorAndRuntimeResolver.kt

            }
    
            return declarationsBySchemaFunctions.keys
        }
    
        override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = emptyList()
        override fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex): DataTopLevelFunction? = null
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/software/schemaFromSoftwareTypes.kt

        override fun memberFunctions(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<SchemaMemberFunction> =
            if (kClass == typeToExtend) softwareTypeImplementations.map(SoftwareTypeInfo<*>::schemaFunction) else emptyList()
    
        override fun constructors(kClass: KClass<*>, preIndex: DataSchemaBuilder.PreIndex): Iterable<DataConstructor> = emptyList()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/schemaBuildingUtils.kt

        }
    
    
    internal
    fun checkInScope(
        type: KType,
        typeScope: DataSchemaBuilder.PreIndex
    ) {
        if (type.classifier?.isInScope(typeScope) != true) {
            error("type $type used in a function is not in schema scope")
        }
    }
    
    
    private
    fun KClassifier.isInScope(typeScope: DataSchemaBuilder.PreIndex) =
        isBuiltInType || this is KClass<*> && typeScope.hasType(this)
    
    
    private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/networking/v1/generated.pb.go

    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    	for iNdEx < l {
    		preIndex := iNdEx
    		var wire uint64
    		for shift := uint(0); ; shift += 7 {
    			if shift >= 64 {
    				return ErrIntOverflowGenerated
    			}
    			if iNdEx >= l {
    				return io.ErrUnexpectedEOF
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 158.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/resource/v1alpha2/generated.pb.go

    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *AllocationResult) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    	for iNdEx < l {
    		preIndex := iNdEx
    		var wire uint64
    		for shift := uint(0); ; shift += 7 {
    			if shift >= 64 {
    				return ErrIntOverflowGenerated
    			}
    			if iNdEx >= l {
    				return io.ErrUnexpectedEOF
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 17:07:36 UTC 2024
    - 261.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/extensions/v1beta1/generated.pb.go

    		return "nil"
    	}
    	pv := reflect.Indirect(rv).Interface()
    	return fmt.Sprintf("*%v", pv)
    }
    func (m *DaemonSet) Unmarshal(dAtA []byte) error {
    	l := len(dAtA)
    	iNdEx := 0
    	for iNdEx < l {
    		preIndex := iNdEx
    		var wire uint64
    		for shift := uint(0); ; shift += 7 {
    			if shift >= 64 {
    				return ErrIntOverflowGenerated
    			}
    			if iNdEx >= l {
    				return io.ErrUnexpectedEOF
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 293.3K bytes
    - Viewed (0)
Back to top