- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for ProgramId (0.13 sec)
-
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramId.kt
*/ package org.gradle.kotlin.dsl.execution import org.gradle.internal.hash.HashCode import org.gradle.kotlin.dsl.support.KotlinCompilerOptions import java.lang.ref.WeakReference class ProgramId( val templateId: String, val sourceHash: HashCode, parentClassLoader: ClassLoader, private val accessorsClassPathHash: HashCode? = null, private val classPathHash: HashCode? = null,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:57 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Interpreter.kt
interface Host { fun cachedClassFor( programId: ProgramId ): CompiledScript? fun cache( specializedProgram: CompiledScript, programId: ProgramId ) fun cachedDirFor( scriptHost: KotlinScriptHost<*>, programId: ProgramId, compilationClassPath: ClassPath, accessorsClassPath: ClassPath,
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/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/SimplifiedKotlinScriptEvaluator.kt
serviceRegistry override fun cachedClassFor(programId: ProgramId): CompiledScript? = null override fun cache(specializedProgram: CompiledScript, programId: ProgramId) = Unit override fun cachedDirFor( scriptHost: KotlinScriptHost<*>, programId: ProgramId, compilationClassPath: ClassPath, accessorsClassPath: ClassPath,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 26 19:59:56 UTC 2023 - 7.9K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt
) } override fun cachedClassFor( programId: ProgramId ): CompiledScript? = classloadingCache.get(programId) override fun cache( specializedProgram: CompiledScript, programId: ProgramId ) { classloadingCache.put( programId, specializedProgram ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 10:23:24 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptClassloadingCache.kt
import org.gradle.kotlin.dsl.execution.ProgramId import javax.inject.Inject internal class KotlinScriptClassloadingCache @Inject constructor( cacheFactory: CrossBuildInMemoryCacheFactory ) { private val cache: CrossBuildInMemoryCache<ProgramId, CompiledScript> = cacheFactory.newCache() fun get(key: ProgramId): CompiledScript? =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ExecutableProgram.kt
accessorsClassPath: ClassPath ) fun compileSecondStageOf( program: StagedProgram, scriptHost: KotlinScriptHost<*>, programId: ProgramId, programKind: ProgramKind, programTarget: ProgramTarget, accessorsClassPath: ClassPath ): CompiledScript fun handleScriptException(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/InterpreterTest.kt
val stage1CacheDir = root.resolve("stage1").apply { mkdir() } val stage2CacheDir = root.resolve("stage2").apply { mkdir() } val stage1ProgramId = ProgramId(stage1TemplateId, sourceHash, parentClassLoader) val stage2ProgramId = ProgramId(stage2TemplateId, sourceHash, targetScopeExportClassLoader, accessorsClassPathHash, compilationClassPathHash) val mockServiceRegistry = mock<ServiceRegistry> {
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/src/test/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompilerTest.kt
val programHost = safeMockProgramHost { on { accessorsClassPathFor(scriptHost) } doReturn accessorsClassPath } val scriptTemplateId = "Project/TopLevel/stage2" val programId = ProgramId(scriptTemplateId, sourceHash, mock()) private fun verifyStandardOutput(program: ExecutableProgram) { assertStandardOutputOf(expectedStage1Output) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 22.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ResidualProgramCompiler.kt
Type.getType(ProgramId::class.java), Type.getType(ClassPath::class.java) ) private val compileSecondStageOfDescriptor = Type.getMethodDescriptor( Type.getType(CompiledScript::class.java), stagedProgram, Type.getType(KotlinScriptHost::class.java), Type.getType(ProgramId::class.java), Type.getType(ProgramKind::class.java),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 13:09:45 UTC 2024 - 27.1K bytes - Viewed (0)