Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 238 for 0x71 (0.02 sec)

  1. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals((byte) 0x56, dst[2]);
            assertEquals((byte) 0x78, dst[3]);
        }
    
        @Test
        void testReadInt2() {
            byte[] src = { (byte) 0x12, (byte) 0x34 };
            assertEquals(0x1234, NameServicePacket.readInt2(src, 0));
        }
    
        @Test
        void testReadInt4() {
            byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56, (byte) 0x78 };
            assertEquals(0x12345678, NameServicePacket.readInt4(src, 0));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/pac/PacSignatureTest.java

        /**
         * Test constructor with malformed data (too short).
         */
        @Test
        void testConstructorMalformedData() {
            // Prepare data (only 2 bytes, less than an int)
            byte[] data = new byte[] { 0x01, 0x02 };
    
            // Verify that PACDecodingException is thrown
            assertThrows(PACDecodingException.class, () -> {
                new PacSignature(data);
            });
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java

    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    class Trans2FindFirst2 extends SmbComTransaction {
    
        // flags
    
        private static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01;
        private static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        private static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
        private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ACE.java

        /** Generic read permission */
        public static final int GENERIC_READ = 0x80000000; // 31
    
        /** Inheritance flag: child objects inherit this ACE */
        public static final int FLAGS_OBJECT_INHERIT = 0x01;
        /** Inheritance flag: child containers inherit this ACE */
        public static final int FLAGS_CONTAINER_INHERIT = 0x02;
        /** Inheritance flag: inheritance stops after one level */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            int readDataAvailable = Integer.MAX_VALUE;
            int numberOfMessages = Integer.MAX_VALUE;
            int messageLength = Integer.MAX_VALUE;
            byte[] testData = { 0x7F, 0x7F, 0x7F, 0x7F };
    
            // Write values to buffer
            SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
            SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
            // Act
            int result = nodeStatusRequest.readWireFormat(src, 0);
    
            // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java

     *
     * @author mbechler
     */
    public class Trans2FindFirst2 extends SmbComTransaction {
    
        // flags
    
        static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01;
        static final int FLAGS_CLOSE_IF_END_REACHED = 0x02;
        static final int FLAGS_RETURN_RESUME_KEYS = 0x04;
        static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08;
        static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NbtException.java

        public static final int SUCCESS = 0;
        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            request.setSecurityFlags((byte) 0x01);
            // Verify through writeBytesWireFormat
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
            assertEquals((byte) 0x01, buffer[2]);
        }
    
        @Test
        @DisplayName("Test oplock level setter")
        void testSetRequestedOplockLevel() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top