- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,596 for encoding1 (0.14 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) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
apply { encodings[ 0x0] = encoding // Null character encodings[ 0x1] = encoding // Start of Header encodings[ 0x2] = encoding // Start of Text encodings[ 0x3] = encoding // End of Text encodings[ 0x4] = encoding // End of Transmission encodings[ 0x5] = encoding // Enquiry encodings[ 0x6] = encoding // Acknowledgment encodings[ 0x7] = encoding // Bell
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K 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) -
src/encoding/base64/base64.go
// Package base64 implements base64 encoding as specified by RFC 4648. package base64 import ( "encoding/binary" "io" "slices" "strconv" ) /* * Encodings */ // An Encoding is a radix 64 encoding/decoding scheme, defined by a // 64-character alphabet. The most common encoding is the "base64" // encoding defined in RFC 4648 and used in MIME (RFC 2045) and PEM
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 19:04:28 UTC 2023 - 17.6K bytes - Viewed (0) -
src/net/http/transfer_test.go
}, { hdr: Header{"Transfer-Encoding": {"chunked, identity"}}, wantErr: &unsupportedTEError{`unsupported transfer encoding: "chunked, identity"`}, }, { hdr: Header{"Transfer-Encoding": {"chunked", "identity"}}, wantErr: &unsupportedTEError{`too many transfer encodings: ["chunked" "identity"]`}, }, { hdr: Header{"Transfer-Encoding": {"\x0bchunked"}},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:16:28 UTC 2023 - 9.1K bytes - Viewed (0)