- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 187 for sinulla (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/EvictingQueueTest.java
assertFalse(queue.remove("hi")); assertEquals(0, queue.size()); assertThrows(NoSuchElementException.class, () -> queue.element()); assertThat(queue.peek()).isNull(); assertThat(queue.poll()).isNull(); assertThrows(NoSuchElementException.class, () -> queue.remove()); } public void testRemainingCapacity_maxSize0() { EvictingQueue<String> queue = EvictingQueue.create(0);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 6.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
assertTrue(future.isCancelled()); } public void testAwaitClear() { WeakReference<Object> ref = new WeakReference<>(new Object()); GcFinalization.awaitClear(ref); assertThat(ref.get()).isNull(); } public void testAwaitDone_finalizationPredicate() { WeakHashMap<Object, Object> map = new WeakHashMap<>(); map.put(new Object(), Boolean.TRUE); GcFinalization.awaitDone(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Dec 08 17:02:07 UTC 2025 - 7.9K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
* null. * * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull}, * but note that lambdas and method references do not have human-readable {@link #toString()} * representations and are not serializable. */ public static <T extends @Nullable Object> Predicate<T> isNull() { return ObjectPredicate.IS_NULL.withNarrowedType(); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
if (chunk1 > 0) { write(out, data, 0, chunk1, singleByte); assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); } File file = out.getFile(); assertThat(file).isNull(); // Write data to go over the threshold if (chunk2 > 0) { write(out, data, chunk1, chunk2, singleByte); file = out.getFile(); assertEquals(dataSize, file.length());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 30 16:30:29 UTC 2025 - 6.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
* limitations under the License. */ package okhttp3.internal.http import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue import kotlin.test.assertFailsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop import okhttp3.CallEvent.CallEnd
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 9.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNull import okhttp3.internal.http.parseChallenges import org.junit.jupiter.api.Disabled import org.junit.jupiter.api.Test class HeadersChallengesTest { /** See https://github.com/square/okhttp/issues/2780. */Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 16.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java
assertEquals(bimap1, bimap2); bimap2.inverse().put("franc", Currency.FRANC); assertEquals("franc", bimap2.get(Currency.FRANC)); assertThat(bimap1.get(Currency.FRANC)).isNull(); assertFalse(bimap2.equals(bimap1)); /* Test that it can be empty. */ EnumHashBiMap<Currency, String> emptyBimap = EnumHashBiMap.create(Currency.class);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 8.4K bytes - Viewed (0) -
internal/bucket/lifecycle/expiration.go
return e.Days == ExpirationDays(0) } // IsDateNull returns true if date field is null func (e Expiration) IsDateNull() bool { return e.Date.IsZero() } // IsNull returns true if both date and days fields are null func (e Expiration) IsNull() bool { return e.IsDaysNull() && e.IsDateNull()
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 6.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
File file = root(); assertThat(file.getParentFile()).isNull(); assertThat(file.getCanonicalFile().getParentFile()).isNull(); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertThat(file.getParentFile()).isNull(); assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:44:53 UTC 2025 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CaseFormatTest.java
for (CaseFormat outer : CaseFormat.values()) { for (CaseFormat inner : CaseFormat.values()) { assertThat(outer.converterTo(inner).convert(null)).isNull(); assertThat(outer.converterTo(inner).reverse().convert(null)).isNull(); } } } public void testConverter_toString() { assertThat(LOWER_HYPHEN.converterTo(UPPER_CAMEL).toString())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0)