- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 344 for SHORT (0.02 sec)
-
src/test/java/jcifs/pac/PacUnicodeStringTest.java
class PacUnicodeStringTest { /** * Tests the constructor and getter methods. */ @Test void testConstructorAndGetters() { // Create a new instance with some test data short length = 10; short maxLength = 20; int pointer = 100; PacUnicodeString pacString = new PacUnicodeString(length, maxLength, pointer); // Verify that the object was created
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
// Test with a positive value buffer.putShort(0, (short) 0x1234); assertEquals(0x1234, NtlmMessage.readUShort(data, 0), "Should read positive UShort correctly."); // Test with zero buffer.putShort(0, (short) 0); assertEquals(0, NtlmMessage.readUShort(data, 0), "Should read zero UShort correctly."); // Test with max short value (unsigned interpretation)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
} this.name.length = (short) _src.dec_ndr_short(); this.name.maximum_length = (short) _src.dec_ndr_short(); final int _name_bufferp = _src.dec_ndr_long(); _src.align(4); if (this.dns_domain == null) { this.dns_domain = new rpc.unicode_string(); } this.dns_domain.length = (short) _src.dec_ndr_short();
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/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
(int) (int) (short) 'd', (int) (int) (short) 'e', (int) (short) 'f', (int) (short) 'g', (int) (short) 'h', (int) (short) 'i', (int) (short) 'j', (int) (short) 'k', (int) (short) 'l', (int) (short) 'm', (int) (short) 'n', (int) (short) 'o', (int) (short) 'p', (int) (short) 'q', (int) (short) 'r');
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
/** * The actual length of the string in bytes. */ public short length; /** * The maximum allocated length of the string in bytes. */ public short maximum_length; /** * The buffer containing the Unicode characters. */ public short[] buffer; @Override public void encode(NdrBuffer _dst) throws NdrException {
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/main/java/jcifs/dcerpc/rpc.java
// Default constructor } /** The length of the string in bytes */ public short length; /** The maximum length of the string buffer in bytes */ public short maximum_length; /** The Unicode character buffer */ public short[] buffer; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4);
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/main/java/jcifs/pac/PacUnicodeString.java
*/ public PacUnicodeString(final short length, final short maxLength, final int pointer) { this.length = length; this.maxLength = maxLength; this.pointer = pointer; } /** * Gets the actual length of the string in bytes. * * @return the string length */ public short getLength() { return this.length; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java
} name.length = (short) _src.dec_ndr_short(); name.maximum_length = (short) _src.dec_ndr_short(); final int _name_bufferp = _src.dec_ndr_long(); _src.align(4); if (dns_domain == null) { dns_domain = new rpc.unicode_string(); } dns_domain.length = (short) _src.dec_ndr_short();
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/internal/smb2/persistent/HandleGuid.java
long leastSig = guid.getLeastSignificantBits(); // Extract GUID components from UUID int data1 = (int) (mostSig >>> 32); // first 4 bytes short data2 = (short) (mostSig >>> 16); // next 2 bytes short data3 = (short) mostSig; // next 2 bytes // Write in little-endian format as specified by MS-SMB2 bb.putInt(data1); // data1 (4 bytes, little-endian)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
/** * Returns a new array with the specified short value appended to the end of the short array. * * @param array * the array. Must not be {@literal null} * @param value * the value to add * @return a new array with the value appended */ public static short[] add(final short[] array, final short value) { assertArgumentNotNull("array", array);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0)