Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 512 for Floats (0.05 seconds)

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

  1. README.md

    ```Python hl_lines="4  9-12  25-27"
    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 25 11:01:37 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  2. src/main/config/es/fess_config_key_match.json

    {
      "fess_config.key_match" : {
        "aliases" : { },
        "mappings" : {
          "key_match" : {
            "properties" : {
              "boost" : {
                "type" : "float"
              },
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
                "type" : "long"
              },
              "maxSize" : {
                "type" : "integer"
              },
              "query" : {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Dec 02 13:14:56 GMT 2021
    - 1.1K bytes
    - Click Count (0)
  3. docs_src/generate_clients/tutorial004_py39.py

    import json
    from pathlib import Path
    
    file_path = Path("./openapi.json")
    openapi_content = json.loads(file_path.read_text())
    
    for path_data in openapi_content["paths"].values():
        for operation in path_data.values():
            tag = operation["tags"][0]
            operation_id = operation["operationId"]
            to_remove = f"{tag}-"
            new_operation_id = operation_id[len(to_remove) :]
            operation["operationId"] = new_operation_id
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 493 bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            "short" to "Short",
            "java.lang.Integer" to "Int",
            "int" to "Int",
            "java.lang.Long" to "Long",
            "long" to "Long",
            "java.lang.Float" to "Float",
            "float" to "Float",
            "java.lang.Double" to "Double",
            "double" to "Double"
        )
    
    
    // See `org.gradle.kotlin.dsl.internal.sharedruntime.codegen.ApiTypeProviderKt.mappedTypeStrings`
    private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  5. callbacks/helper_test.go

    			input: map[string]interface{}{
    				"age": 18,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "age"}},
    				Values:  [][]interface{}{{18}},
    			},
    		},
    		{
    			name: "Test convert float value",
    			input: map[string]interface{}{
    				"score": 99.5,
    			},
    			expect: clause.Values{
    				Columns: []clause.Column{{Name: "score"}},
    				Values:  [][]interface{}{{99.5}},
    			},
    		},
    		{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Mar 05 02:22:57 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/query/QueryProcessor.java

         * @param boost the boost factor to apply to the query
         * @return the processed OpenSearch QueryBuilder
         */
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            return filterChain.execute(context, query, boost);
        }
    
        /**
         * Adds a query command to the processor.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return TermRangeQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final TermRangeQuery termRangeQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("TermRangeQuery: query={}, boost={}", query, boost);
                }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

                if (!(value instanceof Double)) {
                    return (T) Double.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Float.class)) {
                if (!(value instanceof Float)) {
                    return (T) Float.valueOf(value.toString());
                }
            } else if (clazz.isAssignableFrom(Boolean.class) && !(value instanceof Boolean)) {
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sat Sep 06 04:15:37 GMT 2025
    - 9.7K bytes
    - Click Count (10)
  9. docs/de/docs/tutorial/body-nested-models.md

    * Datenkonvertierung
    * Datenvalidierung
    * Automatische Dokumentation
    
    ## Spezielle Typen und Validierungen { #special-types-and-validation }
    
    Abgesehen von normalen einfachen Typen wie `str`, `int`, `float`, usw. können Sie komplexere einfache Typen verwenden, die von `str` erben.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java

         * @throws InvalidQueryException if the query is not a FuzzyQuery
         */
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final FuzzyQuery fuzzyQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("FuzzyQuery: query={}, boost={}", query, boost);
                }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top