- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 1,193 for decoding (0.05 sec)
-
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
assertThrows(RuntimeCIFSException.class, () -> { testBlock.readStringLength(buffer, 0, 3); }); } } @Nested @DisplayName("Encoding and Decoding Tests") class EncodingDecodingTests { @BeforeEach void setup() { testBlock = new TestServerMessageBlock(mockConfig); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
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/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) -
cmd/streaming-signature-v4.go
// lineTooLong is generated as chunk header is bigger than 4KiB. var errLineTooLong = errors.New("header line too long") // malformed encoding is generated when chunk header is wrongly formed. var errMalformedEncoding = errors.New("malformed chunked encoding") // chunk is considered too big if its bigger than > 16MiB. var errChunkTooBig = errors.New("chunk too big: choose chunk size <= 16MiB")
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 18.2K 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/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/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/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)