- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 335 for 0x0B (5.36 sec)
-
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
*/ @Test @DisplayName("Test byte array fields (encryptionKey and guid)") public void testByteArrayFields() { // Test encryptionKey byte[] key = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; serverData.encryptionKey = key; assertNotNull(serverData.encryptionKey); assertArrayEquals(key, serverData.encryptionKey); // Test with empty array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x01; b[off + 1] = 0x02; b[off + 2] = 0x03; b[off + 3] = 0x04; b[off + 4] = 0x05; b[off + 5] = 0x06; b[off + 6] = 0x07; b[off + 7] = 0x08; return 8; }).when(raf).read(any(byte[].class), anyInt(), eq(8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
int bufferIndex = 0; // Set up test values int namedPipeState = 0x03; // NP_NOWAIT | NP_READMODE_MESSAGE int readDataAvailable = 100; int numberOfMessages = 2; int messageLength = 50; byte[] testData = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; // Write values to buffer SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS_NONE = 0x00; /** * Obsolete lock and read/write and unlock flag. */ int FLAGS_LOCK_AND_READ_WRITE_AND_UNLOCK = 0x01; /** * Receive buffer has been posted flag. */ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** * Path names are case-insensitive flag. */ int FLAGS_PATH_NAMES_CASELESS = 0x08; /** * Path names are canonicalized flag.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
void testRoundTrip() throws CIFSException { List<AvPair> originalPairs = new LinkedList<>(); originalPairs.add(new AvFlags(0x12345678)); originalPairs.add(new AvTimestamp(new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 })); originalPairs.add(new AvTargetName("TESTNAME".getBytes())); originalPairs.add(new AvSingleHost(new byte[] { 0x11, 0x22, 0x33, 0x44 }));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java
// flags (not the same as flags constructor argument) private static final int FLAGS_RETURN_ADDITIONAL_INFO = 0x01; private static final int FLAGS_REQUEST_OPLOCK = 0x02; private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04; // Access Mode Encoding for desiredAccess private static final int SHARING_COMPATIBILITY = 0x00; private static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
private CommonServerMessageBlock message; private byte[] testData; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters") void testSignWithValidParameters() { // Arrange int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionRetargetResponsePacketTest.java
// Test successful reading of 6 bytes from the input stream. // The content of these bytes is not critical for this test, only that 6 bytes are read. byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06 }; // Sample 6 bytes ByteArrayInputStream bais = new ByteArrayInputStream(data); SessionRetargetResponsePacket packet = new SessionRetargetResponsePacket();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransaction.java
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; static final byte TRANS2_QUERY_PATH_INFORMATION = (byte) 0x05; static final byte TRANS2_GET_DFS_REFERRAL = (byte) 0x10; static final byte TRANS2_SET_FILE_INFORMATION = (byte) 0x08; static final int NET_SHARE_ENUM = 0x0000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_KRB, OID_NTLM }; int flags = NegTokenInit.DELEGATION | NegTokenInit.INTEGRITY; byte[] mechToken = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 }; byte[] mic = new byte[] { (byte) 0xAA, (byte) 0xBB, (byte) 0xCC }; NegTokenInit original = new NegTokenInit(mechs, flags, mechToken, mic);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0)