Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 325 for 0x01 (0.04 sec)

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

            assertEquals((byte) (0x80 | 0x10 | NameServicePacket.FMT_ERR), dst[3]); // flags2
            assertEquals((byte) 0x00, dst[4]); // questionCount
            assertEquals((byte) 0x01, dst[5]);
            assertEquals((byte) 0x00, dst[6]); // answerCount
            assertEquals((byte) 0x02, dst[7]);
            assertEquals((byte) 0x00, dst[8]); // authorityCount
    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/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                request.setOffset(1000L);
                request.setRemainingBytes(500);
                request.setWriteFlags(0x01);
    
                // Update parameters
                request.setData(new byte[200], 0, 200);
                request.setOffset(2000L);
                request.setRemainingBytes(1000);
                request.setWriteFlags(0x02);
    
                // Update file ID
                byte[] newFileId = new byte[16];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        void testFileInformationClassConstants() {
            assertEquals(0x01, Smb2QueryDirectoryRequest.FILE_DIRECTORY_INFO);
            assertEquals(0x02, Smb2QueryDirectoryRequest.FILE_FULL_DIRECTORY_INFO);
            assertEquals(0x03, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
            assertEquals(0x0C, Smb2QueryDirectoryRequest.FILE_NAMES_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/rpcTest.java

                policyHandle.uuid.clock_seq_hi_and_reserved = (byte) 0x44;
                policyHandle.uuid.clock_seq_low = (byte) 0x55;
                policyHandle.uuid.node = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04, (byte) 0x05, (byte) 0x06 };
    
                when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
    
                // When: Encoding the policy handle
                policyHandle.encode(mockNdrBuffer);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java

         */
        int DCERPC_FIRST_FRAG = 0x01; /* First fragment */
        /**
         * Last fragment flag - indicates last fragment of a multi-fragment message
         */
        int DCERPC_LAST_FRAG = 0x02; /* Last fragment */
        /**
         * Pending cancel flag - indicates cancel was pending at sender
         */
        int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test createResponse method")
        void testCreateResponse() {
            request = new Smb2QueryInfoRequest(mockConfig);
            request.setInfoType((byte) 0x01);
            request.setFileInfoClass((byte) 0x04);
    
            Smb2QueryInfoResponse response = request.createResponse(mockContext, request);
    
            assertNotNull(response);
            verify(mockContext, times(1)).getConfig();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                byte[] b = inv.getArgument(0);
                int off = inv.getArgument(1);
                b[off] = 0x01;
                b[off + 1] = 0x02;
                b[off + 2] = 0x03;
                b[off + 3] = 0x04;
                b[off + 4] = 0x05;
                b[off + 5] = 0x06;
                b[off + 6] = 0x07;
                b[off + 7] = 0x08;
                return 8;
            }).when(raf).read(any(byte[].class), anyInt(), eq(8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/util/DES.java

            return clearText;
        }
    
        // Tables, permutations, S-boxes, etc.
    
        private static byte[] bytebit =
                { (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01 };
        private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  9. lib/fips140/v1.0.0.zip

    crypto/internal/fips140/aes. fips140.CAST("CounterKDF", func() error { key := []byte{ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, } context := [12]byte{ 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27, 0x28, 0x29, 0x2a, 0x2b, 0x2c, } want := [32]byte{ 0xe6, 0x86, 0x96, 0x97, 0x08, 0xfc, 0x90, 0x30, 0x36, 0x1c, 0x65, 0x94, 0xb2, 0x62, 0xa5, 0xf7, 0xcb, 0x9d, 0x93, 0x94, 0xda, 0xf1, 0x94, 0x09, 0x6a, 0x27, 0x5e, 0x85, 0x22, 0x5e, 0x7a, 0xee, } b, err := aes.New(key)...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

        @Test
        @DisplayName("Test writeBytesWireFormat method")
        void testWriteBytesWireFormat() {
            request = new Smb2SetInfoRequest(mockConfig, testFileId);
            request.setInfoType((byte) 0x01);
            request.setFileInfoClass((byte) 0x04);
            request.setAdditionalInformation(0x12345678);
    
            Encodable mockInfo = mock(Encodable.class);
            when(mockInfo.encode(any(byte[].class), anyInt())).thenReturn(20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
Back to top