- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for currentTimeMillis (0.23 sec)
-
src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java
System.out.println("CaseInsensitiveMap.put:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { hmap.get("a" + String.valueOf(i)); } System.out.println("HashMap.get:" + (System.currentTimeMillis() - start)); start = System.currentTimeMillis(); for (int i = 0; i < num; i++) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
public void testPerformance() throws Exception { final int num = 100; long start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { System.out.println("test" + i); } final long sysout = System.currentTimeMillis() - start; start = System.currentTimeMillis(); for (int i = 0; i < num; i++) { logger.fatal("test" + i); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/timer/TimeoutTask.java
this.timeoutMillis = timeout * 1000L; this.permanent = permanent; this.startTime = System.currentTimeMillis(); } /** * 期限切れかどうかを返します。 * * @return 期限切れかどうか */ public boolean isExpired() { return System.currentTimeMillis() >= startTime + timeoutMillis; } /** * 永続的かどうかを返します。 * * @return 永続的かどうか */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
/** * <code>user.home</code> システムプロパティ。 */ public static final String USER_HOME = System.getProperty("user.home"); public static long currentTimeMillis() { // TODO provider return System.currentTimeMillis(); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
ReactorContext reactorContext, MavenProject currentProject, TaskSegment taskSegment) { session.setCurrentProject(currentProject); long buildStartTime = System.currentTimeMillis(); try { if (reactorContext.getReactorBuildStatus().isHaltedOrBlacklisted(currentProject)) { eventCatapult.fire(ExecutionEvent.Type.ProjectSkipped, session, null);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TestLocking.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 3.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/UuidUtil.java
* * @return UUIDの文字列 */ public static String create() { final StringBuilder buf = new StringBuilder(BASE.length() * 2); buf.append(BASE); final int lowTime = (int) (System.currentTimeMillis() >> 32); StringUtil.appendHex(buf, lowTime); StringUtil.appendHex(buf, RANDOM.nextInt()); return buf.toString(); } private static byte[] getAddress() { try {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
try { Thread.sleep(20); } catch (InterruptedException e) { // ignore } File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis()); dir.mkdirs(); markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java
mappingWriter.write(output, metadata.getDelegate()); } } else { metadataFile.setLastModified(System.currentTimeMillis()); } } public String toString() { return "repository metadata for: '" + getKey() + "'"; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 7K bytes - Viewed (0)