- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 335 for 0x0B (0.07 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/ASN1UtilTest.java
// Tag [1] IMPLICIT, content is 0x01 0x02 0x03 byte[] data = new byte[] { (byte) 0xA1, 0x03, 0x01, 0x02, 0x03 }; ByteArrayInputStream bais = new ByteArrayInputStream(data); ASN1InputStream ais = new ASN1InputStream(bais); byte[] result = ASN1Util.readUnparsedTagged(1, 10, ais); assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java
// Owner SID with 3 sub-authorities (S-1-5-21-X-Y-Z) testBuffer[20] = 0x01; // revision testBuffer[21] = 0x03; // sub-authority count testBuffer[22] = 0x00; // identifier authority testBuffer[23] = 0x00; testBuffer[24] = 0x00; testBuffer[25] = 0x00; testBuffer[26] = 0x00; testBuffer[27] = 0x05; SMBUtil.writeInt4(21, testBuffer, 28); // sub-authority 1
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
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/smb1/trans2/Trans2FindFirst2ResponseTest.java
// sid (2 bytes) buffer[0] = 0x01; buffer[1] = 0x00; // numEntries (2 bytes) buffer[2] = 0x05; buffer[3] = 0x00; // isEndOfSearch (2 bytes, bit 0 of first byte) buffer[4] = 0x01; // end of search = true buffer[5] = 0x00; // eaErrorOffset (2 bytes) buffer[6] = 0x00; buffer[7] = 0x00; // lastNameOffset (2 bytes)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java
bufferIndex++; server.security = server.securityMode & 0x01; server.encryptedPasswords = (server.securityMode & 0x02) == 0x02; server.signaturesEnabled = (server.securityMode & 0x04) == 0x04; server.signaturesRequired = (server.securityMode & 0x08) == 0x08; server.maxMpxCount = readInt2(buffer, bufferIndex); bufferIndex += 2;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
private static final int PRIMARY_SETUP_OFFSET = 61; private static final int SECONDARY_PARAMETER_OFFSET = 51; static final int DISCONNECT_TID = 0x01; static final int ONE_WAY_TRANSACTION = 0x02; static final int PADDING_SIZE = 4; private final int tflags = 0x00; private int pad1 = 0; private int pad2 = 0; private boolean hasMore = true; private boolean isPrimary = true;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian) AvFlags avFlags = new AvFlags(rawBytes); assertNotNull(avFlags, "AvFlags object should not be null"); assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.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: 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/lock/Smb2OplockBreakNotificationTest.java
} @ParameterizedTest @DisplayName("Should read different oplock levels correctly") @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF }) void testReadDifferentOplockLevels(byte oplockLevel) throws Exception { byte[] buffer = createValidOplockBreakBuffer(oplockLevel, createTestData(16));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0)