Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 153 for currentTimeMillis (0.6 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

        protected AccessResultData<IDTYPE> accessResultData;
    
        @Override
        public void init(final ResponseData responseData, final ResultData resultData) {
    
            setCreateTime(System.currentTimeMillis());
            if (responseData != null) {
                BeanUtil.copyBeanToBean(responseData, this);
            }
    
            final AccessResultData<IDTYPE> accessResultData = new AccessResultDataImpl<>();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/TempFileCreator.java

        @Override
        File createTempDir() {
          File baseDir = new File(JAVA_IO_TMPDIR.value());
          @SuppressWarnings("GoodTime") // reading system time without TimeSource
          String baseName = System.currentTimeMillis() + "-";
    
          for (int counter = 0; counter < TEMP_DIR_ATTEMPTS; counter++) {
            File tempDir = new File(baseDir, baseName + counter);
            if (tempDir.mkdir()) {
              return tempDir;
            }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

            TestLocking t = new TestLocking();
    
            // Initial value
            assertEquals(0L, t.ltime, "ltime should start at 0");
    
            // Set new value
            long currentTime = System.currentTimeMillis();
            t.ltime = currentTime;
            assertEquals(currentTime, t.ltime, "ltime should be mutable");
        }
    
        @Test
        @DisplayName("TestLocking implements Runnable")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                        props.load(Channels.newInputStream(channel));
                    }
    
                    props.setProperty(key, Long.toString(System.currentTimeMillis()));
    
                    if (error != null) {
                        props.setProperty(key + ERROR_KEY_SUFFIX, error);
                    } else {
                        props.remove(key + ERROR_KEY_SUFFIX);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                    + this.link + ",path=" + this.path + ",ttl=" + this.ttl + ",expiration=" + this.expiration + ",remain="
                    + (this.expiration - System.currentTimeMillis()) + "]";
        }
    
        /**
         * Get the time to live for this referral
         *
         * @return the ttl
         */
        public long getTtl() {
            return this.ttl;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

                    this.lastModified = synonymLoader.getLastModified();
                } else {
                    this.synonymLoader = null;
                    this.lastModified = System.currentTimeMillis();
                }
                synonymMap = synonymLoader.getSynonymMap();
                if (synonymMap != null && synonymMap.fst == null) {
                    this.synonymMap = null;
                }
            } else {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

         */
        private String generateRegistrationId(byte[] contextHandle, String shareName) {
            if (contextHandle == null || contextHandle.length == 0) {
                return "WITNESS-" + System.currentTimeMillis() + "-" + shareName.hashCode();
            }
    
            // Use context handle bytes to create a unique ID
            StringBuilder sb = new StringBuilder("WITNESS-");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(input, result);
        }
    
        @Test
        void testTimeConversionRoundTrip() {
            // Test various time values
            long[] testTimes = { 1000L, 1500000000000L, System.currentTimeMillis() };
            byte[] buffer = new byte[8];
    
            for (long time : testTimes) {
                SMBUtil.writeTime(time, buffer, 0);
                long readTime = SMBUtil.readTime(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/SuggestHelperTest.java

                return badWordList;
            }
        }
    
        private static class MockSystemHelper extends SystemHelper {
            @Override
            public long getCurrentTimeAsLong() {
                return System.currentTimeMillis();
            }
    
            @Override
            public boolean calibrateCpuLoad() {
                return true;
            }
        }
    
        private static class MockPopularWordHelper extends PopularWordHelper {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 16K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            @Test
            @DisplayName("Should manage expiration time")
            void testExpiration() {
                assertNull(echoResponse.getExpiration());
    
                Long expiration = System.currentTimeMillis() + 10000L;
                echoResponse.setExpiration(expiration);
    
                assertEquals(expiration, echoResponse.getExpiration());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.1K bytes
    - Viewed (0)
Back to top