- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 1,086 for isValid (1.72 sec)
-
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
@Test @DisplayName("Should handle invalid NetBIOS name quickly") @Timeout(value = 1, unit = TimeUnit.SECONDS) // Very short timeout void testGetNbtByNameInvalid() { // When/Then - Should fail quickly with invalid characters assertThrows(Exception.class, () -> { nameServiceClient.getNbtByName("INVALID@#$%NAME"); }, "Should throw exception for invalid NetBIOS name"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java
* @return the collection result, never {@code null} * @throws DependencyResolverException if the dependency tree could not be built * @throws IllegalArgumentException if an argument is null or invalid * @see #collect(DependencyResolverRequest) */ @Nonnull default DependencyResolverResult collect( @Nonnull Session session, @Nonnull DependencyCoordinates root, @Nonnull PathScope scope) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 9.4K bytes - Viewed (0) -
docs_src/dependencies/tutorial012_py39.py
if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: str = Header()): if x_key != "fake-super-secret-key": raise HTTPException(status_code=400, detail="X-Key header invalid") return x_key app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)]) @app.get("/items/")Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 696 bytes - Viewed (0) -
docs_src/app_testing/app_b_py310/test_main.py
} def test_read_item_bad_token(): response = client.get("/items/foo", headers={"X-Token": "hailhydra"}) assert response.status_code == 400 assert response.json() == {"detail": "Invalid X-Token header"} def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/bucket/replication/tag.go
Value string `xml:"Value,omitempty" json:"Value,omitempty"` } var ( errInvalidTagKey = Errorf("The TagKey you have provided is invalid") errInvalidTagValue = Errorf("The TagValue you have provided is invalid") ) func (tag Tag) String() string { return tag.Key + "=" + tag.Value } // IsEmpty returns whether this tag is empty or not. func (tag Tag) IsEmpty() bool {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.6K bytes - Viewed (0) -
cmd/api-errors.go
Code: "NoSuchUpload", Description: "The specified multipart upload does not exist. The upload ID may be invalid, or the upload may have been aborted or completed.", HTTPStatusCode: http.StatusNotFound, }, ErrInvalidVersionID: { Code: "InvalidArgument", Description: "Invalid version id specified", HTTPStatusCode: http.StatusBadRequest, }, ErrNoSuchVersion: {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 93K bytes - Viewed (3) -
cmd/postpolicyform_test.go
success: false, }, // invalid json. {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/AssertionUtil.java
/** * Asserts that the argument is valid. * * @param argName * The name of the argument that must not be invalid. * @param expression * The precondition. * @param description * The description of why the argument is invalid. * @throws ClIllegalArgumentException * If {@code expression} is false. */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 12.5K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_py310.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Aug 26 18:03:13 UTC 2023 - 1.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/exception/InvalidQueryException.java
import org.codelibs.fess.mylasta.action.FessMessages; import org.lastaflute.web.validation.VaMessenger; /** * Exception thrown when an invalid query is encountered. * This exception is typically used in search contexts where a provided * query is malformed, contains invalid syntax, or violates query constraints. */ public class InvalidQueryException extends FessSystemException { /** Serial version UID for serialization */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0)