- Sort Score
- Result 10 results
- Languages All
Results 2931 - 2940 of 3,282 for throwIt (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java
* the source future indefinitely, so if the source future never completes, the adapter will never * complete either. * * <p>If the delegate future is interrupted or throws an unexpected unchecked exception, the * listeners will not be invoked. */ private static final class ListenableFutureAdapter<V extends @Nullable Object>
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
} public void testContainsAll_wrongType() { Collection<WrongType> wrong = MinimalCollection.of(WrongType.VALUE); try { assertFalse( "containsAll(wrongType) should return false or throw", collection.containsAll(wrong)); } catch (ClassCastException tolerated) { } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java
K key = checkNotNull(entry.getKey()); V previous = delegate.put(key, checkNotNull(entry.getValue())); if (throwIfDuplicateKeys && previous != null) { throw new IllegalArgumentException("duplicate key: " + key); } } this.delegate = Collections.unmodifiableMap(delegate); } @Override boolean isPartialView() { return false; }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 18:32:41 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
assertEquals((byte) 0x74, msg.command, "Command should be SMB_COM_LOGOFF_ANDX"); } @Test @DisplayName("constructor with null andx does not throw exception") void constructorWithNullAndxNoException() { // This test verifies that passing null doesn't cause any issues assertDoesNotThrow(() -> {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt
} } catch (e: Throwable) { if (KNOWN_FAILURES.contains(testData.toString())) { System.err.println("Ignoring known failure: $testData") e.printStackTrace() } else { throw e } } } private fun testHttpUrl(testData: WebPlatformUrlTestData) { val url = when (testData.base) { "about:blank" -> testData.input!!.toHttpUrlOrNull()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 4.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/math/StatsBenchmark.java
} }, KNUTH { @Override MeanAndVariance variance(double[] values, MeanAlgorithm meanAlgorithm) { if (meanAlgorithm != MeanAlgorithm.KNUTH) { throw new SkipThisScenarioException(); } double mean = values[0]; double s = 0.0; for (int i = 1; i < values.length; i++) { double nextMean = mean + (values[i] - mean) / (i + 1);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 4.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java
@CollectionSize.Require(absent = ZERO) public void testPutIfAbsent_unsupportedPresentExistingValue() { try { assertEquals( "putIfAbsent(present, existingValue) should return present or throw", v0(), putIfAbsent(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @MapFeature.Require(absent = SUPPORTS_PUT)
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
? new DenseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace) : new SparseImmutableTable<R, C, V>(cellList, rowSpace, columnSpace); } /** * @throws IllegalArgumentException if {@code existingValue} is not null. */ /* * We could have declared this method 'static' but the additional compile-time checks achieved by
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 7K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
if (strLen > 0) { for (int i = 0; i < strLen; i++) { if (!Character.isWhitespace(str.charAt(i))) { return; } } } throw new IllegalArgumentException(message); } public static Map<String, Artifact> artifactMapByVersionlessId(Collection<Artifact> artifacts) { Map<String, Artifact> artifactMap = new LinkedHashMap<>();
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java
return new URI("https://github.com/gradle/gradle/blob/" + commitId + "/" + relativeLocation); } catch (URISyntaxException e) { throw new RuntimeException(e); } } private static DokkaExtension getDokkaExtension(Project project) { return project.getExtensions().getByType(DokkaExtension.class); }
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed May 28 11:34:42 UTC 2025 - 7.4K bytes - Viewed (0)