- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 3,818 for Avoid (0.03 sec)
-
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
fun connectionsAreNotReusedIfNetworkInterceptorInterferes() { val responsesNotClosed: MutableList<Response?> = ArrayList() client = client.newBuilder() // Since this test knowingly leaks a connection, avoid using the default shared connection // pool, which should remain clean for subsequent tests. .connectionPool(ConnectionPool()) .addNetworkInterceptor(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
} @SuppressWarnings("GuardedBy") public void testExpand() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1)); Segment<Object, Object, ?, ?> segment = map.segments[0]; assertEquals(1, segment.table.length()); // manually add elements to avoid expansion int originalCount = 1024;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java
} @SuppressWarnings("GuardedBy") public void testExpand() { MapMakerInternalMap<Object, Object, ?, ?> map = makeMap(createMapMaker().concurrencyLevel(1).initialCapacity(1)); Segment<Object, Object, ?, ?> segment = map.segments[0]; assertEquals(1, segment.table.length()); // manually add elements to avoid expansion int originalCount = 1024;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 35.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testStringConverterSerialization() { SerializableTester.reserializeAndAssert(Ints.stringConverter()); } public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Integer> none = Arrays.<Integer>asList(); assertThat(Ints.toArray(none)).isEqualTo(EMPTY);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testStringConverterSerialization() { SerializableTester.reserializeAndAssert(Longs.stringConverter()); } public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Long> none = Arrays.<Long>asList(); assertThat(Longs.toArray(none)).isEqualTo(EMPTY);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 29.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(dim1 * dim2).isAtLeast(0); testConcatOverflow(dim1, dim2); } private static void testConcatOverflow(int arraysDim1, int arraysDim2) { assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); double[][] arrays = new double[arraysDim1][]; // it's shared to avoid using too much memory in tests double[] sharedArray = new double[arraysDim2];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 32.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/FloatsTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testStringConverterSerialization() { SerializableTester.reserializeAndAssert(Floats.stringConverter()); } public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Float> none = Arrays.<Float>asList(); assertThat(Floats.toArray(none)).isEqualTo(EMPTY);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
} @J2ktIncompatible @GwtIncompatible // SerializableTester public void testStringConverterSerialization() { SerializableTester.reserializeAndAssert(Floats.stringConverter()); } public void testToArray() { // need explicit type parameter to avoid javac warning!? List<Float> none = Arrays.<Float>asList(); assertThat(Floats.toArray(none)).isEqualTo(EMPTY);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 30.3K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
// Instead, we track which UIDs we repaired and skip them if already repaired. // // An alternative would be to write something to the Pod (status, annotation, etc). // However, this requires elevated privileges we want to avoid if uid, f := c.repairedPods[key]; f { if uid == pod.UID { log.Debugf("Skipping pod, already repaired") } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
*/ public abstract class Converter<A, B> implements Function<A, B> { private final boolean handleNullAutomatically; // We lazily cache the reverse view to avoid allocating on every call to reverse(). @LazyInit @RetainedWith @CheckForNull private transient Converter<B, A> reverse; /** Constructor for use by subclasses. */ protected Converter() { this(true); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 23K bytes - Viewed (0)