- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 1,146 for invalides (0.06 seconds)
-
tests/main_test.go
t.Skip("skip sqlserver due to it will raise data race for invalid sql") } var columns []string if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") } if DB.Model(&User{}).Where("sdsd.zaaa = ?", "sd;;;aa").Pluck("aaa", &columns).Error == nil { t.Errorf("Should got error with invalid SQL") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 1.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/InvalidAccessTokenException.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.exception; /** * Exception thrown when an invalid access token is encountered. * This exception is typically used in authentication and authorization contexts * where a provided access token is invalid, expired, or malformed. */ public class InvalidAccessTokenException extends FessSystemException { /** Serial version UID for serialization */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
assertEquals(21, sid.sub_authority[0]); assertEquals(1, sid.sub_authority[1]); } /** * Test constructor with an invalid SID string. */ @Test void testStringConstructorInvalidFormat() { assertThrows(SmbException.class, () -> new SID("invalid-sid")); assertThrows(SmbException.class, () -> new SID("S-1")); } /** * Test constructor with a byte array. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
throw new IllegalArgumentException("Username contains invalid characters: " + username); } } /** * Validates domain name * * @param domain the domain to validate * @throws IllegalArgumentException if domain is invalid */ public static void validateDomain(String domain) { if (domain == null) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertTrue(violations.isEmpty()); } // Test validation with invalid cron expressions @Test public void test_invalidCronExpressions() { TestBean bean = new TestBean(); // Test invalid cron expression bean.setCronExpression("invalid"); Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
*/ @Test public void testReleaseBufferValidation() { // Given - Various invalid buffers byte[] nullBuffer = null; byte[] wrongSizeBuffer = new byte[100]; // Wrong size byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE]; // When/Then - Should handle invalid buffers gracefully assertDoesNotThrow(() -> {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 9.6K bytes - Click Count (0) -
cmd/ftp-server.go
tokens := strings.SplitN(arg, "=", 2) if len(tokens) != 2 { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server") } switch tokens[0] { case "address": host, portStr, err := net.SplitHostPort(tokens[1]) if err != nil { logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java
@Test public void test_edgeCaseBehavior() { String[] edgeCases = { "0 0 25 * * ?", // Invalid day of month "0 60 * * * ?", // Invalid minute "0 0 0 32 1 ?", // Invalid day "0 0 0 1 13 ?", // Invalid month }; for (String cron : edgeCases) { boolean result = validator.determineValid(cron);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.6K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
log.warn("Invalid SMB protocol ID: 0x{}", Integer.toHexString(protocolId)); throw new SmbException("Invalid SMB protocol identifier"); } // Validate command is in valid range if (command < 0 || command > 255) { failedValidations.incrementAndGet(); throw new SmbException("Invalid command code: " + command); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosAuthDataTest.java
} /** * Test parsing of {@link KerberosConstants#AUTH_DATA_PAC} with an invalid token. * Expects a {@link PACDecodingException} to be thrown. */ @Test void testParseAuthDataPacWithInvalidToken() { // GIVEN an invalid token for AUTH_DATA_PAC byte[] invalidToken = "invalid-pac-token".getBytes(); // WHEN parsing the auth dataCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0)