- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 128 for SMBProtocolDecodingException (0.08 sec)
-
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for SmbInfoAllocation */ class SmbInfoAllocationTest { private SmbInfoAllocation smbInfoAllocation; @BeforeEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/main/java/jcifs/Decodable.java
* @param bufferIndex the starting index in the buffer * @param len the maximum length of data to decode * @return decoded length * @throws SMBProtocolDecodingException if decoding fails */ int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; /** * Test class for PreauthIntegrityNegotiateContext */ @ExtendWith(MockitoExtension.class) @DisplayName("PreauthIntegrityNegotiateContext Tests")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertThrows(SMBProtocolDecodingException.class, () -> { testBlock.decode(buffer, 0); }); } @Test @DisplayName("Test decode with retain payload") void testDecodeWithRetainPayload() throws SMBProtocolDecodingException { testBlock.retainPayload();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java
} /** * {@inheritDoc} * * @throws SMBProtocolDecodingException * if the response data is malformed * * @see jcifs.internal.smb2.ServerMessageBlock2#readBytesWireFormat(byte[], int) */ @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex;
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/main/java/jcifs/internal/smb2/lock/Smb2LockResponse.java
*/ @Override protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) throws SMBProtocolDecodingException { final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 4) { throw new SMBProtocolDecodingException("Expected structureSize = 4"); } return 4; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java
* @throws SMBProtocolDecodingException if decoding fails */ protected int readErrorResponse(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException { final int start = bufferIndex; final int structureSize = SMBUtil.readInt2(buffer, bufferIndex); if (structureSize != 9) { throw new SMBProtocolDecodingException("Error structureSize should be 9"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
byte[] buffer = new byte[60]; SMBUtil.writeInt2(100, buffer, 0); // Invalid structure size // When & Then SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 60", exception.getMessage()); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; import jcifs.internal.SMBProtocolDecodingException; /** * Test class for NegotiateContextRequest interface and its implementations */ @ExtendWith(MockitoExtension.class) class NegotiateContextRequestTest { @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0)