- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 425 for SHORT (0.04 seconds)
-
android/guava/src/com/google/common/primitives/Shorts.java
* * @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;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) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Assert assertEquals(Short.MIN_VALUE, queryPolicy.level); } @Test void constructor_withMaximumShortValue() { // Arrange short level = Short.MAX_VALUE; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject); // Assert assertEquals(Short.MAX_VALUE, queryPolicy.level); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
Short[] suffix = {(short) 86, (short) 99}; Short[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Short[] concat(Short[] left, Short[] right) { Short[] result = new Short[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
Short[] suffix = {(short) 86, (short) 99}; Short[] all = concat(concat(prefix, elements), suffix); return asList(all).subList(2, elements.length + 2); } } private static Short[] concat(Short[] left, Short[] right) { Short[] result = new Short[left.length + right.length]; System.arraycopy(left, 0, result, 0, left.length); System.arraycopy(right, 0, result, left.length, right.length);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
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 createdCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
unicodeString.length = (short) 10; unicodeString.maximum_length = (short) 20; unicodeString.buffer = new short[] { 65, 66, 67 }; // A, B, C // Then: Values should be set correctly assertEquals((short) 10, unicodeString.length); assertEquals((short) 20, unicodeString.maximum_length); assertArrayEquals(new short[] { 65, 66, 67 }, unicodeString.buffer);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortsTest.java
}, new short[] {(short) 2, (short) 3, (short) 4})) .isEqualTo(1); assertThat( Shorts.indexOf( new short[] {(short) 4, (short) 3, (short) 2}, new short[] {(short) 2, (short) 3, (short) 4})) .isEqualTo(-1); } public void testLastIndexOf() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (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)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/test/java/jcifs/internal/dfs/ReferralTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 22K bytes - Click Count (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();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 44.5K bytes - Click Count (0)