- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 893 for isValid (0.04 sec)
-
src/main/java/jcifs/pac/PacCredentialType.java
* @param data the raw credential type data * @throws PACDecodingException if the credential type data is invalid */ public PacCredentialType(final byte[] data) throws PACDecodingException { this.credentialType = data; if (!isCredentialTypeCorrect()) { throw new PACDecodingException("Invalid PAC credential type"); } } /**Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
} /** * Test valueOf method with invalid values */ public void test_valueOf_invalid() { try { CrawlerStatus.valueOf("INVALID"); fail("Should throw IllegalArgumentException for invalid value"); } catch (IllegalArgumentException e) { // Expected assertTrue(e.getMessage().contains("INVALID")); } try {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K 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/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/dict/mapping/CharMappingFileTest.java
// Since we can't easily mock the IOException, we'll test with invalid data writeTestFile("invalid => "); // Invalid format try { charMappingFile.reload(null); // If no exception, the file might have been parsed with warnings assertTrue(true); } catch (Exception e) { // Expected for invalid format assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/LmhostsTest.java
// Create a temporary lmhosts file with invalid IP formats File lmhostsFile = tempDir.resolve("lmhosts_invalid").toFile(); try (FileWriter writer = new FileWriter(lmhostsFile)) { writer.write("192.168 HOST1\n"); // Invalid IP - missing 2 octets (should be skipped) writer.write("192.168.1.100 VALIDHOST\n"); writer.write("not.an.ip HOST2\n"); // Invalid IP formatRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.decode(buffer, 0, 23), "Should throw exception when length < 24"); assertEquals("Invalid resume key", exception.getMessage(), "Exception message should match"); } @Test @DisplayName("Test decode throws exception with zero length") void testDecodeThrowsExceptionWithZeroLength() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K 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) -
configure.py
# Check if the path is valid if os.path.isfile(python_bin_path) and os.access(python_bin_path, os.X_OK): break elif not os.path.exists(python_bin_path): print('Invalid python path: {} cannot be found.'.format(python_bin_path)) else: print('{} is not executable. Is it the python binary?'.format( python_bin_path)) environ_cp['PYTHON_BIN_PATH'] = ''Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Wed Apr 30 15:18:54 UTC 2025 - 48.3K bytes - Viewed (0)