- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 213 for retVal (0.03 sec)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java
this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes this SAM domain handle. * * @throws IOException if an I/O error occurs during handle closure */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
@Override public int getOpnum() { return 0x0f; } /** * The return value of the operation. */ public int retval; /** * The name of the server. */ public String servername; /** * The information level to return. */ public int level; /**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/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
int access = 123; // Mock the behavior of sendrecv for MsrpcLsarOpenPolicy2 doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = 0; // Simulate success return null; }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/srvsvc.java
@Override public int getOpnum() { return 0x0f; } /** * The return value of the operation. */ public int retval; /** * The name of the server. */ public String servername; /** * The information level to return. */ public int level; /**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/msrpc/samrTest.java
// When: Decoding output message.decode_out(mockNdrBuffer); // Then: Should decode return value verify(mockNdrBuffer).dec_ndr_long(); assertEquals(0, message.retval); } } @Nested @DisplayName("SamrConnect2 Tests") class SamrConnect2Tests { @Test @DisplayName("Should construct with correct parameters and opnum")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/main/java/jcifs/dcerpc/msrpc/lsarpc.java
@Override public int getOpnum() { return 0x00; } /** Return value from the RPC call. */ public int retval; /** Policy handle to be closed. */ public rpc.policy_handle handle; /** * Creates a new LsarClose message. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
jcifs.SID[] sids = new jcifs.SID[] { sid("S-1-1-0") }; // Arrange a minimal response with given retval doAnswer(inv -> { jcifs.dcerpc.msrpc.MsrpcLookupSids rpc = inv.getArgument(0); rpc.retval = ret; // Provide empty arrays to satisfy code paths rpc.names = new lsarpc.LsarTransNameArray();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java
this.handle = handle; final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } this.opened = true; } @Override public synchronized void close() throws IOException { if (this.opened) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java
if (this.opened) { this.opened = false; final samr.SamrCloseHandle rpc = new MsrpcSamrCloseHandle(this); this.handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
final MsrpcLookupSids rpc = new MsrpcLookupSids(policyHandle, sids); handle.sendrecv(rpc); switch (rpc.retval) { case 0: case NtStatus.NT_STATUS_NONE_MAPPED: case 0x00000107: // NT_STATUS_SOME_NOT_MAPPED break; default: throw new SmbException(rpc.retval, false); } for (int si = 0; si < sids.length; si++) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0)