- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for specialized (0.36 sec)
-
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/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) -
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) -
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)