- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 187 for AssertionError (0.05 sec)
-
guava/src/com/google/common/collect/Serialization.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
for (int i = 0; i < stimuli.length; i++) { try { stimuli[i].executeAndCompare(reference, target); verify(reference.getElements()); } catch (AssertionError cause) { throw new AssertionError("failed with stimuli " + subListCopy(stimuli, i + 1), cause); } } } private static List<Object> subListCopy(Object[] source, int size) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableCollection.java
static final int DEFAULT_INITIAL_CAPACITY = 4; Builder() {} static int expandedCapacity(int oldCapacity, int minCapacity) { if (minCapacity < 0) { throw new AssertionError("cannot store more than MAX_VALUE elements"); } // careful of overflow! int newCapacity = oldCapacity + (oldCapacity >> 1) + 1; if (newCapacity < minCapacity) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 5.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
for (int i = 0; i < stimuli.length; i++) { try { stimuli[i].executeAndCompare(reference, target); verify(reference.getElements()); } catch (AssertionError cause) { throw new AssertionError("failed with stimuli " + subListCopy(stimuli, i + 1), cause); } } } private static List<Object> subListCopy(Object[] source, int size) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/math/ToDoubleRounder.java
case HALF_UP: return (sign(x) >= 0) ? roundCeilingAsDouble : roundFloorAsDouble; default: throw new AssertionError("impossible"); } } } throw new AssertionError("impossible"); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 5.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 5.7K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
0 -> UTF_8 1 -> UTF_16BE 2 -> UTF_32LE 3 -> UTF_16LE 4 -> UTF_32BE -1 -> default else -> throw AssertionError() } internal fun checkDuration( name: String, duration: Long, unit: TimeUnit, ): Int { check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (1) -
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt
) { try { // Wait for request2 to guarantee we make 2 separate connections to the server. latch1.await() } catch (e: InterruptedException) { throw AssertionError(e) } } override fun connectionAcquired( call: Call, connection: Connection, ) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jun 19 11:44:16 UTC 2025 - 19.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java
// TODO(dpb): Use Expect once that supports JUnit 3, or we can use JUnit 4. final List<AssertionError> failures = new ArrayList<>(); final StandardSubjectBuilder expect = StandardSubjectBuilder.forCustomFailureStrategy( new FailureStrategy() { @Override public void fail(AssertionError failure) { failures.add(failure); } });
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 75.4K bytes - Viewed (0)