- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 195 for 0xfffa (2.16 sec)
-
src/main/java/jcifs/netbios/Name.java
tmp[i] = (byte) ((src[srcIndex + 2 * i + 1] & 0xFF) - 0x41 << 4); tmp[i] |= (byte) ((src[srcIndex + 2 * i + 2] & 0xFF) - 0x41 & 0x0F); if (tmp[i] != (byte) ' ') { length = i + 1; } } this.name = Strings.fromOEMBytes(tmp, 0, length, this.config); this.hexCode = (src[srcIndex + TYPE_OFFSET] & 0xFF) - 0x41 << 4;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
} @Test public void testByteOperations() { // Test byte operations that were used in the original test byte b = (byte) 0xFF; int value = b & 0xFF; assertEquals(255, value, "Byte to unsigned conversion should work"); // Test comparison operation assertTrue(value == 255, "Comparison should work correctly"); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
static int readInt2(final byte[] src, final int srcIndex) { return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8); } static int readInt4(final byte[] src, final int srcIndex) { return (src[srcIndex] & 0xFF) + ((src[srcIndex + 1] & 0xFF) << 8) + ((src[srcIndex + 2] & 0xFF) << 16) + ((src[srcIndex + 3] & 0xFF) << 24); } static long readInt8(final byte[] src, final int srcIndex) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
private int pad1 = 0; private boolean hasMore = true; private boolean isPrimary = true; private int bufParameterOffset; private int bufDataOffset; static final int TRANSACTION_BUF_SIZE = 0xFFFF; static final byte TRANS2_FIND_FIRST2 = (byte) 0x01; static final byte TRANS2_FIND_NEXT2 = (byte) 0x02; static final byte TRANS2_QUERY_FS_INFORMATION = (byte) 0x03;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
assertEquals(24, resumeKey.length, "Resume key should be 24 bytes"); // Verify all bytes are 0xFF for (int i = 0; i < 24; i++) { assertEquals((byte) 0xFF, resumeKey[i], "Resume key byte " + i + " should be 0xFF"); } } @Test @DisplayName("Test decode with larger buffer and length")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java
byte[] buffer = new byte[100]; int bufferIndex = 0; // Reserved bytes buffer[bufferIndex] = (byte) 0xFF; buffer[bufferIndex + 1] = (byte) 0xFF; buffer[bufferIndex + 2] = (byte) 0xFF; // Set fields with negative values (should be treated as unsigned) SMBUtil.writeInt4(-1, buffer, bufferIndex + 3); // Should be read as 0xFFFFFFFF
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
out[i++] = (byte) ((der.length >> 8) & 0xFF); out[i++] = (byte) (der.length & 0xFF); System.arraycopy(der, 0, out, i, der.length); i += der.length; out[i++] = (byte) ((nb.length >> 24) & 0xFF); out[i++] = (byte) ((nb.length >> 16) & 0xFF); out[i++] = (byte) ((nb.length >> 8) & 0xFF); out[i++] = (byte) (nb.length & 0xFF); System.arraycopy(nb, 0, out, i, nb.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/archive/tar/stat_unix.go
case "darwin", "ios": // Copied from golang.org/x/sys/unix/dev_darwin.go. major := uint32((dev >> 24) & 0xff) minor := uint32(dev & 0xffffff) h.Devmajor, h.Devminor = int64(major), int64(minor) case "dragonfly": // Copied from golang.org/x/sys/unix/dev_dragonfly.go. major := uint32((dev >> 8) & 0xff) minor := uint32(dev & 0xffff00ff) h.Devmajor, h.Devminor = int64(major), int64(minor) case "freebsd":
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Mar 15 16:01:50 UTC 2024 - 3.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should handle maximum values correctly") void testMaximumValues() { request.setPadding((byte) 0xFF); request.setReadFlags((byte) 0xFF); request.setReadLength(Integer.MAX_VALUE); request.setOffset(Long.MAX_VALUE); request.setMinimumCount(Integer.MAX_VALUE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0)