- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 146 for 0xfff0 (0.51 sec)
-
src/test/java/jcifs/smb/FileEntryTest.java
Arguments.of((IntGetter) FileEntry::getAttributes, 0, "no attributes"), Arguments.of((IntGetter) FileEntry::getAttributes, 0xFFFF, "many attributes"), Arguments.of((IntGetter) FileEntry::getFileIndex, -5, "negative index"), Arguments.of((IntGetter) FileEntry::getFileIndex, 0, "zero index")); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
} @ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
String str = info.toString(); assertTrue(str.contains(specialName)); assertTrue(str.contains(specialRemark)); } @Test @DisplayName("Test type masking with 0xFFFF") void testTypeMasking() { // Test that only lower 16 bits are considered for type determination int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/ndr/NdrBuffer.java
*/ public void enc_ndr_small(final int s) { buf[index] = (byte) (s & 0xFF); advance(1); } /** * Decodes a small integer (1 byte) from NDR format. * * @return the decoded small integer value */ public int dec_ndr_small() { final int val = buf[index] & 0xFF; advance(1); return val; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java
// Given byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 }; SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config); // When int result = instance.readParameterWordsWireFormat(buffer, 0); // Then assertEquals(8, result); assertEquals(0xffffL, instance.getCount()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
jcifs.internal.smb1.com.SmbComReadAndX req = cap.getValue(); assertEquals(0x12345 & 0xFFFF, req.getMaxCount(), "maxCount should contain lower 16 bits"); assertEquals(0x12345, req.getMinCount(), "minCount should remain original full value"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
*/ internal const val PAYLOAD_SHORT = 126 /** Maximum length of a frame payload to be denoted as [PAYLOAD_SHORT]. */ internal const val PAYLOAD_SHORT_MAX = 0xffffL /** * Value for [B1_MASK_LENGTH] which indicates the next eight bytes are the unsigned * length. */ internal const val PAYLOAD_LONG = 127
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
* @return the unsigned short value as an integer * @throws IOException if an I/O error occurs */ public int readUnsignedShort() throws IOException { return readShort() & 0xffff; } /** * Reads a Windows FILETIME value and converts it to a Date. * @return the Date object, or null if the time represents infinity * @throws IOException if an I/O error occurs */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
testBuffer[0] = (byte) 0xFF; // Non-zero = Deny testBuffer[1] = (byte) 0xFF; // All flags testBuffer[2] = (byte) 0xFF; // Size low byte testBuffer[3] = (byte) 0xFF; // Size high byte testBuffer[4] = (byte) 0xFF; // Access mask all bits testBuffer[5] = (byte) 0xFF; testBuffer[6] = (byte) 0xFF; testBuffer[7] = (byte) 0xFF; // Add minimal SID data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0)