- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 291 for 0x200 (0.02 sec)
-
src/main/java/jcifs/smb1/netbios/Lmhosts.java
* @param host the hostname to resolve * @return the resolved NbtAddress or null if not found */ public synchronized static NbtAddress getByName(final String host) { return getByName(new Name(host, 0x20, null)); } synchronized static NbtAddress getByName(final Name name) { NbtAddress result = null; try { if (FILENAME != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @Test @DisplayName("Directory leasing capability should be 0x20") void testGlobalCapDirectoryLeasing() { assertEquals(0x20, Smb2Constants.SMB2_GLOBAL_CAP_DIRECTORY_LEASING, "Directory leasing capability must be 0x20"); } @Test @DisplayName("Encryption capability should be 0x40") void testGlobalCapEncryption() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testEncode() { byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 }; Smb2LeaseKey key = new Smb2LeaseKey(testBytes); byte[] buffer = new byte[20]; key.encode(buffer, 2); for (int i = 0; i < 16; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComWriteResponseTest.java
assertEquals(0x1234L, resp.getCount(), "Count should reflect value from buffer"); } @Test public void testToStringContainsCount() { // Little-endian: count = 512 (0x0200) byte[] buf = new byte[12]; buf[0] = 0x00; buf[1] = 0x02; // count = 512 in little-endian resp.readParameterWordsWireFormat(buf, 0); String str = resp.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/NetbiosNameTest.java
// Given int testType = 0x20; // Server service when(mockNetbiosName.getNameType()).thenReturn(testType); // When int nameType = mockNetbiosName.getNameType(); // Then assertEquals(testType, nameType); verify(mockNetbiosName).getNameType(); } @ParameterizedTest @ValueSource(ints = { 0x00, 0x03, 0x06, 0x1B, 0x1C, 0x1D, 0x1E, 0x20 })
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcConstants.java
*/ int DCERPC_CONC_MPX = 0x10; /* supports concurrent multiplexing */ /** * Did not execute flag - indicates request was not executed */ int DCERPC_DID_NOT_EXECUTE = 0x20; /** * Maybe flag - indicates 'maybe' call semantics requested */ int DCERPC_MAYBE = 0x40; /* `maybe' call semantics requested */ /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtAddress.java
*/ public static final int H_NODE = 3; /** * Unknown MAC Address */ public static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; Name hostName; int address, nodeType; boolean groupName, isBeingDeleted, isInConflict, isActive, isPermanent, isDataFromNodeStatus; byte[] macAddress;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java
static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04; // Access Mode Encoding for desiredAccess static final int SHARING_COMPATIBILITY = 0x00; static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10; static final int SHARING_DENY_WRITE = 0x20; static final int SHARING_DENY_READ_EXECUTE = 0x30; static final int SHARING_DENY_NONE = 0x40; static final int DO_NOT_CACHE = 0x1000; // bit 12
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7.3K bytes - Viewed (0)