- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 469 for ushort (0.32 seconds)
-
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)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.5K bytes - Click Count (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; /*
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 1.4K bytes - Click Count (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; /*
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.4K bytes - Click Count (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;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.4K bytes - Click Count (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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.6K bytes - Click Count (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() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (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).
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 08 22:37:14 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * @param value a primitive {@code short} value * @return a hash code for the value */ @InlineMe(replacement = "Short.hashCode(value)") @InlineMeValidationDisabled( "The hash code of a short is the int version of the short itself, so it's simplest to return" + " that.") public static int hashCode(short value) { return value; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 22 18:14:49 GMT 2025 - 25.7K bytes - Click Count (0) -
android/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);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 12:40:17 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
bb.putShort((short) 3); bb.putShort((short) 65535); // max unsigned short bb.putShort((short) 65535); bb.putShort((short) 65535); bb.putShort((short) 65535); bb.putShort((short) 65535); bb.putShort((short) 0); bb.putShort((short) 0); bb.putShort((short) 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 22K bytes - Click Count (0)