- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 116 for 0x12345678 (0.22 seconds)
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
@DisplayName("Should encode basic lock structure correctly") void testBasicEncoding() { long offset = 0x1234567890ABCDEFL; long length = 0xFEDCBA0987654321L; int flags = 0x12345678; lock = new Smb2Lock(offset, length, flags); int encoded = lock.encode(buffer, 0); assertEquals(24, encoded); // Verify offset (8 bytes)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java
import jcifs.internal.util.SMBUtil; /** * Test class for ValidateNegotiateInfoRequest */ class ValidateNegotiateInfoRequestTest { private static final int DEFAULT_CAPABILITIES = 0x12345678; private static final int DEFAULT_SECURITY_MODE = 0x0003; private byte[] defaultClientGuid; private int[] defaultDialects; @BeforeEach void setUp() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
} @Test @DisplayName("Test setFileIndex method") void testSetFileIndex() { request = new Smb2QueryDirectoryRequest(mockConfig); int fileIndex = 0x12345678; request.setFileIndex(fileIndex); // Verify by writing to buffer and checking the fileIndex position byte[] buffer = new byte[1024];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
void testCompleteEncodingStructure() { // Given long sourceOffset = 0x1234567890ABCDEFL; long targetOffset = 0xFEDCBA0987654321L; int length = 0x12345678; SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); byte[] buffer = new byte[EXPECTED_SIZE]; // When int bytesWritten = chunk.encode(buffer, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@DisplayName("Test decode with typical values") void testDecodeWithTypicalValues() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; int idFileSystem = 0x12345678; int sectPerAlloc = 8; long alloc = 1000000L; long free = 500000L; int bytesPerSect = 512; // Encode test data int offset = 0;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
} @Test @DisplayName("Test desired access setter") void testSetDesiredAccess() { request = new Smb2CreateRequest(mockConfig, "test.txt"); int access = 0x12345678; request.setDesiredAccess(access); byte[] buffer = new byte[1024]; request.writeBytesWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testGetFileIndex() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("file.txt", "FILE~1.TXT", true); int expectedFileIndex = 0x12345678; SMBUtil.writeInt4(expectedFileIndex, buffer, 4); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
void testReadBytesWireFormatReserved2Field() throws Exception { // Given byte[] buffer = new byte[256]; int bodyStart = 0; int dataOffsetFromHeader = 80; int reserved2Value = 0x12345678; // Write structure SMBUtil.writeInt2(17, buffer, bodyStart); buffer[bodyStart + 2] = (byte) dataOffsetFromHeader; SMBUtil.writeInt4(10, buffer, bodyStart + 4);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
/** * Test setting and getting int fields */ @Test @DisplayName("Test int fields with various values") public void testIntFields() { // When serverData.sflags2 = 0x12345678; serverData.smaxMpxCount = 50; serverData.maxBufferSize = 65536; serverData.sessKey = 0xABCDEF01; serverData.scapabilities = 0x80000000; serverData.securityMode = 0x0F;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17K bytes - Click Count (0)