- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 215 for doDecode (0.15 sec)
-
platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/HashSetCodec.kt
object HashSetCodec : Codec<HashSet<Any?>> { override suspend fun WriteContext.encode(value: HashSet<Any?>) { writeCollectionCheckingForCircularElements(value) } override suspend fun ReadContext.decode(): HashSet<Any?> = readCollectionCheckingForCircularElementsInto(::LinkedHashSet) } private suspend fun WriteContext.writeCollectionCheckingForCircularElements(collection: Collection<Any?>) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat May 25 20:43:52 UTC 2024 - 3.1K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/PublishArtifactLocalArtifactMetadataCodec.kt
write(value.componentIdentifier) value.publishArtifact.run { write(ImmutablePublishArtifact(name, extension, type, classifier, file)) } } override suspend fun ReadContext.decode(): PublishArtifactLocalArtifactMetadata { val componentId = read() as ComponentIdentifier val publishArtifact = read() as ImmutablePublishArtifact
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 2.4K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CalculatedValueContainerCodec.kt
write(value.get()) } else { writeBoolean(false) write(value.supplier) } } } override suspend fun ReadContext.decode(): CalculatedValueContainer<Any, ValueCalculator<Any>>? { return decodePreservingSharedIdentity { val available = readBoolean() if (available) { val value = read()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 2.5K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/CachedEnvironmentStateCodec.kt
} } } writeCollection(value.removals) { removal -> writeString(removal.key) } } override suspend fun ReadContext.decode(): ConfigurationCacheEnvironmentChangeTracker.CachedEnvironmentState { val cleared = readBoolean() val updates = readList { val clazz = readClass() val key = read() as Any
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.2K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/TaskReferenceCodec.kt
val isTaskFromSameProject = delegate is Task && delegate.project == value.project return isTaskReferencesAllowed && isTaskFromSameProject } override suspend fun ReadContext.decode(): Task? = when (readEnum<ReferenceType>()) { ReferenceType.SELF_REF -> isolate.owner.delegate as Task ReferenceType.TASK_REF -> { val taskName = readString()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/transform/TransformedArtifactCodec.kt
write(value.artifact.id.componentIdentifier) write(value.artifact.file) write(unpackTransformSteps(value.transformSteps)) } override suspend fun ReadContext.decode(): TransformingAsyncArtifactListener.TransformedArtifact { val variantName = readNonNull<DisplayName>() val target = readNonNull<ImmutableAttributes>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 3.3K bytes - Viewed (0) -
src/mime/quotedprintable/reader_test.go
return } } if strings.Contains(errStr, "unexpected EOF") { return } if errStr == "invalid bytes after =" && badSoftRx.MatchString(s) { return } t.Errorf("decode(%q) = %v", s, err) return } if *useQprint { cmd := exec.Command("qprint", "-d") cmd.Stdin = strings.NewReader(s) stderr, err := cmd.StderrPipe() if err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 5.9K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/SerializedLambdaParametersCheckingCodec.kt
* * @see [org.gradle.internal.serialize.beans.services.unsupportedFieldDeclaredTypes] */ object SerializedLambdaParametersCheckingCodec : Codec<SerializedLambda> { override suspend fun ReadContext.decode(): SerializedLambda { return decodeBean() as SerializedLambda } override suspend fun WriteContext.encode(value: SerializedLambda) { checkLambdaCapturedArgTypesAreSupported(value)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 3.4K bytes - Viewed (0) -
docs_src/security/tutorial004_py310.py
status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub") if username is None: raise credentials_exception token_data = TokenData(username=username)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4K bytes - Viewed (0) -
docs_src/security/tutorial004.py
status_code=status.HTTP_401_UNAUTHORIZED, detail="Could not validate credentials", headers={"WWW-Authenticate": "Bearer"}, ) try: payload = jwt.decode(token, SECRET_KEY, algorithms=[ALGORITHM]) username: str = payload.get("sub") if username is None: raise credentials_exception token_data = TokenData(username=username)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Mon May 20 17:37:28 UTC 2024 - 4.1K bytes - Viewed (0)