Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for dec_uint64be (0.1 sec)

  1. src/main/java/jcifs/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;
    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;
    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 Encdec.dec_uint16be( tmp, 0 );
        }
        public final int readUnsignedShort() throws SmbException {
            if((read( tmp, 0, 2 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint16be( tmp, 0 ) & 0xFFFF;
        }
        public final char readChar() throws SmbException {
    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 Encdec.dec_uint16be(this.tmp, 0);
        }
    
    
        @Override
        public final int readUnsignedShort () throws SmbException {
            if ( ( read(this.tmp, 0, 2) ) < 0 ) {
                throw new SmbEndOfFileException();
            }
            return Encdec.dec_uint16be(this.tmp, 0) & 0xFFFF;
        }
    
    
        @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/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/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)
  7. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            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 */
        public void enc_ndr_string ( String s ) {
            align(4);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                 * read from the socket here.
                 */
                if (peekKey() == null) /* try to read header */
                    throw new IOException( "transport closed in negotiate" );
                int size = Encdec.dec_uint16be( sbuf, 2 ) & 0xFFFF;
                if (size < 33 || (4 + size) > sbuf.length ) {
                    throw new IOException( "Invalid payload size: " + size );
                }
                readn( in, sbuf, 4 + 32, size - 32 );
    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