- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 251 for 0x200 (0.51 sec)
-
src/test/java/jcifs/netbios/SessionServicePacketTest.java
byte[] src = { (byte) 0x00, (byte) 0x01, (byte) 0xFF, (byte) 0xFF }; int length = SessionServicePacket.readLength(src, 0); assertEquals(0x01FFFF, length); } @Test @DisplayName("readLength should handle zero length") void testReadLengthZero() { byte[] src = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
this.scope = scope != null && scope.length() > 0 ? scope : DEFAULT_SCOPE; this.srcHashCode = 0; } int writeWireFormat(final byte[] dst, final int dstIndex) { // write 0x20 in first byte dst[dstIndex] = 0x20; // write name try { final byte tmp[] = name.getBytes(Name.OEM_ENCODING); int i; for (i = 0; i < tmp.length; i++) {
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
return "0.0.0.0".equals(this.name) && this.hexCode == 0 && this.scope == null; } int writeWireFormat(final byte[] dst, final int dstIndex) { // 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++) {
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/fscc/FileSystemInformationTest.java
// Skip idFileSystem (4 bytes) buffer[4] = 0x08; // sectPerAlloc = 8 buffer[8] = 0x00; buffer[9] = 0x10; // alloc = 4096 buffer[12] = 0x00; buffer[13] = 0x08; // free = 2048 buffer[16] = 0x00; buffer[17] = 0x02; // bytesPerSect = 512 int bytesDecoded = 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) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// Since FLAGS2_RESOLVE_PATHS_IN_DFS is 0x1000, when cast to byte it becomes 0 // Therefore the method will always return false unless flags has all 0x00 bits set // This test verifies actual behavior testBlock.setFlags((byte) 0x00); assertFalse(testBlock.isResolveInDfs()); // The correct implementation should check flags2, not flagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Lmhosts.java
* @return resolved name, null if not found */ public synchronized NbtAddress getByName(final String host, final CIFSContext tc) { return getByName(new Name(tc.getConfig(), host, 0x20, null), tc); } synchronized NbtAddress getByName(final Name name, final CIFSContext tc) { NbtAddress result = null; try { if (tc.getConfig().getLmHostsFileName() != null) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/util/SMBUtil.java
(byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // NextCommand (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // MessageId (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Reserved / AsyncId (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // TreeId / AsyncIdRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
static final Name UNKNOWN_NAME = new Name("0.0.0.0", 0x00, null); static final NbtAddress UNKNOWN_ADDRESS = new NbtAddress(UNKNOWN_NAME, 0, false, B_NODE); static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; static final class CacheEntry { Name hostName; NbtAddress address;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java
buffer[0] = 0x03; buffer[1] = 0x00; // isEndOfSearch (2 bytes) buffer[2] = 0x00; // end of search = false buffer[3] = 0x00; // eaErrorOffset (2 bytes) buffer[4] = 0x00; buffer[5] = 0x00; // lastNameOffset (2 bytes) buffer[6] = 0x08; buffer[7] = 0x00;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0)