Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for writerContextFor (0.31 sec)

  1. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/IntermediateModelController.kt

        override fun projectPathForKey(key: ModelKey) = key.identityPath
    
        override fun write(encoder: Encoder, value: IntermediateModel) {
            val (context, codecs) = cacheIO.writerContextFor(encoder)
            context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec())
            context.runWriteOperation {
                write(value)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheIO.kt

        fun <T> writeConfigurationCacheState(
            stateFile: ConfigurationCacheStateFile,
            action: suspend DefaultWriteContext.(ConfigurationCacheState) -> T
        ): T {
            val (context, codecs) = writerContextFor(encryptionService.outputStream(stateFile.stateType, stateFile::outputStream)) {
                host.currentBuild.gradle.owner.displayName.displayName + " state"
            }
            return context.useToRun {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModelSideEffectStore.kt

            return sideEffects.map {
                valuesStore.read(it)
            }
        }
    
        private
        fun write(encoder: Encoder, value: BuildTreeModelSideEffect) {
            val (context, codecs) = cacheIO.writerContextFor(encoder)
            context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec())
            context.runWriteOperation {
                write(value)
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/metadata/ProjectMetadataController.kt

        override fun projectPathForKey(key: Path) = key
    
        override fun write(encoder: Encoder, value: LocalComponentGraphResolveState) {
            val (context, codecs) = cacheIO.writerContextFor(encoder)
            context.push(IsolateOwners.OwnerHost(host), codecs.userTypesCodec())
            context.runWriteOperation {
                write(value.id)
                write(value.moduleVersionId)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

            }.drop(1)
    
        private
        fun cacheFingerprintWriterContextFor(outputStream: OutputStream, profile: () -> String): DefaultWriteContext {
            val (context, codecs) = cacheIO.writerContextFor(outputStream, profile)
            return context.apply {
                push(IsolateOwners.OwnerHost(host), codecs.fingerprintTypesCodec())
            }
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top