- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 88 for 0x0040 (1.38 sec)
-
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertEquals(expectedHigh, buffer[offset + 3]); } private static Stream<Arguments> provideFidTestCases() { return Stream.of(Arguments.of(0x0000, (byte) 0x00, (byte) 0x00), Arguments.of(0x00FF, (byte) 0xFF, (byte) 0x00), Arguments.of(0xFF00, (byte) 0x00, (byte) 0xFF), Arguments.of(0xFFFF, (byte) 0xFF, (byte) 0xFF), Arguments.of(0x1234, (byte) 0x34, (byte) 0x12)); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
/** * Default constructor for TimeOfDayInfo. */ public TimeOfDayInfo() { } /** * The time elapsed since 00:00:00, January 1, 1970 GMT. */ public int elapsedt; /** * The number of milliseconds from the start of the current second. */ public int msecs; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 26.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (16384) assertEquals(16384, SMBUtil.readInt2(dst, descrEnd + 2));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
assertTrue(s1.isEmpty()); // isBlank will fail if sub_authority is null, so we skip that check for s1 // All-zero subauthorities byte[] ident = new byte[] { 0, 0, 0, 0, 0, 0 }; rpc.sid_t st = buildSidT((byte) 1, ident, 0, 0); SID s2 = new SID(st, jcifs.SID.SID_TYPE_USE_NONE, null, null, false); assertFalse(s2.isEmpty());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
Field commandField = ServerMessageBlock2.class.getDeclaredField("command"); commandField.setAccessible(true); int command = (int) commandField.get(req); assertEquals(0x0001, command); // SMB2_SESSION_SETUP command value Field securityModeField = Smb2SessionSetupRequest.class.getDeclaredField("securityMode"); securityModeField.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NodeStatusResponseTest.java
// Bit 2: active (1) // Bit 1: permanent (1) // MAC address byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(testMac, 0, src, srcIndex + 19, 6); // Statistics byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; System.arraycopy(stats, 0, src, srcIndex + 25, 6); response.readRDataWireFormat(src, srcIndex);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
/** * Flag indicating that SIDs should be resolved to names. */ public static final int SID_FLAG_RESOLVE_SIDS = 0x0001; /** * Well known SID: EVERYONE */ public static SID EVERYONE = null; /** * Well known SID: CREATOR_OWNER */ public static SID CREATOR_OWNER = null; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K 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());Registered: 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/SmbResource.java
void setCreateTime(long time) throws CIFSException; /** * Retrieve the last acces time of the file represented by this <code>SmbResource</code> * * @return The number of milliseconds since the 00:00:00 GMT, January 1, * 1970 as a <code>long</code> value * @throws CIFSException if an error occurs accessing the resource */ long lastAccess() throws CIFSException; /**
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
SMBUtil.writeInt2(0x1111, buffer1, 20); SMBUtil.writeInt2(0x0210, buffer1, 22); response.decode(buffer1, 0, 24); assertEquals(0x11111111, response.getCapabilities(), "First decode capabilities"); assertEquals(0x1111, response.getSecurityMode(), "First decode security mode"); assertEquals(0x0210, response.getDialect(), "First decode dialect");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)