Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for dec_uint64le (0.11 sec)

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

                return new Date(t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601);
            case TIME_1601_NANOS_64LE:
                t = dec_uint64le(src, si);
                return new Date(t / 10000L - SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601);
            case TIME_1970_MILLIS_64BE:
                return new Date(dec_uint64be(src, si));
            case TIME_1970_MILLIS_64LE:
    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

                    t = dec_uint64be( src, si );
                    return new Date( t / 10000L - MILLISECONDS_BETWEEN_1970_AND_1601);
                case TIME_1601_NANOS_64LE:
                    t = dec_uint64le( src, si );
                    return new Date( t / 10000L - MILLISECONDS_BETWEEN_1970_AND_1601);
                case TIME_1970_MILLIS_64BE:
                    return new Date( dec_uint64be( src, si ));
    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/dcerpc/ndr/NdrBuffer.java

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

        }
    
    
        public void enc_ndr_hyper ( long h ) {
            align(8);
            Encdec.enc_uint64le(h, this.buf, this.index);
            advance(8);
        }
    
    
        public long dec_ndr_hyper () {
            align(8);
            long val = Encdec.dec_uint64le(this.buf, this.index);
            advance(8);
            return val;
        }
    
    
        /* float */
        /* double */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTransportImpl.java

                    if ( readn(this.in, this.sbuf, 4 + SmbConstants.SMB1_HEADER_LENGTH, lenDiff) < lenDiff ) {
                        return null;
                    }
                    return (long) Encdec.dec_uint64le(this.sbuf, 28);
                }
    
                if ( this.sbuf[ 0 ] == (byte) 0x00 && this.sbuf[ 1 ] == (byte) 0x00 && ( this.sbuf[ 4 ] == (byte) 0xFF ) && this.sbuf[ 5 ] == (byte) 'S'
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmContext.java

        }
    
        private String getNtlmsspListItem(byte[] type2token, int id0)
        {
            int ri = 58;
    
            for ( ;; ) {
                int id = Encdec.dec_uint16le(type2token, ri);
                int len = Encdec.dec_uint16le(type2token, ri + 2);
                ri += 4;
                if (id == 0 || (ri + len) > type2token.length) {
                    break;
                } else if (id == id0) {
                    try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java

                throw new IOException("DCERPC pipe is no longer open");
            }
    
            int have = this.handle.sendrecv(buf, off, length, inB, getMaxRecv());
    
            int fraglen = Encdec.dec_uint16le(inB, 8);
            if ( fraglen > getMaxRecv() ) {
                throw new IOException("Unexpected fragment length: " + fraglen);
            }
    
            while ( have < fraglen ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jan 26 11:51:07 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
        }
        public final float readFloat() throws SmbException {
            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_floatbe( tmp, 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)
  9. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            flags = buf[3] & 0xFF;
            // next read is start of new frag
            isStart = (flags & DCERPC_LAST_FRAG) == DCERPC_LAST_FRAG;
    
            length = Encdec.dec_uint16le(buf, 8);
            if (length > max_recv)
                throw new IOException("Unexpected fragment length: " + length);
    
            while (off < length) {
                off += in.readDirect(buf, off, length - off);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    sbuf[i] = sbuf[i + 1];
                }
                int b;
                if ((b = in.read()) == -1) return null;
                sbuf[35] = (byte)b;
            }
    
            key.mid = Encdec.dec_uint16le( sbuf, 34 ) & 0xFFFF;
    
            /* Unless key returned is null or invalid Transport.loop() always
             * calls doRecv() after and no one else but the transport thread
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
Back to top