Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 193 for Reserved (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                byte[] buffer = createValidWriteResponse(1024, 512);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead); // Structure size + reserved (4) + count (4) + remaining (4) + channel info (4)
                assertEquals(1024, response.getCount());
                assertEquals(512, response.getRemaining());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            // dataDisplacement (4 bytes)
            SMBUtil.writeInt4(0, buffer, bufferIndex + 31);
    
            // setupCount (1 byte) + 1 reserved byte
            buffer[bufferIndex + 35] = 0x00; // setupCount = 0
            buffer[bufferIndex + 36] = 0x00; // reserved
    
            int bytesRead = response.readParameterWordsWireFormat(buffer, bufferIndex);
    
            // Verify the correct number of bytes were read (37 bytes total)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBUtil.writeInt2(4, buffer, 0);
            // Write reserved field (any value is acceptable)
            buffer[2] = (byte) byte2;
            buffer[3] = (byte) byte3;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[12] = 0x00;
            buffer[13] = 0x00;
    
            // Signature (8 bytes)
            for (int i = 14; i < 22; i++) {
                buffer[i] = 0x00;
            }
    
            // Reserved (2 bytes)
            buffer[22] = 0x00;
            buffer[23] = 0x00;
    
            // TID (2 bytes)
            buffer[24] = 0x01;
            buffer[25] = 0x00;
    
            // PID (2 bytes)
            buffer[26] = 0x02;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. cmd/generic-handlers.go

    )
    
    // ReservedMetadataPrefix is the prefix of a metadata key which
    // is reserved and for internal use only.
    const (
    	ReservedMetadataPrefix      = "X-Minio-Internal-"
    	ReservedMetadataPrefixLower = "x-minio-internal-"
    )
    
    // containsReservedMetadata returns true if the http.Header contains
    // keys which are treated as metadata but are reserved for internal use
    // and must not set by clients
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.7K bytes
    - Viewed (1)
  6. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            @Test
            @DisplayName("Should correctly parse reserved fields")
            void testReservedFieldsAreSkipped() throws Exception {
                byte[] buffer = new byte[64];
    
                // Structure with specific values in reserved fields
                SMBUtil.writeInt2(24, buffer, 0);
                buffer[2] = 0x01; // Oplock level
                buffer[3] = (byte) 0xAA; // Reserved byte
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            ci += 4;
            SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset
            SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength
            ci += 4;
            // Reserved (2) + DataOffset (2)
            // Put data at offset 0x20
            SMBUtil.writeInt2(0, ctx, ci); // Reserved
            SMBUtil.writeInt2(0x20, ctx, ci + 2); // DataOffset
            ci += 4;
            SMBUtil.writeInt4(8, ctx, ci); // DataLength
            ci += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            // Offset 7: Reserved (1 byte)
            assertEquals(8, bytesWritten);
    
            // Check completion filter
            assertEquals(0x12345678, SMBUtil.readInt4(dst, 10));
    
            // Check FID
            assertEquals(0xABCD, SMBUtil.readInt2(dst, 14));
    
            // Check watch tree flag
            assertEquals(0x01, dst[16]);
    
            // Check reserved byte is zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                // The implementation skips 4 reserved bytes without writing zeros
                // This is consistent with the actual implementation behavior
                // The reserved bytes remain as they were in the buffer
                for (int i = 0; i < 4; i++) {
                    assertEquals((byte) 0xFF, buffer[startIndex + SOURCE_KEY_SIZE + 4 + i],
                            "Reserved byte at position " + i + " should remain unchanged");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE);
    
            byte[] buffer = new byte[100];
            buffer[0] = 1; // replaceIfExists = true
            // Skip 7 reserved bytes (1-7)
            // Skip 8 bytes for RootDirectory (8-15)
            SMBUtil.writeInt4(nameBytes.length, buffer, 16);
            System.arraycopy(nameBytes, 0, buffer, 20, nameBytes.length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top