- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 63 for 0x12345678 (0.17 sec)
-
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);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/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java
} @Test @DisplayName("Test readParametersWireFormat reads length correctly") void testReadParametersWireFormat() throws Exception { byte[] buffer = new byte[100]; int expectedLength = 0x12345678; // Write length in little-endian format SMBUtil.writeInt4(expectedLength, buffer, 0); int result = response.readParametersWireFormat(buffer, 0, buffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
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)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (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;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (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);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/jcifs/util/HexdumpTest.java
assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16)); // Test different sizes assertEquals("00000000", Hexdump.toHexString(0L, 8)); assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8)); } @Test @DisplayName("Should handle special byte values correctly") void testSpecialByteValues() { // Test boundary values
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/test/java/jcifs/smb1/util/HexdumpTest.java
assertEquals("00FF", Hexdump.toHexString(255L, 4)); // Test larger values assertEquals("0000000012345678", Hexdump.toHexString(0x12345678L, 16)); assertEquals("12345678", Hexdump.toHexString(0x12345678L, 8)); assertEquals("5678", Hexdump.toHexString(0x12345678L, 4)); // Test negative values (treated as unsigned) assertEquals("FFFFFFFFFFFFFFFF", Hexdump.toHexString(-1L, 16));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/FullWidthToHalfWidthAlphabetNormalizerTest.java
FullWidthToHalfWidthAlphabetNormalizer normalizer = new FullWidthToHalfWidthAlphabetNormalizer(); String result = normalizer.normalize("0123456789", "field"); assertEquals("0123456789", result); } @Test public void test_mixedFullWidthAlphanumeric() throws Exception {
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 4.7K bytes - Viewed (0)