- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for specialized (0.14 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt
* * Instead of interpreting a given Kotlin DSL script directly, the interpreter emits a * specialized program that captures the optimal execution procedure for the particular * combination of script structure (does it contain a `buildscript` block? a `plugins` block? * a script body? etc), target object and context (top-level or not). * * The specialized program is then cached via a cheap cache key based on the original,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 21.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/NamedDomainObjectCollectionExtensions.kt
ExistingDomainObjectDelegateProviderWithTypeAndAction.of(this, type, action) /** * Holds the delegate provider for the `existing` property delegate with * the purpose of providing specialized implementations for the `provideDelegate` operator * based on the static type of the provider. */ class ExistingDomainObjectDelegateProvider<T> private constructor( internal val delegateProvider: T ) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 15.3K bytes - Viewed (0) -
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/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) -
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)