Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for specialized (0.18 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectContainerExtensions.kt

        delegateProvider.register(property.name, type.java, action)
    )
    
    
    /**
     * Holds the delegate provider for the `registering` property delegate with
     * the purpose of providing specialized implementations for the `provideDelegate` operator
     * based on the static type of the provider.
     */
    class RegisteringDomainObjectDelegateProvider<T>
    private constructor(
        internal val delegateProvider: T
    ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 22:09:44 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt

    import org.gradle.kotlin.dsl.support.KotlinCompilerOptions
    import org.junit.Test
    import java.io.File
    import java.net.URLClassLoader
    
    
    class InterpreterTest : TestWithTempFiles() {
    
        @Test
        fun `caches specialized programs`() {
    
            val scriptPath = "/src/settings.gradle.kts"
    
            val shortScriptDisplayName = Describables.of("short display name")
            val longScriptDisplayName = Describables.of("long display name")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt

            if (superclass?.classLoader != null) {
                Class.forName(superclass.name, true, superclass.classLoader)
                maybeInit(superclass)
            }
        }
    
        // TODO: What about the runtime decorations a serialized bean might have had at configuration time?
        private
        fun newConstructorForSerialization(beanType: Class<*>, constructor: Constructor<*>): Constructor<out Any> =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt

    
    /**
     * Workaround for serializing JDK types with complex/opaque state on Java 17+.
     *
     * **IMPORTANT** Should be avoided for composite/container types as all components would be serialized
     * using Java serialization.
     */
    fun WriteContext.encodeUsingJavaSerialization(value: Any) {
        ObjectOutputStream(outputStream).useToRun {
            writeObject(value)
        }
    }
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt

            return converted.computeIfAbsent(project.path) {
                // Root project name is serialized separately, could perhaps move it to this cached project state object
                val projectName = project.path.name ?: rootProjectName
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top