- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 296 for preload (0.06 seconds)
-
docs/zh-hant/docs/deployment/manually.md
* `app`:在 `main.py` 中以 `app = FastAPI()` 建立的物件。 等同於: ```Python from main import app ``` /// 其他 ASGI 伺服器也有類似的指令,詳見各自的文件。 /// warning Uvicorn 與其他伺服器支援 `--reload` 選項,對開發期間很有幫助。 `--reload` 會消耗更多資源,也較不穩定等。 它在開發階段很實用,但在生產環境中不應使用。 /// ## 部署觀念 { #deployment-concepts } 上述範例會啟動伺服器程式(如 Uvicorn),以單一行程在指定連接埠(如 `80`)上監聽所有 IP(`0.0.0.0`)。 這是基本概念。但你很可能還需要處理一些額外事項,例如:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.2K bytes - Click Count (0) -
src/packaging/common/scripts/prerm
exit 1 ;; esac # Stops the service if [ "$STOP_REQUIRED" = "true" ]; then echo -n "Stopping fess service..." if command -v systemctl >/dev/null; then systemctl --no-reload stop fess.service > /dev/null 2>&1 || true elif [ -x /etc/init.d/fess ]; then if command -v invoke-rc.d >/dev/null; then invoke-rc.d fess stop || true elseCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 29 07:34:32 GMT 2018 - 1.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exec/SuggestCreator.java
final DynamicProperties systemProperties = ComponentUtil.getSystemProperties(); if (StringUtil.isNotBlank(options.propertiesPath)) { systemProperties.reload(options.propertiesPath); } else { try { final File propFile = ComponentUtil.getSystemHelper().createTempFile("suggest_", ".properties");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 12.1K bytes - Click Count (0) -
docs/de/docs/deployment/manually.md
/// warning | Achtung Uvicorn und andere Server unterstützen eine `--reload`-Option, die während der Entwicklung nützlich ist. Die `--reload`-Option verbraucht viel mehr Ressourcen, ist instabiler, usw. Sie hilft während der **Entwicklung**, Sie sollten sie jedoch **nicht** in der **Produktion** verwenden. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 7.3K bytes - Click Count (0) -
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
import importlib from fastapi.testclient import TestClient from inline_snapshot import snapshot def get_client() -> TestClient: from docs_src.conditional_openapi import tutorial001_py310 importlib.reload(tutorial001_py310) client = TestClient(tutorial001_py310.app) return client def test_disable_openapi(monkeypatch): monkeypatch.setenv("OPENAPI_URL", "") # Load the client after setting the env var
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Arrange byte[] payload = new byte[] { 5, 6 }; // Act spyBlob.set(payload); // Assert verify(spyBlob, times(1)).set(payload); assertSame(payload, spyBlob.get(), "Spy should behave like real object exposing same array"); assertEquals(2, spyBlob.length(), "length() should reflect the set payload length"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/debugging/inspect/export.go
// The remaining payload and versions are returned. func checkXL2V1(buf []byte) (payload []byte, major, minor uint16, e error) { if len(buf) <= 8 { return payload, 0, 0, fmt.Errorf("xlMeta: no data") } if !bytes.Equal(buf[:4], xlHeader[:]) { return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4]) }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (1) -
docs/en/docs/advanced/vibe.md
The `@app.vibe()` decorator is intended to receive **any HTTP method** (`GET`, `POST`, `PUT`, `DELETE`, `PATCH`, etc.) and **any payload**. The body should be annotated with `Any`, because the request and the response would be... well... **anything**. 🤷 The idea is that you would receive the payload and send it **directly** to an LLM provider, using a `prompt` to tell the LLM what to do, and return the response **as is**. No questions asked.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 2K bytes - Click Count (0) -
docs/ko/docs/fastapi-cli.md
`fastapi dev`를 실행하면 개발 모드가 시작됩니다. 기본적으로 **auto-reload**가 활성화되어 코드에 변경이 생기면 서버를 자동으로 다시 로드합니다. 이는 리소스를 많이 사용하며, 비활성화했을 때보다 안정성이 떨어질 수 있습니다. 개발 환경에서만 사용해야 합니다. 또한 컴퓨터가 자신과만 통신하기 위한(`localhost`) IP인 `127.0.0.1`에서 연결을 대기합니다. ## `fastapi run` { #fastapi-run } `fastapi run`을 실행하면 프로덕션 모드로 FastAPI가 시작됩니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
} // The region before offset and after the payload must remain untouched. for (int i = 0; i < offset; i++) { final int idx = i; assertEquals(0, dst[i], () -> "pre-offset byte " + idx + " modified"); } for (int i = offset + 8; i < dst.length; i++) { final int idx = i; assertEquals(0, dst[i], () -> "post-payload byte " + idx + " modified"); } }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0)