Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for dec_ndr_small (0.09 sec)

  1. src/main/java/jcifs/dcerpc/rpc.java

                _dst.enc_ndr_small(this.clock_seq_hi_and_reserved);
                _dst.enc_ndr_small(this.clock_seq_low);
                int _nodes = 6;
                int _nodei = _dst.index;
                _dst.advance(1 * _nodes);
    
                _dst = _dst.derive(_nodei);
                for ( int _i = 0; _i < _nodes; _i++ ) {
                    _dst.enc_ndr_small(this.node[ _i ]);
                }
            }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:40:13 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

        }
        void decode_header(NdrBuffer buf) throws NdrException {
             /* RPC major / minor version */
            if (buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0)
                throw new NdrException("DCERPC version not supported");
            ptype = buf.dec_ndr_small();
            flags = buf.dec_ndr_small();
            if (buf.dec_ndr_long() != 0x00000010) /* Little-endian / ASCII / IEEE */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/rpc.java

                _dst.enc_ndr_short(time_hi_and_version);
                _dst.enc_ndr_small(clock_seq_hi_and_reserved);
                _dst.enc_ndr_small(clock_seq_low);
                int _nodes = 6;
                int _nodei = _dst.index;
                _dst.advance(1 * _nodes);
    
                _dst = _dst.derive(_nodei);
                for (int _i = 0; _i < _nodes; _i++) {
                    _dst.enc_ndr_small(node[_i]);
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcMessage.java

        void decode_header ( NdrBuffer buf ) throws NdrException {
            /* RPC major / minor version */
            if ( buf.dec_ndr_small() != 5 || buf.dec_ndr_small() != 0 ) {
                throw new NdrException("DCERPC version not supported");
            }
            this.ptype = buf.dec_ndr_small();
            this.flags = buf.dec_ndr_small();
            if ( buf.dec_ndr_long() != 0x00000010 ) { /* Little-endian / ASCII / IEEE */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/ndr/NdrSmall.java

            this.value = value & 0xFF;
        }
    
    
        @Override
        public void encode ( NdrBuffer dst ) throws NdrException {
            dst.enc_ndr_small(this.value);
        }
    
    
        @Override
        public void decode ( NdrBuffer src ) throws NdrException {
            this.value = src.dec_ndr_small();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/dcerpc/ndr/NdrSmall.java

        public NdrSmall(int value) {
            this.value = value & 0xFF;
        }
    
        public void encode(NdrBuffer dst) throws NdrException {
            dst.enc_ndr_small(value);
        }
        public void decode(NdrBuffer src) throws NdrException {
            value = src.dec_ndr_small();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            binding.uuid.encode(buf);
            buf.enc_ndr_short(binding.major);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(this.max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
            buf.enc_ndr_small(0); /* reserved */
            buf.enc_ndr_short(0); /* reserved2 */
            buf.enc_ndr_short(0); /* context id */
            buf.enc_ndr_small(1); /* number of items */
            buf.enc_ndr_small(0); /* reserved */
            this.binding.getUuid().encode(buf);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/ndr/NdrBuffer.java

            int n = ( ( i + m ) & ~m ) - i;
            advance(n);
            return n;
        }
    
    
        public void enc_ndr_small ( int s ) {
            this.buf[ this.index ] = (byte) ( s & 0xFF );
            advance(1);
        }
    
    
        public int dec_ndr_small () {
            int val = this.buf[ this.index ] & 0xFF;
            advance(1);
            return val;
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java

            int i = index - start;
            int n = ((i + m) & ~m) - i;
            advance(n);
            return n;
        }
        public void enc_ndr_small(int s) {
            buf[index] = (byte)(s & 0xFF);
            advance(1);
        }
        public int dec_ndr_small() {
            int val = buf[index] & 0xFF;
            advance(1);
            return val;
        }
        public void enc_ndr_short(int s) {
            align(2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 6.1K bytes
    - Viewed (0)
Back to top