- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,647 for Invalid (0.05 seconds)
-
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.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java
import org.apache.maven.model.building.ModelProblemCollector; /** * Checks the model for missing or invalid values. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface ModelValidator { /** * Checks the specified (raw) model for missing or invalid values. The raw model is directly created from the POMCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/associations_test.go
t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count) } } } func TestInvalidAssociation(t *testing.T) { user := *GetUser("invalid", Config{Company: true, Manager: true}) if err := DB.Model(&user).Association("Invalid").Find(&user.Company).Error; err == nil { t.Fatalf("should return errors for invalid association, but got nil") } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
fastapi/exceptions.py
file: str line: int class HTTPException(StarletteHTTPException): """ An HTTP exception you can raise in your own code to show errors to the client. This is for client errors, invalid authentication, invalid data, etc. Not for server errors in your code. Read more about it in the [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/). ## ExampleCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:41:21 GMT 2026 - 7.3K bytes - Click Count (0) -
docs_src/dependencies/tutorial012_an_py310.py
if x_token != "fake-super-secret-token": raise HTTPException(status_code=400, detail="X-Token header invalid") async def verify_key(x_key: Annotated[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/")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 746 bytes - Click Count (0) -
src/test/java/jcifs/util/InputValidatorTest.java
"user$name" // invalid character }) void testInvalidUsernames(String username) { assertThrows(IllegalArgumentException.class, () -> InputValidator.validateUsername(username)); } @Test @DisplayName("Test username length validation") void testUsernameLengthValidation() { String longUsername = "a".repeat(InputValidator.MAX_USERNAME_LENGTH + 1);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (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
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Mar 13 19:07:10 GMT 2024 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
assertNull(entry.name.buffer); } @Test @DisplayName("Should throw exception for invalid conformance") void testDecodeInvalidConformance() throws NdrException { // Given: Mocked buffer data with invalid conformance samr.SamrSamEntry entry = new samr.SamrSamEntry(); when(mockNdrBuffer.dec_ndr_long()).thenReturn(1, 100); // idx, _name_bufferp
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 33.7K bytes - Click Count (0) -
tests/sql_builder_test.go
t.Fatalf("invalid sql generated, got %v", sql) } sql = dryRunDB.Where("a = ? or b = ?", "a", "b").Or("c = ? and d = ?", "c", "d").Find(&User{}).Statement.SQL.String() if !regexp.MustCompile(`WHERE \(\(a = .+ or b = .+\) OR \(c = .+ and d = .+\)\) AND .users.\..deleted_at. IS NULL`).MatchString(sql) { t.Fatalf("invalid sql generated, got %v", sql) }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 16.7K bytes - Click Count (0) -
cmd/server-main_test.go
expectedErr: false, hash: "hash:676d2da00f71f205", }, { config: "testdata/config/invalid.yaml", expectedErr: true, }, { config: "testdata/config/invalid-types.yaml", expectedErr: true, }, { config: "testdata/config/invalid-disks.yaml", expectedErr: true, }, } { t.Run(testcase.config, func(t *testing.T) { sctx := &serverCtxt{}Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.1K bytes - Click Count (0)