- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 800 for isInvalid (0.05 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertEquals(0, result); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidSize() { byte[] buffer = new byte[1024]; int bufferIndex = 100; // Write invalid structure size = 8 SMBUtil.writeInt2(8, buffer, bufferIndex); SMBProtocolDecodingException exception =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
} @DisplayName("Should throw exception for invalid structure size") @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 4, 8, 15, 17, 32, 64, 65535 }) void testReadBytesWireFormatInvalidStructureSize(int structureSize) { // Given byte[] buffer = new byte[256]; int offset = 0; // Write invalid structure size SMBUtil.writeInt2(structureSize, buffer, offset);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java
SmbNegotiationRequest request = mock(SmbNegotiationRequest.class); when(request.isSigningEnforced()).thenReturn(true); response.getServerData().signaturesEnabled = true; assertTrue(response.isValid(mockContext, request)); assertTrue(response.isSigningNegotiated()); assertTrue((response.getNegotiatedFlags2() & SmbConstants.FLAGS2_SECURITY_SIGNATURES) != 0); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
if (hostname.isNullOrEmpty() || hostname.startsWith(".") || hostname.endsWith("..") ) { // Invalid domain name. return false } if (pattern.isNullOrEmpty() || pattern.startsWith(".") || pattern.endsWith("..") ) { // Invalid pattern. return false }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/LdapConfigurationException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * An exception thrown when LDAP configuration is invalid. */ public class LdapConfigurationException extends FessSystemException { private static final long serialVersionUID = 1L; /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/PrunedTagTest.java
fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); } try { PrunedTag.parse(".css-only"); fail("Should have thrown FessSystemException"); } catch (FessSystemException e) { assertTrue(e.getMessage().contains("Invalid pruned tag")); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
this.options = WRITE_OPTIONS; this.access = SmbConstants.FILE_READ_DATA | SmbConstants.FILE_WRITE_DATA; } else { throw new IllegalArgumentException("Invalid mode"); } try (SmbFileHandle h = ensureOpen()) {} this.readSize = th.getReceiveBufferSize() - 70; this.writeSize = th.getSendBufferSize() - 70;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeImpl.java
break; default: throw new SmbException("Invalid operation for " + svc + " service: " + request); } break; default: throw new SmbException("Invalid operation for " + svc + " service" + request); } } } @SuppressWarnings("unchecked")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
docs/en/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_03.py hl[8:9] *} This will also work because `RedirectResponse` is a subclass of `Response`, and FastAPI will automatically handle this simple case. ### Invalid Return Type Annotations { #invalid-return-type-annotations }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
public void test_constructor_withMessageAndCause() { // Test constructor with message and cause final String message = "Job processing failed"; final Exception cause = new IllegalStateException("Invalid state"); final JobProcessingException exception = new JobProcessingException(message, cause); assertNotNull(exception); assertEquals(message, exception.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7K bytes - Viewed (0)