Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2641 - 2650 of 2,914 for math (0.02 seconds)

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

    ```
    
    那么你可以将 `entrypoint` 设置为:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    这等价于:
    
    ```python
    from backend.main import app
    ```
    
    ### 带路径的 `fastapi dev` { #fastapi-dev-with-path }
    
    你也可以把文件路径传给 `fastapi dev` 命令,它会猜测要使用的 FastAPI 应用对象:
    
    ```console
    $ fastapi dev main.py
    ```
    
    但每次运行 `fastapi` 命令都需要记得传入正确的路径。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  2. pyproject.toml

        "pytest-sugar>=1.0.0",
        "pytest-timeout>=2.4.0",
    ]
    translations = [
        "gitpython >=3.1.46",
        "pydantic-ai >=0.4.10",
        "pygithub >=2.8.1",
    ]
    
    [tool.pdm]
    version = { source = "file", path = "fastapi/__init__.py" }
    distribution = true
    
    [tool.pdm.build]
    source-includes = [
        "tests/",
        "docs_src/",
        "scripts/",
        # For a test
        "docs/en/docs/img/favicon.png",
    ]
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 23 12:36:49 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. src/cmd/api/api_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"flag"
    	"fmt"
    	"go/build"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"slices"
    	"strings"
    	"sync"
    	"testing"
    )
    
    var flagCheck = flag.Bool("check", false, "run API checks")
    
    func TestMain(m *testing.M) {
    	flag.Parse()
    	for _, c := range contexts {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt

        fun alpnProtocolNames(protocols: List<Protocol>) = protocols.filter { it != Protocol.HTTP_1_0 }.map { it.toString() }
    
        val isAndroid: Boolean
          get() = PlatformRegistry.isAndroid
    
        /** Attempt to match the host runtime to a capable Platform implementation. */
        private fun findPlatform(): Platform = PlatformRegistry.findPlatform()
    
        /**
         * Returns the concatenation of 8-bit, length prefixed protocol names.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

            CIFSContext ctx = mock(CIFSContext.class);
            SmbTreeConnectionTrace trace = Mockito.spy(new SmbTreeConnectionTrace(ctx));
    
            // Act: directly invoke finalize to simulate GC finalization path
            trace.finalize();
    
            // Assert: verify that finalize delegated to checkRelease()
            verify(trace, times(1)).checkRelease();
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

            byte[] buf = buildBuffer(oidDer(), name.getBytes(StandardCharsets.US_ASCII));
    
            // Act
            MIEName parsed = new MIEName(buf);
    
            // Assert
            // equals should match case-insensitively for name and equal OID
            MIEName expected = new MIEName(testOid(), name);
            assertEquals(expected, parsed, "Parsed object should equal expected");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  7. cmd/metacache-stream_test.go

    ro.golden", "src/compress/flate/testdata/huffman-zero.in", "src/compress/flate/testdata/huffman-zero.wb.expect", "src/compress/flate/testdata/huffman-zero.wb.expect-noinput", "src/compress/flate/testdata/null-long-match.dyn.expect-noinput", "src/compress/flate/testdata/null-long-match.wb.expect-noinput", "src/compress/flate/token.go", "src/compress/flate/writer_test.go", "src/compress/gzip/", "src/compress/gzip/example_test.go", "src/compress/gzip/gunzip.go", "src/compress/gzip/gunzip_test.go", ...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 09 14:28:39 GMT 2025
    - 15K bytes
    - Click Count (0)
  8. docs/ko/docs/advanced/websockets.md

    그리고 모든 메시지는 동일한 WebSocket 연결을 사용합니다.
    
    ## `Depends` 및 기타 사용하기 { #using-depends-and-others }
    
    WebSocket 엔드포인트에서 `fastapi`에서 다음을 가져와 사용할 수 있습니다:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    이들은 다른 FastAPI 엔드포인트/*경로 처리*와 동일하게 동작합니다:
    
    {* ../../docs_src/websockets_/tutorial002_an_py310.py hl[68:69,82] *}
    
    /// info | 정보
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 6.3K bytes
    - Click Count (0)
  9. docs/ko/docs/fastapi-cli.md

    `entrypoint`를 다음과 같이 설정합니다:
    
    ```toml
    [tool.fastapi]
    entrypoint = "backend.main:app"
    ```
    
    이는 다음과 동일합니다:
    
    ```python
    from backend.main import app
    ```
    
    ### 경로와 함께 `fastapi dev` { #fastapi-dev-with-path }
    
    `fastapi dev` 명령어에 파일 경로를 전달할 수도 있으며, 그러면 사용할 FastAPI 앱 객체를 추정합니다:
    
    ```console
    $ fastapi dev main.py
    ```
    
    하지만 매번 `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)
  10. tensorflow/c/c_api_experimental_test.cc

    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_internal.h"
    #include "tensorflow/c/c_test_util.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/resource_loader.h"
    #include "tensorflow/core/platform/test.h"
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top