- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 102 for doDecode (1.34 sec)
-
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go
} return nil, err } func (s *serializer) Decode(data []byte, gvk *schema.GroupVersionKind, into runtime.Object) (runtime.Object, *schema.GroupVersionKind, error) { // A preliminary pass over the input to obtain the actual GVK is redundant on a successful // decode into Unstructured. if _, ok := into.(runtime.Unstructured); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 13 14:57:12 UTC 2024 - 9.6K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/NotImplementedCodec.kt
val javaClass = GeneratedSubclasses.unpackType(value) writeClass(javaClass) logNotImplemented(javaClass) } override suspend fun ReadContext.decode(): Any? { logNotImplemented(readClass()) return null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/LevelCodec.kt
object LevelCodec : Codec<Level> { override suspend fun WriteContext.encode(value: Level) { encodeUsingJavaSerialization(value) } override suspend fun ReadContext.decode(): Level? = decodeUsingJavaSerialization()?.uncheckedCast()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:59:39 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/UnitCodec.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 1K bytes - Viewed (0) -
internal/config/certs.go
// Trimming leading and tailing white spaces. data = bytes.TrimSpace(data) // Parse all certs in the chain. current := data for len(current) > 0 { var pemBlock *pem.Block if pemBlock, current = pem.Decode(current); pemBlock == nil { return nil, ErrTLSUnexpectedData(nil).Msg("Could not read PEM block from file %s", certFile) } var x509Cert *x509.Certificate
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/DurationCodec.kt
// to work around https://bugs.openjdk.java.net/browse/JDK-8054978 // on Java 8 writeLong(value.seconds) writeSmallInt(value.nano) } override suspend fun ReadContext.decode(): Duration = Duration.ofSeconds(readLong(), readSmallInt().toLong())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/ClassCodec.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 1K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/DestinationRootCopySpecCodec.kt
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 val spec = DestinationRootCopySpec(fileResolver, delegate) destDir?.let(spec::into)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/core-configuration/guava-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/guava/ImmutableMapCodec.kt
object ImmutableMapCodec : Codec<ImmutableMap<Any, Any>> { override suspend fun WriteContext.encode(value: ImmutableMap<Any, Any>) { writeMap(value) } override suspend fun ReadContext.decode(): ImmutableMap<Any, Any>? { val size = readSmallInt() val builder = ImmutableMap.builderWithExpectedSize<Any, Any>(size) for (i in 0 until size) { val key = read()!!
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 1.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonContextParser.java
String daemonRegistryDir = matcher.group(4); String pidStr = matcher.group(5); Long pid = pidStr.equals("null") ? null : Long.parseLong(pidStr); Integer idleTimeout = Integer.decode(matcher.group(6)); DaemonParameters.Priority priority = matcher.group(7) == null ? DaemonParameters.Priority.NORMAL : DaemonParameters.Priority.valueOf(matcher.group(7).substring(",priority=".length()));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 09:22:54 UTC 2024 - 5.8K bytes - Viewed (0)