- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 104 for 1601 (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/InfoTest.java
long lastWrite = 1600000200000L; long change = 1600000300000L; int attributes = 0x1234; // Convert Unix time to Windows FILETIME (100-nanosecond intervals since 1601) long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; writeLong(buffer, 0, (create + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Encdec.java
*/ public static final int TIME_1904_SEC_32LE = 4; /** * Time encoding type: 1601 epoch, 64-bit nanoseconds, little-endian. */ public static final int TIME_1601_NANOS_64LE = 5; /** * Time encoding type: 1601 epoch, 64-bit nanoseconds, big-endian. */ public static final int TIME_1601_NANOS_64BE = 6; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 18.5K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
// Note: When encoding time 0, SMBUtil.writeTime writes 0 directly, // but SMBUtil.readTime interprets 0 as Jan 1, 1601 in Unix time (-11644473600000) // This is the expected behavior for Windows FILETIME long expectedTime = -11644473600000L; // Jan 1, 1601 in Unix time assertEquals(expectedTime, decoded.getCreateTime()); assertEquals(expectedTime, decoded.getLastAccessTime());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmUtil.java
* * @param responseKeyNT the NT response key * @param serverChallenge the server challenge bytes * @param clientChallenge the client challenge bytes * @param nanos1601 the timestamp in nanoseconds since 1601 * @param avPairs the AV pairs from the Type 2 message * @return the calculated response */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
assertEquals(0, fileBothDirectoryInfo.getNextEntryOffset()); assertEquals(0, fileBothDirectoryInfo.getFileIndex()); // For time fields, 0 in the wire format means Jan 1, 1601, which is negative in Unix epoch assertTrue(fileBothDirectoryInfo.createTime() < 0); assertTrue(fileBothDirectoryInfo.lastAccess() < 0); assertTrue(fileBothDirectoryInfo.lastModified() < 0);
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
if (year in 0..69) year += 2000 // If any partial is omitted or out of range, return -1. The date is impossible. Note that leap // seconds are not supported by this syntax. require(year >= 1601) require(month != -1) require(dayOfMonth in 1..31) require(hour in 0..23) require(minute in 0..59) require(second in 0..59) GregorianCalendar(UTC).apply {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
// Given 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;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/main/java/jcifs/SmbConstants.java
*/ int TID_OFFSET = 24; /** * Length of SMB1 header in bytes. */ int SMB1_HEADER_LENGTH = 32; /** * Milliseconds between January 1, 1970 and January 1, 1601. */ long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; /** * Default OEM encoding for non-Unicode strings. */ String DEFAULT_OEM_ENCODING = "Cp850"; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:49:49 GMT 2025 - 12.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
* * @param responseKeyNT the NT response key * @param serverChallenge the server challenge bytes * @param clientChallenge the client challenge bytes * @param nanos1601 the timestamp in nanoseconds since 1601 * @param targetInfo the target information from the Type 2 message * @return the NTLMv2 response bytes */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0)