Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 348 for timestamps (2.65 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

            }
        }
    
        @Nested
        @DisplayName("File Time Tests")
        class FileTimeTests {
    
            @Test
            @DisplayName("time methods should return valid timestamps")
            void testTimeOperations() throws CIFSException {
                // Given
                long currentTime = System.currentTimeMillis();
                when(mockResource.lastModified()).thenReturn(currentTime);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * DefaultRepositoryLayout does not correctly describe the layout of a local repository which unlike a remote
             * repository never uses timestamps in the filename of a snapshot artifact. The discrepancy gets notable when a
             * remotely resolved snapshot artifact gets passed into pathOf(). So producing a proper local artifact path
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        @Test
        void testSetTimestamps() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/timestamps.txt", context);
            file.createNewFile();
    
            long originalTime = file.lastModified();
            assertTrue(originalTime > 0, "File should have a valid timestamp");
    
            // Test setting timestamp 1 hour ago
            long testTime = System.currentTimeMillis() - 3600000;
            file.setLastModified(testTime);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    return url;
                }
                return id;
            }
        }
    
        /**
         * Statistics data object that stores timestamped events and maintains reference counting.
         * Extends LinkedHashMap to store event names mapped to their timestamps.
         * Includes reference counting for multi-threaded access tracking.
         */
        public static class StatsObject extends LinkedHashMap<String, Long> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/archive/zip/struct.go

    	Method uint16
    
    	// Modified is the modified time of the file.
    	//
    	// When reading, an extended timestamp is preferred over the legacy MS-DOS
    	// date field, and the offset between the times is used as the timezone.
    	// If only the MS-DOS date is present, the timezone is assumed to be UTC.
    	//
    	// When writing, an extended timestamp (which is timezone-agnostic) is
    	// always emitted. The legacy MS-DOS date field is encoded according to the
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue May 28 21:41:09 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

        /**
         * Field name for URL.
         */
        protected static final String URL = "url";
    
        /**
         * Field name for last modified timestamp.
         */
        protected static final String LAST_MODIFIED = "lastModified";
    
        /**
         * Field name for creation time timestamp.
         */
        protected static final String CREATE_TIME = "createTime";
    
        /**
         * Document type.
         */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    		f.Modified = modified.UTC()
    
    		// If legacy MS-DOS timestamps are set, we can use the delta between
    		// the legacy and extended versions to estimate timezone offset.
    		//
    		// A non-UTC timezone is always used (even if offset is zero).
    		// Thus, FileHeader.Modified.Location() == time.UTC is useful for
    		// determining whether extended timestamps are present.
    		// This is necessary for users that need to do additional time
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Mar 11 22:19:38 UTC 2025
    - 28.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /**
         * Determines whether the content at the given URL has been updated since the last crawl.
         * This method implements incremental crawling by comparing timestamps and checking document
         * expiration. It also handles special cases for different URL schemes (SMB, file, FTP).
         *
         * @param client the crawler client to use for accessing the URL
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                }
                return null;
            }).orElse(value);
        }
    
        /**
         * Converts a Long timestamp to a Date object.
         *
         * @param value the timestamp in milliseconds
         * @return Date object representing the timestamp, or null if value is null
         */
        public static Date date(final Long value) {
            if (value == null) {
                return null;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
Back to top