Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 248 for 0x41 (0.01 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            }
        }
    
        /* --- flag handling -------------------------------- */
        @Test
        void testFlagSetAndUnset() {
            TestMessage m = new TestMessage();
            int FLAG_A = 0x01;
            int FLAG_B = 0x02;
            assertFalse(m.isFlagSet(FLAG_A));
            m.setFlag(FLAG_A);
            assertTrue(m.isFlagSet(FLAG_A));
            // unset correctly removes the flag
            m.unsetFlag(FLAG_A);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Encryption capability should be 0x40")
            void testGlobalCapEncryption() {
                assertEquals(0x40, Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION, "Encryption capability must be 0x40");
            }
    
            @Test
            @DisplayName("All capability flags should be unique powers of 2")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/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
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

        class ToStringTests {
    
            @Test
            @DisplayName("toString with valid data produces expected format")
            void testToStringWithValidData() {
                byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("SERVER123");
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
                    Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 }));
        }
    
        /**
         * When lastWriteTime is zero the encoded unsigned time must be all 1s.
         */
        @Test
        @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test setInfoType method")
        void testSetInfoType() {
            request = new Smb2SetInfoRequest(mockConfig);
            byte testInfoType = (byte) 0x01;
    
            request.setInfoType(testInfoType);
    
            // Verify info type was set
            Field infoTypeField;
            try {
                infoTypeField = Smb2SetInfoRequest.class.getDeclaredField("infoType");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java

            // Test successful reading of 6 bytes from the input stream.
            // The content of these bytes is not critical for this test, only that 6 bytes are read.
            byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes
            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

        void testBufferManagement() {
            byte[] buffer = new byte[1024];
            buffer[0] = 0x42;
            buffer[1] = 0x43;
    
            response.setBuffer(buffer);
    
            byte[] released = response.releaseBuffer();
            assertSame(buffer, released);
            assertEquals(0x42, released[0]);
            assertEquals(0x43, released[1]);
    
            // After release, getting buffer again should return null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. 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)
Back to top