- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 550 for INVALID (0.08 sec)
-
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
} @Test @DisplayName("Test invalid configuration") void testInvalidConfiguration() { assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 0, 2, 100)); assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 0, 100)); assertThrows(IllegalArgumentException.class, () -> new SimpleCircuitBreaker("invalid", 3, 2, -1)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/GroupPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If the page size is not set or is invalid, returns the default page size. * * @return the number of records per page */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
// When RuntimeCIFSException exception = new RuntimeCIFSException(cause); // Then assertNotNull(exception); assertEquals(cause, exception.getCause()); assertTrue(exception.getMessage().contains("IllegalArgumentException")); assertTrue(exception.getMessage().contains("Invalid argument")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/net/MediaType.java
* * @throws IllegalArgumentException if subtype is invalid */ static MediaType createApplicationType(String subtype) { return create(APPLICATION_TYPE, subtype); } /** * Creates a media type with the "audio" type and the given subtype. * * @throws IllegalArgumentException if subtype is invalid */ static MediaType createAudioType(String subtype) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 48K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
throw new IllegalArgumentException("Invalid argument provided"); } }; ComponentUtil.register(searchEngineClient, "searchEngineClient"); // Execute the job String result = purgeDocJob.execute(); // Assert error message is in the result assertTrue(result.contains("Invalid argument provided")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
guava/src/com/google/common/hash/Murmur3_32HashFunction.java
shift += 24; len += 3; } else { int codePoint = Character.codePointAt(input, i); if (codePoint == c) { // not a valid code point; let the JDK handle invalid Unicode return hashBytes(input.toString().getBytes(charset)); } i++; buffer |= codePointToFourUtf8Bytes(codePoint) << shift;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
assertEquals(1024, response.getCount()); assertEquals(512, response.getRemaining()); } @Test @DisplayName("Should throw exception for invalid structure size") void testInvalidStructureSize() { byte[] buffer = new byte[64]; SMBUtil.writeInt2(16, buffer, 0); // Wrong structure size (should be 17)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmMessageTest.java
buffer.putShort(0, (short) 1); buffer.putShort(2, (short) 1); buffer.putInt(4, data.length + 1); // Invalid offset assertThrows(ArrayIndexOutOfBoundsException.class, () -> NtlmMessage.readSecurityBuffer(data, 0), "Should throw ArrayIndexOutOfBoundsException for invalid offset."); } @Test void testWriteULong() { // Test writeULong byte[] data = new byte[4];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java
this.existNextPage = existNextPage; } /** * Gets the number of records to display per page. * If the page size is not set or is invalid (≤0), returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java
*/ public void setExistNextPage(final boolean existNextPage) { this.existNextPage = existNextPage; } /** * Gets the number of records per page. * If not set or invalid, returns the default page size. * * @return the page size */ public int getPageSize() { if (pageSize <= 0) { pageSize = getDefaultPageSize(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 7K bytes - Viewed (0)