- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 178 for writeBytesWireFormat (0.56 sec)
-
src/test/java/jcifs/smb1/smb1/SmbComTreeDisconnectTest.java
} /** * Test the writeBytesWireFormat method. */ @Test void testWriteBytesWireFormat() { // Given SmbComTreeDisconnect smbComTreeDisconnect = new SmbComTreeDisconnect(); byte[] dst = new byte[10]; // When int result = smbComTreeDisconnect.writeBytesWireFormat(dst, 0); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java
} return size8(size); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(41, dst, dstIndex); dst[dstIndex + 2] = this.infoType;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} * * @throws SMBProtocolDecodingException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
void testWriteBytesWireFormatDifferentPositions() { byte[] buffer = new byte[1024]; assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 0)); assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 100)); assertEquals(0, echoResponse.writeBytesWireFormat(buffer, 500)); } @Test @DisplayName("Should not modify buffer")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
return size8(Smb2Constants.SMB2_HEADER_LENGTH + 24); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; SMBUtil.writeInt2(24, dst, dstIndex); SMBUtil.writeInt2(this.closeFlags, dst, dstIndex + 2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
} @Test @DisplayName("writeBytesWireFormat returns zero bytes written") void testWriteBytesWireFormat() { byte[] buf = new byte[10]; assertEquals(0, response.writeBytesWireFormat(buf, 0), "Should write 0 bytes"); } @Test @DisplayName("writeBytesWireFormat with null buffer - returns zero") void testWriteBytesWireFormatNullBuffer() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java
} /** * {@inheritDoc} * * @see jcifs.internal.smb2.ServerMessageBlock2#writeBytesWireFormat(byte[], int) */ @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } /** * {@inheritDoc} *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
} @ParameterizedTest @ValueSource(ints = { 0, 3, 9, -5 }) @DisplayName("writeBytesWireFormat always returns 0") void writeBytesWireFormatReturnsZero(int index) { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertEquals(0, msg.writeBytesWireFormat(new byte[20], index)); assertEquals(0, msg.writeBytesWireFormat(null, index)); } @ParameterizedTest @ValueSource(ints = { 0, -1, 7 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
} } @Nested @DisplayName("WriteBytesWireFormat Tests") class WriteBytesWireFormatTests { @Test @DisplayName("Should always return 0 for write operation") void testWriteBytesWireFormat() { byte[] buffer = new byte[64]; int result = notification.writeBytesWireFormat(buffer, 0); assertEquals(0, result);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)