- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for Epoch (0.02 seconds)
-
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. */
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) -
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 responseCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (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 */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (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);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 22.9K bytes - Click Count (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
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 28.5K bytes - Click Count (0) -
internal/jwt/parser.go
c.Issuer = issuer } // SetAudience sets audience for these claims func (c *StandardClaims) SetAudience(aud string) { c.Audience = aud } // SetExpiry sets expiry in unix epoch secs func (c *StandardClaims) SetExpiry(t time.Time) { c.ExpiresAt = t.Unix() } // SetAccessKey sets access key as jwt subject and custom // "accessKey" field.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.1K bytes - Click Count (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 {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (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; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 15.2K bytes - Click Count (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 agoCreated: 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/test/java/jcifs/pac/PacLogonInfoTest.java
DataOutputStream dos = new DataOutputStream(baos); // Write a known FILETIME value // 116444736000000000L represents January 1, 1970 (Unix epoch) in Windows FILETIME long epochFiletime = 116444736000000000L; writeLittleEndianLong(dos, epochFiletime); ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0)