- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,459 for Int (0.04 seconds)
-
tests/postgres_test.go
t.Errorf("expected 1 thing got more") } } type CompanyNew struct { ID int Name int } func TestAlterColumnDataType(t *testing.T) { DB.AutoMigrate(Company{}) if err := DB.Table("companies").Migrator().AlterColumn(CompanyNew{}, "name"); err != nil { t.Fatalf("failed to alter column from string to int, got error %v", err) } DB.AutoMigrate(Company{})
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Oct 08 09:16:32 GMT 2022 - 6.4K bytes - Click Count (0) -
docs/ko/docs/tutorial/path-params.md
"item_id" ], "msg": "value is not a valid integer", "type": "type_error.integer" } ] } ``` 경로 매개변수 `item_id`는 `int`가 아닌 `"foo"` 값이기 때문입니다. `int`가 아닌 `float`을 전달하는 경우에도 동일한 오류가 나타납니다: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> /// check | 확인
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 9.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java
// Convert the LinkedHashSet to a List to maintain order List<SourceRoot> sourcesList = new ArrayList<>(project.sources); // Find the index of the original SourceRoot int index = -1; for (int i = 0; i < sourcesList.size(); i++) { SourceRoot source = sourcesList.get(i); if (source.scope() == originalSourceRoot.scope()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 07 13:11:07 GMT 2025 - 4.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java
* @return This configuration, never {@code null}. */ ProjectBuildingRequest setValidationLevel(int validationLevel); /** * Gets the level of validation to perform on processed models. * * @return The level of validation to perform on processed models. */ int getValidationLevel(); // Profiles /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 7.5K bytes - Click Count (0) -
cmd/healthcheck-handler.go
w.Header().Set(xhttp.MinIOServerStatus, unavailable) // Service not initialized yet } if r.Header.Get(xhttp.MinIOPeerCall) != "" { writeResponse(w, http.StatusOK, nil, mimeNone) return } if int(globalHTTPStats.loadRequestsInQueue()) > globalAPIConfig.getRequestsPoolCapacity() { apiErr := getAPIError(ErrBusy) switch r.Method { case http.MethodHead: writeResponse(w, apiErr.HTTPStatusCode, nil, mimeNone)
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jun 26 07:44:34 GMT 2024 - 6.9K bytes - Click Count (0) -
build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java
} private static class ExecResult { private final String[] args; private final int code; private final String stdout; private final String stderr; public ExecResult(String[] args, int code, String stdout, String stderr) { this.args = args; this.code = code; this.stdout = stdout;Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
tests/test_reponse_set_reponse_code_empty.py
from fastapi import FastAPI, Response from fastapi.testclient import TestClient app = FastAPI() @app.delete( "/{id}", status_code=204, response_model=None, ) async def delete_deployment( id: int, response: Response, ) -> Any: response.status_code = 400 return {"msg": "Status overwritten", "id": id} client = TestClient(app) def test_dependency_set_status_code():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
if (!repositoryEquals(it1.next(), it2.next())) { return false; } } return true; } public static int repositoriesHashCode(List<RemoteRepository> repositories) { int result = 17; for (RemoteRepository repository : repositories) { result = 31 * result + repositoryHashCode(repository); } return result; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/path-params.md
本例把 `item_id` 的类型声明为 `int`。 /// check | 检查 类型声明将为函数提供错误检查、代码补全等编辑器支持。 /// ## 数据<abbr title="也称为:序列化、解析">转换</abbr> 运行示例并访问 <a href="http://127.0.0.1:8000/items/3" class="external-link" target="_blank">http://127.0.0.1:8000/items/3</a>,返回的响应如下: ```JSON {"item_id":3} ``` /// check | 检查 注意,函数接收并返回的值是 `3`( `int`),不是 `"3"`(`str`)。
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Dec 15 16:43:19 GMT 2024 - 7.4K bytes - Click Count (0) -
docs/pt/docs/tutorial/path-params.md
"input": "foo" } ] } ``` porque o parâmetro de path `item_id` tinha o valor `"foo"`, que não é um `int`. O mesmo erro apareceria se você fornecesse um `float` em vez de um `int`, como em: <a href="http://127.0.0.1:8000/items/4.2" class="external-link" target="_blank">http://127.0.0.1:8000/items/4.2</a> /// check | Verifique
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 9.8K bytes - Click Count (0)