Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for specialized (0.17 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializer.kt

    import java.util.IdentityHashMap
    
    
    /**
     * Serialized state of an object graph containing one or more [IsolatedAction]s.
     *
     * @param G type of the root object stored in [graph]
     */
    internal
    class SerializedIsolatedActionGraph<G>(
        /**
         * The serialized graph.
         */
        val graph: ByteArray,
    
        /**
         * External references that are not serialized directly as part of the [graph].
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/evaluator/StoringInterpretationSchemaBuilder.kt

    import org.gradle.internal.declarativedsl.serialization.SchemaSerialization
    import java.io.File
    
    
    /**
     * In addition to creating the interpretation schema by delegating to [schemaBuilder],
     * stores the produced serialized schema in the file system (under `.gradle/declarative-schema/...` in the project).
     */
    internal
    class StoringInterpretationSchemaBuilder(
        private val schemaBuilder: InterpretationSchemaBuilder,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. architecture/standards/0002-avoid-using-java-serialization.md

    Java's built-in serialization mechanism is often slower compared to other serialization solutions.
    This is due to Java's use of reflection and the need to maintain a lot of metadata.
    
    - **Size of Serialized Data:**
    Java serialization tends to produce larger serialized objects because it includes class metadata and other overhead.
    
    - **Flexibility and Control:**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 22:32:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/IsolatedActionCodecsFactory.kt

                    bind(BeanCodec)
                }.build()
            )
    
        /**
         * Value sources and build services are currently unsupported but could eventually
         * be captured as part of the serialized action [environment][org.gradle.internal.cc.impl.isolation.SerializedIsolatedActionGraph.environment]
         **/
        private
        fun BindingsBuilder.unsupportedProviderTypes() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

                    visibility = Flags.VISIBILITY[classData.flags]
                }
    
                else -> null
            }
    }
    
    
    /**
     * Reads the serialized [ProtoBuf.Class] information stored in the visited [kotlin.Metadata] annotation.
     */
    private
    class ClassDataFromKotlinMetadataAnnotationVisitor(
        private val onClassData: (ProtoBuf.Class) -> Unit
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. 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)
  9. 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