Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 575 for Floats (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fastapi/.agents/skills/fastapi/SKILL.md

        description: str | None = None
        price: float = Field(gt=0)
    
    
    app = FastAPI()
    
    
    @app.post("/items/")
    async def create_item(item: Item, project_id: Annotated[int, Query()]): ...
    ```
    
    instead of this:
    
    ```python
    # DO NOT DO THIS
    class Item(BaseModel):
        name: str = ...
        description: str | None = None
        price: float = Field(..., gt=0)
    
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. internal/s3select/sql/evaluate.go

    	switch {
    	case e.Int != nil:
    		if *e.Int < math.MaxInt64 && *e.Int > math.MinInt64 {
    			return FromInt(int64(*e.Int)), nil
    		}
    		return FromFloat(*e.Int), nil
    	case e.Float != nil:
    		return FromFloat(*e.Float), nil
    	case e.String != nil:
    		return FromString(string(*e.String)), nil
    	case e.Boolean != nil:
    		return FromBool(bool(*e.Boolean)), nil
    	case e.Missing:
    		return FromMissing(), nil
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

     *   <li>Extracting child URLs and adding them to the queue using {@link #storeChildUrls(Set, String, int)}
     *       or {@link #storeChildUrl(String, String, float, int)}.</li>
     *   <li>Handling exceptions that may occur during the crawling process.</li>
     * </ol>
     *
     * <p>
     * The thread also manages the active thread count using atomic operations
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Dec 31 09:07:38 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. src/main/webapp/WEB-INF/view/admin/labeltype/admin_labeltype.jsp

                                            <%-- Paging Navigation --%>
                                        <div class="col-sm-10">
                                            <ul class="pagination pagination-sm m-0 float-right">
                                                <c:if test="${labelTypePager.existPrePage}">
                                                    <li class="page-item"><la:link
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                return boost.toString();
            }
            return null;
        }
    
        public void setBoostValue(final String value) {
            if (value != null) {
                try {
                    boost = Float.parseFloat(value);
                } catch (final Exception e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Invalid boost value, keeping current: value={}, error={}", value, e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 02:07:40 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. src/main/webapp/WEB-INF/view/admin/searchlog/admin_searchlog.jsp

                                <la:message key="labels.searchlog_configuration"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item active"><la:link href="/admin/searchlog">
                                    <la:message key="labels.searchlog_title"/>
                                </la:link></li>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/response-model.md

    {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *}
    
    * `description: Union[str, None] = None` (o `str | None = None` en Python 3.10) tiene un valor por defecto de `None`.
    * `tax: float = 10.5` tiene un valor por defecto de `10.5`.
    * `tags: List[str] = []` tiene un valor por defecto de una list vacía: `[]`.
    
    pero podrías querer omitirlos del resultado si no fueron en realidad almacenados.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    これは、パスパラメータ `item_id` が `int` ではない値 `"foo"` だからです。
    
    [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2) で見られるように、`int` のかわりに `float` が与えられた場合にも同様なエラーが表示されます。
    
    /// check | 確認
    
    したがって、同じPythonの型宣言を使用することで、**FastAPI**はデータのバリデーションを行います。
    
    表示されたエラーには、バリデーションが通らなかった箇所が明確に示されていることに注意してください。
    
    これは、APIとやり取りするコードを開発・デバッグする際に非常に役立ちます。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/parse.go

    			p.errorf("missing closing paren")
    		}
    		return v
    	case '+':
    		return +p.floatExpr()
    	case '-':
    		return -p.floatExpr()
    	case scanner.Float:
    		return p.atof(tok.String())
    	}
    	p.errorf("unexpected %s evaluating float expression", tok)
    	return 0
    }
    
    // term = factor | factor ('*' | '/' | '%' | '>>' | '<<' | '&') factor
    func (p *Parser) term() uint64 {
    	value := p.factor()
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Tue Feb 17 19:57:47 GMT 2026
    - 37.3K bytes
    - Click Count (0)
  10. api/go1.8.txt

    pkg expvar, func Handler() http.Handler
    pkg expvar, method (*Float) Value() float64
    pkg expvar, method (Func) Value() interface{}
    pkg expvar, method (*Int) Value() int64
    pkg expvar, method (*String) Value() string
    pkg go/doc, func IsPredeclared(string) bool
    pkg go/types, func Default(Type) Type
    pkg go/types, func IdenticalIgnoreTags(Type, Type) bool
    pkg math/big, method (*Float) Scan(fmt.ScanState, int32) error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Click Count (0)
Back to Top