Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for readULong (0.16 sec)

  1. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            if (readULong(material, 8) != 1) {
                throw new IOException("Not a Type 1 message.");
            }
            int flags = readULong(material, 12);
            String suppliedDomain = null;
            if ((flags & NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED) != 0) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                }
            }
            if (readULong(material, 8) != 3) {
                throw new IOException("Not a Type 3 message.");
            }
            byte[] lmResponse = readSecurityBuffer(material, 12);
            int lmResponseOffset = readULong(material, 16);
            byte[] ntResponse = readSecurityBuffer(material, 20);
            int ntResponseOffset = readULong(material, 24);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 22.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

         */
        public void setFlag(int flag, boolean value) {
            setFlags(value ? (getFlags() | flag) :
                    (getFlags() & (0xffffffff ^ flag)));
        }
    
        static int readULong(byte[] src, int index) {
            return (src[index] & 0xff) |
                    ((src[index + 1] & 0xff) << 8) |
                    ((src[index + 2] & 0xff) << 16) |
                    ((src[index + 3] & 0xff) << 24);
        }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/ntlmssp/Type2Message.java

                }
            }
            pos += 8;
    
            if ( readULong(input, pos) != NTLMSSP_TYPE2 ) {
                throw new IOException("Not a Type 2 message.");
            }
            pos += 4;
    
            int flags = readULong(input, pos + 8);
            setFlags(flags);
    
            byte[] targetName = readSecurityBuffer(input, pos);
            int targetNameOff = readULong(input, pos + 4);
            if ( targetName.length != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ntlmssp/Type3Message.java

            setNTResponse(ntResponseBytes);
            int ntResponseOffset = readULong(material, pos + 4);
            pos += 8;
    
            byte[] domainBytes = readSecurityBuffer(material, pos);
            int domainOffset = readULong(material, pos + 4);
            pos += 8;
    
            byte[] userBytes = readSecurityBuffer(material, pos);
            int userOffset = readULong(material, pos + 4);
            pos += 8;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/ntlmssp/NtlmMessage.java

         */
        public void setFlag ( int flag, boolean value ) {
            setFlags(value ? ( getFlags() | flag ) : ( getFlags() & ( 0xffffffff ^ flag ) ));
        }
    
    
        static int readULong ( byte[] src, int index ) {
            return ( src[ index ] & 0xff ) | ( ( src[ index + 1 ] & 0xff ) << 8 ) | ( ( src[ index + 2 ] & 0xff ) << 16 )
                    | ( ( src[ index + 3 ] & 0xff ) << 24 );
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/Type2Message.java

                if (material[i] != NTLMSSP_SIGNATURE[i]) {
                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            if (readULong(material, 8) != 2) {
                throw new IOException("Not a Type 2 message.");
            }
            int flags = readULong(material, 20);
            setFlags(flags);
            String target = null;
            byte[] bytes = readSecurityBuffer(material, 12);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 12.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/ntlmssp/Type1Message.java

                    throw new IOException("Not an NTLMSSP message.");
                }
            }
            pos += 8;
    
            if ( readULong(material, pos) != NTLMSSP_TYPE1 ) {
                throw new IOException("Not a Type 1 message.");
            }
            pos += 4;
    
            int flags = readULong(material, pos);
            setFlags(flags);
            pos += 4;
    
            if ( ( flags & NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED ) != 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Sep 02 12:55:08 UTC 2018
    - 7.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/pac/PacDataInputStream.java

        }
    
    
        public int readInt () throws IOException {
            align(4);
            return Integer.reverseBytes(this.dis.readInt());
        }
    
    
        public long readLong () throws IOException {
            align(8);
            return Long.reverseBytes(this.dis.readLong());
        }
    
    
        public int readUnsignedByte () throws IOException {
            return ( readByte() ) & 0xff;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 21 21:19:58 UTC 2018
    - 5.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads a {@code long} as specified by {@link DataInputStream#readLong()}, except using
       * little-endian byte order.
       *
       * @return the next eight bytes of the input stream, interpreted as a {@code long} in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public long readLong() throws IOException {
        byte b1 = readAndCheckByte();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top