Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 160 for readInt (0.48 sec)

  1. src/main/java/jcifs/pac/PacSignature.java

            try {
                PacDataInputStream bufferStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
                this.type = bufferStream.readInt();
                switch ( this.type ) {
                case KERB_CHECKSUM_HMAC_MD5:
                    this.checksum = new byte[16];
                    break;
                case HMAC_SHA1_96_AES128:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 2 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return (char)Encdec.dec_uint16be( tmp, 0 );
        }
        public final int readInt() throws SmbException {
            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/PacLogonInfo.java

                SID groupId = pacStream.readId();
    
                // Groups information
                int groupCount = pacStream.readInt();
                int groupPointer = pacStream.readInt();
    
                // User flags about PAC Logon Info content
                this.userFlags = pacStream.readInt();
                boolean hasExtraSids = ( this.userFlags & PacConstants.LOGON_EXTRA_SIDS ) == PacConstants.LOGON_EXTRA_SIDS;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/pac/PacDataInputStream.java

        }
    
    
        public short readShort () throws IOException {
            align(2);
            return Short.reverseBytes(this.dis.readShort());
        }
    
    
        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());
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 21 21:19:58 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/Pac.java

                int bufferCount = pacStream.readInt();
                int version = pacStream.readInt();
    
                if ( version != PacConstants.PAC_VERSION ) {
                    throw new PACDecodingException("Unrecognized PAC version " + version);
                }
    
                for ( int bufferIndex = 0; bufferIndex < bufferCount; bufferIndex++ ) {
                    int bufferType = pacStream.readInt();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java

            int start = bufferIndex;
    
            fid = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            fileAttributes = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
            lastWriteTime = readUTime( buffer, bufferIndex );
            bufferIndex += 4;
            dataSize = readInt4( buffer, bufferIndex );
            bufferIndex += 4;
            grantedAccess = readInt2( buffer, bufferIndex );
            bufferIndex += 2;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java

            if ( this.largeFile ) {
                this.pid = SMBUtil.readInt2(buffer, bufferIndex);
                int boHigh = SMBUtil.readInt4(buffer, bufferIndex + 4);
                int boLow = SMBUtil.readInt4(buffer, bufferIndex + 8);
    
                this.byteOffset = ( boHigh << 32 ) | boLow;
    
                int lHigh = SMBUtil.readInt4(buffer, bufferIndex + 12);
                int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/ACE.java

        }
    
        int decode( byte[] buf, int bi ) {
            allow = buf[bi++] == (byte)0x00;
            flags = buf[bi++] & 0xFF;
            int size = ServerMessageBlock.readInt2(buf, bi);
            bi += 2;
            access = ServerMessageBlock.readInt4(buf, bi);
            bi += 4;
            sid = new SID(buf, bi);
            return size;
        }
    
        void appendCol(StringBuffer sb, String str, int width) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/collection/ArrayMap.java

        @Override
        public void readExternal(final ObjectInput in) throws IOException, ClassNotFoundException {
            final int num = in.readInt();
            mapTable = new Entry[num];
            listTable = new Entry[num];
            threshold = (int) (num * LOAD_FACTOR);
            final int size = in.readInt();
            for (int i = 0; i < size; i++) {
                final K key = (K) in.readObject();
                final V value = (V) in.readObject();
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 20.6K bytes
    - Viewed (1)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

        /*
         * We overload this because we want readAndXWireFormat to
         * read the parameter words and bytes. This is so when
         * commands are batched together we can recursivly call
         * readAndXWireFormat without reading the non-existent header.
         */
    
        @Override
        public int decode ( byte[] buffer, int bufferIndex ) throws SMBProtocolDecodingException {
            int start = this.headerStart = bufferIndex;
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
Back to top