Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for encode_in (0.72 sec)

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

                buf.enc_ndr_long(0); /* momentarily skip alloc hint */
                buf.enc_ndr_short(0); /* context id */
                buf.enc_ndr_short(getOpnum());
            }
    
            encode_in(buf);
            this.length = buf.getIndex() - start;
    
            if (this.ptype == 0) {
                buf.setIndex(alloc_hint_index);
                this.alloc_hint = this.length - alloc_hint_index;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

                buf.enc_ndr_long(0); /* momentarily skip alloc hint */
                buf.enc_ndr_short(0); /* context id */
                buf.enc_ndr_short(getOpnum());
            }
    
            encode_in(buf);
            length = buf.getIndex() - start;
    
            if (ptype == 0) {
                buf.setIndex(alloc_hint_index);
                alloc_hint = length - alloc_hint_index;
                buf.enc_ndr_long(alloc_hint);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

     * encode/decode operation.
     */
    public class DcerpcMessageTest {
    
        /**
         * A trivial concrete subclass used for testing. It simply writes a
         * single small value in {@code encode_in} and reads it in
         * {@code decode_out}.
         */
        private static class TestMessage extends DcerpcMessage {
            int decodedValue = 0;
    
            TestMessage() {
                /* nothing */
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcBind.java

            this.ptype = 11;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    
        @Override
        public void encode_in(final NdrBuffer buf) throws NdrException {
            buf.enc_ndr_short(this.max_xmit);
            buf.enc_ndr_short(this.max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/DcerpcBind.java

            ptype = 11;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
        @Override
        public int getOpnum() {
            return 0;
        }
    
        @Override
        public void encode_in(final NdrBuffer buf) throws NdrException {
            buf.enc_ndr_short(max_xmit);
            buf.enc_ndr_short(max_recv);
            buf.enc_ndr_long(0); /* assoc. group */
            buf.enc_ndr_small(1); /* num context items */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/witness/WitnessRpcMessage.java

         * @throws NdrException if decoding fails
         */
        protected abstract void decodeWitnessParameters(NdrBuffer buf) throws NdrException;
    
        @Override
        public void encode_in(NdrBuffer buf) throws NdrException {
            encodeWitnessParameters(buf);
        }
    
        @Override
        public void decode_out(NdrBuffer buf) throws NdrException {
            decodeWitnessParameters(buf);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top