- Sort Score
- Num 10 results
- Language All
Results 611 - 620 of 691 for IllegalArgumentException (0.11 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava/src/com/google/common/collect/CollectCollectors.java
checkNotNull(keyFunction); checkNotNull(valueFunction); return Collector.of( () -> new EnumMapAccumulator<K, V>( (v1, v2) -> { throw new IllegalArgumentException("Multiple values for key: " + v1 + ", " + v2); }), (accum, t) -> { /* * We assign these to variables before calling checkNotNull to work around a bug in our
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java
if (map != null) { synonymMap = map; fst = synonymMap.fst; if (fst == null) { throw new IllegalArgumentException("fst must be non-null"); } fstReader = fst.getBytesReader(); scratchArc = new FST.Arc<>(); clearAttributes(); } }
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 15 06:51:20 GMT 2025 - 17K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Sep 29 14:45:25 GMT 2025 - 20.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt
} private fun testForbidden( codePoint: Int, codePointString: String, component: Component, ) { val builder = "http://host/".toHttpUrl().newBuilder() assertFailsWith<IllegalArgumentException> { component[builder] = codePointString } } private fun testPunycode( codePointString: String, component: Component, ) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/NtlmContext.java
*/ public static ASN1ObjectIdentifier NTLMSSP_OID; static { try { NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10"); } catch (final IllegalArgumentException e) { log.error("Failed to parse OID", e); } } private final NtlmPasswordAuthenticator auth; private int ntlmsspFlags; private final String workstation;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
guava/src/com/google/common/base/Strings.java
* @param count the number of times to repeat it; a nonnegative integer * @return a string containing {@code string} repeated {@code count} times (the empty string if * {@code count} is zero) * @throws IllegalArgumentException if {@code count} is negative */ @InlineMe(replacement = "string.repeat(count)") @InlineMeValidationDisabled("Java 11+ API only") public static String repeat(String string, int count) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
* @return a new, empty {@code ObjectCountHashMap} with enough capacity to hold {@code * expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ static <K extends @Nullable Object> ObjectCountHashMap<K> createWithExpectedSize( int expectedSize) { return new ObjectCountHashMap<K>(expectedSize); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
} private static void testEncodedLengthFails(String invalidString, int invalidCodePointIndex) { try { Utf8.encodedLength(invalidString); fail(); } catch (IllegalArgumentException expected) { assertThat(expected) .hasMessageThat() .isEqualTo("Unpaired surrogate at index " + invalidCodePointIndex); } } // 128 - [chars 0x0000 to 0x007f]
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 12.9K bytes - Click Count (0) -
src/main/java/jcifs/smb/SpnegoContext.java
private static ASN1ObjectIdentifier SPNEGO_MECH_OID; static { try { SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); } catch (final IllegalArgumentException e) { log.error("Failed to initialize OID", e); } } private final SSPContext mechContext; private boolean firstResponse = true; private boolean completed;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 14.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/BwcVersions.java
// for testkit tests, until BwcVersions is extracted into an extension public BwcVersions(SortedSet<Version> allVersions, Version currentVersionProperty) { if (allVersions.isEmpty()) { throw new IllegalArgumentException("Could not parse any versions"); } currentVersion = allVersions.last(); groupByMajor = allVersions.stream()Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 16.8K bytes - Click Count (0)