- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,459 for Int (0.01 seconds)
-
docs/en/docs/index.md
@app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item): return {"item_name": item.name, "item_id": item_id} ``` The `fastapi dev` server should reload automatically.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 25 11:01:37 GMT 2025 - 23.5K bytes - Click Count (0) -
tensorflow/c/c_api_internal.h
void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, int num_shapes_and_types, const int64_t** shapes, const int* ranks, const TF_DataType* types, TF_Status* status);
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupExtension.kt
abstract val sdkVersions: ListProperty<SdkVersion> } data class SdkVersion( val compileSdk: Int, val buildTools: String, val agpVersion: String = "8.11.2", val minSdk: Int = 23, val targetSdk: Int? = null ):Serializable { val effectiveTargetSdk: Int get() = targetSdk ?: compileSdk
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 27 08:49:21 GMT 2025 - 1.4K bytes - Click Count (0) -
cmd/endpoint-ellipses_test.go
}) } } func getHexSequences(start int, number int, paddinglen int) (seq []string) { for i := start; i <= number; i++ { if paddinglen == 0 { seq = append(seq, fmt.Sprintf("%x", i)) } else { seq = append(seq, fmt.Sprintf(fmt.Sprintf("%%0%dx", paddinglen), i)) } } return seq } func getSequences(start int, number int, paddinglen int) (seq []string) { for i := start; i <= number; i++ {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.1K bytes - Click Count (0) -
api/go1.26.txt
pkg crypto/hpke, func Seal(PublicKey, KDF, AEAD, []uint8, []uint8) ([]uint8, error) #75300 pkg crypto/hpke, method (*Recipient) Export(string, int) ([]uint8, error) #75300 pkg crypto/hpke, method (*Recipient) Open([]uint8, []uint8) ([]uint8, error) #75300 pkg crypto/hpke, method (*Sender) Export(string, int) ([]uint8, error) #75300 pkg crypto/hpke, method (*Sender) Seal([]uint8, []uint8) ([]uint8, error) #75300
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 19:57:52 GMT 2025 - 11.5K bytes - Click Count (0) -
internal/disk/directio_darwin.go
func OpenFileDirectIO(filePath string, flag int, perm os.FileMode) (*os.File, error) { return directio.OpenFile(filePath, flag, perm) } // DisableDirectIO - disables directio mode. func DisableDirectIO(f *os.File) error { fd := f.Fd() _, err := unix.FcntlInt(fd, unix.F_NOCACHE, 0) return err } // AlignedBlock - pass through to directio implementation. func AlignedBlock(blockSize int) []byte {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.4K bytes - Click Count (0) -
cmd/tier_test.go
switch metric.Description.Name { case tierRequestsSuccess: succ += metric.Value case tierRequestsFailure: fail += metric.Value } } if int(succ) != expSuccess { t.Fatalf("Expected %d successes but got %f", expSuccess, succ) } if int(fail) != expFailure { t.Fatalf("Expected %d failures but got %f", expFailure, fail) }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.5K bytes - Click Count (0) -
docs_src/dependency_testing/tutorial001_py39.py
from typing import Union from fastapi import Depends, FastAPI from fastapi.testclient import TestClient app = FastAPI() async def common_parameters( q: Union[str, None] = None, skip: int = 0, limit: int = 100 ): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: dict = Depends(common_parameters)): return {"message": "Hello Items!", "params": commons}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.5K bytes - Click Count (0) -
docs/tr/docs/tutorial/path-params.md
"input": "foo" } ] } ``` Çünkü burada `item_id` yol parametresi `int` tipinde bir değer beklerken `"foo"` yani `string` tipinde bir değer almıştı. Aynı hata <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> sayfasında olduğu gibi `int` yerine `float` bir değer verseydik de ortaya çıkardı. /// check | Ek bilgi
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 10:29:01 GMT 2025 - 10.5K bytes - Click Count (0) -
docs/uk/docs/tutorial/path-params.md
"msg": "Input should be a valid integer, unable to parse string as an integer", "input": "foo" } ] } ``` тому що параметр шляху має значення `"foo"`, яке не є типом `int`. Таку саму помилку отримаємо, якщо передати `float` замість `int`, як бачимо, у цьому прикладі: <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: Sun Aug 31 10:29:01 GMT 2025 - 14.1K bytes - Click Count (0)