- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for unicode_string (0.71 sec)
-
src/test/java/jcifs/dcerpc/rpcTest.java
// Given: A unicode string with null buffer rpc.unicode_string unicodeString = new rpc.unicode_string(); unicodeString.length = (short) 0; unicodeString.maximum_length = (short) 0; unicodeString.buffer = null; // When: Encoding the unicode string unicodeString.encode(mockNdrBuffer); // Then: Verify the encoding sequence
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
* Unicode string structure for DCE/RPC. * Represents a counted Unicode string as used in RPC protocols. */ public static class unicode_string extends NdrObject { /** * Default constructor for unicode_string. */ public unicode_string() { // Default constructor } /** * The actual length of the string in bytes. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
dnsDomainInfo.name = new rpc.unicode_string(); dnsDomainInfo.name.length = 8; dnsDomainInfo.name.maximum_length = 16; dnsDomainInfo.name.buffer = new short[] { 'T', 'E', 'S', 'T' }; dnsDomainInfo.dns_domain = new rpc.unicode_string(); dnsDomainInfo.dns_domain.length = 16; dnsDomainInfo.dns_domain.maximum_length = 32;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
// Default constructor } /** 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. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
// Default constructor } /** 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. */
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/main/java/jcifs/dcerpc/rpc.java
* Unicode string structure for DCE/RPC operations. * Represents a Unicode string with length information. */ public static class unicode_string extends NdrObject { /** * Default constructor for unicode_string. */ public unicode_string() { // Default constructor } /** The length of the string in bytes */ public short length;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
@Mock private NdrBuffer mockDeferredBuffer; @Mock private rpc.policy_handle mockPolicyHandle; @Mock private rpc.sid_t mockSidT; @Mock private rpc.unicode_string mockUnicodeString; @Mock private lsarpc.LsarSidArray mockLsarSidArray; @BeforeEach void setUp() { // Directly set the deferred field on the mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
byte[] result = Strings.getUNIBytes(UNICODE_STRING); // Then assertNotNull(result, "Result should not be null"); assertTrue(result.length > 0, "Result should not be empty"); // Verify round-trip conversion String roundTrip = new String(result, StandardCharsets.UTF_16LE);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
@Mock private NdrBuffer mockDeferredBuffer; @Mock private rpc.policy_handle mockPolicyHandle; @Mock private rpc.sid_t mockSidT; @Mock private rpc.unicode_string mockUnicodeString; @Mock private lsarpc.LsarSidArray mockLsarSidArray; @BeforeEach void setUp() { // Directly set the deferred field on the mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/samr.java
// Default constructor } /** The relative ID (RID) of the SAM entry */ public int idx; /** The name of the SAM entry */ public rpc.unicode_string name; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_long(this.idx); _dst.enc_ndr_short(this.name.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0)