- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testDecodeWithNonZeroBufferIndex (0.97 sec)
-
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
assertEquals(20 + nameBytes.length, bytesRead); } @Test @DisplayName("Test decode with non-zero buffer index") void testDecodeWithNonZeroBufferIndex() throws SMBProtocolDecodingException { String originalFileName = "file.txt"; byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
// The decode method returns only the header size (16 bytes)\n assertEquals(16, bytesDecoded); } @Test @DisplayName("Test decode with non-zero buffer index") void testDecodeWithNonZeroBufferIndex() throws SMBProtocolDecodingException { // Prepare test data with offset int offset = 10; byte[] buffer = new byte[34]; // 10 offset + 16 header + 8 data int bufferIndex = offset;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)