- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 628 for IllegalArgumentException (0.66 sec)
-
guava/src/com/google/common/primitives/Booleans.java
* b, c}}. * * @param arrays zero or more {@code boolean} arrays * @return a single array containing all the values from the source arrays, in order * @throws IllegalArgumentException if the total number of elements in {@code arrays} does not fit * in an {@code int} */ public static boolean[] concat(boolean[]... arrays) { long length = 0; for (boolean[] array : arrays) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
*/ public byte[] encrypt(final byte[] clearText) { final int length = clearText.length; if (length % 8 != 0) { // DES requires 8-byte blocks throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption"); } final byte[] cipherText = new byte[length]; final int count = length / 8; for (int i = 0; i < count; i++) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
return create(16); } /** * Constructs a new, empty bimap with the specified expected size. * * @param expectedSize the expected number of entries * @throws IllegalArgumentException if the specified expected size is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> HashBiMap<K, V> create( int expectedSize) { return new HashBiMap<>(expectedSize);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
@MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testPutWithSameValueFails() { getMap().put(k0(), v0()); assertThrows(IllegalArgumentException.class, () -> getMap().put(k1(), v0())); // verify that the bimap is unchanged expectAdded(e0()); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
// Assign a unique address to each buffer instance return bufferAddresses.computeIfAbsent(buffer, b -> addressCounter.getAndIncrement()); } else { throw new IllegalArgumentException("Only direct ByteBuffers are supported for RDMA"); } } /** * Convert RDMA access flags to DiSNI flags * * @param access RDMA access flagsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
subprojects = JsonBasedGradleSubprojectProvider(File("./subprojects.json")), ) val testClassDataJson = File(System.getProperty("inputTestClassDataJson") ?: throw IllegalArgumentException("Input file not found!")) val generatedBucketsJson = File(System.getProperty("outputBucketSplitJson", "./test-buckets.json")) FunctionalTestBucketGenerator(model, testClassDataJson).generate(generatedBucketsJson)
Registered: Wed Sep 10 11:36:15 UTC 2025 - Last Modified: Thu Apr 10 15:09:32 UTC 2025 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* <code>NbtAddress</code>. * * @param addr * wrapped address */ public UniAddress(final Object addr) { if (addr == null) { throw new IllegalArgumentException(); } this.addr = addr; } /** * Return the IP address of this address as a 32 bit integer. */ @Override public int hashCode() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java
} } } } catch (IllegalArgumentException | IllegalAccessException e) { throw new ModelInterpolationException( "Failed to interpolate field: " + field + " on class: " + cls.getName(), e);Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getRootCause() method (deprecated). */ @Test void testGetRootCause() { Throwable cause = new IllegalArgumentException("Invalid argument."); DcerpcException exception = new DcerpcException("Error with cause.", cause); assertEquals(cause, exception.getRootCause(), "getRootCause() should return the original cause."); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
"ResponseBodyEnd", "RequestBodyEnd", "ConnectionReleased", "CallEnd", ) } @Test fun upgradeRequestMustNotHaveABody() { val e = assertFailsWith<IllegalArgumentException> { Request .Builder() .url(server.url("/")) .header("Connection", "upgrade") .post("Hello".toRequestBody()) .build() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0)