Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,386 for Byte (0.01 sec)

  1. src/main/java/jcifs/smb1/util/HMACT64.java

        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
        private byte[] opad = new byte[BLOCK_LENGTH];
    
        /**
         * Creates an HMACT64 instance which uses the given secret key material.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/HMACT64.java

        private static final int BLOCK_LENGTH = 64;
    
        private static final byte IPAD = (byte) 0x36;
    
        private static final byte OPAD = (byte) 0x5c;
    
        private final MessageDigest md5;
    
        private byte[] ipad = new byte[BLOCK_LENGTH];
    
        private byte[] opad = new byte[BLOCK_LENGTH];
    
        /**
         * Creates an HMACT64 instance which uses the given secret key material.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            byte[] data = new byte[] { (byte) 0xF0, (byte) 0xDE, (byte) 0xBC, (byte) 0x9A, 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            assertEquals(0x123456789ABCDEF0L, pdis.readLong());
        }
    
        @Test
        public void testReadUnsignedByte() throws IOException {
            byte[] data = new byte[] { (byte) 0xFF };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static final byte[] header = { (byte) 0xFF, (byte) 'S', (byte) 'M', (byte) 'B', (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00,
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            setByteCount(response, byteCountValue);
            byte[] buffer = new byte[byteCountValue];
            byte[] guid = new byte[16];
            for (int i = 0; i < 16; i++) {
                guid[i] = (byte) i;
            }
            System.arraycopy(guid, 0, buffer, 0, 16);
            byte[] token = new byte[10];
            for (int i = 0; i < 10; i++) {
                token[i] = (byte) (i + 16);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

         */
        private static byte[] decryptRC4(byte[] data, Key key) throws GeneralSecurityException, NoSuchAlgorithmException,
                NoSuchPaddingException, InvalidKeyException, IllegalBlockSizeException, BadPaddingException {
            Cipher cipher;
            byte[] decrypt;
            byte[] code = new byte[4];
            Encdec.enc_uint32le(2, code, 0);
            byte[] codeHmac = getHmac(code, key.getEncoded());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/Kerb5ContextTest.java

        // Format: TOK_ID(2 bytes) | OID_LEN(2 bytes) | OID_DER | NAME_LEN(4 bytes) | NAME(bytes)
        private static byte[] buildExportName(Oid mech, String name) throws GSSException {
            byte[] der = mech.getDER();
            byte[] nb = name.getBytes();
            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            assertEquals(0, dst[1]);
    
            // Verify descriptor (WrLehDO\0B16BBDz\0 in ASCII)
            String expectedDescr = "WrLehDO\u0000B16BBDz\u0000";
            byte[] expectedDescrBytes = expectedDescr.getBytes("ASCII");
            byte[] actualDescrBytes = new byte[expectedDescrBytes.length];
            System.arraycopy(dst, 2, actualDescrBytes, 0, expectedDescrBytes.length);
            assertArrayEquals(expectedDescrBytes, actualDescrBytes);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  9. src/bytes/iter.go

    // Lines returns an iterator over the newline-terminated lines in the byte slice s.
    // The lines yielded by the iterator include their terminating newlines.
    // If s is empty, the iterator yields no lines at all.
    // If s does not end in a newline, the final yielded line will not end in a newline.
    // It returns a single-use iterator.
    func Lines(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		for len(s) > 0 {
    			var line []byte
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

                buffer[2] = 0x01; // Oplock level
                buffer[3] = (byte) 0xAA; // Reserved byte
    
                // Reserved2 field (4 bytes at offset 4)
                buffer[4] = (byte) 0xBB;
                buffer[5] = (byte) 0xCC;
                buffer[6] = (byte) 0xDD;
                buffer[7] = (byte) 0xEE;
    
                byte[] fileId = createTestData(16);
                System.arraycopy(fileId, 0, buffer, 8, 16);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top