- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 434 for systems (5.9 sec)
-
android/guava/src/com/google/common/io/ByteStreams.java
* implementation will effectively put the whole file in memory. On many systems with paging * and virtual memory, this is not a problem - because it is mapped read-only, the kernel * can always page it to disk "for free". However, on systems where killing processes * happens all the time in normal conditions (i.e., android) the OS must make a tradeoff
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 17 18:59:58 GMT 2024 - 29.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java
} // The temporary file is named destination + ".tmp" and is done this way to ensure // that the temporary file is in the same file system as the destination because the // File.renameTo operation doesn't really work across file systems. // So we will attempt to do a File.renameTo for efficiency and atomicity, if this fails
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 29.9K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
static final boolean GENERATE_CANCELLATION_CAUSES; static { // System.getProperty may throw if the security policy does not permit access. boolean generateCancellationCauses; try { generateCancellationCauses = Boolean.parseBoolean( System.getProperty("guava.concurrent.generate_cancellation_cause", "false")); } catch (SecurityException e) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
checkNotNull(file1); checkNotNull(file2); if (file1 == file2 || file1.equals(file2)) { return true; } /* * Some operating systems may return zero as the length for files denoting system-dependent * entities such as devices or pipes, in which case we must fall back on comparing the bytes * directly. */ long len1 = file1.length();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 33.1K bytes - Viewed (0) -
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();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 4K bytes - Viewed (0) -
guava/src/com/google/common/base/StandardSystemProperty.java
import com.google.common.annotations.J2ktIncompatible; import javax.annotation.CheckForNull; /** * Represents a {@linkplain System#getProperties() standard system property}. * * @author Kurt Alfred Kluever * @since 15.0 */ @J2ktIncompatible @GwtIncompatible // java.lang.System#getProperty @ElementTypesAreNonnullByDefault public enum StandardSystemProperty { /** Java Runtime Environment version. */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
*/ public static final String PATH_SEPARATOR = System.getProperty("path.separator"); /** * <code>os.name</code> システムプロパティ。例:<code>Mac OS X</code> */ public static final String OS_NAME = System.getProperty("os.name"); /** * <code>java.io.tmpdir</code> システムプロパティ。例:/tmp */ public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir"); /**
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) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
long remainingNanos = unit.toNanos(timeout); long end = System.nanoTime() + remainingNanos; while (true) { try { // CountDownLatch treats negative timeouts just like zero. return latch.await(remainingNanos, NANOSECONDS); } catch (InterruptedException e) { interrupted = true; remainingNanos = end - System.nanoTime(); } } } finally {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Apr 04 09:45:04 GMT 2023 - 14.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/log/LoggerTest.java
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); } final long logger = System.currentTimeMillis() - start;
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/test/java/org/codelibs/core/message/MessageFormatterTest.java
final String s = MessageFormatter.getMessage("EMSG0000"); System.out.println(s); assertThat(s, is("[EMSG0000]test")); } /** * @throws Exception */ @Test public void testGetMessageWithArgs() throws Exception { final String s = MessageFormatter.getMessage("EMSG0001", "hoge"); System.out.println(s); assertThat(s, is("[EMSG0001]hogeが見つかりません")); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.6K bytes - Viewed (0)