- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 378 for decoding (2.53 sec)
-
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertEquals(AvPair.MsvAvEOL, SMBUtil.readInt2(encoded, 0), "Should be EOL"); assertEquals(0, SMBUtil.readInt2(encoded, 2), "EOL length should be 0"); } /** * Test round-trip encoding and decoding */ @Test @DisplayName("Round-trip encode and decode should preserve data") void testRoundTrip() throws CIFSException { List<AvPair> originalPairs = new LinkedList<>();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertThrows(NullPointerException.class, () -> { bindWithParams.encode_in(mockBuffer); }, "Should fail on UUID encoding"); } } @Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("decode_out should read bind response data correctly") void testDecodeOut() throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
response = new Smb2QueryDirectoryResponse(mockConfig, expectInfoClass); assertNotNull(response); assertNull(response.getResults()); // Should be null before decoding } @Test @DisplayName("Test getResults returns null initially") void testGetResultsInitiallyNull() { response = new Smb2QueryDirectoryResponse(mockConfig, (byte) 0x03);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
assertTrue(result.contains("sectPerAlloc=0")); assertTrue(result.contains("bytesPerSect=0")); } @Test @DisplayName("Should return correct string representation after decoding") void shouldReturnCorrectStringAfterDecoding() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(24); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
response = new Smb2QueryInfoResponse(mockConfig, infoType, infoClass); assertNotNull(response); assertNull(response.getInfo()); // Should be null before decoding } @Test @DisplayName("Test getInfo returns decoded information") void testGetInfo() throws Exception { response = new Smb2QueryInfoResponse(mockConfig, (byte) 1, (byte) 2);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
void testGetNextCommandOffset() { assertEquals(0, testMessage.getNextCommandOffset()); } } @Nested @DisplayName("Error Response Decoding Tests") class ErrorResponseDecodingTests { @Test @DisplayName("Should decode error response with correct structure size")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
assertTrue(result.contains("sectPerAlloc=0")); assertTrue(result.contains("bytesPerSect=0")); } @Test @DisplayName("Should return correct string representation after decoding") void shouldReturnCorrectStringAfterDecoding() throws SMBProtocolDecodingException { // Given ByteBuffer buffer = ByteBuffer.allocate(32); buffer.order(ByteOrder.LITTLE_ENDIAN);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} assertArrayEquals(salt, Arrays.copyOfRange(buffer, 4 + (2 * algoCount), 4 + (2 * algoCount) + 2)); } } @Nested @DisplayName("Decoding Tests") class DecodingTests { @Test @DisplayName("Should decode single hash algorithm with salt") void testDecodeSingleHashAlgoWithSalt() throws SMBProtocolDecodingException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
} /** * Writes a string to the destination buffer with specified encoding. * * @param str the string to write * @param dst the destination buffer * @param dstIndex the starting offset in the buffer * @param unicode true to use Unicode encoding, false for OEM encoding * @return the number of bytes written */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 38.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
static final InetAddress[] NBNS = Config.getInetAddressArray("jcifs.smb1.netbios.wins", ",", new InetAddress[0]); /* Construct the shared static client object that will * conduct all encoding and decoding of NetBIOS name service * messages as well as socket IO in a synchronized fashon. */ private static final NameServiceClient CLIENT = new NameServiceClient();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0)