- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 958 for onload (0.16 sec)
-
cmd/url_test.go
package cmd import ( "net/http" "testing" ) func BenchmarkURLQueryForm(b *testing.B) { req, err := http.NewRequest(http.MethodGet, "http://localhost:9000/bucket/name?uploadId=upload&partNumber=1", http.NoBody) if err != nil { b.Fatal(err) } // benchmark utility which helps obtain number of allocations and bytes allocated per ops. b.ReportAllocs()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 2K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_an_py39.py
@needs_py39 def test_post_uploadfile_no_body(client: TestClient): response = client.post("/uploadfile/") assert response.status_code == 200, response.text assert response.json() == {"message": "No upload file sent"} @needs_py39 def test_post_file(tmp_path: Path, client: TestClient): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") with path.open("rb") as file:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.5K bytes - Viewed (0) -
docs/de/docs/deployment/manually.md
Running on 0.0.0.0:8080 over http (CTRL + C to quit) ``` </div> //// /// warning | "Achtung" Denken Sie daran, die Option `--reload` zu entfernen, wenn Sie diese verwendet haben. Die Option `--reload` verbraucht viel mehr Ressourcen, ist instabiler, usw. Sie hilft sehr wรคhrend der **Entwicklung**, aber Sie sollten sie **nicht** in der **Produktion** verwenden. ///
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/em/docs/tutorial/first-steps.md
# ๐ฅ ๐ ๐ FastAPI ๐ ๐ช ๐ ๐ ๐: ```Python {!../../docs_src/first_steps/tutorial001.py!} ``` ๐ ๐ ๐ `main.py`. ๐ ๐ ๐ฝ: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) <span style="color: green;">INFO</span>: Started reloader process [28720]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 8K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial001_02_an.py
def test_post_uploadfile_no_body(): response = client.post("/uploadfile/") assert response.status_code == 200, response.text assert response.json() == {"message": "No upload file sent"} def test_post_file(tmp_path): path = tmp_path / "test.txt" path.write_bytes(b"<file content>") client = TestClient(app) with path.open("rb") as file:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8.2K bytes - Viewed (0) -
docs/ko/docs/tutorial/first-steps.md
๊ฐ์ฅ ๋จ์ํ FastAPI ํ์ผ์ ๋ค์๊ณผ ๊ฐ์ด ๋ณด์ผ ๊ฒ์ ๋๋ค: ```Python {!../../docs_src/first_steps/tutorial001.py!} ``` ์ ์ฝ๋๋ฅผ `main.py`์ ๋ณต์ฌํฉ๋๋ค. ๋ผ์ด๋ธ ์๋ฒ๋ฅผ ์คํํฉ๋๋ค: <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) <span style="color: green;">INFO</span>: Started reloader process [28720]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/site-replication/run-ssec-object-replication-with-compression.sh
TEST_MINIO_ENC_KEY="MDEyMzQ1Njc4OTAxMjM0NTY3ODkwMTIzNDU2Nzg5MDA" # Create certificates for TLS enabled MinIO echo -n "Setup certs for MinIO instances ..." wget -O certgen https://github.com/minio/certgen/releases/latest/download/certgen-linux-amd64 && chmod +x certgen ./certgen --host localhost mkdir -p /tmp/certs mv public.crt /tmp/certs || sudo mv public.crt /tmp/certs mv private.key /tmp/certs || sudo mv private.key /tmp/certs echo "done"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 24 08:03:58 UTC 2024 - 8.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/first-steps.md
# ็ฌฌไธๆญฅ ๆ็ฎๅ็ FastAPI ๆไปถๅฏ่ฝๅไธ้ข่ฟๆ ท๏ผ ```Python {!../../docs_src/first_steps/tutorial001.py!} ``` ๅฐๅ ถๅคๅถๅฐ `main.py` ๆไปถไธญใ ่ฟ่กๅฎๆถๆๅกๅจ๏ผ <div class="termy"> ```console $ uvicorn main:app --reload <span style="color: green;">INFO</span>: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) <span style="color: green;">INFO</span>: Started reloader process [28720]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.1K bytes - Viewed (0) -
docs/em/docs/deployment/manually.md
<div class="termy"> ```console $ hypercorn main:app --bind 0.0.0.0:80 Running on 0.0.0.0:8080 over http (CTRL + C to quit) ``` </div> //// /// warning ๐ญ โ `--reload` ๐ ๐ฅ ๐ โ๏ธ โซ๏ธ. `--reload` ๐ ๐ด ๐ ๐ โน, ๐ โ , โ๏ธ. โซ๏ธ โน ๐ โฎ๏ธ **๐ ๏ธ**, โ๏ธ ๐ **๐ซ๐ ๐ซ** โ๏ธ โซ๏ธ **๐ญ**. /// ## Hypercorn โฎ๏ธ ๐ป
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Aug 06 04:48:30 UTC 2024 - 4.2K bytes - Viewed (0) -
cmd/globals.go
// If all pools reach this, we will use all pools with regular placement. diskReserveFraction = 0.15 // diskAssumeUnknownSize is the size to assume when an unknown size upload is requested. diskAssumeUnknownSize = 1 << 30 // diskMinInodes is the minimum number of inodes we want free on a disk to perform writes. diskMinInodes = 1000
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Sep 03 18:23:41 UTC 2024 - 16.2K bytes - Viewed (0)