Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 279 for 0x04 (0.87 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

        /**
         * Test that the constructor correctly initializes with a valid channel binding hash.
         */
        @Test
        void testConstructorWithValidHash() {
            byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
            AvChannelBindings avChannelBindings = new AvChannelBindings(testHash);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/MIENameTest.java

                    // Wrong TOK_ID
                    Arguments.of("wrong TOK_ID", new byte[] { 0x00, 0x02, 0x00, 0x01 }, IllegalArgumentException.class),
    
                    // OID length claims more than available
                    Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class),
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            // Then
            assertTrue(result > 0);
            assertEquals((byte) 0x04, dst[0]); // First buffer format byte
    
            // Find the second buffer format byte
            int secondBufferFormatIndex = oldFileName.length() + 2; // 1 for first 0x04, 1 for null terminator
            assertEquals((byte) 0x04, dst[secondBufferFormatIndex]);
        }
    
        /**
         * Test writeBytesWireFormat with Unicode encoding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int RPC_PT_REQUEST = 0x00;
        /**
         * Ping packet type
         */
        int RPC_PT_PING = 0x01;
        /**
         * Response packet type
         */
        int RPC_PT_RESPONSE = 0x02;
        /**
         * Fault packet type - indicates an error
         */
        int RPC_PT_FAULT = 0x03;
        /**
         * Bind packet type - establishes context
         */
        int RPC_PT_BIND = 0x0B;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java

        void testLeaseStateConstants() {
            assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE);
            assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING);
            assertEquals(0x02, Smb2LeaseState.SMB2_LEASE_HANDLE_CACHING);
            assertEquals(0x04, Smb2LeaseState.SMB2_LEASE_WRITE_CACHING);
            assertEquals(0x03, Smb2LeaseState.SMB2_LEASE_READ_HANDLE);
            assertEquals(0x05, Smb2LeaseState.SMB2_LEASE_READ_WRITE);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

        public static final int SMB2_LEASE_NONE = 0x00;
    
        /**
         * Read caching lease (R)
         */
        public static final int SMB2_LEASE_READ_CACHING = 0x01;
    
        /**
         * Handle caching lease (H)
         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
        public static final int SMB2_LEASE_WRITE_CACHING = 0x04;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbConstants.java

        /**
         * File is marked read-only
         */
        int ATTR_READONLY = 0x01;
        /**
         * File is marked hidden
         */
        int ATTR_HIDDEN = 0x02;
        /**
         * File is marked a system file
         */
        int ATTR_SYSTEM = 0x04;
        /**
         * File is marked a volume
         */
        int ATTR_VOLUME = 0x08;
        /**
         * File is a directory
         */
        int ATTR_DIRECTORY = 0x10;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            // total=4, unused=1, used=2, string="AB"
            byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total
                    0x01, 0x00, 0x00, 0x00, // unused
                    0x02, 0x00, 0x00, 0x00, // used
                    0x00, 0x00, // unused char
                    0x41, 0x00, // 'A'
                    0x42, 0x00 // 'B'
            };
            PacDataInputStream pdis = createInputStream(data);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            assertEquals(1 + expectedString.length + 1, used, "Expected exactly one command byte plus OEM string and NUL terminator");
            assertEquals(0x04, buffer[0] & 0xFF, "First byte must be SMB_COM_QUERY_INFORMATION type 0x04");
            // Verify that the string part ends with the null terminator
            assertArrayEquals(expectedString, subArray(buffer, 1, expectedString.length));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top