- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,036 for encoding1 (0.21 sec)
-
src/net/http/request_test.go
req.TransferEncoding = []string{ "encoding1", } clonedReq := req.Clone(context.Background()) // modify original after deep copy req.TransferEncoding[0] = "encoding2" if req.TransferEncoding[0] != "encoding2" { t.Error("expected req.TransferEncoding to be changed") } if clonedReq.TransferEncoding[0] != "encoding1" { t.Error("expected clonedReq.TransferEncoding to be unchanged")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 18:42:34 UTC 2024 - 44K bytes - Viewed (0) -
src/mime/encodedword.go
package mime import ( "bytes" "encoding/base64" "errors" "fmt" "io" "strings" "unicode" "unicode/utf8" ) // A WordEncoder is an RFC 2047 encoded-word encoder. type WordEncoder byte const ( // BEncoding represents Base64 encoding scheme as defined by RFC 2045. BEncoding = WordEncoder('b') // QEncoding represents the Q-encoding scheme as defined by RFC 2047. QEncoding = WordEncoder('q')
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 10K bytes - Viewed (0) -
platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaSerializationEncodingLookup.kt
class JavaSerializationEncodingLookup { private val encodings = ConcurrentHashMap<Class<*>, EncodingDetails>() /** * Returns the proper encoding provider for the given type, or null, if not covered by Java Object serialization. */ fun encodingFor(type: Class<*>): Encoding? { return encodings.computeIfAbsent(type) { t -> calculateEncoding(t) }.encoding } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BindingsBackedCodec.kt
val encoding = binding.encodingForType(type) if (encoding != null) { return TaggedEncoding(binding.tag, encoding) } } throw IllegalArgumentException("Don't know how to serialize an object of type ${type.name}.") } private data class TaggedEncoding( val tag: Int, val encoding: Encoding ) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 6K bytes - Viewed (0) -
src/encoding/base32/base32_test.go
} } } func TestWithoutPaddingClose(t *testing.T) { encodings := []*Encoding{ StdEncoding, StdEncoding.WithPadding(NoPadding), } for _, encoding := range encodings { for _, testpair := range pairs { var buf strings.Builder encoder := NewEncoder(encoding, &buf) encoder.Write([]byte(testpair.decoded)) encoder.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 26K bytes - Viewed (0) -
src/cmd/internal/obj/riscv/obj.go
uEncoding = encoding{encode: encodeU, validate: validateU, length: 4} jEncoding = encoding{encode: encodeJ, validate: validateJ, length: 4} // rawEncoding encodes a raw instruction byte sequence. rawEncoding = encoding{encode: encodeRawIns, validate: validateRaw, length: 4} // pseudoOpEncoding panics if encoding is attempted, but does no validation.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 07 03:32:27 UTC 2024 - 77K bytes - Viewed (0) -
src/encoding/base32/base32.go
// license that can be found in the LICENSE file. // Package base32 implements base32 encoding as specified by RFC 4648. package base32 import ( "io" "slices" "strconv" ) /* * Encodings */ // An Encoding is a radix 32 encoding/decoding scheme, defined by a // 32-character alphabet. The most common is the "base32" encoding // introduced for SASL GSSAPI and standardized in RFC 4648.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 16:25:54 UTC 2024 - 15.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/encode.go
// defined in RFC 8949 4.2.1 "Core Deterministic Encoding Requirements". Sort: cbor.SortBytewiseLexical, // CBOR supports distinct types for IEEE-754 float16, float32, and float64. Store // floats in the smallest width that preserves value so that equivalent float32 and // float64 values encode to identical bytes, as they do in a JSON // encoding. Satisfies one of the "Core Deterministic Encoding Requirements".
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 15 15:31:10 UTC 2024 - 3.6K bytes - Viewed (0) -
src/net/http/transfer.go
return ok } // parseTransferEncoding sets t.Chunked based on the Transfer-Encoding header. func (t *transferReader) parseTransferEncoding() error { raw, present := t.Header["Transfer-Encoding"] if !present { return nil } delete(t.Header, "Transfer-Encoding") // Issue 12785; ignore Transfer-Encoding on HTTP/1.0 requests. if !t.protoAtLeast(1, 1) { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 22:14:00 UTC 2024 - 31.1K bytes - Viewed (0) -
src/go/build/deps_test.go
io, reflect < internal/saferio; # encodings # core ones do not use fmt. io, strconv, slices < encoding; encoding, reflect < encoding/binary < encoding/base32, encoding/base64; FMT, encoding < flag; fmt !< encoding/base32, encoding/base64; FMT, encoding/base32, encoding/base64, internal/saferio < encoding/ascii85, encoding/csv, encoding/gob, encoding/hex,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 16:41:13 UTC 2024 - 19.2K bytes - Viewed (0)