- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 220 for grpc (0.03 sec)
-
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/dcerpc/msrpc/lsarpc.java
/** Domain NetBIOS name. */ public rpc.unicode_string name; /** DNS domain name. */ public rpc.unicode_string dns_domain; /** DNS forest name. */ public rpc.unicode_string dns_forest; /** Domain GUID. */ public rpc.uuid_t domain_guid; /** Domain security identifier. */ public rpc.sid_t sid; @OverrideRegistered: 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/dcerpc/rpcTest.java
void testPolicyHandleEncode() throws NdrException { // Given: A policy handle with test values rpc.policy_handle policyHandle = new rpc.policy_handle(); policyHandle.type = 123; policyHandle.uuid = new rpc.uuid_t(); policyHandle.uuid.time_low = 0x11111111; policyHandle.uuid.time_mid = (short) 0x2222;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
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 occursRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
lsarpc.LsarDomainInfo domainInfo = new lsarpc.LsarDomainInfo(); domainInfo.name = new rpc.unicode_string(); domainInfo.name.length = 10; domainInfo.name.maximum_length = 20; domainInfo.name.buffer = new short[] { 'T', 'e', 's', 't', '1' }; // Create a simple test SID domainInfo.sid = new rpc.sid_t(); domainInfo.sid.revision = 1;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K 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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K 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: 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/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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.3K 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: Sat Dec 20 13:44:44 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 Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)