Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 244 for 0x61 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        @Test
        @DisplayName("Test constructor initialization with command and subcommand")
        void testConstructorWithCommandAndSubcommand() {
            byte command = (byte) 0x25;
            byte subcommand = (byte) 0x01;
            TestSmbComTransactionResponse resp = new TestSmbComTransactionResponse(mockConfig, command, subcommand);
            assertNotNull(resp);
            assertEquals(command, resp.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        // opcode
        static final int QUERY = 0;
        static final int WACK = 7;
    
        // rcode
        static final int FMT_ERR = 0x1;
        static final int SRV_ERR = 0x2;
        static final int IMP_ERR = 0x4;
        static final int RFS_ERR = 0x5;
        static final int ACT_ERR = 0x6;
        static final int CFT_ERR = 0x7;
    
        // type/class
        static final int NB_IN = 0x00200001;
        static final int NBSTAT_IN = 0x00210001;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServicePacket.java

        // opcode
        static final int QUERY = 0;
        static final int WACK = 7;
    
        // rcode
        static final int FMT_ERR = 0x1;
        static final int SRV_ERR = 0x2;
        static final int IMP_ERR = 0x4;
        static final int RFS_ERR = 0x5;
        static final int ACT_ERR = 0x6;
        static final int CFT_ERR = 0x7;
    
        // type/class
        static final int NB_IN = 0x00200001;
        static final int NBSTAT_IN = 0x00210001;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

    public class AvFlagsTest {
    
        /**
         * Test constructor with raw bytes.
         */
        @Test
        void testAvFlagsByteArrayConstructor() {
            // Test with a positive integer
            byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian)
            AvFlags avFlags = new AvFlags(rawBytes);
            assertNotNull(avFlags, "AvFlags object should not be null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                sid = readInt2(buffer, bufferIndex);
                bufferIndex += 2;
            }
            numEntries = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            isEndOfSearch = ((buffer[bufferIndex] & 0x01) == 0x01) == true;
            bufferIndex += 2;
            eaErrorOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            lastNameOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/NegTokenTargTest.java

        }
    
        @Test
        @DisplayName("parsing malformed token throws IOException")
        void testMalformedToken() {
            byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object
            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

        }
    
        /**
         * Test file attribute constants.
         */
        @Test
        @DisplayName("File attribute constants are correct")
        void fileAttributesTest() {
            assertEquals(0x01, SmbConstants.ATTR_READONLY);
            assertEquals(0x02, SmbConstants.ATTR_HIDDEN);
            assertEquals(0x04, SmbConstants.ATTR_SYSTEM);
            assertEquals(0x08, SmbConstants.ATTR_VOLUME);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            @DisplayName("Should write request structure correctly")
            void testWriteBytesWireFormat() {
                // Setup
                request.setPadding((byte) 2);
                request.setReadFlags((byte) 0x01);
                request.setReadLength(4096);
                request.setOffset(8192L);
                request.setMinimumCount(512);
                request.setRemainingBytes(1024);
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/DES.java

         */
        public static void makeSMBKey(final byte[] key7, final byte[] key8) {
    
            int i;
    
            key8[0] = (byte) (key7[0] >> 1 & 0xff);
            key8[1] = (byte) (((key7[0] & 0x01) << 6 | (key7[1] & 0xff) >> 2 & 0xff) & 0xff);
            key8[2] = (byte) (((key7[1] & 0x03) << 5 | (key7[2] & 0xff) >> 3 & 0xff) & 0xff);
            key8[3] = (byte) (((key7[2] & 0x07) << 4 | (key7[3] & 0xff) >> 4 & 0xff) & 0xff);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java

            // Mock times (8 bytes each)
            for (int i = 0; i < 32; i++) {
                buffer[i] = (byte) (i % 256);
            }
    
            // Mock attributes (4 bytes)
            buffer[32] = 0x01;
            buffer[33] = 0x00;
            buffer[34] = 0x00;
            buffer[35] = 0x00;
    
            return buffer;
        }
    
        private byte[] createMockFileStandardInfoBuffer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top