- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 30 for overkill (0.04 sec)
-
guava-tests/test/com/google/common/primitives/ShortsTest.java
} @GwtIncompatible // Shorts.fromByteArray, Shorts.toByteArray public void testByteArrayRoundTrips() { Random r = new Random(5); byte[] b = new byte[Shorts.BYTES]; // total overkill, but, it takes 0.1 sec so why not... for (int i = 0; i < 10000; i++) { short num = (short) r.nextInt(); assertThat(Shorts.fromByteArray(Shorts.toByteArray(num))).isEqualTo(num); r.nextBytes(b);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
.isEqualTo(0xFFEEDDCC); } public void testByteArrayRoundTrips() { Random r = new Random(5); byte[] b = new byte[Ints.BYTES]; // total overkill, but, it takes 0.1 sec so why not... for (int i = 0; i < 10000; i++) { int num = r.nextInt(); assertThat(Ints.fromByteArray(Ints.toByteArray(num))).isEqualTo(num); r.nextBytes(b);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Microbenchmark for {@link Splitter#on} with char vs String with length == 1. * * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/SplitterBenchmark.java
import org.jspecify.annotations.NullUnmarked; /** * Microbenchmark for {@link Splitter#on} with char vs String with length == 1. * * @author Paul Lindner */ @NullUnmarked public class SplitterBenchmark { // overall size of string @Param({"1", "10", "100", "1000"}) int length; // Number of matching strings @Param({"xxxx", "xxXx", "xXxX", "XXXX"}) String text; private String input;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
/** The underlying list that contains the actual search result documents. */ protected final List<Map<String, Object>> parent; /** The starting position of the current page in the overall result set. */ protected final int start; /** The offset value used for pagination calculations. */ protected final int offset; /** The number of records per page. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
* RuntimeException} (though {@code get} implementations are discouraged from throwing such * exceptions). * </ul> * * <p>The overall principle is to continue to treat every checked exception as a checked * exception, every unchecked exception as an unchecked exception, and every error as an error. In
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
docs/features/calls.md
resources; too few harms latency. For asynchronous calls, [`Dispatcher`](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-dispatcher/) implements policy for maximum simultaneous requests. You can set maximums per-webserver (default is 5), and overall (default is 64)....
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/Dispatcher.java
private static final class LegacyAsyncDispatcher extends Dispatcher { // This dispatcher matches the original dispatch behavior of AsyncEventBus. // // We can't really make any guarantees about the overall dispatch order for this dispatcher in // a multithreaded environment for a couple of reasons: // // 1. Subscribers to events posted on different threads can be interleaved with each other
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
assertTrue("Priority settings should be fast", true); } public void test_multiple_quick_operations() { try { // Multiple quick operations to verify overall performance dataIndexHelper.setCrawlingExecutionInterval(1L); for (int i = 0; i < 3; i++) { dataIndexHelper.crawl("test-session-" + i); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
* this address. * * If [planToReplace] is non-null, this will swap it for a pooled connection if that pooled * connection uses HTTP/2. That results in fewer sockets overall and thus fewer TCP slow starts. */ internal fun planReusePooledConnection( planToReplace: ConnectPlan? = null, routes: List<Route>? = null, ): ReusePlan? { val result =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0)