- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for encode_in (0.48 sec)
-
src/main/java/jcifs/dcerpc/msrpc/samr.java
* @param handle The policy handle to close */ public SamrCloseHandle(final rpc.policy_handle handle) { this.handle = handle; } @Override public void encode_in(final NdrBuffer _dst) throws NdrException { this.handle.encode(_dst); } @Override public void decode_out(final NdrBuffer _src) throws NdrException {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java
* @param handle The policy handle to close */ public SamrCloseHandle(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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.1K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Given: Close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // When: Encoding input message.encode_in(mockNdrBuffer); // Then: Should encode handle verify(mockPolicyHandle).encode(mockNdrBuffer); } @Test @DisplayName("Should decode output parameters correctly")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
// When/Then assertThrows(NullPointerException.class, () -> { bindWithNullBinding.encode_in(mockBuffer); }, "Should throw NullPointerException when binding is null"); } @Test @DisplayName("encode_in should use default constructor values") void testEncodeInDefaultConstructor() throws Exception { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
this.prefmaxlen = prefmaxlen; this.totalentries = totalentries; this.resume_handle = resume_handle; } @Override public void encode_in(NdrBuffer _dst) throws NdrException { _dst.enc_ndr_referent(this.servername, 1); if (this.servername != null) { _dst.enc_ndr_string(this.servername); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 27K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
this.prefmaxlen = prefmaxlen; this.totalentries = totalentries; this.resume_handle = resume_handle; } @Override public void encode_in(NdrBuffer _dst) throws NdrException { _dst.enc_ndr_referent(servername, 1); if (servername != null) { _dst.enc_ndr_string(servername); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.6K bytes - Viewed (0)