- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 296 for short (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
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/main/java/org/codelibs/core/convert/ShortConversionUtil.java
if (pattern != null) { return Short.valueOf(new SimpleDateFormat(pattern).format(o)); } return (short) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (short) 1 : (short) 0; } else { return toShort(o.toString()); } } private static Short toShort(final String s) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
} else if (buckets <= SHORT_MAX_SIZE) { return new short[buckets]; } else { return new int[buckets]; } } static void tableClear(Object table) { if (table instanceof byte[]) { Arrays.fill((byte[]) table, (byte) 0); } else if (table instanceof short[]) { Arrays.fill((short[]) table, (short) 0); } else { Arrays.fill((int[]) table, 0); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (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; } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (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)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ShortsMethodsForWeb.java
import jsinterop.annotations.JsPackage; /** Web specializations for {@link Shorts} methods. */ public abstract class ShortsMethodsForWeb { @JsMethod(name = "Math.min", namespace = JsPackage.GLOBAL) public static native short min(short... array); @JsMethod(name = "Math.max", namespace = JsPackage.GLOBAL) public static native short max(short... array);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Oct 26 00:50:12 GMT 2023 - 1K 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) -
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
return new DataInputStream(in).readUTF(); } /** * Reads a {@code short} as specified by {@link DataInputStream#readShort()}, except using * little-endian byte order. * * @return the next two bytes of the input stream, interpreted as a {@code short} in little-endian * byte order. * @throws IOException if an I/O error occurs. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 7.3K bytes - Click Count (0)