Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for enc_uint16be (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            Encdec.enc_uint16be( (short)v, tmp, 0 );
            write( tmp, 0, 2 );
        }
        public final void writeChar( int v ) throws SmbException {
            Encdec.enc_uint16be( (short)v, tmp, 0 );
            write( tmp, 0, 2 );
        }
        public final void writeInt( int v ) throws SmbException {
            Encdec.enc_uint32be( v, tmp, 0 );
            write( tmp, 0, 4 );
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbRandomAccessFile.java

        }
    
    
        @Override
        public final void writeShort ( int v ) throws SmbException {
            Encdec.enc_uint16be((short) v, this.tmp, 0);
            write(this.tmp, 0, 2);
        }
    
    
        @Override
        public final void writeChar ( int v ) throws SmbException {
            Encdec.enc_uint16be((short) v, this.tmp, 0);
            write(this.tmp, 0, 2);
        }
    
    
        @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)
  3. src/main/java/jcifs/util/Encdec.java

        }
    
    
        /*
         * Encode and decode 64 bit integers
         */
    
        public static int enc_uint64be ( long l, byte[] dst, int di ) {
            enc_uint32be((int) ( l & 0xFFFFFFFFL ), dst, di + 4);
            enc_uint32be((int) ( ( l >> 32L ) & 0xFFFFFFFFL ), dst, di);
            return 8;
        }
    
    
        public static int enc_uint64le ( long l, byte[] dst, int di ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Encdec.java

        }
    
        /* Encode and decode 64 bit integers
         */
    
        public static int enc_uint64be( long l, byte[] dst, int di )
        {
            enc_uint32be( (int)(l & 0xFFFFFFFFL), dst, di + 4 );
            enc_uint32be( (int)(( l >> 32L ) & 0xFFFFFFFFL), dst, di );
            return 8;
        }
        public static int enc_uint64le( long l, byte[] dst, int di )
        {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                }
    
                if (++mid == 32000) mid = 1;
                NEGOTIATE_REQUEST.mid = mid;
                int n = NEGOTIATE_REQUEST.encode( sbuf, 4 );
                Encdec.enc_uint32be( n & 0xFFFF, sbuf, 0 ); /* 4 byte ssn msg header */
    
                if (log.level >= 4) {
                    log.println( NEGOTIATE_REQUEST );
                    if (log.level >= 6) {
    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

            if ( setmid ) {
                makeKey(req);
            }
            else {
                req.setMid(0);
                this.mid.set(1);
            }
            int n = req.encode(this.sbuf, 4);
            Encdec.enc_uint32be(n & 0xFFFF, this.sbuf, 0); /* 4 byte ssn msg header */
    
            if ( log.isTraceEnabled() ) {
                log.trace(req.toString());
                log.trace(Hexdump.toHexString(this.sbuf, 4, n));
            }
    
    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 int dec_ndr_small() {
            int val = buf[index] & 0xFF;
            advance(1);
            return val;
        }
        public void enc_ndr_short(int s) {
            align(2);
            Encdec.enc_uint16le((short)s, buf, index);
            advance(2);
        }
        public int dec_ndr_short() {
            align(2);
            int val = Encdec.dec_uint16le(buf, index);
            advance(2);
            return val;
        }
    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

            int val = this.buf[ this.index ] & 0xFF;
            advance(1);
            return val;
        }
    
    
        public void enc_ndr_short ( int s ) {
            align(2);
            Encdec.enc_uint16le((short) s, this.buf, this.index);
            advance(2);
        }
    
    
        public int dec_ndr_short () {
            align(2);
            int val = Encdec.dec_uint16le(this.buf, this.index);
            advance(2);
    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