- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 134 for IsTrue (0.17 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java
assertThat(Thread.interrupted()).isTrue(); stats = cache.stats(); assertThat(stats.missCount()).isEqualTo(2); assertThat(stats.loadSuccessCount()).isEqualTo(0); assertThat(stats.loadExceptionCount()).isEqualTo(2); assertThat(stats.hitCount()).isEqualTo(0); cache.refresh(new Object()); assertThat(Thread.interrupted()).isTrue(); checkLoggedCause(e);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 91K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java
FileBackedOutputStream out = new FileBackedOutputStream(0, /* resetWhenGarbageCollected= */ true); out.write(new byte[10]); File file = out.getFile(); assertThat(file.exists()).isTrue(); reachabilityFence(out); // not sure if this is necessary even in theory return new FileAndWeakByteSource(file, new WeakReference<>(out.asByteSource())); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:04:26 GMT 2026 - 8K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt
*/ package okhttp3.tls.internal.der import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNull import assertk.assertions.isTrue import java.math.BigInteger import java.security.KeyFactory import java.security.spec.PKCS8EncodedKeySpec import java.security.spec.X509EncodedKeySpec import java.text.SimpleDateFormat import java.util.Date
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 43.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java
} if (!expectedValues.containsKey(UNNECESSARY)) { assertWithMessage("Expected roundUnnecessaryShouldThrow call") .that(unnecessaryShouldThrow) .isTrue(); assertThrows( "Expected ArithmeticException for roundToDouble(" + input + ", UNNECESSARY)", ArithmeticException.class, () -> BigDecimalMath.roundToDouble(input, UNNECESSARY));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/BigDecimalMathTest.java
} if (!expectedValues.containsKey(UNNECESSARY)) { assertWithMessage("Expected roundUnnecessaryShouldThrow call") .that(unnecessaryShouldThrow) .isTrue(); assertThrows( "Expected ArithmeticException for roundToDouble(" + input + ", UNNECESSARY)", ArithmeticException.class, () -> BigDecimalMath.roundToDouble(input, UNNECESSARY));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 11K bytes - Click Count (0) -
api/go1.6.txt
pkg go/types, type ImporterFrom interface, Import(string) (*Package, error) pkg go/types, type ImporterFrom interface, ImportFrom(string, string, ImportMode) (*Package, error) pkg html/template, func IsTrue(interface{}) (bool, bool) pkg html/template, method (*Template) DefinedTemplates() string pkg image, func NewNYCbCrA(Rectangle, YCbCrSubsampleRatio) *NYCbCrA pkg image, method (*NYCbCrA) AOffset(int, int) int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 13 23:40:13 GMT 2016 - 12.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
do { // We can't have a GOLDEN_NOT_PRESENT_KEY because false positives are // possible! It's false negatives that can't happen. assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isTrue(); int key = getNonGoldenRandomKey(); // We can't check that the key is mightContain() == false before the // put() because the key could have already been generated *or* theCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isGreaterThan import assertk.assertions.isIn import assertk.assertions.isLessThan import assertk.assertions.isNull import assertk.assertions.isTrue import java.lang.Thread.sleep import java.util.concurrent.TimeUnit import kotlin.concurrent.thread import kotlin.test.assertFailsWith import kotlin.time.Duration import kotlin.time.Duration.Companion.milliseconds
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 18.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/DuplexTest.kt
import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import assertk.assertions.prop import java.io.IOException import java.net.HttpURLConnection import java.net.ProtocolException import java.util.concurrent.BlockingQueue import java.util.concurrent.CountDownLatch
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 25.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
} catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { // This is the only ordering for primitives that does not have a // corresponding Comparable wrapper in java.lang. for (int i = 0; i < VALUES.length; i++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 13.6K bytes - Click Count (0)