Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 286 for 0x05 (0.02 sec)

  1. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

        class ToStringTests {
    
            @ParameterizedTest
            @DisplayName("Should format command name correctly")
            @ValueSource(shorts = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11,
                    0x12 })
            void testToStringCommandNames(short command) {
                testMessage.setCommand(command);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

         */
        @Test
        @DisplayName("Test byte array fields (encryptionKey and guid)")
        public void testByteArrayFields() {
            // Test encryptionKey
            byte[] key = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            serverData.encryptionKey = key;
            assertNotNull(serverData.encryptionKey);
            assertArrayEquals(key, serverData.encryptionKey);
    
            // Test with empty array
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K 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/smb1/smb1/SmbComTransactionTest.java

        void testSubcommandConstants() {
            // Test Trans2 subcommands
            assertEquals((byte) 0x01, SmbComTransaction.TRANS2_FIND_FIRST2);
            assertEquals((byte) 0x02, SmbComTransaction.TRANS2_FIND_NEXT2);
            assertEquals((byte) 0x03, SmbComTransaction.TRANS2_QUERY_FS_INFORMATION);
            assertEquals((byte) 0x05, SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

        private static final int PRIMARY_SETUP_OFFSET = 61;
        private static final int SECONDARY_PARAMETER_OFFSET = 51;
    
        static final int DISCONNECT_TID = 0x01;
        static final int ONE_WAY_TRANSACTION = 0x02;
    
        static final int PADDING_SIZE = 4;
    
        private final int tflags = 0x00;
        private int pad1 = 0;
        private int pad2 = 0;
        private boolean hasMore = true;
        private boolean isPrimary = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                byte[] b = inv.getArgument(0);
                int off = inv.getArgument(1);
                b[off] = 0x01;
                b[off + 1] = 0x02;
                b[off + 2] = 0x03;
                b[off + 3] = 0x04;
                b[off + 4] = 0x05;
                b[off + 5] = 0x06;
                b[off + 6] = 0x07;
                b[off + 7] = 0x08;
                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        static final byte TRANS2_FIND_FIRST2 = (byte) 0x01;
        static final byte TRANS2_FIND_NEXT2 = (byte) 0x02;
        static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;
        static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05;
        static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10;
        static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08;
    
        static final int NET_SHARE_ENUM = 0x0000;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/ASN1UtilTest.java

            // Tag [1] IMPLICIT, content is 0x01 0x02 0x03
            byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 };
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            ASN1InputStream ais = new ASN1InputStream(bais);
            byte[] result = ASN1Util.readUnparsedTagged(1, 10, ais);
            assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top