- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 51 for is_full (0.15 sec)
-
guava-tests/test/com/google/common/collect/CompactHashMapTest.java
public void testAllocArraysDefault() { CompactHashMap<Integer, String> map = CompactHashMap.create(); assertThat(map.needsAllocArrays()).isTrue(); assertThat(map.entries).isNull(); assertThat(map.keys).isNull(); assertThat(map.values).isNull(); map.put(1, "1"); assertThat(map.needsAllocArrays()).isFalse(); assertThat(map.entries).hasLength(CompactHashing.DEFAULT_SIZE);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 21:08:15 GMT 2022 - 5.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/LongsTest.java
assertThat(Longs.tryParse("")).isNull(); assertThat(Longs.tryParse("-")).isNull(); assertThat(Longs.tryParse("+1")).isNull(); assertThat(Longs.tryParse("999999999999999999999999")).isNull(); assertWithMessage("Max long + 1") .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString())) .isNull(); assertWithMessage("Max long * 10")
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongsTest.java
assertThat(Longs.tryParse("")).isNull(); assertThat(Longs.tryParse("-")).isNull(); assertThat(Longs.tryParse("+1")).isNull(); assertThat(Longs.tryParse("999999999999999999999999")).isNull(); assertWithMessage("Max long + 1") .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString())) .isNull(); assertWithMessage("Max long * 10")
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 30K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java
return suite; } public void testAllocArraysDefault() { CompactHashSet<Integer> set = CompactHashSet.create(); assertThat(set.needsAllocArrays()).isTrue(); assertThat(set.elements).isNull(); set.add(1); assertThat(set.needsAllocArrays()).isFalse(); assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE); } public void testAllocArraysExpectedSize() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 09 21:08:15 GMT 2022 - 3.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
assertThat(future.isDone()).isFalse(); assertThat(future.tryInternalFastPathGetFailure()).isNull(); } public void testTrustedGetFailure_CanceledNoCause() { SettableFuture<String> future = SettableFuture.create(); future.cancel(false); assertThat(future.tryInternalFastPathGetFailure()).isNull(); } public void testGetFailure_Completed() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 13 14:28:25 GMT 2024 - 46.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
} public void testOnlyElementNull() { assertThat(Stream.<@Nullable Object>of((Object) null).collect(MoreCollectors.onlyElement())) .isNull(); } public void testOnlyElementMultiple() { try { Stream.of(1, 2).collect(MoreCollectors.onlyElement()); fail("Expected IllegalArgumentException");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
return "Predicates.alwaysFalse()"; } }, /** @see Predicates#isNull() */ IS_NULL { @Override public boolean apply(@CheckForNull Object o) { return o == null; } @Override public String toString() { return "Predicates.isNull()"; } }, /** @see Predicates#notNull() */ NOT_NULL { @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/DoublesTest.java
} catch (NumberFormatException expected) { } } public void testStringConverter_nullConversions() { assertThat(Doubles.stringConverter().convert(null)).isNull(); assertThat(Doubles.stringConverter().reverse().convert(null)).isNull(); } @GwtIncompatible // Double.toString returns different value in GWT. public void testStringConverter_reverse() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 31.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
} catch (NumberFormatException expected) { } } public void testStringConverter_nullConversions() { assertThat(Doubles.stringConverter().convert(null)).isNull(); assertThat(Doubles.stringConverter().reverse().convert(null)).isNull(); } @GwtIncompatible // Double.toString returns different value in GWT. public void testStringConverter_reverse() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 29 15:43:06 GMT 2024 - 31.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
if (from == State.STARTING) { try { service.awaitRunning(); fail(); } catch (IllegalStateException expected) { assertThat(expected).hasCauseThat().isNull(); assertThat(expected) .hasMessageThat() .isEqualTo("Expected the service " + service + " to be RUNNING, but was STOPPING"); } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 29.3K bytes - Viewed (0)