Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for specialized (0.1 sec)

  1. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BeanCodec.kt

            writeClass(beanType)
            // TODO - should collect the details of the decoration (eg enabled annotations, etc), and also carry this information with the serialized class reference
            //  instead of separately for each bean
            val generated = value is GeneratedSubclass
            writeBoolean(generated)
            beanStateWriterFor(value.javaClass).run {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt

            // Treat all parameters equally, regardless of whether they are implicit captured parameters or the lambda signature ones.
            // If any of them is of an unsupported type, a build that runs from the serialized state won't be able to provide an instance anyway.
            paramTypes.forEach { paramType ->
                unsupportedTypes[paramType]?.let { unsupportedKClass ->
                    logUnsupportedLambdaParameterType(unsupportedKClass)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SerializationTest.kt

    object SerializationTest {
        private
        val pluginsSchema: AnalysisSchema = schema
    
        @Test
        fun `schema is serializable`() {
            val serialized = SchemaSerialization.schemaToJsonString(pluginsSchema)
            val deserialized = SchemaSerialization.schemaFromJsonString(serialized)
    
            val result = deserialized.resolve(
                """
                plugins {
                    id("test")
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/PublishArtifactLocalArtifactMetadataCodec.kt

    import org.gradle.internal.serialize.graph.ReadContext
    import org.gradle.internal.serialize.graph.WriteContext
    
    
    /**
     * This class exists because PublishArtifactLocalArtifactMetadata is used as its own id, and so when serialized as an id causes
     * a lot of unnecessary and unserializable state to be dragged in.
     *
     * A better change would be to split an immutable id type out of PublishArtifactLocalArtifactMetadata (or reuse one of the existing
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top