- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Epoch (0.01 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) -
docs/smb3-features/01-smb3-lease-design.md
if (isV2()) { System.arraycopy(parentLeaseKey.getKey(), 0, buffer, dataOffset + 32, 16); // ParentLeaseKey writeInt2(buffer, dataOffset + 48, epoch); // Epoch writeInt2(buffer, dataOffset + 50, 0); // Reserved } } @Override public void decode(byte[] buffer, int offset, int length) { // Decode lease response
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
*/ public int getLeaseState() { return leaseState; } /** * Gets the current lease epoch value for versioning * @return the current epoch */ public int getEpoch() { return epoch; } /** * Gets the file path associated with this lease * @return the file path */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/archive/zip/reader.go
const ticksPerSecond = 1e7 // Windows timestamp resolution ts := int64(attrBuf.uint64()) // ModTime since Windows epoch secs := ts / ticksPerSecond nsecs := (1e9 / ticksPerSecond) * (ts % ticksPerSecond) epoch := time.Date(1601, time.January, 1, 0, 0, 0, 0, time.UTC) modified = time.Unix(epoch.Unix()+secs, nsecs) } case unixExtraID, infoZipUnixExtraID: if len(fieldBuf) < 8 { continue parseExtras
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Mar 11 22:19:38 UTC 2025 - 28.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
* @param parentLeaseKey the parent lease key (can be null) * @param epoch the lease epoch */ public void addLeaseV2Context(Smb2LeaseKey leaseKey, int requestedState, Smb2LeaseKey parentLeaseKey, int epoch) { LeaseV2CreateContextRequest leaseContext = new LeaseV2CreateContextRequest(leaseKey, requestedState, parentLeaseKey, epoch); addCreateContext(leaseContext);
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/smb1/smb1/ServerMessageBlockTest.java
} @Test void testUTimeReadWrite() { byte[] buffer = new byte[4]; long time = System.currentTimeMillis(); // UTime is seconds since epoch, so divide by 1000 long unixTime = time / 1000L; // Mocking date for timezone consistency TimeZone original = TimeZone.getDefault(); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
/** * Calculates the expiration time in milliseconds from the current time. * * @param days the number of days from now when the item should expire * @return the expiration time in milliseconds since epoch */ protected long getExpiredTime(final int days) { final long now = ComponentUtil.getSystemHelper().getCurrentTimeAsLong(); return now + days * Constants.ONE_DAY_IN_MILLIS; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 15.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
builder = builder.addAll(headersOf()) builder = builder.add("", Date(0L)) builder = builder.add("", Instant.EPOCH) builder = builder.set("", "") builder = builder.set("", Date(0L)) builder = builder.set("", Instant.EPOCH) builder = builder.removeAll("") val get: String? = builder[""] val headers: Headers = builder.build() } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
} /** * Gets the date of the storage object. * This method returns the same value as getLastModified(). * * @return The date in milliseconds since epoch */ @Override public long getDate() { return getLastModified(); } /** * Returns the last modified date of the storage object.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBasicInfoTest.java
/** * 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)