- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 215 for grpc (0.02 sec)
-
src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java
this.handle = handle; if (server == null) { server = "\\\\"; } final MsrpcLsarOpenPolicy2 rpc = new MsrpcLsarOpenPolicy2(server, access, this); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); } } /** * Closes the LSA policy handle. * * @throws IOException if an I/O error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
MsrpcGetMembersInAlias rpc = null; try { aliasHandle = new SamrAliasHandle(handle, domainHandle, 0x0002000c, rid); rpc = new MsrpcGetMembersInAlias(aliasHandle, sidarray); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, false); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRpcMessage.java
import jcifs.dcerpc.DcerpcMessage; import jcifs.dcerpc.ndr.NdrBuffer; import jcifs.dcerpc.ndr.NdrException; /** * Base class for SMB Witness Protocol RPC messages as defined in MS-SWN specification. * This class extends DcerpcMessage to provide witness-specific RPC operations. */ public abstract class WitnessRpcMessage extends DcerpcMessage { // MS-SWN Witness Protocol Interface UUID and Version
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/UUIDTest.java
@Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Constructor with rpc.uuid_t should copy all fields correctly") void testConstructorWithRpcUuidT() { // Arrange rpc.uuid_t rpcUuid = new rpc.uuid_t(); rpcUuid.time_low = TIME_LOW; rpcUuid.time_mid = TIME_MID;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
assertNull(unicodeStringFalse.buffer, "Buffer should be null for empty string"); } @Test void testConstructorWithRpcUnicodeStringAndZterm() { // Create a dummy rpc.unicode_string rpc.unicode_string dummyRus = new rpc.unicode_string(); dummyRus.length = 10; dummyRus.maximum_length = 20; dummyRus.buffer = new short[] { 'H', 'e', 'l', 'l', 'o' }; // Test with zterm = true
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
"test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided"); Artifact artifact2 = factory.createDependencyArtifact( "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test"); Artifact artifact3 = factory.createDependencyArtifact( "test-grp", "test-artifact-3",
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
void testDecodeHeaderThrowsNdrExceptionForRpcVersion() { when(mockBuffer.dec_ndr_small()).thenReturn(4); // Incorrect RPC version assertThrows(NdrException.class, () -> message.decode_header(mockBuffer)); } @Test @DisplayName("decode_header should throw NdrException for invalid minor RPC version")
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/smb/SmbEnumerationUtil.java
try (DcerpcHandle handle = getHandle(ctx, loc, address, "\\PIPE\\netdfs")) { final MsrpcDfsRootEnum rpc = new MsrpcDfsRootEnum(loc.getServer()); handle.sendrecv(rpc); if (rpc.retval != 0) { throw new SmbException(rpc.retval, true); } return rpc.getEntries(); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
*/ package jcifs.smb1.dcerpc; /** * A Unicode string representation for DCE/RPC operations in JCIFS. * This class wraps strings for use in RPC calls with optional zero termination. */ public class UnicodeString extends rpc.unicode_string { boolean zterm; /** * Constructs a UnicodeString with zero termination option. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcMessage.java
import jcifs.dcerpc.ndr.NdrObject; /** * Abstract base class for DCE/RPC protocol messages. * This class provides common functionality for all DCE/RPC message types. */ public abstract class DcerpcMessage extends NdrObject implements DcerpcConstants { /** * Default constructor for DcerpcMessage. * Initializes the DCE/RPC message structure. */ protected DcerpcMessage() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0)