- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for UnicodeString (0.62 sec)
-
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
*/ public class UnicodeString extends rpc.unicode_string { boolean zterm; /** * Constructs a UnicodeString with zero termination option. * * @param zterm whether the string should be zero terminated */ public UnicodeString(final boolean zterm) { this.zterm = zterm; } /** * Constructs a UnicodeString by wrapping an existing unicode_string. *
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/UnicodeString.java
package jcifs.dcerpc; /** * Unicode string type wrapper * */ public class UnicodeString extends rpc.unicode_string { boolean zterm; /** * Constructs a UnicodeString with zero termination option. * * @param zterm * whether the string should be zero terminated */ public UnicodeString(final boolean zterm) { this.zterm = zterm; } /**
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/test/java/jcifs/dcerpc/UnicodeStringTest.java
UnicodeString unicodeStringTrue = new UnicodeString(originalStringTrue, true); assertEquals(originalStringTrue, unicodeStringTrue.toString(), "toString should return original string with zterm"); // Test toString with zterm = false String originalStringFalse = "AnotherTest"; UnicodeString unicodeStringFalse = new UnicodeString(originalStringFalse, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
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/test/java/jcifs/smb/SIDCacheImplTest.java
names.names[0].name = new UnicodeString("alice", false); names.names[0].sid_index = 0; // Second is a domain group names.names[1] = new lsarpc.LsarTranslatedName(); names.names[1].sid_type = (short) jcifs.SID.SID_TYPE_DOM_GRP; names.names[1].name = new UnicodeString("Domain Users", false); names.names[1].sid_index = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
PacUnicodeString unicodeString = new PacUnicodeString(length, length, 100); // Should validate string length String result = unicodeString.check(testString); assertEquals(testString, result); // Should reject wrong length assertThrows(PACDecodingException.class, () -> { unicodeString.check("WRONGLENGTH"); }); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Mon Aug 25 14:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0)