Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for 0x7f (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

            void testMaximumHashAlgoValues() throws SMBProtocolDecodingException {
                int[] hashAlgos = { 0xFFFF, 0x0000, 0x7FFF };
                byte[] salt = { (byte) 0xFF, 0x00, 0x7F };
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                int encoded = originalContext.encode(buffer, 0);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/PacMacTest.java

            verifyNfold("password", 7,
                    new byte[] { (byte) 0x78, (byte) 0xa0, (byte) 0x7b, (byte) 0x6c, (byte) 0xaf, (byte) 0x85, (byte) 0xfa });
    
            // 64-fold("Rough Consensus, and Running Code")
            verifyNfold("Rough Consensus, and Running Code", 8,
                    new byte[] { (byte) 0xbb, (byte) 0x6e, (byte) 0xd3, (byte) 0x08, (byte) 0x70, (byte) 0xb7, (byte) 0xf0, (byte) 0xe0 });
    
            // 64-fold("kerberos")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Huffman.kt

          0x5,
          0x25,
          0x26,
          0x27,
          0x6,
          0x74,
          0x75,
          0x28,
          0x29,
          0x2a,
          0x7,
          0x2b,
          0x76,
          0x2c,
          0x8,
          0x9,
          0x2d,
          0x77,
          0x78,
          0x79,
          0x7a,
          0x7b,
          0x7ffe,
          0x7fc,
          0x3ffd,
          0x1ffd,
          0xffffffc,
          0xfffe6,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test setCommand with various SMB command codes")
        void testSetCommandWithVariousCodes() {
            // Test common SMB command codes
            int[] commandCodes = { 0x00, 0x72, 0x73, 0x74, 0x75, 0xFF };
    
            for (int command : commandCodes) {
                doNothing().when(messageBlock).setCommand(command);
                when(messageBlock.getCommand()).thenReturn(command);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SecureCredentialStorage.java

                        i += 2;
                    } else {
                        break;
                    }
                } else if ((b & 0xF0) == 0xE0) {
                    // Three byte character
                    if (i + 2 < bytes.length) {
                        chars[charIndex++] = (char) (((b & 0x0F) << 12) | ((bytes[i + 1] & 0x3F) << 6) | (bytes[i + 2] & 0x3F));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/Encdec.java

                    }
                    uni[ui] = (char) ((ch & 0x0F) << 12);
                    ch = src[si] & 0xFF;
                    si++;
                    if ((ch & 0xC0) != 0x80) {
                        throw new IOException("Invalid UTF-8 sequence");
                    }
                    uni[ui] |= (ch & 0x3F) << 6;
                    ch = src[si++] & 0xFF;
                    uni[ui] |= ch & 0x3F;
                    if ((ch & 0xC0) != 0x80 || uni[ui] < 0x800) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java

        @Test
        @DisplayName("Should encode lease key to buffer")
        void testEncode() {
            byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB,
                    (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 };
    
            Smb2LeaseKey key = new Smb2LeaseKey(testBytes);
            byte[] buffer = new byte[20];
    
            key.encode(buffer, 2);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                assertEquals((byte) 0x2F, ServerMessageBlock.SMB_COM_WRITE_ANDX);
                assertEquals((byte) 0x32, ServerMessageBlock.SMB_COM_TRANSACTION2);
                assertEquals((byte) 0x34, ServerMessageBlock.SMB_COM_FIND_CLOSE2);
                assertEquals((byte) 0x71, ServerMessageBlock.SMB_COM_TREE_DISCONNECT);
                assertEquals((byte) 0x72, ServerMessageBlock.SMB_COM_NEGOTIATE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java

            assertEquals(60000L, context.getMaxCacheAge());
    
            context.setNotificationEnabled(false);
            assertFalse(context.isNotificationEnabled());
    
            context.setNotificationFilter(0xFF);
            assertEquals(0xFF, context.getNotificationFilter());
        }
    
        @Test
        public void testSize() {
            Smb2LeaseKey key = new Smb2LeaseKey();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         */
        public static final byte SMB_COM_TREE_DISCONNECT = (byte) 0x71;
    
        /**
         * SMB command to negotiate protocol dialect.
         */
        public static final byte SMB_COM_NEGOTIATE = (byte) 0x72;
    
        /**
         * SMB command to setup a session with extended attributes.
         */
        public static final byte SMB_COM_SESSION_SETUP_ANDX = (byte) 0x73;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
Back to top