Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ProgramId (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top