- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 94 for readBooleans (0.13 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java
); case GRADLE_SERIALIZED_SNAPSHOT: return new GradleSerializedValueSnapshot(decoder.readBoolean() ? serializer.read(decoder) : null, decoder.readBinary()); case DEFAULT_SNAPSHOT: return new JavaSerializedValueSnapshot(decoder.readBoolean() ? serializer.read(decoder) : null, decoder.readBinary()); default:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheState.kt
withGradleIsolate(rootBuild.gradle, userTypesCodec) { val identityPath = Path.path(readString()) val hasProjects = readBoolean() if (hasProjects) { val rootProjectName = readString() val projects: List<ProjectWithNoWork> = readList().uncheckedCast()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 34.8K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/AttributeContainerCodecs.kt
} else { writeBoolean(false) write(value) } } private suspend fun ReadContext.readAttributeValue(managedFactories: ManagedFactoryRegistry): Any = if (readBoolean()) { // TODO: consider introducing a ManagedCodec readManaged(managedFactories) } else { readNonNull() } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/transform/Transforms.kt
} else { writeBoolean(false) } } override suspend fun ReadContext.decode(): TransformStepSpec { val transformStep = readNonNull<TransformStep>() return if (readBoolean()) { return TransformStepSpec.FileDependencies(transformStep, read() as FileCollection, read() as ConfigurationIdentity) } else { TransformStepSpec.NoDependencies(transformStep) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 4.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultModuleArtifactCacheTest.groovy
def decoder = Mock(Decoder) def fileName = "file.txt" when: def cachedArtifact = valueSerializer.read(decoder) then: 1 * decoder.readBoolean() >> false 1 * decoder.readLong() >> 42L 1 * decoder.readBinary() >> TestHashCodes.hashCodeFrom(42).toByteArray() 1 * decoder.readString() >> fileName
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:50 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/messaging/WorkerConfigSerializer.java
@Override public WorkerConfig read(Decoder decoder) throws IOException { LogLevel logLevel = LogLevel.values()[decoder.readSmallInt()]; boolean shouldPublishJvmMemoryInfo = decoder.readBoolean(); NativeServicesMode nativeServicesMode = NativeServicesMode.values()[decoder.readSmallInt()]; String gradleUserHomeDirPath = decoder.readString();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 5.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/kryo/KryoBackedCodecTest.groovy
def decoder = new KryoBackedDecoder(instr) then: instr.available() == 4108 decoder.readPosition == 0 when: decoder.readBoolean() decoder.readByte() decoder.readLong() then: instr.available() == 12 // decoder has buffered from instr decoder.readPosition == 10 when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/ArtifactCollectionCodec.kt
writeCollection(visitor.elements) } override suspend fun ReadContext.decode(): ArtifactCollectionInternal { val displayName = readString() val lenient = readBoolean() val elements = readList().uncheckedCast<List<Any>>() val files = artifactSetConverter.asFileCollection(displayName, lenient, elements.map { element -> when (element) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildSignatureVerificationService.java
@Override public CacheKey read(Decoder decoder) throws Exception { return new CacheKey(delegate.read(decoder), delegate.read(decoder), setSerializer.read(decoder), setSerializer.read(decoder), decoder.readBoolean(), hashCodeSerializer.read(decoder)); } @Override public void write(Encoder encoder, CacheKey value) throws Exception { delegate.write(encoder, value.filePath);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 21 14:42:50 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultModuleArtifactCache.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.2K bytes - Viewed (0)