- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 314 for shortp (0.03 sec)
-
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-tests/test/com/google/common/primitives/ShortsTest.java
assertThat(Shorts.indexOf(ARRAY234, new short[] {(short) 4})).isEqualTo(2); assertThat( Shorts.indexOf( new short[] {(short) 2, (short) 3, (short) 3, (short) 3, (short) 3}, new short[] {(short) 3})) .isEqualTo(1); assertThat( Shorts.indexOf( new short[] {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (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);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K 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/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
// Arrange short level = 2; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject); // Assert assertSame(mockNdrObject, queryPolicy.info); } @ParameterizedTest @ValueSource(shorts = { 0, 1, 2, 3, 5, 10, Short.MAX_VALUE, Short.MIN_VALUE })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K 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) -
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) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
} public void testToArray_withConversion() { byte[] array = {(byte) 0, (byte) 1, (byte) 2}; List<Byte> bytes = Arrays.asList((byte) 0, (byte) 1, (byte) 2); List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2); List<Integer> ints = Arrays.asList(0, 1, 2); List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f); List<Long> longs = Arrays.asList(0L, 1L, 2L);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0)