- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for encode_in (1.46 sec)
-
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) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
this.opnumValue = opnumValue; } @Override public int getOpnum() { return opnumValue; } @Override public void encode_in(NdrBuffer buf) throws NdrException { // Simulate encoding some data buf.enc_ndr_long(12345); } @Override public void decode_out(NdrBuffer buf) throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
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) -
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) -
docs/smb3-features/06-witness-protocol-design.md
this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG; } @Override public int getOpnum() { return WITNESS_REGISTER; } @Override public void encode_in(NdrBuffer buffer) throws NdrException { // Encode WitnessRegister request parameters buffer.enc_ndr_long(request.getVersion()); buffer.enc_ndr_string(request.getShareName());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
*/ public LsarClose(final rpc.policy_handle handle) { this.handle = handle; } @Override public void encode_in(final NdrBuffer _dst) throws NdrException { handle.encode(_dst); } @Override public void decode_out(final NdrBuffer _src) throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 42.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
void testLsarCloseEncodeIn() throws NdrException { rpc.policy_handle mockHandle = mock(rpc.policy_handle.class); lsarpc.LsarClose lsarClose = new lsarpc.LsarClose(mockHandle); lsarClose.encode_in(mockNdrBuffer); verify(mockHandle).encode(mockNdrBuffer); } @Test void testLsarCloseDecodeOut() throws NdrException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
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) -
src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java
// Create buffer for encoding - initially allocate some space byte[] encodeBuffer = new byte[1024]; NdrBuffer dst = new NdrBuffer(encodeBuffer, 0); enumEx.encode_in(dst); // Simulate decode_out // The decode_out method expects the info and totalentries to be already initialized // and will decode into them.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.9K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.java
this.level = level; this.prefmaxlen = prefmaxlen; this.info = info; this.totalentries = totalentries; } @Override public void encode_in(final NdrBuffer _dst) throws NdrException { _dst.enc_ndr_string(this.dfs_name); _dst.enc_ndr_long(this.level); _dst.enc_ndr_long(this.prefmaxlen);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 21.8K bytes - Viewed (0)