Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Epoch (0.8 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

             *
             * @return The date in milliseconds since epoch
             */
            @Override
            public long getDate() {
                return getLastModified();
            }
    
            /**
             * Returns the last modified date of the storage object.
             * @return The last modified date in milliseconds since epoch.
             */
            @Override
            public long getLastModified() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:52:56 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. 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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. docs/SMB3_IMPLEMENTATION_PLAN.md

    - [ ] Add lease context to Create request/response
    - [ ] Implement lease break notification handling
    - [ ] Modify SmbFile to support lease-based caching
    - [ ] Add lease upgrade/downgrade logic
    - [ ] Implement lease epoch tracking for v2 leases
    
    #### 1.3 Integration Points
    - Modify `Smb2CreateRequest` to include lease contexts
    - Update `SmbFile` caching logic to use leases
    - Add lease break handling in `SmbTransport`
    
    ---
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top