Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 328 for 0x0B (0.15 sec)

  1. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

                    new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
    
            Smb2LeaseKey key = new Smb2LeaseKey(originalBytes);
            byte[] retrievedKey = key.getKey();
    
            // Modify the retrieved key
            retrievedKey[0] = (byte) 0xFF;
    
            // Original key should remain unchanged
            assertEquals(0x01, key.getKey()[0]);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    		0x07, 0x00, 0x00, 0x00, 0x07, 0x00, 0x00, 0x00,
    		0x50, 0x4b, 0x01, 0x02, 0x14, 0x03, 0x14, 0x00,
    		0x08, 0x00, 0x00, 0x00, 0x6b, 0xb4, 0xba, 0x46,
    		0x1d, 0x88, 0x77, 0xb0, 0x07, 0x00, 0x00, 0x00,
    		0x07, 0x00, 0x00, 0x00, 0x03, 0x00, 0x18, 0x00,
    		0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    		0xa0, 0x81, 0x00, 0x00, 0x00, 0x00, 0xca, 0x64,
    		0x55, 0x75, 0x78, 0x0b, 0x00, 0x50, 0x4b, 0x05,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 56.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/hash/SipHashFunctionTest.java

      public void testCollisionsDueToIncorrectSignExtension() {
        byte[] col1 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x80};
        byte[] col2 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0x81};
        byte[] col3 = new byte[] {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, (byte) 0xff};
    
        ImmutableSet<HashCode> hashCodes =
            ImmutableSet.of(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

         * The constructor should only use the first 8/32 bytes.
         */
        @Test
        void testAvSingleHostCustomDataMachineIdConstructor_LongerInputs() {
            byte[] customData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A }; // Longer than 8
            byte[] machineId = new byte[40]; // Longer than 32
            for (int i = 0; i < 40; i++) {
                machineId[i] = (byte) i;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            void testSizeWithMultipleHashAlgosAndSalt() {
                int[] hashAlgos = { 0x01, 0x02, 0x03 };
                byte[] salt = { 0x01, 0x02, 0x03, 0x04, 0x05 };
                PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                assertEquals(15, context.size());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/HMACT64Test.java

            // instead of being hashed when it exceeds the block size.
    
            byte[] key = { (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b,
                    (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b, (byte) 0x0b };
            byte[] data = "Hi There".getBytes();
    
            // Calculate expected HMACT64 result manually
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

        private Smb2LeaseKey testKey;
        private int testState;
    
        @BeforeEach
        void setUp() {
            byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 };
            testKey = new Smb2LeaseKey(keyBytes);
            testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;
            leaseContext = new LeaseV1CreateContextRequest(testKey, testState);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                context = new PreauthIntegrityNegotiateContext();
                byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos
                        0x04, 0x00, // 4 bytes salt
                        0x01, 0x00, // SHA512
                        0x02, 0x00, // Another hash algo
                        0x0A, 0x0B, 0x0C, 0x0D // Salt
                };
    
                // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

            void testDcerpcFirstFrag() {
                assertEquals(0x01, DcerpcConstants.DCERPC_FIRST_FRAG, "DCERPC_FIRST_FRAG should be 0x01");
            }
    
            @Test
            @DisplayName("DCERPC_LAST_FRAG should have correct value")
            void testDcerpcLastFrag() {
                assertEquals(0x02, DcerpcConstants.DCERPC_LAST_FRAG, "DCERPC_LAST_FRAG should be 0x02");
            }
    
            @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)
  10. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[8] = 0x01; // Revision
            testBuffer[9] = 0x01; // Sub-authority count
            testBuffer[10] = 0x00; // Identifier authority
            testBuffer[11] = 0x00;
            testBuffer[12] = 0x00;
            testBuffer[13] = 0x00;
            testBuffer[14] = 0x00;
            testBuffer[15] = 0x01;
            testBuffer[16] = 0x00; // Sub-authority
            testBuffer[17] = 0x00;
            testBuffer[18] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top