- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 1,160 for isInvalid (0.07 seconds)
-
src/bytes/bytes.go
// representing invalid UTF-8 replaced with the bytes in replacement, which may be empty. func ToValidUTF8(s, replacement []byte) []byte { b := make([]byte, 0, len(s)+len(replacement)) invalid := false // previous byte was from an invalid UTF-8 sequence for i := 0; i < len(s); { c := s[i] if c < utf8.RuneSelf { i++ invalid = false b = append(b, c) continue }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Mar 12 17:56:55 GMT 2026 - 36.3K bytes - Click Count (0) -
cmd/bucket-policy-handlers_test.go
}, // Test case - 9. // non-existent bucket is used (with invalid bucket name) // writing BucketPolicy should fail. // should result in 404 StatusNotFound { bucketName: ".invalid-bucket", bucketPolicyReader: bytes.NewReader(fmt.Appendf(nil, bucketPolicyTemplate, ".invalid-bucket", ".invalid-bucket")), policyLen: len(fmt.Sprintf(bucketPolicyTemplate, bucketName, bucketName)),
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
throw new ThumbnailGenerationException("Invalid thumbnail: " + url); } final String configId = DocumentUtil.getValue(doc, fessConfig.getIndexFieldConfigId(), String.class); if (configId == null || configId.length() < 2) { throw new ThumbnailGenerationException("Invalid configId: " + configId); } return consumer.test(configId, url);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 13.4K bytes - Click Count (0) -
internal/kms/secret-key.go
// KMS that uses s as builtin single key as KMS implementation. func ParseSecretKey(s string) (*KMS, error) { v := strings.SplitN(s, ":", 2) if len(v) != 2 { return nil, errors.New("kms: invalid secret key format") } keyID, b64Key := v[0], v[1] key, err := base64.StdEncoding.DecodeString(b64Key) if err != nil { return nil, err } return NewBuiltin(keyID, key) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Apr 21 16:23:51 GMT 2025 - 8.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/UploadForm.java
*/ @Required public MultipartFormFile designFile; /** * The name for the design file being uploaded. * Must not contain invalid file system characters like backslash, colon, asterisk, etc. */ @Pattern(regexp = "^[^\\\\|/|:|\\*|?|\"|<|>|\\|]+$", message = "{errors.design_file_name_is_invalid}") public String designFileName; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
} @Override public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException { if (len != 8) { throw new SMBProtocolDecodingException("Invalid durable handle response length: " + len); } // Read reserved field (should be all zeros but we don't validate) System.arraycopy(buffer, bufferIndex, reserved, 0, 8); return 8; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
# Basic IDN support, UTF-8 and UTF-16 input should be converted to IDN http://\u4f60\u597d\u4f60\u597d s:http p:/ h:xn--6qqa088eba # Invalid escaped characters should fail and the percents should be # escaped. https://www.w3.org/Bugs/Public/show_bug.cgi?id=24191 http://%zz%66%a.com # If we get an invalid character that has been escaped. http://%25 http://hello%00 # Escaped numbers should be treated like IP addresses if they are.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 14.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/PrunedTag.java
* * @param value the comma-separated string of pruned tag configurations * @return an array of PrunedTag objects parsed from the input string * @throws FessSystemException if the input string contains invalid tag patterns */ public static PrunedTag[] parse(final String value) { return split(value, ",").get(stream -> stream.filter(StringUtil::isNotBlank).map(v -> {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Nov 24 04:23:08 GMT 2025 - 7.1K bytes - Click Count (0) -
tests/soft_delete_test.go
sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String() if !regexp.MustCompile(`UPDATE .users. SET .deleted_at.=.* WHERE .users.\..id. = .* AND .users.\..deleted_at. IS NULL`).MatchString(sql) { t.Fatalf("invalid sql generated, got %v", sql) } sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String()
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed Feb 01 06:40:55 GMT 2023 - 5.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
public static final String CONSTRAINTS_Size_MESSAGE = "{constraints.Size.message}"; /** The key of the message: {item} is an invalid credit card number. */ public static final String CONSTRAINTS_CreditCardNumber_MESSAGE = "{constraints.CreditCardNumber.message}"; /** The key of the message: {item} is an invalid {type} barcode. */ public static final String CONSTRAINTS_EAN_MESSAGE = "{constraints.EAN.message}";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 126.6K bytes - Click Count (0)