- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 130 for payload (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
requireSettings = false, object : BaseTestHandler() { override fun ping( ack: Boolean, payload1: Int, payload2: Int, ) { assertThat(ack).isTrue() assertThat(payload1).isEqualTo(expectedPayload1) assertThat(payload2).isEqualTo(expectedPayload2) } }, ) } @Test fun maxLengthDataFrame() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java
protected int readDataWireFormat(final byte[] buffer, final int bufferIndex, final int len) throws SMBProtocolDecodingException { if (len > this.outputBuffer.length) { throw new SMBProtocolDecodingException("Payload exceeds buffer size"); } System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len); return len; } @Override public String toString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
docs/logging/README.md
"Content-Length": "401", "Content-Type": "application/octet-stream", "User-Agent": "MinIO (linux; amd64) minio-go/v7.0.70 mc/RELEASE.2024-04-30T17-44-48Z", "X-Amz-Content-Sha256": "STREAMING-AWS4-HMAC-SHA256-PAYLOAD", "X-Amz-Date": "20240509T073810Z", "X-Amz-Decoded-Content-Length": "228" }, "responseHeader": { "Accept-Ranges": "bytes", "Content-Length": "0",
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 10.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} final int size = Encdec.dec_uint16be(sbuf, 2) & 0xFFFF; if (size < 33 || 4 + size > sbuf.length) { throw new IOException("Invalid payload size: " + size); } readn(in, sbuf, 4 + 32, size - 32); resp.decode(sbuf, 4); if (LogStream.level >= 4) { log.println(resp);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java
} @Override public boolean isRetainPayload() { return retainPayload; } @Override public void setRawPayload(byte[] payload) { this.rawPayload = payload; } @Override public boolean verifySignature(byte[] data, int offset, int length) { return true; // Default to successful verification }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
return 200; } @Override public InputStream getInputStream() throws IOException { return new ByteArrayInputStream(new byte[100]); // dummy payload } } @Test public void test_TmpFileHasBeenDeletedAfterResponseWasClosed() throws Exception { // ## Arrange ##
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat May 10 01:44:04 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/Base64Test.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link Base64}. * * These tests cover the public static encode/decode methods for different * payload sizes, padding rules, and error conditions such as null and empty * input. */ @ExtendWith(MockitoExtension.class) class Base64Test { /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readDataWireFormat(buffer, 0, dataLen)); assertEquals("Payload exceeds buffer size", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 100, 500, 1024 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
cmd/streaming-v4-unsigned.go
cr.err = errChunkTooBig return n, cr.err } } if cap(cr.buffer) < size { cr.buffer = make([]byte, size) } else { cr.buffer = cr.buffer[:size] } // Now, we read the payload. _, err = io.ReadFull(cr.reader, cr.buffer) if err == io.EOF && size != 0 { err = io.ErrUnexpectedEOF } if err != nil && err != io.EOF { cr.err = err return n, cr.err }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Apr 03 14:55:52 UTC 2025 - 6.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
} @Test fun closeLengthOfOneThrows() { data.write("880100".decodeHex()) // Close with invalid 1-byte payload assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected -> assertThat(expected.message) .isEqualTo("Malformed close payload length of 1.") } } @Test fun closeCallsCallback() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K bytes - Viewed (0)