- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 599 for isInvalid (0.05 sec)
-
src/main/java/jcifs/smb/SmbWatchHandleImpl.java
} /** * {@inheritDoc} * * @see jcifs.SmbWatchHandle#watch() */ @Override public List<FileNotifyInformation> watch() throws CIFSException { if (!this.handle.isValid()) { throw new SmbException("Watch was broken by tree disconnect"); } try (SmbTreeHandleImpl th = this.handle.getTree()) { CommonServerMessageBlockRequest req;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.5K 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) -
src/main/java/org/codelibs/fess/sso/saml/SamlAuthenticator.java
.orElseThrow(() -> new SsoMessageException( messages -> messages.addErrorsFailedToProcessSsoRequest(UserMessages.GLOBAL_PROPERTY_KEY, "Invalid state."), "Failed to process metadata.", new SsoProcessException("Invalid state."))); } /** * Gets the logout response. * @return The logout response. */ protected ActionResponse getLogoutResponse() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 16.4K bytes - Viewed (1) -
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/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) -
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) -
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/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 format
Registered: 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/org/codelibs/fess/helper/ThemeHelperTest.java
assertTrue(true); } } public void test_install_withInvalidZip() throws IOException { // Create an invalid zip file Path jarPath = tempDir.resolve("invalid.jar"); Files.write(jarPath, "not a zip file".getBytes()); ThemeHelper mockThemeHelper = new ThemeHelper() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
private int userFlags; /** * Constructs a PAC logon information object from raw PAC data. * @param data the raw PAC logon info buffer data * @throws PACDecodingException if the data is malformed or invalid */ public PacLogonInfo(final byte[] data) throws PACDecodingException { try { final PacDataInputStream pacStream = new PacDataInputStream(new DataInputStream(new ByteArrayInputStream(data)));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.3K bytes - Viewed (0)