Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for currentTimeMillis (0.2 sec)

  1. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

                if (item == null) {
                    return new SuggestIndexResponse(0, 1, null, System.currentTimeMillis() - start);
                }
                final long parseTime = System.currentTimeMillis();
                final SuggestIndexResponse response = index(item);
                final long indexTime = System.currentTimeMillis();
                if (logger.isInfoEnabled()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            encrypted = false;
            value = System.currentTimeMillis() / 1000 + "\nrole1";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(1, roleSet.size());
            assertTrue(roleSet.contains("role1"));
    
            encrypted = false;
            value = System.currentTimeMillis() / 1000 + "\nrole1,role2";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            System.out.println("ArrayMap.put:" + (System.currentTimeMillis() - start));
    
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                hmap.get(String.valueOf(i));
            }
            System.out.println("HashMap.get:" + (System.currentTimeMillis() - start));
    
            start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                amap.get(String.valueOf(i));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

        @Test
        void mergeWithSameSnapshotWithDifferentVersionsAndNewerLastUpdated() {
            Metadata source = createMetadataFromArtifact(artifact);
            Date before = new Date(System.currentTimeMillis() - 5000);
            Date after = new Date(System.currentTimeMillis());
            addSnapshotVersion(target.getVersioning(), "jar", before, "1", 1);
            SnapshotVersion sv2 =
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/RandomAccessFileTest.java

            log.debug("Read " + length + " took " + ( System.currentTimeMillis() - start ));
        }
    
    
        /**
         * @param bufSize
         * @param length
         * @param os
         * @throws IOException
         */
        static void writeRandom ( int bufSize, long length, DataOutput os ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                                final long startTime = SystemUtil.currentTimeMillis();
                                responseData = client.execute(
                                        RequestDataBuilder.newRequestData().method(urlQueue.getMethod()).url(urlQueue.getUrl()).build());
                                responseData.setExecutionTime(SystemUtil.currentTimeMillis() - startTime);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/FileAttributesTest.java

            try ( SmbResource f = getDefaultShareRoot() ) {
                f.getDiskFreeSpace();
            }
        }
    
    
        public void assertCloseTime ( long timeMs ) {
            if ( timeMs - System.currentTimeMillis() > 5 * 60 * 1000L ) {
                assertTrue("Time is not within 30s, check clocks " + new Date(timeMs), false);
            }
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/ReadWriteTest.java

            }
            log.debug("Read " + length + " took " + ( System.currentTimeMillis() - start ));
        }
    
    
        /**
         * @param bufSize
         * @param length
         * @param os
         * @throws IOException
         */
        static void writeRandom ( int bufSize, long length, OutputStream os ) throws IOException {
            long start = System.currentTimeMillis();
            byte buffer[] = new byte[bufSize];
            long p = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/Dfs.java

        static class CacheEntry {
            long expiration;
            HashMap map;
    
            CacheEntry(long ttl) {
                if (ttl == 0)
                    ttl = Dfs.TTL;
                expiration = System.currentTimeMillis() + ttl * 1000L;
                map = new HashMap();
            }
        }
    
        static LogStream log = LogStream.getInstance();
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                return;
            }
            long expiration = -1;
            if ( this.transportContext.getConfig().getNetbiosCachePolicy() != SmbConstants.FOREVER ) {
                expiration = System.currentTimeMillis() + this.transportContext.getConfig().getNetbiosCachePolicy() * 1000;
            }
            cacheAddress(hostName, addr, expiration);
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
Back to top