- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for 86400000 (0.04 sec)
-
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
// Setup mock files when(mockFile1.getName()).thenReturn("document.txt"); when(mockFile1.length()).thenReturn(2048L); when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000); when(mockFile1.isDirectory()).thenReturn(false); when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
when(smbTreeHandle.getServerTimeZoneOffset()).thenReturn(3600000L); assertEquals(3600000L, smbTreeHandle.getServerTimeZoneOffset(), "Server time zone offset should be 3600000"); } /** * Test for getServerTimeZoneOffset() method throwing CIFSException. * @throws CIFSException */ @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
*/ class FileBasicInfoTest { private FileBasicInfo fileBasicInfo; // Use realistic time values in milliseconds since 1970 (Unix epoch) private static final long TEST_CREATE_TIME = System.currentTimeMillis() - 86400000L; // 1 day ago private static final long TEST_LAST_ACCESS_TIME = System.currentTimeMillis() - 43200000L; // 12 hours ago private static final long TEST_LAST_WRITE_TIME = System.currentTimeMillis() - 3600000L; // 1 hour ago
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
.thenReturn(false); // test time SMB1SigningDigest.writeUTime(mockConfig, testTime, dst, 0); expectedSeconds = (int) ((testTime - 3600000) / 1000L); actualSeconds = SMBUtil.readInt4(dst, 0); assertEquals(expectedSeconds, actualSeconds); } @Test @DisplayName("Test writeUTime when not in DST")
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/main/java/jcifs/smb1/smb1/ServerMessageBlock.java
} else { // t not in DST so subtract 1 hour t -= 3600000; } } else // not in DST if (TZ.inDaylightTime(new Date(t))) { // t is in DST so add 1 hour t += 3600000; } else { // t isn't in DST either } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java
} else { // t not in DST so subtract 1 hour t -= 3600000; } } else // not in DST if (cfg.getLocalTimezone().inDaylightTime(new Date(t))) { // t is in DST so add 1 hour t += 3600000; } else { // t isn't in DST either }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
private static byte[] bytebit = { (byte) 0x80, (byte) 0x40, (byte) 0x20, (byte) 0x10, (byte) 0x08, (byte) 0x04, (byte) 0x02, (byte) 0x01 }; private static int[] bigbyte = { 0x800000, 0x400000, 0x200000, 0x100000, 0x080000, 0x040000, 0x020000, 0x010000, 0x008000, 0x004000, 0x002000, 0x001000, 0x000800, 0x000400, 0x000200, 0x000100, 0x000080, 0x000040, 0x000020, 0x000010, 0x000008, 0x000004,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
// System time SMBUtil.writeTime(System.currentTimeMillis(), buffer, offset + 40); // Server start time SMBUtil.writeTime(System.currentTimeMillis() - 3600000, buffer, offset + 48); // Security buffer offset and length SMBUtil.writeInt2(128, buffer, offset + 56); // Offset SMBUtil.writeInt2(0, buffer, offset + 58); // Length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
*/ public static final int FILE_OPEN_REPARSE_POINT = 0x200000; /** * Open does not cause an opportunistic lock break for the file */ public static final int FILE_NOP_RECALL = 0x400000; /** * The file is being opened solely to query its free space */ public static final int FILE_OPEN_FOR_FREE_SPACE_QUERY = 0x800000; private byte securityFlags;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java
assertEquals(0x100000, Smb2CreateRequest.FILE_RESERVE_OPFILTER); assertEquals(0x200000, Smb2CreateRequest.FILE_OPEN_REPARSE_POINT); assertEquals(0x400000, Smb2CreateRequest.FILE_NOP_RECALL); assertEquals(0x800000, Smb2CreateRequest.FILE_OPEN_FOR_FREE_SPACE_QUERY); } @Test @DisplayName("Test default values after construction")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 18.6K bytes - Viewed (0)