Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for decode_out (0.25 sec)

  1. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

     */
    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 */
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcMessage.java

            }
            if (this.ptype == 3 || this.ptype == 13) { /* Fault */
                this.result = buf.dec_ndr_long();
            } else { /* Bind_ack or Response */
                decode_out(buf);
            }
        }
    
        /**
         * Get the operation number for this DCERPC message.
         * @return the operation number
         */
        public abstract int getOpnum();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/DcerpcMessage.java

                buf.dec_ndr_short(); /* cancel count */
            }
            if (ptype == 3 || ptype == 13) { /* Fault */
                result = buf.dec_ndr_long();
            } else { /* Bind_ack or Response */
                decode_out(buf);
            }
        }
    
        /**
         * Get the operation number for this DCERPC message.
         * @return the operation number
         */
        public abstract int getOpnum();
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/DcerpcBind.java

            buf.enc_ndr_short(this.binding.getMinor());
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
    
        @Override
        public void decode_out(final NdrBuffer buf) throws NdrException {
            buf.dec_ndr_short(); /* max transmit frag size */
            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long(); /* assoc. group */
    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

            buf.enc_ndr_short(binding.major);
            buf.enc_ndr_short(binding.minor);
            DCERPC_UUID_SYNTAX_NDR.encode(buf);
            buf.enc_ndr_long(2); /* syntax version */
        }
    
        @Override
        public void decode_out(final NdrBuffer buf) throws NdrException {
            buf.dec_ndr_short(); /* max transmit frag size */
            buf.dec_ndr_short(); /* max receive frag size */
            buf.dec_ndr_long(); /* assoc. group */
    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

        @Override
        public void encode_in(NdrBuffer buf) throws NdrException {
            encodeWitnessParameters(buf);
        }
    
        @Override
        public void decode_out(NdrBuffer buf) throws NdrException {
            decodeWitnessParameters(buf);
            // The return code is always the last 4 bytes in MS-SWN responses
            returnCode = buf.dec_ndr_long();
        }
    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