- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 108 for readParameterWordsWireFormat (0.86 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java
// This method is empty, so it should return 0 SmbComCreateDirectory smbCom = new SmbComCreateDirectory(mockConfig, "testDir"); byte[] buffer = new byte[10]; int result = smbCom.readParameterWordsWireFormat(buffer, 0); assertEquals(0, result); } @Test void testReadBytesWireFormat() { // This method is empty, so it should return 0Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java
return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; bufferIndex += 2; // reserved this.dataCompactionMode = SMBUtil.readInt2(buffer, bufferIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComDeleteDirectory.java
dst[dstIndex] = (byte) 0x04; dstIndex++; dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXResponse.java
return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) { final int start = bufferIndex; this.isLoggedInAsGuest = ((buffer[bufferIndex] & 0x01) == 0x01) == true; bufferIndex += 2;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiate.java
return 0; } System.arraycopy(dialects, 0, dst, dstIndex, dialects.length); return dialects.length; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
int writeBytesWireFormat(byte[] dst, int dstIndex) { bytesWritten = 20; // simulate 20 bytes of data return bytesWritten; } @Override int readParameterWordsWireFormat(byte[] buffer, int bufferIndex) { paramWordsRead = 10; return paramWordsRead; } @Override int readBytesWireFormat(byte[] buffer, int bufferIndex) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java
return 0; } @Override protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { return 0; } @Override protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
* Test method for {@link jcifs.internal.smb1.com.SmbComClose#readParameterWordsWireFormat(byte[], int)}. */ @Test public void testReadParameterWordsWireFormat() { // Given SmbComClose smbComClose = new SmbComClose(config, 1, 1L); byte[] buffer = new byte[0]; // When int bytesRead = smbComClose.readParameterWordsWireFormat(buffer, 0); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
* provided purely to expose protected state and to satisfy the abstract * method contract. The tests focus on public API behaviour and the * parsing logic in {@code readParameterWordsWireFormat} and * {@code readBytesWireFormat}. */ public class SmbComTransactionResponseTest { /** A minimal concrete subclass for testing */ private static class DummyResponse extends SmbComTransactionResponse {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
dstIndex++; } dstIndex += writeString(path, dst, dstIndex); return dstIndex - start; } @Override int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) { return 0; } @Override int readBytesWireFormat(final byte[] buffer, final int bufferIndex) { return 0; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0)