- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 536 for encodeArg (0.18 sec)
-
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/NullSafeStringSerializer.java
@Override public String read(Decoder decoder) throws Exception { return decoder.readNullableString(); } @Override public void write(Encoder encoder, String value) throws Exception { encoder.writeNullableString(value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 989 bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/signatures/CrossBuildCachingKeyService.java
@Override public void write(Encoder encoder, CacheEntry<PGPPublicKeyRing> value) throws Exception { encoder.writeLong(value.timestamp); PGPPublicKeyRing key = value.value; if (key != null) { encoder.writeBoolean(true); encoder.writeBinary(key.getEncoded()); } else { encoder.writeBoolean(false); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 10:44:56 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/serializer/YesNoQuestionPromptEventSerializer.java
import org.gradle.internal.serialize.Encoder; import org.gradle.internal.serialize.Serializer; public class YesNoQuestionPromptEventSerializer implements Serializer<YesNoQuestionPromptEvent> { @Override public void write(Encoder encoder, YesNoQuestionPromptEvent value) throws Exception { encoder.writeLong(value.getTimestamp()); encoder.writeString(value.getQuestion()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/LogSerializerSpec.groovy
} public <T> byte[] toBytes(T value, Serializer<T> serializer) { def bytes = new ByteArrayOutputStream() def encoder = new KryoBackedEncoder(bytes) serializer.write(encoder, value) encoder.flush() return bytes.toByteArray() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonStopEvent.java
@Override public void write(Encoder encoder, DaemonStopEvent value) throws Exception { encoder.writeLong(value.timestamp.getTime()); encoder.writeLong(value.pid); encoder.writeBoolean(value.status != null); if (value.status != null) { encoder.writeByte((byte) value.status.ordinal()); } encoder.writeNullableString(value.reason); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:38 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheIO.kt
} to codecs private fun writeContextFor( encoder: Encoder, tracer: Tracer?, codecs: Codecs ) = writeContextFor( encoder, tracer, codecs.userTypesCodec() ) private fun writeContextFor( encoder: Encoder, tracer: Tracer?, codec: Codec<Any?> ) = DefaultWriteContext(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/ClassPathEncodingExtensions.kt
import org.gradle.internal.serialize.Decoder import org.gradle.internal.serialize.Encoder import org.gradle.internal.serialize.graph.readFile import org.gradle.internal.serialize.graph.writeCollection import org.gradle.internal.serialize.graph.writeFile internal fun Encoder.writeClassPath(classPath: ClassPath) { // Ensure that the proper type is going to be restored,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/SerializersTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/recomp/PreviousCompilationData.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Feb 24 12:57:52 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/streams/ValueStore.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1.4K bytes - Viewed (0)