- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 101 for 0x108 (0.02 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
for (int i = 0; i < 16; i++) { expectedData[i] = (byte) (0xA0 + i); buffer[16 + i] = expectedData[i]; } // Set header values SMBUtil.writeInt4(0x100, buffer, 0); SMBUtil.writeInt4(0x200, buffer, 4); SMBUtil.writeInt4(0x300, buffer, 8); SMBUtil.writeInt4(0x400, buffer, 12); // Decode response.decode(buffer, 0, 32);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
when(mockFile2.lastModified()).thenReturn(System.currentTimeMillis() - 1800000); when(mockFile2.isDirectory()).thenReturn(true); when(mockFile2.getAttributes()).thenReturn(0x10); // FILE_ATTRIBUTE_DIRECTORY when(mockFile2.createTime()).thenReturn(System.currentTimeMillis() - 7200000); when(mockFile2.lastAccess()).thenReturn(System.currentTimeMillis() - 900000);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
// When String result = Hexdump.toHexString(data, offset, length); // Then assertNotNull(result); assertFalse(result.isEmpty()); // Check starts with byte at offset 16 (0x10) assertTrue(result.startsWith("10111213")); assertEquals(64, result.length()); // 32 bytes * 2 chars per byte } @Test @DisplayName("Should handle invalid offset and length parameters")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/jcifs/SmbConstants.java
*/ int FLAGS_RECEIVE_BUFFER_POSTED = 0x02; /** * Path names are case-insensitive flag. */ int FLAGS_PATH_NAMES_CASELESS = 0x08; /** * Path names are canonicalized flag. */ int FLAGS_PATH_NAMES_CANONICALIZED = 0x10; /** * Opportunistic lock requested or granted flag. */ int FLAGS_OPLOCK_REQUESTED_OR_GRANTED = 0x20; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 12.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
// 64-fold("Rough Consensus, and Running Code") verifyNfold("Rough Consensus, and Running Code", 8, new byte[] { (byte) 0xbb, (byte) 0x6e, (byte) 0xd3, (byte) 0x08, (byte) 0x70, (byte) 0xb7, (byte) 0xf0, (byte) 0xe0 }); // 64-fold("kerberos") verifyNfold("kerberos", 8,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
when(mockNdrBuffer.dec_ndr_small()).thenReturn((int) (byte) 0x55, (int) (byte) 0x66, // clock seq bytes (int) (byte) 0x07, (int) (byte) 0x08, (int) (byte) 0x09, (int) (byte) 0x0A, (int) (byte) 0x0B, (int) (byte) 0x0C // node bytes ); when(mockNdrBuffer.derive(anyInt())).thenReturn(mockNdrBuffer);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals(0x8, Smb2CreateRequest.FILE_NO_IMTERMEDIATE_BUFFERING); assertEquals(0x10, Smb2CreateRequest.FILE_SYNCHRONOUS_IO_ALERT); assertEquals(0x20, Smb2CreateRequest.FILE_SYNCHRONOUS_IO_NONALERT); assertEquals(0x40, Smb2CreateRequest.FILE_NON_DIRECTORY_FILE); assertEquals(0x100, Smb2CreateRequest.FILE_COMPLETE_IF_OPLOCKED); assertEquals(0x200, Smb2CreateRequest.FILE_NO_EA_KNOWLEDGE);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K 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);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
} @Test void testWriteHeaderReadHeader() { byte[] buffer = new byte[32]; smb.command = ServerMessageBlock.SMB_COM_NEGOTIATE; smb.flags = (byte) 0x18; smb.flags2 = 0x0001; smb.tid = 1; smb.pid = 2; smb.uid = 3; smb.mid = 4; smb.writeHeaderWireFormat(buffer, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
buffer[bufferIndex++] = (byte) 0x40; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // maxRawSize buffer[bufferIndex++] = (byte) 0x00; buffer[bufferIndex++] = (byte) 0x10; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // sessionKey buffer[bufferIndex++] = 1; buffer[bufferIndex++] = 2; buffer[bufferIndex++] = 3;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)