- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,160 for isInvalid (0.05 seconds)
-
src/cmd/asm/internal/arch/loong64.go
simdType = loong64.LASX simdReg = reg - loong64.REG_X0 default: return errors.New("Loong64 extension: invalid LSX/LASX register: " + fmt.Sprintf("%d", reg)) } if isIndex { arngType, ok = loong64ElemExtMap[ext] if !ok { return errors.New("Loong64 extension: invalid LSX/LASX arrangement type: " + ext) } a.Reg = loong64.REG_ELEM
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Sat Feb 14 15:17:33 GMT 2026 - 3.9K 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/org/codelibs/fess/query/QueryFieldConfigTest.java
assertTrue(queryFieldConfig.isSortField("modified")); assertTrue(queryFieldConfig.isSortField("title")); // Test invalid sort fields assertFalse(queryFieldConfig.isSortField("invalid")); assertFalse(queryFieldConfig.isSortField("")); assertFalse(queryFieldConfig.isSortField(null)); } @Test public void test_isFacetField() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K 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) -
internal/crypto/sse_test.go
"X-Minio-Internal-Server-Side-Encryption-Iv": "coVfGS3I/CTrqexX5vUN+PQPoP9aUFiPYYrSzqTWfBA=", }, ExpectedErr: nil, }, { // 1 - Valid HTTP headers but invalid metadata entries for bucket/object2 Headers: http.Header{ "X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 8.4K 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) -
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) -
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) -
cmd/signature-v4-parser_test.go
}, // Test Case - 7. // Test case with invalid region. { inputCredentialStr: generateCredentialStr( "Z7IXGOO6BZ0REAN1Q26I", UTCNow().Format(yyyymmdd), "us-west-2", "s3", "aws4_request"), expectedCredentials: credentialHeader{}, expectedErrCode: ErrAuthorizationHeaderMalformed, }, // Test Case - 8. // Test case with invalid request version.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 10 18:57:35 GMT 2025 - 27.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SSPContextTest.java
throw new CIFSException("token is null but len > 0"); } if (off < 0 || len < 0 || off > token.length || off + len > token.length) { throw new CIFSException("invalid offset/length"); } return Arrays.copyOfRange(token, off, off + len); } @Override public String getNetbiosName() { return this.nbName; }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.2K bytes - Click Count (0)