- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 330 for 0x08 (0.02 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
buffer[bufferIndex++] = 0; // securityMode buffer[bufferIndex++] = 0x03; // maxMpxCount buffer[bufferIndex++] = 50; buffer[bufferIndex++] = 0; // maxNumberVcs buffer[bufferIndex++] = 1; buffer[bufferIndex++] = 0; // maxBufferSize buffer[bufferIndex++] = (byte) 0x00; buffer[bufferIndex++] = (byte) 0x40; buffer[bufferIndex++] = 0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
assertEquals(SmbComTransaction.SMB_COM_TRANSACTION, resp1.getCommand()); // Test with NT_TRANSACT command TestSmbComTransactionResponse resp2 = new TestSmbComTransactionResponse(mockConfig, SmbComTransaction.SMB_COM_NT_TRANSACT, (byte) 0x02); assertEquals(SmbComTransaction.SMB_COM_NT_TRANSACT, resp2.getCommand());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
* Test constructor with malformed data (too short). */ @Test void testConstructorMalformedData() { // Prepare data (only 2 bytes, less than an int) byte[] data = new byte[] { 0x01, 0x02 }; // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java
assertArrayEquals(expectedDescrBytes, actualDescrBytes); // Verify level (0x0001 - 2 bytes) int descrEnd = 2 + expectedDescrBytes.length; assertEquals(0x01, dst[descrEnd]); assertEquals(0x00, dst[descrEnd + 1]); // Verify maxDataCount (2 bytes) int maxDataCount = SMBUtil.readInt2(dst, descrEnd + 2); assertTrue(maxDataCount > 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
filter.init(filterConfig); // Test NTLM Type 1 message handling byte[] type1Message = new byte[] { 0x4E, 0x54, 0x4C, 0x4D, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00 }; String authHeader = "NTLM " + new String(org.bouncycastle.util.encoders.Base64.encode(type1Message)); when(request.getHeader("Authorization")).thenReturn(authHeader);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Name.java
dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41); } for (; i < 15; i++) { dst[dstIndex + 2 * i + 1] = (byte) 0x43; dst[dstIndex + 2 * i + 2] = (byte) 0x41; } dst[dstIndex + TYPE_OFFSET] = (byte) (((hexCode & 0xF0) >> 4) + 0x41); dst[dstIndex + TYPE_OFFSET + 1] = (byte) ((hexCode & 0x0F) + 0x41);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
// relative to headerStart static final int SETUP_OFFSET = 61; static final int DISCONNECT_TID = 0x01; static final int ONE_WAY_TRANSACTION = 0x02; private int pad; private int pad1; private boolean parametersDone, dataDone; /** Total number of parameter bytes the server is returning */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameTest.java
assertEquals(4, dst[0]); // Should end with 0x00 assertEquals(0x00, dst[length - 1]); // Length should be scope length + 2 assertEquals(name.scope.length() + 2, length); } @Test void readScopeWireFormat_withNullScope_shouldReturnOne() { byte[] src = new byte[10]; src[0] = 0x00; Name name = new Name(mockConfig);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
void testAttributesWithOrOperation() { // The constructor ORs attributes with 0x80 trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, 0x01, // FILE_ATTRIBUTE_READONLY TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME); // The constructor should create FileBasicInfo with attributes | 0x80 assertNotNull(trans2SetFileInfo); // Test with zero attributes
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (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 / AsyncIdCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8K bytes - Click Count (0)