- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 228 for scaling (0.35 sec)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
// user-specified -XX:+DisableExplicitGC. // // TODO(user): Consider using // java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage() // // TODO(user): Consider scaling by number of mutator threads, // e.g. using Thread#activeCount() return Math.max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L)); } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/GcFinalization.java
// user-specified -XX:+DisableExplicitGC. // // TODO(user): Consider using // java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage() // // TODO(user): Consider scaling by number of mutator threads, // e.g. using Thread#activeCount() return Math.max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L)); } /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 11.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/CharEscaper.java
* called by the {@link #escape(String)} method when it discovers that escaping is required. It is * protected to allow subclasses to override the fastpath escaping function to inline their * escaping test. See {@link CharEscaperBuilder} for an example usage. * * @param s the literal string to be escaped * @param index the index to start escaping from * @return the escaped form of {@code string}
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 6.7K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NbtException.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
@ElementTypesAreNonnullByDefault public final class Escapers { private Escapers() {} /** * Returns an {@link Escaper} that does no escaping, passing all character data through unchanged. */ public static Escaper nullEscaper() { return NULL_ESCAPER; } // An Escaper that efficiently performs no escaping. // Extending CharEscaper (instead of Escaper) makes Escapers.compose() easier. private static final Escaper NULL_ESCAPER =
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 26 20:07:17 GMT 2023 - 10.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphConstants.java
+ "so it cannot be reused to connect the following nodes: %s."; static final String MULTIPLE_EDGES_CONNECTING = "Cannot call edgeConnecting() when parallel edges exist between %s and %s. Consider calling " + "edgesConnecting() instead."; static final String PARALLEL_EDGES_NOT_ALLOWED = "Nodes %s and %s are already connected by a different edge. To construct a graph "
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Jan 22 17:29:38 GMT 2024 - 3.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
* cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicit * {@code null} cause. Note, however, that passing an explicit {@code null} cause prevents * anyone from calling {@link #initCause} later, so it is not quite equivalent to using a * constructor that omits the cause. */ @Deprecated protected UncheckedExecutionException() {} /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Mar 07 17:52:19 GMT 2024 - 4.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java
'&', "<and>"); private static final char[] NO_CHARS = new char[0]; public void testReplacements() throws IOException { // In reality this is not a very sensible escaper to have (if you are only // escaping elements from a map you would use a ArrayBasedCharEscaper). UnicodeEscaper escaper = new ArrayBasedUnicodeEscaper( SIMPLE_REPLACEMENTS, Character.MIN_VALUE, Character.MAX_CODE_POINT, null) {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 07 23:02:38 GMT 2024 - 5K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Mon Nov 28 10:56:27 GMT 2022 - 14.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java
} public void testAddAfterRun() throws Exception { // Run the previous test testRunOnPopulatedList(); // If it passed, then verify an Add will be executed without calling run CountDownLatch countDownLatch = new CountDownLatch(1); list.add(new MockRunnable(countDownLatch), Executors.newCachedThreadPool()); assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 22:57:07 GMT 2022 - 4.7K bytes - Viewed (0)