Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for mod_path (0.07 seconds)

  1. tests/test_tutorial/test_settings/test_app02.py

    from pytest import MonkeyPatch
    
    
    @pytest.fixture(
        name="mod_path",
        params=[
            pytest.param("app02_py39"),
            pytest.param("app02_an_py39"),
        ],
    )
    def get_mod_path(request: pytest.FixtureRequest):
        mod_path = f"docs_src.settings.{request.param}"
        return mod_path
    
    
    @pytest.fixture(name="main_mod")
    def get_main_mod(mod_path: str) -> ModuleType:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 1K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_settings/test_app03.py

    from pytest import MonkeyPatch
    
    
    @pytest.fixture(
        name="mod_path",
        params=[
            pytest.param("app03_py39"),
            pytest.param("app03_an_py39"),
        ],
    )
    def get_mod_path(request: pytest.FixtureRequest):
        mod_path = f"docs_src.settings.{request.param}"
        return mod_path
    
    
    @pytest.fixture(name="main_mod")
    def get_main_mod(mod_path: str) -> ModuleType:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  3. src/main/assemblies/files/generate-thumbnail

    #!/bin/bash
    
    cmd_type=$1
    url=$2
    output_file=$3
    mimetype=${4:-}
    image_size=100x100
    target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
    
    check_command() {
      cmd=$1
      cmd_path=$(command -v "${cmd}")
      if [[ ! -e "${cmd_path}" ]] ; then
        echo "${cmd} does not exist."
        exit 1
      fi
    }
    
    # Get ImageMagick command (magick for v7, convert for v6)
    get_imagemagick_cmd() {
      if command -v magick >/dev/null 2>&1; then
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 04 08:02:36 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  4. internal/lock/lock_windows.go

    	// matches what the docs above say:
    	// "When using an API to create a directory, the specified
    	// path cannot be so long that you cannot append an 8.3 file
    	// name (that is, the directory name cannot exceed MAX_PATH
    	// minus 12)." Since MAX_PATH is 260, 260 - 12 = 248.
    	//
    	// The MSDN docs appear to say that a normal path that is 248 bytes long
    	// will work; empirically the path must be less then 248 bytes long.
    	if len(path) < 248 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            MessageDigest md = MessageDigest.getInstance("MD5");
            md.update(artifact.getId().getBytes());
            byte[] digest = md.digest();
    
            String md5path = repository.pathOf(artifact) + ".md5";
            File md5artifactFile = new File(repository.getBasedir(), md5path);
            try (Writer writer =
                    new OutputStreamWriter(new FileOutputStream(md5artifactFile), StandardCharsets.ISO_8859_1)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 09:40:15 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/util/InputValidator.java

        private InputValidator() {
            // Utility class
        }
    
        // Maximum sizes for various SMB fields (based on protocol specifications)
        public static final int MAX_SMB_PATH_LENGTH = 32767; // Windows MAX_PATH
        public static final int MAX_USERNAME_LENGTH = 256;
        public static final int MAX_DOMAIN_LENGTH = 255;
        public static final int MAX_SHARE_NAME_LENGTH = 80;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. docs/zh/docs/advanced/behind-a-proxy.md

    /// note | 技术细节
    
    ASGI 规范定义的 `root_path` 就是为了这种用例。
    
    并且 `--root-path` 命令行选项支持 `root_path`。
    
    ///
    
    ### 查看当前的 `root_path`
    
    获取应用为每个请求使用的当前 `root_path`,这是 `scope` 字典的内容(也是 ASGI 规范的内容)。
    
    我们在这里的信息里包含 `roo_path` 只是为了演示。
    
    {* ../../docs_src/behind_a_proxy/tutorial001.py hl[8] *}
    
    然后,用以下命令启动 Uvicorn:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 10.3K bytes
    - Click Count (0)
  8. lib/fips140/v1.0.0-c2097c7c.zip

    gcmHashKey represents the 16-byte hash key required by the GHASH algorithm. type gcmHashKey [16]byte type gcmPlatformData struct { hashKey gcmHashKey } func initGCM(g *GCM) { if !useGCM && !useGHASH { return } // Note that hashKey is also used in the KMA codepath to hash large nonces. aes.EncryptBlockInternal(&g.cipher, g.hashKey[:], g.hashKey[:]) } // ghashAsm uses the GHASH algorithm to hash data with the given key. The initial // hash value is given by hash which will be updated with the new hash value....
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  9. lib/fips140/v1.1.0-rc1.zip

    gcmHashKey represents the 16-byte hash key required by the GHASH algorithm. type gcmHashKey [16]byte type gcmPlatformData struct { hashKey gcmHashKey } func initGCM(g *GCM) { if !useGCM && !useGHASH { return } // Note that hashKey is also used in the KMA codepath to hash large nonces. aes.EncryptBlockInternal(&g.cipher, g.hashKey[:], g.hashKey[:]) } // ghashAsm uses the GHASH algorithm to hash data with the given key. The initial // hash value is given by hash which will be updated with the new hash value....
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Dec 11 16:27:41 GMT 2025
    - 663K bytes
    - Click Count (0)
Back to Top