Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for dwrite (0.13 sec)

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

                write(buffer.toStringAndRecycle())
            }
        }
    
        private
        fun comma() {
            write(',')
        }
    
        private
        fun documentationLinkFor(section: DocumentationSection) =
            documentationRegistry.documentationLinkFor(section)
    
        private
        fun write(csq: CharSequence) = writer.append(csq)
    
        private
        fun write(c: Char) = writer.append(c)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

        override fun writeObjectOverride(obj: Any?) = record {
            write(obj)
        }
    
        override fun write(`val`: Int) = record {
            outputStream.write(`val`)
        }
    
        override fun write(buf: ByteArray) = record {
            outputStream.write(buf)
        }
    
        override fun write(buf: ByteArray, off: Int, len: Int) = record {
            outputStream.write(buf, off, len)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt

            write(value.value)
        }
    
        override suspend fun ReadContext.decode(): IsolatedEnumValueSnapshot {
            val value = read() as Enum<*>
            return IsolatedEnumValueSnapshot(value)
        }
    }
    
    
    object IsolatedSetCodec : Codec<IsolatedSet> {
        override suspend fun WriteContext.encode(value: IsolatedSet) {
            write(value.elements)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/BuildTreeModelSideEffectStore.kt

        private
        val valuesStore by lazy {
            val writer = ValueStore.Writer<BuildTreeModelSideEffect> { encoder, value ->
                write(encoder, value)
            }
            val reader = ValueStore.Reader { decoder ->
                read(decoder)
            }
            store.createValueStore(StateType.ModelSideEffects, writer, reader)
        }
    
        fun collectSideEffects(): List<BlockAddress> = entries.toList()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/oldresult/TransientConfigurationResultsBuilder.java

            binaryStore.write(encoder -> {
                encoder.writeByte(NODE);
                encoder.writeSmallLong(id);
                moduleVersionIdSerializer.write(encoder, moduleVersionId);
                encoder.writeString(variantName);
            });
        }
    
        public void done(final Long id) {
            binaryStore.write(encoder -> {
                encoder.writeByte(ROOT);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheFileTreeIntegrationTest.groovy

                    inputFiles.from($fileTree.$pattern)
                }
            """
            def srcDir = createDir('src') {
                file('foo.ok').write('')
                file('foo.fail').write('')
            }
            if (isZip) {
                srcDir.zipTo(file('src.zip'))
            }
    
            and:
            def configurationCache = newConfigurationCacheFixture()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/package-info.java

     *  </p>
     *  <p></p>
     *      In order to serialize one object, {@link  org.gradle.internal.serialize.graph.WriteContext#write(java.lang.Object, kotlin.coroutines.Continuation) WriteContext.write(object)} must be invoked.
     *  </p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DestinationRootCopySpecCodec.kt

    class DestinationRootCopySpecCodec(
        private val fileResolver: FileResolver
    ) : Codec<DestinationRootCopySpec> {
    
        override suspend fun WriteContext.encode(value: DestinationRootCopySpec) {
            write(value.destinationDir)
            write(value.delegate)
        }
    
        override suspend fun ReadContext.decode(): DestinationRootCopySpec {
            val destDir = read() as? File
            val delegate = read() as CopySpecInternal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt

                    try {
                        writeClass(update.javaClass)
                        write(update.key)
                        write(update.value)
                    } catch (error: Exception) {
                        onError(error) {
                            text("failed to write system property ")
                            reference(keyString)
                        }
                    }
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top