Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for 0x13 (0.03 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            void testRpcPtAck() {
                assertEquals(0x13, DcerpcConstants.RPC_PT_ACK, "RPC_PT_ACK should be 0x13");
            }
    
            @Test
            @DisplayName("RPC_PT_REJECT should have correct value")
            void testRpcPtReject() {
                assertEquals(0x14, DcerpcConstants.RPC_PT_REJECT, "RPC_PT_REJECT should be 0x14");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcConstants.java

         */
        int RPC_PT_SHUTDOWN = 0x11;
        /**
         * Cancel packet type
         */
        int RPC_PT_CANCEL = 0x12;
        /**
         * Acknowledgment packet type
         */
        int RPC_PT_ACK = 0x13;
        /**
         * Reject packet type
         */
        int RPC_PT_REJECT = 0x14;
        /**
         * Connection-oriented cancel packet type
         */
        int RPC_PT_CO_CANCEL = 0x15;
        /**
         * Orphaned packet type
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        void testEquals() {
            byte[] testBytes1 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            byte[] testBytes2 = Arrays.copyOf(testBytes1, 16);
            byte[] testBytes3 = new byte[] { 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x1F, 0x20 };
    
            Smb2LeaseKey key1 = new Smb2LeaseKey(testBytes1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(dst.length, n);
    
            // resumeKey (LE) at offset 6..9 should be 0x11121314 -> 14 13 12 11
            assertEquals((byte) 0x14, dst[6]);
            assertEquals((byte) 0x13, dst[7]);
            assertEquals((byte) 0x12, dst[8]);
            assertEquals((byte) 0x11, dst[9]);
    
            // filename content
            byte[] nameBytes = updatedName.getBytes();
            for (int i = 0; i < nameBytes.length; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.readOctetArray(destData, 1, 3); // Read 0x10, 0x11, 0x12 into destData[1-3]
    
            assertEquals(3, ndrBuffer.getIndex());
            assertEquals(0x00, destData[0]);
            assertEquals(0x10, destData[1]);
            assertEquals(0x11, destData[2]);
            assertEquals(0x12, destData[3]);
            assertEquals(0x00, destData[4]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            }
    
            // MAC address
            int macOffset = srcIndex + 1 + (18 * numNames);
            byte[] testMac = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 };
            System.arraycopy(testMac, 0, src, macOffset, 6);
    
            // Statistics
            byte[] stats = { 0x10, 0x11, 0x12, 0x13, 0x14, 0x15 };
            System.arraycopy(stats, 0, src, macOffset + 6, 6);
    
            int result = response.readRDataWireFormat(src, srcIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            byte[] customData = new byte[8];
            customData[0] = 0x01;
            customData[1] = 0x02;
    
            byte[] machineId = new byte[32];
            machineId[0] = 0x10;
            machineId[1] = 0x11;
            machineId[2] = 0x12;
    
            AvSingleHost avSingleHost = new AvSingleHost(customData, machineId);
    
            assertNotNull(avSingleHost);
            byte[] value = avSingleHost.getRaw();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

            assertEquals(0x10, smbComOpenAndX.openFunction); // OPEN_FN_CREATE | OPEN_FN_FAIL_IF_EXISTS
        }
    
        /**
         * Test constructor with O_CREAT flag.
         */
        @Test
        void testConstructor_CreateAndOpen() {
            int flags = SmbFile.O_CREAT;
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServicePacketTest.java

            NameServicePacket.writeInt2(0x1234, dst, 0);
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
        }
    
        @Test
        void testWriteInt4() {
            byte[] dst = new byte[4];
            NameServicePacket.writeInt4(0x12345678, dst, 0);
            assertEquals((byte) 0x12, dst[0]);
            assertEquals((byte) 0x34, dst[1]);
            assertEquals((byte) 0x56, dst[2]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbConstantsTest.java

            assertEquals(0x03, readOnlyHidden);
        }
    
        @Test
        @DisplayName("Should validate access mask combinations")
        void testAccessMaskCombinations() {
            // Test common access combinations
            int readWriteAccess = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA;
            assertEquals(0x03, readWriteAccess);
    
            int fullFileAccess =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
Back to top