Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 254 for 0x41 (0.01 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

    abstract class NameServicePacket {
    
        // 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServicePacket.java

    abstract class NameServicePacket {
    
        // 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

                }
            };
    
            // Test the concrete implementation
            concreteBlock.setMid(555L);
            assertEquals(555L, concreteBlock.getMid());
    
            concreteBlock.setCommand(0x42);
            assertEquals(0x42, concreteBlock.getCommand());
    
            concreteBlock.setDigest(digest);
            assertEquals(digest, concreteBlock.getDigest());
    
            concreteBlock.setResponse(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            byte[] base = buildCreateBodyNoContexts((byte) 1, (byte) 2, 3, 1000L, 2000L, 3000L, 4000L, 512L, 1024L, 0x20, fileId);
    
            // Create a simple context entry
            byte[] ctx = new byte[0x40];
            int ci = 0;
            SMBUtil.writeInt4(0, ctx, ci); // Next = 0 (only one)
            ci += 4;
            SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset
            SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

         */
        public static final int SMB2_SHARE_CAP_SCALEOUT = 0x20;
    
        /**
         * Share capability indicating cluster support.
         */
        public static final int SMB2_SHARE_CAP_CLUSTER = 0x40;
    
        /**
         * Share capability indicating asymmetric support.
         */
        public static final int SMB2_SHARE_CAP_ASYMMETRIC = 0x80;
        private byte shareType;
        private int shareFlags;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top