- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,030 for encodeTo (0.19 sec)
-
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/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleSourcesSerializer.java
int codecId = assertValidId(persistentModuleSource.getCodecId()); encoder.writeSmallInt(codecId); PersistentModuleSource.Codec<PersistentModuleSource> codec = Cast.uncheckedCast(moduleSourceCodecs.get(codecId)); codec.encode(persistentModuleSource, encoder); } } catch (IOException e) { throw new UncheckedIOException(e);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2.9K bytes - Viewed (0) -
src/encoding/pem/pem.go
package pem import ( "bytes" "encoding/base64" "errors" "io" "slices" "strings" ) // A Block represents a PEM encoded structure. // // The encoded form is: // // -----BEGIN Type----- // Headers // base64-encoded Bytes // -----END Type----- // // where [Block.Headers] is a possibly empty sequence of Key: Value lines. type Block struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.6K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
val tag: Long, /** Encode and decode the value once tags are handled. */ private val codec: Codec<T>, /** True if the default value should be used if this value is absent during decoding. */ val isOptional: Boolean = false, /** The value to return if this value is absent. Undefined unless this is optional. */ val defaultValue: T? = null,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.4K bytes - Viewed (0) -
pkg/api/testing/unstructured_test.go
// encodes to a JSON string containing the base64 encoding of the slice // contents. Decoding a JSON string into a byte slice assumes (and requires) that // the JSON string contain base64-encoded data. The CBOR serializer must be // compatible with this behavior. "byte slices should be represented in unstructured as base64-encoded strings": { {Version: "v1", Kind: "Secret"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 16.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/DefaultMetadataFileSourceCodec.java
} @Override public void encode(MetadataFileSource moduleSource, Encoder encoder) throws IOException { ModuleComponentArtifactIdentifier artifactId = moduleSource.getArtifactId(); ModuleComponentIdentifier componentIdentifier = artifactId.getComponentIdentifier(); encoder.writeString(componentIdentifier.getGroup()); encoder.writeString(componentIdentifier.getModule());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.4K bytes - Viewed (0) -
src/encoding/binary/varint.go
import ( "errors" "io" ) // MaxVarintLenN is the maximum length of a varint-encoded N-bit integer. const ( MaxVarintLen16 = 3 MaxVarintLen32 = 5 MaxVarintLen64 = 10 ) // AppendUvarint appends the varint-encoded form of x, // as generated by [PutUvarint], to buf and returns the extended buffer. func AppendUvarint(buf []byte, x uint64) []byte { for x >= 0x80 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 4.8K bytes - Viewed (0) -
src/unicode/utf8/utf8.go
i += size } return n } // RuneStart reports whether the byte could be the first byte of an encoded, // possibly invalid rune. Second and subsequent bytes always have the top two // bits set to 10. func RuneStart(b byte) bool { return b&0xC0 != 0x80 } // Valid reports whether p consists entirely of valid UTF-8-encoded runes. func Valid(p []byte) bool { // This optimization avoids the need to recompute the capacity
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 02:00:36 UTC 2024 - 16.4K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt
inline fun <T : Any> WriteContext.encodePreservingIdentityOf(reference: T, encode: WriteContext.(T) -> Unit) { encodePreservingIdentityOf(isolate.identities, reference, encode) } inline fun <T : Any> WriteContext.encodePreservingSharedIdentityOf(reference: T, encode: WriteContext.(T) -> Unit) = encodePreservingIdentityOf(sharedIdentities, reference, encode)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
() -> asListHtml(encodeId(form.path))); } saveInfo(messages -> messages.addSuccessUploadFileToStorage(GLOBAL, form.uploadFile.getFileName())); return redirectWith(getClass(), moreUrl("list/" + encodeId(form.path))); } @Execute @Secured({ ROLE, ROLE + VIEW })
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 19.9K bytes - Viewed (0)