- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 775 for decoding (0.07 sec)
-
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
} @Test public void testUnicodeEncoding() { // Test Unicode string encoding String msg = "\u00A1\u00A2"; // two Unicode characters byte[] encoded = encodeUnicode(msg); assertEquals(4, encoded.length, "Encoded Unicode string should be 4 bytes"); // Verify little-endian encoding assertEquals((byte) 0xA1, encoded[0], "First byte of first character");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify size assertEquals(3, encodable.size(), "Size should be equal to the specified length"); } @Test void testEncodeBasic() { // Test basic encoding byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3); byte[] dest = new byte[5]; int encodedLen = encodable.encode(dest, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
okhttp-zstd/src/test/java/okhttp3/zstd/ZstdTestMain.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 20:01:04 UTC 2025 - 1.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
} // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing // the transfer stream. var transparentGzip = false if (userRequest.header("Accept-Encoding") == null && userRequest.header("Range") == null) { transparentGzip = true requestBuilder.header("Accept-Encoding", "gzip") } val cookies = cookieJar.loadForRequest(userRequest.url)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Aug 01 06:04:22 UTC 2025 - 3K bytes - Viewed (0) -
src/archive/tar/strconv.go
n := len(strings.TrimRight(s[:len(b)-1], "/")) b[n] = 0 // Replace trailing slash with NUL terminator } } // fitsInBase256 reports whether x can be encoded into n bytes using base-256 // encoding. Unlike octal encoding, base-256 encoding does not require that the // string ends with a NUL character. Thus, all n bytes are available for output. // // If operating in binary mode, this assumes strict GNU binary mode; which means
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java
/** Public suffix that is backed by an ICANN-style domain name registry */ REGISTRY('!', '?'); /** The character used for an inner node in the trie encoding */ private final char innerNodeCode; /** The character used for a leaf node in the trie encoding */ private final char leafNodeCode; PublicSuffixType(char innerNodeCode, char leafNodeCode) { this.innerNodeCode = innerNodeCode;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 10 15:48:57 UTC 2020 - 2K bytes - Viewed (0) -
api/go1.22.txt
pkg debug/elf, const R_MIPS_PC32 R_MIPS #61974 pkg encoding/base32, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693 pkg encoding/base32, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693 pkg encoding/base64, method (*Encoding) AppendDecode([]uint8, []uint8) ([]uint8, error) #53693 pkg encoding/base64, method (*Encoding) AppendEncode([]uint8, []uint8) []uint8 #53693
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 24 20:54:27 UTC 2024 - 7.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt
* has a 'Content-Encoding' header. */ fun gzip() = apply { val identityBody = body ?: throw IllegalStateException("cannot gzip a request that has no body") val contentEncoding = headers["Content-Encoding"] check(contentEncoding == null) { "Content-Encoding already set: $contentEncoding" }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 13.1K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt
.addHeader("Transfer-encoding: chunked") .build(), ) getResponse(newRequest("/")).use { response -> assertContent("ABCDE", response) } } @Test fun missingChunkBody() { server.enqueue( MockResponse .Builder() .body("5") .clearHeaders() .addHeader("Transfer-encoding: chunked")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 133.2K bytes - Viewed (0)