- Sort Score
- Result 10 results
- Languages All
Results 891 - 900 of 1,947 for threw (0.05 sec)
-
android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java
@Override public Integer next(Integer value) { throw new AssertionError(); } @Override public Integer previous(Integer value) { throw new AssertionError(); } @Override public long distance(Integer start, Integer end) { throw new AssertionError(); } }; public void testCreate_noMin() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
* either a NullPointerException or a ClassCastException as appropriate. */ private void checkIsE(Object element) { checkNotNull(element); if (!isActuallyE(element)) { throw new ClassCastException("Expected an " + type + " but got " + element); } } @Override int distinctElements() { return distinctElements; } @Override public int size() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java
*/ @Nonnull default DependencyResolverResult collect(@Nonnull DependencyResolverRequest request) { if (request.getRequestType() != DependencyResolverRequest.RequestType.COLLECT) { throw new IllegalArgumentException("requestType should be COLLECT when calling collect()"); } return resolve(request); } /** * Flattens a list of nodes.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 9.4K bytes - Viewed (0) -
cmd/speedtest.go
} // if the default concurrency yields zero results, throw an error. if throughputHighestResults[i].Downloads == 0 && opts.concurrencyStart == concurrency { errStr = fmt.Sprintf("no results for downloads upon first attempt, concurrency %d and duration %s", opts.concurrencyStart, opts.duration) } // if the default concurrency yields zero results, throw an error.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 9.2K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/BootstrapDns.kt
private val dnsServers: List<InetAddress>, ) : Dns { @Throws(UnknownHostException::class) override fun lookup(hostname: String): List<InetAddress> { if (this.dnsHostname != hostname) { throw UnknownHostException( "BootstrapDns called for $hostname instead of $dnsHostname", ) } return dnsServers }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ReserializedImmutableMapMapInterfaceTest.java
extends AbstractImmutableMapMapInterfaceTest<String, Integer> { @Override protected Map<String, Integer> makePopulatedMap() { return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3)); } @Override protected String getKeyNotInPopulatedMap() { return "minus one"; } @Override protected Integer getValueNotInPopulatedMap() { return -1; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanMap.java
/** * Creates a new {@link BeanMap}. */ public BeanMap() { } @Override public Object get(final Object key) { if (!containsKey(key)) { throw new IllegalKeyOfBeanMapException(key, this); } return super.get(key); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Close and verify subsequent calls throw handle.close(); CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw"); assertTrue(ex1.getMessage().contains("Already closed")); CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw"); assertTrue(ex2.getMessage().contains("Already closed"));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
// Set subcommand to NET_SERVER_ENUM3 without setting lastName setFieldValue(netServerEnum2, "subCommand", SmbComTransaction.NET_SERVER_ENUM3); byte[] dst = new byte[1024]; // Should throw NullPointerException when lastName is null for NET_SERVER_ENUM3 assertThrows(NullPointerException.class, () -> { netServerEnum2.writeParametersWireFormat(dst, 0); }); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0)