- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for 1970 (0.03 sec)
-
src/main/java/jcifs/smb1/util/Encdec.java
/** * Milliseconds between January 1, 1970 and January 1, 1601 (Windows epoch). */ public static final long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; /** * Seconds between January 1, 1904 and January 1, 1970 (Mac epoch). */ public static final long SEC_BETWEEEN_1904_AND_1970 = 2082844800L; /** * Time encoding type: 1970 epoch, 32-bit seconds, big-endian. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java
// Verify time was read correctly (accounting for UTime conversion) long readTime = (Long) getFieldValue(response, "lastWriteTime"); // UTime is seconds since 1970, so we need to compare at second precision assertEquals(lastWriteTime / 1000, readTime / 1000); } @Test void testReadParameterWordsWireFormatWithZeroWordCount() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int SIGNATURE_OFFSET = 14; /** TID offset in SMB header */ int TID_OFFSET = 24; /** SMB header length */ int HEADER_LENGTH = 32; /** Milliseconds between 1970 and 1601 */ long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; /** Default timezone */ TimeZone TZ = TimeZone.getDefault(); /** Whether to use batching */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
Date date = pacStream.readFiletime(); assertNotNull(date); // The date should be around 1970 (allowing for some conversion differences) assertTrue(date.getYear() + 1900 >= 1969 && date.getYear() + 1900 <= 1971); } @Test @DisplayName("Test invalid FILETIME handling") void testInvalidFiletime() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
import jcifs.internal.SMBProtocolDecodingException; /** * Test class for FileBasicInfo */ 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
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/fscc/BasicFileInformationTest.java
@ExtendWith(MockitoExtension.class) class BasicFileInformationTest { @Mock private BasicFileInformation mockBasicFileInfo; private FileBasicInfo fileBasicInfo; // Use Unix timestamps (milliseconds since 1970) for test values private static final long TEST_CREATE_TIME = System.currentTimeMillis() - 10000; private static final long TEST_LAST_ACCESS_TIME = System.currentTimeMillis() - 8000;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @see #setLastModified * * @param createTime * the create time as milliseconds since Jan 1, 1970 * @param lastModified * the last modified time as milliseconds since Jan 1, 1970 * @param lastAccess * the last access time as milliseconds since Jan 1, 1970 * @throws CIFSException if an error occurs modifying the resource
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
byte[] buffer = new byte[60]; SMBUtil.writeInt2(60, buffer, 0); // SMB times are in 100-nanosecond intervals since 1601 // Java times are in milliseconds since 1970 long currentJavaTime = System.currentTimeMillis(); long smbTime = currentJavaTime * 10000L + 116444736000000000L; SMBUtil.writeInt8(smbTime, buffer, 8);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
* constructing a {@link java.util.Date} object (i.e. seconds since Epoch * 1970). Times should be the same as those reported using the properties * dialog of the Windows Explorer program. * * @return The number of milliseconds since the 00:00:00 GMT, January 1, * 1970 as a <code>long</code> value * @throws SmbException if an error occurs while retrieving the last modified time
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
* programming language. * * @since 19.0 */ public static final MediaType DART_UTF_8 = createConstantUtf8(APPLICATION_TYPE, "dart"); /** * <a * href="https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/DistributingPasses.html">Apple * Passbook</a>. * * @since 19.0 */ public static final MediaType APPLE_PASSBOOK =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0)