Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 411 - 420 of 918 for Upload (0.06 seconds)

  1. docs/zh-hant/docs/fastapi-cli.md

    ## `fastapi dev` { #fastapi-dev }
    
    執行 `fastapi dev` 會啟動開發模式。
    
    預設情況下,**auto-reload** 功能是啟用的,當你對程式碼進行修改時,伺服器會自動重新載入。這會消耗較多資源,並且可能比禁用時更不穩定。因此,你應該只在開發環境中使用此功能。它也會在 IP 位址 `127.0.0.1` 上監聽,這是用於你的機器與自身通訊的 IP 位址(`localhost`)。
    
    ## `fastapi run` { #fastapi-run }
    
    執行 `fastapi run` 會以生產模式啟動 FastAPI。
    
    預設情況下,**auto-reload** 功能是禁用的。它也會在 IP 位址 `0.0.0.0` 上監聽,表示會監聽所有可用的 IP 位址,這樣任何能與該機器通訊的人都可以公開存取它。這通常是你在生產環境中運行應用程式的方式,例如在容器中運行時。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java

                    + "dblbackslash=\\\\\n"
                    + "                        \n";
    
            java.util.Properties props1 = new java.util.Properties();
            props1.load(new StringReader(config));
    
            MavenProperties props2 = new MavenProperties();
            props2.load(new StringReader(config));
    
            String s325 = props1.getProperty(" \r");
            assertEquals("\n \t \f", s325, "1");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 09 14:29:03 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  3. tests/joins_test.go

    		if users2[idx].Manager == nil {
    			t.Fatalf("Failed to load Manager")
    		}
    		// manager
    		CheckUser(t, *user.Manager, *users2[idx].Manager)
    		// user pet
    		if users2[idx].NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    		CheckPet(t, *user.NamedPet, *users2[idx].NamedPet)
    		// manager pet
    		if users2[idx].Manager.NamedPet == nil {
    			t.Fatalf("Failed to load NamedPet")
    		}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 15K bytes
    - Click Count (0)
  4. src/packaging/common/scripts/postrm

        if [ -f "$FESS_ENV_FILE" ]; then
            . "$FESS_ENV_FILE"
        fi
    fi
    
    if [ "$REMOVE_SERVICE" = "true" ]; then
        if command -v systemctl >/dev/null; then
            systemctl --no-reload disable fess.service > /dev/null 2>&1 || true
        fi
    
        if command -v chkconfig >/dev/null; then
            chkconfig --del fess 2> /dev/null || true
        fi
    
        if command -v update-rc.d >/dev/null; then
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 2.2K bytes
    - Click Count (0)
  5. docs/ja/docs/fastapi-cli.md

    ## `fastapi dev` { #fastapi-dev }
    
    `fastapi dev` を実行すると、開発モードが有効になります。
    
    デフォルトでは、**auto-reload** が有効です。コードを変更するとサーバーが自動で再読み込みされます。これはリソースを多く消費し、無効時より安定性が低くなる可能性があります。開発時のみに使用してください。また、IP アドレス `127.0.0.1`(マシン自身のみと通信するための IP、`localhost`)で待ち受けます。
    
    ## `fastapi run` { #fastapi-run }
    
    `fastapi run` を実行すると、デフォルトで本番モードで起動します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  6. internal/cachevalue/cache.go

    	defer t.updating.Unlock()
    
    	if time.Since(time.UnixMilli(t.lastUpdateMs.Load())) < ttl {
    		// There is a new value, release lock and return it.
    		if v = t.val.Load(); v != nil {
    			return *v, nil
    		}
    	}
    
    	if err := t.update(ctx); err != nil {
    		var empty T
    		return empty, err
    	}
    
    	return *t.val.Load(), nil
    }
    
    // Get will return a cached value or fetch a new one.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  7. 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)
  8. cmd/http-tracer_test.go

    	for i := range numReaders {
    		wg.Add(1)
    		go func(readerID int) {
    			defer wg.Done()
    			for range opsPerGoroutine {
    				_ = httpStats.toServerHTTPStats(false)
    				_ = httpStats.totalS3Requests.Load(false)
    				_ = httpStats.currentS3Requests.Load(false)
    				time.Sleep(1 * time.Microsecond)
    			}
    		}(i)
    	}
    	wg.Wait()
    
    	finalStats := httpStats.toServerHTTPStats(false)
    	totalRequests := 0
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  9. cmd/storage-rest-client.go

    	if values == nil {
    		values = make(url.Values)
    	}
    	values.Set(storageRESTDiskID, *client.diskID.Load())
    	respBody, err := client.restClient.CallWithHTTPMethod(ctx, http.MethodGet, rpcMethod, values, body, length)
    	if err != nil {
    		return nil, toStorageErr(err)
    	}
    	return respBody, nil
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 08 02:38:41 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  10. tensorflow/BUILD

    # learning applications.
    
    load("@rules_cc//cc:cc_import.bzl", "cc_import")
    
    # buildifier: disable=out-of-order-load
    # copybara:comment_begin(oss-only)
    load("//tensorflow:strict.default.bzl", "py_strict_library")
    
    # copybara:comment_end
    # buildifier: enable=out-of-order-load
    load("@bazel_skylib//lib:selects.bzl", "selects")
    load("@bazel_skylib//rules:common_settings.bzl", "bool_flag", "bool_setting")
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Mar 24 21:00:18 GMT 2026
    - 53.1K bytes
    - Click Count (0)
Back to Top