- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 574 for ushort (0.4 sec)
-
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/rpc.idl
} policy_handle; /* * typedef struct _UNICODE_STRING * USHORT Length; * USHORT MaximumLength; * [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT * Buffer; * } UNICODE_STRING; */ typedef struct { uint16_t length; uint16_t maximum_length; [length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer; } unicode_string; /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.idl
} policy_handle; /* * typedef struct _UNICODE_STRING * USHORT Length; * USHORT MaximumLength; * [size_is(MaximumLength / 2), length_is((Length) / 2) ] USHORT * Buffer; * } UNICODE_STRING; */ typedef struct { uint16_t length; uint16_t maximum_length; [length_is(length / 2),size_is(maximum_length / 2)] uint16_t *buffer; } unicode_string; /*
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 1.4K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
dest[offset + 3] = (byte) (ulong >> 24 & 0xff); } static void writeUShort(final byte[] dest, final int offset, final int ushort) { dest[offset] = (byte) (ushort & 0xff); dest[offset + 1] = (byte) (ushort >> 8 & 0xff); } static int writeSecurityBuffer(final byte[] dest, final int offset, final byte[] src) { final int length = src != null ? src.length : 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java
dest[offset + 3] = (byte) (ulong >> 24 & 0xff); } static void writeUShort(final byte[] dest, final int offset, final int ushort) { dest[offset] = (byte) (ushort & 0xff); dest[offset + 1] = (byte) (ushort >> 8 & 0xff); } static void writeSecurityBuffer(final byte[] dest, final int offset, final int bodyOffset, final byte[] src) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
assertEquals(0xBBAA, result, "UShort should be little‑endian"); } @Test @DisplayName("readUShort throws on too short array") void testReadUShortOutOfBounds() { byte[] a = new byte[] { 0x02 }; assertThrows(IndexOutOfBoundsException.class, () -\u003e NtlmMessage.readUShort(a, 0)); } @Test @DisplayName("readULong throws on too short array") void testReadULongOutOfBounds() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/cmd/cgo/doc.go
appropriate padding to reach the next field or the end of the struct. The standard C numeric types are available under the names C.char, C.schar (signed char), C.uchar (unsigned char), C.short, C.ushort (unsigned short), C.int, C.uint (unsigned int), C.long, C.ulong (unsigned long), C.longlong (long long), C.ulonglong (unsigned long long), C.float, C.double, C.complexfloat (complex float), and C.complexdouble (complex double).
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Dec 11 23:57:34 UTC 2024 - 44K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* Returns the {@code short} value that is equal to {@code value}, if possible. * * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* Returns the {@code short} value that is equal to {@code value}, if possible. * * @param value any value in the range of the {@code short} type * @return the {@code short} value that equals {@code value} * @throws IllegalArgumentException if {@code value} is greater than {@link Short#MAX_VALUE} or * less than {@link Short#MIN_VALUE} */ public static short checkedCast(long value) { short result = (short) value;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractByteHasher.java
public Hasher putBytes(ByteBuffer bytes) { update(bytes); return this; } @Override @CanIgnoreReturnValue public Hasher putShort(short s) { ByteBuffer scratch = scratch(); scratch.putShort(s); return update(scratch, Shorts.BYTES); } @Override @CanIgnoreReturnValue public Hasher putInt(int i) { ByteBuffer scratch = scratch(); scratch.putInt(i);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 12:40:17 UTC 2025 - 3.9K bytes - Viewed (0)