Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 288 for 0x04 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.tid = 789;
            smb.uid = 101;
            smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            smb.useUnicode = true;
    
            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
            byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
            smb.setParamWords(params);
            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
            int length = smb.encode(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(FILE_NOTIFY_CHANGE_ATTRIBUTES, SMBUtil.readInt4(dst3, 0));
    
            // Verify watch tree flags
            assertEquals(0x00, dst1[6]);
            assertEquals(0x01, dst2[6]);
            assertEquals(0x00, dst3[6]);
        }
    
        @Test
        @DisplayName("Test setup count initialization")
        void testSetupCountInitialization() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            // Owner SID with 3 sub-authorities (S-1-5-21-X-Y-Z)
            testBuffer[20] = 0x01; // revision
            testBuffer[21] = 0x03; // sub-authority count
            testBuffer[22] = 0x00; // identifier authority
            testBuffer[23] = 0x00;
            testBuffer[24] = 0x00;
            testBuffer[25] = 0x00;
            testBuffer[26] = 0x00;
            testBuffer[27] = 0x05;
            SMBUtil.writeInt4(21, testBuffer, 28); // sub-authority 1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FileInformationTest.java

        void testFileInformationConstantsMatchProtocol() {
            // These values are defined in MS-FSCC specification
            assertEquals(0x04, FileInformation.FILE_BASIC_INFO);
            assertEquals(0x05, FileInformation.FILE_STANDARD_INFO);
            assertEquals(0x06, FileInformation.FILE_INTERNAL_INFO);
            assertEquals(10, FileInformation.FILE_RENAME_INFO);
            assertEquals(20, FileInformation.FILE_ENDOFFILE_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        private Smb2SessionSetupRequest request;
    
        // Test constants
        private static final int TEST_SECURITY_MODE = 0x01;
        private static final int TEST_CAPABILITIES = 0x00000001;
        private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL;
        private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        void testWithVariousAttributeFlags() {
            // Test common file attribute combinations
            int[] attributeFlags = { 0x01, // FILE_ATTRIBUTE_READONLY
                    0x02, // FILE_ATTRIBUTE_HIDDEN
                    0x04, // FILE_ATTRIBUTE_SYSTEM
                    0x10, // FILE_ATTRIBUTE_DIRECTORY
                    0x20, // FILE_ATTRIBUTE_ARCHIVE
                    0x80, // FILE_ATTRIBUTE_NORMAL
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/DES.java

            }
    
            return clearText;
        }
    
        // Tables, permutations, S-boxes, etc.
    
        private static byte[] bytebit =
                { (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01 };
        private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        @Test
        @DisplayName("Multiple reads update offset correctly")
        void testMultipleReadsUpdateOffset() {
            byte[] buffer1 = new byte[] { 0x10, 0x00, 0x00, 0x00 }; // 16
            byte[] buffer2 = new byte[] { 0x20, 0x00, 0x00, 0x00 }; // 32
    
            response.readParameterWordsWireFormat(buffer1, 0);
            assertEquals(16L, response.getOffset(), "First read should set offset to 16");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/ACETest.java

                assertEquals(0x01, ACE.FLAGS_OBJECT_INHERIT, "FLAGS_OBJECT_INHERIT should be 0x01");
                assertEquals(0x02, ACE.FLAGS_CONTAINER_INHERIT, "FLAGS_CONTAINER_INHERIT should be 0x02");
                assertEquals(0x04, ACE.FLAGS_NO_PROPAGATE, "FLAGS_NO_PROPAGATE should be 0x04");
                assertEquals(0x08, ACE.FLAGS_INHERIT_ONLY, "FLAGS_INHERIT_ONLY should be 0x08");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testSMBCommandConstants() {
                assertEquals((byte) 0x00, ServerMessageBlock.SMB_COM_CREATE_DIRECTORY);
                assertEquals((byte) 0x01, ServerMessageBlock.SMB_COM_DELETE_DIRECTORY);
                assertEquals((byte) 0x04, ServerMessageBlock.SMB_COM_CLOSE);
                assertEquals((byte) 0x06, ServerMessageBlock.SMB_COM_DELETE);
                assertEquals((byte) 0x07, ServerMessageBlock.SMB_COM_RENAME);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
Back to top