Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 622 for trip (3.37 sec)

  1. docs/es/docs/tutorial/cookie-param-models.md

    /// note | Nota
    
    Esto es compatible desde la versión `0.115.0` de FastAPI. 🤓
    
    ///
    
    /// tip | Consejo
    
    Esta misma técnica se aplica a `Query`, `Cookie`, y `Header`. 😎
    
    ///
    
    ## Cookies con un Modelo de Pydantic { #cookies-with-a-pydantic-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/templates.md

    {* ../../docs_src/templates/tutorial001.py hl[4,11,15:16] *}
    
    /// note | 笔记
    
    在FastAPI 0.108.0,Starlette 0.29.0之前,`name`是第一个参数。
    并且,在此之前,`request`对象是作为context的一部分以键值对的形式传递的。
    
    ///
    
    /// tip | 提示
    
    通过声明 `response_class=HTMLResponse`,API 文档就能识别响应的对象是 HTML。
    
    ///
    
    /// note | 技术细节
    
    您还可以使用 `from starlette.templating import Jinja2Templates`。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. lib/fips140/v1.1.0-rc1.zip

    input, // ignoring leading zeroes. func (x *Nat) resetToBytes(b []byte) *Nat { x.reset((len(b) + _S - 1) / _S) if err := x.setBytes(b); err != nil { panic("bigmod: internal error: bad arithmetic") } return x.trim() } // trim reduces the size of x to match its value. func (x *Nat) trim() *Nat { // Trim most significant (trailing in little-endian) zero limbs. // We assume comparison with zero (but not the branch) is constant time. for i := len(x.limbs) - 1; i >= 0; i-- { if x.limbs[i] != 0 { break } x.limbs...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:27:41 UTC 2025
    - 663K bytes
    - Viewed (0)
  4. cmd/xl-storage-meta-inline.go

    	}
    	// If none left...
    	if len(newKeys) == 0 {
    		*x = nil
    		return true
    	}
    
    	// Reserialize...
    	x.serialize(plSize, newKeys, newVals)
    	return true
    }
    
    // xlMetaV2TrimData will trim any data from the metadata without unmarshalling it.
    // If any error occurs the unmodified data is returned.
    func xlMetaV2TrimData(buf []byte) []byte {
    	metaBuf, maj, minor, err := checkXL2V1(buf)
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. docs/ko/docs/advanced/using-request-directly.md

    이를 위해서는 요청에 직접 접근해야 합니다.
    
    {* ../../docs_src/using_request_directly/tutorial001.py hl[1,7:8] *}
    
    *경로 작동 함수* 매개변수를 `Request` 타입으로 선언하면 **FastAPI**가 해당 매개변수에 `Request` 객체를 전달하는 것을 알게 됩니다.
    
    /// tip | 팁
    
    이 경우, 요청 매개변수와 함께 경로 매개변수를 선언한 것을 볼 수 있습니다.
    
    따라서, 경로 매개변수는 추출되고 검증되며 지정된 타입으로 변환되고 OpenAPI로 주석이 추가됩니다.
    
    이와 같은 방식으로, 다른 매개변수들을 평소처럼 선언하면서, 부가적으로 `Request`도 가져올 수 있습니다.
    
    ///
    
    ## `Request` 설명서
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dataconfig/ApiAdminDataconfigAction.java

                    .collect(Collectors.joining("\n")));
            body.virtualHosts = stream(entity.getVirtualHosts())
                    .get(stream -> stream.filter(StringUtil::isNotBlank).distinct().map(String::trim).collect(Collectors.joining("\n")));
            return body;
        }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/PrunedTag.java

                final Pattern pattern = Pattern.compile("(\\w+)(\\[[^\\]]+\\])?(\\.[\\w\\-]+)?(#[\\w\\-]+)?");
                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
                            String splitExpr;
                            if (l.contains(">>")) {
                                global = true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Oct 16 06:12:36 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. docs/zh/docs/advanced/events.md

    {!../../docs_src/events/tutorial003.py!}
    ```
    
    在这里,我们在 `yield` 之前将(虚拟的)模型函数放入机器学习模型的字典中,以此模拟加载模型的耗时**启动**操作。这段代码将在应用程序**开始处理请求之前**执行,即**启动**期间。
    
    然后,在 `yield` 之后,我们卸载模型。这段代码将会在应用程序**完成处理请求后**执行,即在**关闭**之前。这可以释放诸如内存或 GPU 之类的资源。
    
    /// tip | 提示
    
    **关闭**事件只会在你停止应用时触发。
    
    可能你需要启动一个新版本,或者你只是你厌倦了运行它。 🤷
    
    ///
    
    ## 生命周期函数
    
    首先要注意的是,我们定义了一个带有 `yield` 的异步函数。这与带有 `yield` 的依赖项非常相似。
    
    ```Python hl_lines="14-19"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/templates.md

    Before FastAPI 0.108.0, Starlette 0.29.0, the `name` was the first parameter.
    
    Also, before that, in previous versions, the `request` object was passed as part of the key-value pairs in the context for Jinja2.
    
    ///
    
    /// tip
    
    By declaring `response_class=HTMLResponse` the docs UI will be able to know that the response will be HTML.
    
    ///
    
    /// note | Technical Details
    
    You could also use `from starlette.templating import Jinja2Templates`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top