- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 467 for decoded (0.03 sec)
-
CHANGELOG.md
capability. * Fix: Don't crash on `trailers()` if the response doesn't have a body. We broke [Retrofit] users who read the trailers on the `raw()` OkHttp response, after its body was decoded. ## Version 5.0.0 _2025-07-02_ This is our first stable release of OkHttp since 2023. Here's the highlights if you're upgrading from OkHttp 4.x:
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 31.6K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
objAttr.decode(mockNdrBuffer); assertEquals(100, objAttr.length); assertEquals(3, objAttr.attributes); assertEquals(4, objAttr.security_descriptor); verify(objAttr.root_directory).decode(mockDeferredNdrBuffer); verify(objAttr.object_name).decode(mockDeferredNdrBuffer); verify(objAttr.security_quality_of_service).decode(mockDeferredNdrBuffer); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
* @param buffer the buffer containing the message data * @param bufferIndex the starting offset in the buffer * @return the number of bytes read * @throws SMBProtocolDecodingException if the data cannot be decoded */ protected abstract int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException; @Override public int hashCode() { return this.mid; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt
assertThat(url.queryParameter("a")).isEqualTo("!$(),/:;?@[]\\^`{|}~") } /** * When callers use `addEncodedQueryParameter()` we only encode what's strictly required. We * retain the encoded (or non-encoded) state of the input. */ @Test fun queryCharactersNotReencodedWhenComposedWithAddEncoded() { val url = HttpUrl .Builder() .scheme("http")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Aug 04 07:38:48 UTC 2025 - 69.9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
throw IllegalArgumentException("failed to decode certificate", nsee) } catch (iae: IllegalArgumentException) { throw IllegalArgumentException("failed to decode certificate", iae) } catch (e: GeneralSecurityException) { throw IllegalArgumentException("failed to decode certificate", e) } } /** * Returns the certificate encoded in [PEM format][rfc_7468]. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
AvTargetName avTargetName = new AvTargetName(rawBytes); // Verify that getTargetName correctly decodes the raw bytes assertEquals(originalString, avTargetName.getTargetName(), "Retrieved target name should correctly decode raw bytes"); } /** * Test with an empty string for both constructors. */ @Test void testEmptyString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
info1.encode(dst); ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); // Use the encoded buffer for decoding NdrBuffer src = new NdrBuffer(encodeBuffer, 0); netdfs.DfsInfo1 decodedInfo1 = new netdfs.DfsInfo1(); decodedInfo1.decode(src); assertEquals(info1.entry_path, decodedInfo1.entry_path); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
public val bodySize: Long, /** * The sizes of the chunks of this request's body, or null if the request's body was not encoded * with chunked encoding. */ public val chunkSizes: List<Int>?, /** * The failure MockWebServer recorded when attempting to decode this request. If, for example, * the inbound request was truncated, this exception will be non-null. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 3.2K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `cannot decode malformed utc time`() { val bytes = "170d3139313231362333303231305a".decodeHex() assertFailsWith<ProtocolException> { Adapters.UTC_TIME.fromDer(bytes) }.also { expected -> assertThat(expected).hasMessage("Failed to parse UTCTime 191216#30210Z") } } @Test fun `cannot decode generalized time with offset`() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
class IntegrationTests { @Test @DisplayName("Should maintain state after multiple decodes") void testMultipleDecodes() throws SMBProtocolDecodingException { // First decode byte[] buffer1 = createValidCopyChunkResponse(1, 1024, 1024); response.decode(buffer1, 0, buffer1.length); assertEquals(1, response.getChunksWritten());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0)