- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for specialized (0.16 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Program.kt
* - in stage 2, the remaining [Script] must be evaluated against the dynamically resolved classpath and, * for that reason, [stage 2 programs][Script] can only be specialized after stage 1 executes at least once; */ sealed class Program { /** * A program with no observable side-effects. */ object Empty : Program() { override fun toString() = "Empty"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.9K bytes - Viewed (0) -
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) -
platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleApiExtensionsIntegrationTest.kt
class GradleApiExtensionsIntegrationTest : AbstractKotlinIntegrationTest() { @Test @ToBeFixedForConfigurationCache(because = "test captures script reference") fun `Kotlin chooses withType extension specialized to container type`() { withBuildScript( """ open class A open class B : A() inline fun <reified T> inferredTypeOf(value: T) = typeOf<T>().toString()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 03 15:53:16 UTC 2023 - 9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt
.serialize(action) private fun <T> deserialize(serialized: SerializedIsolatedActionGraph<TestableIsolatedAction<T>>) = IsolatedActionDeserializer(ownerGradle(), beanStateReaderLookupForTesting(), isolatedActionCodecsFactory()) .deserialize(serialized) private fun ownerGradle() = IsolateOwners.OwnerGradle( mock<GradleInternal> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 6.4K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)