Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 30 for currentTime (0.07 seconds)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

        @Test
        public void test_getCurrentTime() {
            final Date currentTime = systemHelper.getCurrentTime();
            assertNotNull(currentTime);
            final long now = System.currentTimeMillis();
            assertTrue(Math.abs(currentTime.getTime() - now) < 1000);
        }
    
        @Test
        public void test_getCurrentTimeAsLong() {
            final long currentTime = systemHelper.getCurrentTimeAsLong();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            long processingTime = 0;
            long currentTime = System.currentTimeMillis();
    
            @Override
            public boolean calibrateCpuLoad() {
                // Do nothing
                return true;
            }
    
            @Override
            public long getCurrentTimeAsLong() {
                long time = currentTime;
                currentTime += processingTime;
                return time;
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
    
            long currentTime = roleQueryHelper.getCurrentTime();
            assertTrue(currentTime > 0);
    
            long currentTimeMillis = System.currentTimeMillis();
            // Allow for small time difference
            assertTrue(Math.abs(currentTime - currentTimeMillis) < 1000);
        }
    
        @Test
        public void test_constants() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            crawler.pathMappingService = pathMappingService;
    
            crawlingInfoService = new CrawlingInfoService() {
                @Override
                public void deleteSessionIdsBefore(String sessionId, String name, long currentTime) {
                    // Mock implementation
                }
            };
            crawler.crawlingInfoService = crawlingInfoService;
    
            crawlingInfoHelper = new CrawlingInfoHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  5. src/main/webapp/js/jquery-3.7.1.min.map

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:07:52 GMT 2024
    - 131.6K bytes
    - Click Count (0)
  6. src/main/webapp/js/admin/jquery-3.7.1.min.map

    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:07:52 GMT 2024
    - 131.6K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/SourcesRepository.kt

    import java.io.File
    
    
    internal
    sealed class ApiSourceFile {
    
        internal
        abstract val currentFile: File
    
        internal
        abstract val currentSourceRoot: File
    
        @ConsistentCopyVisibility
        data class Java internal constructor(
    
            override val currentFile: File,
    
            override val currentSourceRoot: File
    
        ) : ApiSourceFile()
    
        @ConsistentCopyVisibility
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Apr 28 14:56:52 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

         */
        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
                if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) {
                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
                // TODO use stream
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                }
            } catch (IOException e) {
                // ignore
            }
            return false;
        }
    
        private String getFileName(String match, File currentFile) {
            if (match.isEmpty()) {
                return currentFile.getName();
            } else {
                if (match.endsWith(".adoc")) {
                    return match;
                }
                return match + ".adoc";
            }
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 23:22:57 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/chat/ChatSessionManager.java

                    return;
                }
    
                final int toRemove = sessionCache.size() - maxSize;
                logger.warn("Session cache reached maximum size. Removing oldest sessions. currentSize={}, maxSize={}, removing={}",
                        sessionCache.size(), maxSize, toRemove);
    
                // Remove oldest sessions
                sessionCache.entrySet()
                        .stream()
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 13.7K bytes
    - Click Count (0)
Back to Top