- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 297 for 0x40 (2.71 sec)
-
src/main/java/jcifs/netbios/NodeStatusResponse.java
for (j = srcIndex + 14; src[j] == 0x20; j--) { ; } n = Strings.fromOEMBytes(src, srcIndex, j - srcIndex + 1, this.config); hexCode = src[srcIndex + 15] & 0xFF; groupName = ((src[srcIndex + 16] & 0x80) == 0x80) == true; ownerNodeType = (src[srcIndex + 16] & 0x60) >> 5;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacDataInputStreamTest.java
// total=4, unused=1, used=2, string="AB" byte[] data = new byte[] { 0x04, 0x00, 0x00, 0x00, // total 0x01, 0x00, 0x00, 0x00, // unused 0x02, 0x00, 0x00, 0x00, // used 0x00, 0x00, // unused char 0x41, 0x00, // 'A' 0x42, 0x00 // 'B' }; PacDataInputStream pdis = createInputStream(data);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
PrintStream ps = new PrintStream(baos); // Test with control characters and printable characters byte[] data = { 0x00, 0x01, 0x09, 0x0A, 0x0D, 0x1F, // Control characters 0x20, 0x41, 0x42, 0x7E, // Printable characters (byte) 0x7F, (byte) 0x80, (byte) 0xFF // Extended/control }; Hexdump.hexdump(ps, data, 0, data.length); String output = baos.toString();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
@Test @DisplayName("Multiple reads update offset correctly") void testMultipleReadsUpdateOffset() { byte[] buffer1 = new byte[] { 0x10, 0x00, 0x00, 0x00 }; // 16 byte[] buffer2 = new byte[] { 0x20, 0x00, 0x00, 0x00 }; // 32 response.readParameterWordsWireFormat(buffer1, 0); assertEquals(16L, response.getOffset(), "First read should set offset to 16");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
// write 0x20 in first byte dst[dstIndex] = 0x20; final byte tmp[] = Strings.getOEMBytes(this.name, this.config); int i; for (i = 0; i < tmp.length; i++) { dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41); dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); } for (; i < 15; i++) {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/smb1/util/Base64Test.java
return Stream.of(Arguments.of(new byte[0], ""), Arguments.of(new byte[] { (byte) 0x41 }, "QQ=="), // "A" Arguments.of(new byte[] { (byte) 0x41, (byte) 0x42 }, "QUI="), // "AB" Arguments.of("Man".getBytes(), "TWFu"), // 3 bytes, no padding Arguments.of(new byte[] { (byte) 0x00, (byte) 0x00, (byte) 0x00 }, "AAAA"), // all zeros
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* represents is a printer. */ public static final int TYPE_PRINTER = 0x20; /** * Returned by {@link #getType()} if the resource this {@code SmbFile} * represents is a communications device. */ public static final int TYPE_COMM = 0x40; private String canon; // Initially null; set by getUncPath; dir must end with '/' private String share; // Can be nullRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
// Prepare encoded data for "TEST" with type 0x20 byte[] src = new byte[100]; src[0] = 0x20; // First byte // Encode "TEST" (0x54 0x45 0x53 0x54) // T=0x54: upper nibble 0x5->F(0x46), lower nibble 0x4->E(0x45) src[1] = 'F'; src[2] = 'E'; // T // E=0x45: upper nibble 0x4->E(0x45), lower nibble 0x5->F(0x46) src[3] = 'E'; src[4] = 'F'; // E
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
void testCapacityCalculation() throws SMBProtocolDecodingException { byte[] buffer = new byte[24]; buffer[4] = 0x04; // sectPerAlloc = 4 buffer[8] = 0x00; buffer[9] = 0x20; // alloc = 8192 buffer[16] = 0x00; buffer[17] = 0x04; // bytesPerSect = 1024 smbInfoAllocation.decode(buffer, 0, buffer.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0)