- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 200 for TUnused (0.04 sec)
-
guava-tests/test/com/google/common/math/QuantilesTest.java
// quite expensive (quadratic in the size of PSEUDORANDOM_DATASET). double[] dataset = Doubles.toArray(PSEUDORANDOM_DATASET); @SuppressWarnings("unused") double actual = percentiles().index(33).computeInPlace(dataset); assertThat(dataset).usingExactEquality().containsExactlyElementsIn(PSEUDORANDOM_DATASET); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 29.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
assertThat(response.protocol).isEqualTo(socketMode.protocol) } else { assertThat(response.protocol).isEqualTo(HTTP_1_1) } } } companion object { @Suppress("unused") @JvmStatic fun connectionTypes(): List<SocketMode> = listOf(CONSCRYPT, JSSE).flatMap { provider -> listOf(HTTP_1_1, HTTP_2).flatMap { protocol ->
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
throw new OutOfMemoryError(); } @Override public int hashCode() { throw new OutOfMemoryError(); } }); String unused = future.toString(); SettableFuture<Object> future2 = SettableFuture.create(); // A more organic OOM from a toString implementation Object object = new Object() { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java
ImmutableRangeMap.Builder<Integer, Integer> builder = ImmutableRangeMap.builder(); builder.put(range1, 1).put(range2, 2); try { ImmutableRangeMap<Integer, Integer> unused = builder.build(); assertFalse(expectRejection); } catch (IllegalArgumentException e) { assertTrue(expectRejection); } } } } public void testGet() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/InterruptibleTask.java
static { // Prevent rare disastrous classloading in first call to LockSupport.park. // See: https://bugs.openjdk.org/browse/JDK-8074773 @SuppressWarnings("unused") Class<?> ensureLoaded = LockSupport.class; } private static final class DoNothingRunnable implements Runnable { @Override public void run() {} }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 10K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* "rpc-pool-1"}, {@code "rpc-pool-2"}, etc. * @return this for the builder pattern */ @CanIgnoreReturnValue public ThreadFactoryBuilder setNameFormat(String nameFormat) { String unused = format(nameFormat, 0); // fail fast if the format is bad or null this.nameFormat = nameFormat; return this; } /** * Sets daemon or not for new threads created with this ThreadFactory. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java
} @CanIgnoreReturnValue private <T> T checkValid(T t) { // a ClassCastException is what's supposed to happen! @SuppressWarnings("unchecked") K k = (K) t; int unused = comparator().compare(k, k); return t; } @Override public boolean equals(@Nullable Object obj) { return delegate.equals(obj); } @Override public int hashCode() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
public NoDefaultConstructor(@SuppressWarnings("unused") int i) {} } public static class WithExceptionalConstructor { public static final WithExceptionalConstructor INSTANCE = new WithExceptionalConstructor("whatever"); public WithExceptionalConstructor() { throw new RuntimeException(); } private WithExceptionalConstructor(String unused) {} }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 21.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
public <T> void testWhere_mapFromBoundedWildcard() { Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture(); // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873 Type unused = new TypeResolver() .where( new TypeCapture<Map<Integer, T>>() {}.capture(), new TypeCapture<Map<? extends Number, ? extends Number>>() {}.capture())
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* the (static-method) Futures.getChecked documentation */ private static boolean hasConstructorUsableByGetChecked( Class<? extends Exception> exceptionClass) { try { Exception unused = newWithCause(exceptionClass, new Exception()); return true; } catch (Throwable t) { // sneaky checked exception return false; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0)