Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 328 for 1000L (1.39 sec)

  1. src/main/java/org/codelibs/fess/app/service/JobLogService.java

        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Time interval in milliseconds after which jobs are considered expired.
         * Default is 2 hours (2 * 60 * 60 * 1000L).
         */
        protected long expiredJobInterval = 2 * 60 * 60 * 1000L; // 2hours
    
        /**
         * Retrieves a paginated list of job logs based on the provided pager configuration.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/SMBUtilTest.java

            long[] testTimes = { 0L, 1000L, 1500000000000L };
            byte[] buffer = new byte[4];
    
            for (long time : testTimes) {
                SMBUtil.writeUTime(time, buffer, 0);
                long readTime = SMBUtil.readUTime(buffer, 0);
    
                // Account for precision loss (milliseconds to seconds conversion)
                assertEquals((time / 1000L) * 1000L, readTime);
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/InfoTest.java

        void testSmbComQueryInformationResponseGetters() throws Exception {
            // The constructor is package‑private; use an anonymous subclass
            SmbComQueryInformationResponse resp = new SmbComQueryInformationResponse(1000L) {
            };
            java.lang.reflect.Field fileAttr = SmbComQueryInformationResponse.class.getDeclaredField("fileAttributes");
            fileAttr.setAccessible(true);
            fileAttr.setInt(resp, 0xABCD);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

        }
    
        @ParameterizedTest
        @DisplayName("Test with various timeout values")
        @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE, 1000L, -1000L })
        void testWithVariousTimeoutValues(long timeout) {
            // Setup
            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName, timeout);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        protected List<String> commandList;
    
        /** Timeout for command execution in milliseconds. */
        protected long commandTimeout = 30 * 1000L;// 30sec
    
        /** Timeout for destroying processes in milliseconds. */
        protected long commandDestroyTimeout = 5 * 1000L;// 5sec
    
        /** Base directory for command execution. */
        protected File baseDir;
    
        /** Timer for managing process destruction. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 04 08:02:36 UTC 2025
    - 16K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/AbstractConfigHelper.java

        /**
         * Default constructor.
         */
        public AbstractConfigHelper() {
            // Default constructor
        }
    
        /**
         * The interval for reloading.
         */
        protected long reloadInterval = 1000L;
    
        /**
         * Update the configuration.
         */
        public void update() {
            CommonPoolUtil.execute(this::load);
        }
    
        /**
         * Wait for the next reloading.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/BigDecimalConversionUtilTest.java

            assertEquals(0, new BigDecimal("1.23E-10").compareTo(BigDecimalConversionUtil.toBigDecimal(Double.valueOf(0.000000000123))));
    
            assertEquals(0, new BigDecimal("100.00").compareTo(BigDecimalConversionUtil.toBigDecimal("100.00")));
            assertEquals(0, new BigDecimal("0.000000123").compareTo(BigDecimalConversionUtil.toBigDecimal("1.23E-7")));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutTask.java

        private int status = ACTIVE;
    
        TimeoutTask(final TimeoutTarget timeoutTarget, final int timeout, final boolean permanent) {
            this.timeoutTarget = timeoutTarget;
            this.timeoutMillis = timeout * 1000L;
            this.permanent = permanent;
            this.startTime = System.currentTimeMillis();
        }
    
        /**
         * Returns whether the task has expired.
         *
         * @return whether the task has expired
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/DfsTest.java

            // Test with a specific TTL
            long ttl = 600; // 10 minutes
            Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(ttl);
            long expectedExpiration = System.currentTimeMillis() + ttl * 1000L;
            assertTrue(cacheEntry.expiration >= expectedExpiration - 100 && cacheEntry.expiration <= expectedExpiration + 100);
            assertNotNull(cacheEntry.map);
    
            // Test with TTL = 0, should use default TTL
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/timer/TimeoutManager.java

                    for (final TimeoutTask task : getExpiredTask()) {
                        processTask(executorService, task);
                    }
                    Thread.sleep(1000L);
                }
            } catch (final InterruptedException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Interrupted.", e);
                }
            } finally {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top