Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for type$val (0.13 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

        @Test
        fun `type-checks assignment of subtype to superclass type`() {
            val result = schema.resolve(
                """
                superClassProp = sub()
                """.trimIndent()
            )
    
            assertEquals(1, result.assignments.size)
        }
    
        @Test
        fun `type-checks assignment of subtype to super interface type`() {
            val result = schema.resolve(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/OrdinalNodeCodec.kt

            writeEnum(value.type)
            writeInt(value.ordinalGroup.ordinal)
        }
    
        override suspend fun ReadContext.decode(): OrdinalNode {
            val ordinalType = readEnum<OrdinalNode.Type>()
            val ordinal = readInt()
            return ordinalGroups.group(ordinal).locationsNode(ordinalType)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10JvmTypeMapper.kt

            get() = analysisSession.token
    
        private val typeMapper by lazy { KaFe10JvmTypeMapperContext(analysisContext.resolveSession) }
    
        override fun mapTypeToJvmType(type: KaType, mode: TypeMappingMode): Type {
            val kotlinType = (type as KaFe10Type).fe10Type
            return typeMapper.mapType(kotlinType, mode)
        }
    
        override fun isPrimitiveBacked(type: KaType): Boolean {
            val kotlinType = (type as KaFe10Type).fe10Type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/types/AbstractAnalysisApiSubstitutorsTest.kt

                val symbol = declaration.getSymbol() as KaCallableSymbol
                val type = symbol.returnType
                val substituted = substitutor.substitute(type)
                val substitutedOrNull = substitutor.substituteOrNull(type)
    
                prettyPrint {
                    appendLine("PSI type: ${declaration.typeReference?.text}")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLDiagnosticConverter.kt

                )
            }
            if (kClass.isSubclassOf(Map::class)) {
                val keyType = type.arguments.getOrNull(0)?.type
                val valueType = type.arguments.getOrNull(1)?.type
    
                val keyConversion = keyType?.let { createConversion(it) } ?: HLIdParameterConversion
                val valueConversion = valueType?.let { createConversion(it) } ?: HLIdParameterConversion
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/temp.go

    // temporary variable to val, and then returns the expression &tmp.
    func initStackTemp(init *ir.Nodes, tmp *ir.Name, val ir.Node) *ir.AddrExpr {
    	if val != nil && !types.Identical(tmp.Type(), val.Type()) {
    		base.Fatalf("bad initial value for %L: %L", tmp, val)
    	}
    	appendWalkStmt(init, ir.NewAssignStmt(base.Pos, tmp, val))
    	return typecheck.Expr(typecheck.NodAddr(tmp)).(*ir.AddrExpr)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/AbstractStandaloneSessionBuilderAgainstStdlibTest.kt

            val ktCallExpression = ktFile.findDescendantOfType<KtCallExpression>()!!
            ktCallExpression.assertIsCallOf(CallableId(StandardNames.COLLECTIONS_PACKAGE_FQ_NAME, Name.identifier("listOf")))
    
            // builtin type
            val typeReference = ktFile.findDescendantOfType<KtNamedFunction>()!!.typeReference!!
            typeReference.assertIsReferenceTo(StandardClassIds.Float)
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/DefaultProjectSchemaProvider.kt

                accessibleConventionsSchema(plugins).forEach { (name, type) ->
                    conventions.add(ProjectSchemaEntry(targetType, name, type))
                    val plugin = DeprecationLogger.whileDisabled(Factory { plugins[name] })!!
                    collectSchemaOf(plugin, type)
                }
                accessibleContainerSchema(target.tasks.collectionSchema).forEach { schema ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

            this.name = "$description${if (performanceTestBuildSpec.withoutDependencies) " (without dependencies)" else ""}"
            val type = performanceTestBuildSpec.type
            val os = performanceTestBuildSpec.os
            val arch = performanceTestBuildSpec.arch
            val buildTypeThis = this
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt

        ): FunctionSemantics {
            val lastParam = function.parameters[function.parameters.lastIndex]
            val configuredType = configureLambdas.getTypeConfiguredByLambda(function.parameters.last().type)
            val blockRequirement = when {
                configuredType == null -> FunctionSemanticsInternal.DefaultConfigureBlockRequirement.DefaultNotAllowed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 13.7K bytes
    - Viewed (0)
Back to top