Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dec_uint32be (0.08 sec)

  1. src/main/java/jcifs/util/Encdec.java

                return new Date(dec_uint32be(src, si) * 1000L);
            case TIME_1970_SEC_32LE:
                return new Date(dec_uint32le(src, si) * 1000L);
            case TIME_1904_SEC_32BE:
                return new Date( ( ( dec_uint32be(src, si) & 0xFFFFFFFFL ) - SEC_BETWEEEN_1904_AND_1970 ) * 1000L);
            case TIME_1904_SEC_32LE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/Encdec.java

            return 8;
        }
        public static long dec_uint64be( byte[] src, int si )
        {
            long l;
            l = dec_uint32be( src, si ) & 0xFFFFFFFFL;
            l <<= 32L;
            l |= dec_uint32be( src, si + 4 ) & 0xFFFFFFFFL;
            return l;
        }
        public static long dec_uint64le( byte[] src, int si )
        {
            long l;
            l = dec_uint32le( src, si + 4 ) & 0xFFFFFFFFL;
            l <<= 32L;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

                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 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                throw new SmbEndOfFileException();
            }
            return (char) Encdec.dec_uint16be(this.tmp, 0);
        }
    
    
        @Override
        public final int readInt () throws SmbException {
            if ( ( read(this.tmp, 0, 4) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return Encdec.dec_uint32be(this.tmp, 0);
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                System.arraycopy( sbuf, 0, BUF, 0, 4 + HEADER_LENGTH );
                int size = Encdec.dec_uint16be( BUF, 2 ) & 0xFFFF;
                if (size < (HEADER_LENGTH + 1) || (4 + size) > rcv_buf_size ) {
                    throw new IOException( "Invalid payload size: " + size );
                }
                int errorCode = Encdec.dec_uint32le( BUF, 9 ) & 0xFFFFFFFF;
                if (resp.command == ServerMessageBlock.SMB_COM_READ_ANDX &&
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                int size = ( Encdec.dec_uint16be(buffer, 2) & 0xFFFF );
                if ( size < ( SMB1_HEADER_LENGTH + 1 ) || ( 4 + size ) > Math.min(0xFFFF, getContext().getConfig().getMaximumBufferSize()) ) {
                    throw new IOException("Invalid payload size: " + size);
                }
                int errorCode = Encdec.dec_uint32le(buffer, 9) & 0xFFFFFFFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

        public void enc_ndr_long(int l) {
            align(4);
            Encdec.enc_uint32le(l, buf, index);
            advance(4);
        }
        public int dec_ndr_long() {
            align(4);
            int val = Encdec.dec_uint32le(buf, index);
            advance(4);
            return val;
        }
        public void enc_ndr_hyper(long h) {
            align(8);
            Encdec.enc_uint64le(h, buf, index);
            advance(8);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            align(4);
            Encdec.enc_uint32le(l, this.buf, this.index);
            advance(4);
        }
    
    
        public int dec_ndr_long () {
            align(4);
            int val = Encdec.dec_uint32le(this.buf, this.index);
            advance(4);
            return val;
        }
    
    
        public void enc_ndr_hyper ( long h ) {
            align(8);
            Encdec.enc_uint64le(h, this.buf, this.index);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
Back to top