- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 181 for readBytesWireFormat (0.11 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java
assertEquals(32 + infoSize, bytesWritten); } @Test @DisplayName("Test readBytesWireFormat returns 0") void testReadBytesWireFormat() { request = new Smb2SetInfoRequest(mockConfig); byte[] buffer = new byte[256]; int bytesRead = request.readBytesWireFormat(buffer, 0); // This method should always return 0 as the request doesn't read responses
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
return n; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override public String toString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
} @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() { // Given byte[] buffer = createTestData(256); // When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals(nameBytes.length, nameLenInBuffer); } @Test @DisplayName("Test readBytesWireFormat returns 0") void testReadBytesWireFormat() { request = new Smb2CreateRequest(mockConfig, "test.txt"); byte[] buffer = new byte[1024]; int bytesRead = request.readBytesWireFormat(buffer, 0); assertEquals(0, bytesRead); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
} @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() { // Given byte[] buffer = createTestData(256); // When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
} @Test void decodesErrorStructureThroughReadBytesWireFormat() throws Exception { // For STATUS_INVALID_PARAMETER the override makes isErrorResponseStatus() return false, // so readBytesWireFormat() is invoked and must delegate back to readErrorResponse() when it sees size=9. byte[] header = buildHeader(NtStatus.NT_STATUS_INVALID_PARAMETER);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java
requestWithNull.writeBytesWireFormat(buffer, 0); }); } @Test @DisplayName("readBytesWireFormat should return 0") void testReadBytesWireFormat() { byte[] buffer = new byte[256]; int result = request.readBytesWireFormat(buffer, 0); assertEquals(0, result); } @ParameterizedTest @ValueSource(ints = { 0, 10, 50, 100 })
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
return digest; } public void setDigest(Smb2SigningDigest digest) { this.digest = digest; } @Override protected int readBytesWireFormat(byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { // Simple implementation for testing return 0; } @OverrideCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
assertEquals(40 + bufferSize, bytesWritten); } @Test @DisplayName("Test readBytesWireFormat returns 0") void testReadBytesWireFormat() { request = new Smb2QueryInfoRequest(mockConfig); byte[] buffer = new byte[256]; int bytesRead = request.readBytesWireFormat(buffer, 0); // This method should always return 0 as the request doesn't read responses
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
} @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } /** * Writes setup data in wire format * @param dst destination bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 17.3K bytes - Click Count (0)