Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 708 for Floats (0.04 seconds)

  1. src/main/webapp/WEB-INF/view/admin/elevateword/admin_elevateword_download.jsp

                                <la:message key="labels.elevate_word_configuration"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item active"><la:link href="/admin/elevateword">
                                    <la:message key="labels.elevate_word_link_list"/>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  2. tests/test_get_request_body.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Product(BaseModel):
        name: str
        description: str = None  # type: ignore
        price: float
    
    
    @app.get("/product")
    async def create_item(product: Product):
        return product
    
    
    client = TestClient(app)
    
    
    def test_get_with_body():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. src/main/webapp/WEB-INF/view/admin/dict/stemmeroverride/admin_dict_stemmeroverride_download.jsp

                                <la:message key="labels.dict_stemmeroverride_title"/>
                            </h1>
                        </div>
                        <div class="col-sm-6">
                            <ol class="breadcrumb float-sm-right">
                                <li class="breadcrumb-item"><la:link href="/admin/dict">
                                    <la:message key="labels.dict_list_link"/>
                                </la:link></li>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/builder/RequestDataBuilder.java

             * Sets the weight for the request data.
             *
             * @param weight the weight to set
             * @return the current RequestDataContext instance
             */
            public RequestDataContext weight(final float weight) {
                data.setWeight(weight);
                return this;
            }
    
            /**
             * Builds and returns the constructed RequestData object.
             *
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/GraphConstants.java

      static final int DEFAULT_NODE_COUNT = 10;
      static final int DEFAULT_EDGE_COUNT = DEFAULT_NODE_COUNT * EXPECTED_DEGREE;
    
      // Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps
      static final float INNER_LOAD_FACTOR = 1.0f;
      static final int INNER_CAPACITY = 2; // ceiling(EXPECTED_DEGREE / INNER_LOAD_FACTOR)
    
      // Error messages
      static final String NODE_NOT_IN_GRAPH = "Node %s is not an element of this graph.";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

    import java.io.InputStream;
    import java.util.Properties;
    
    import org.codelibs.core.misc.DynamicProperties;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Test implementation of system properties that loads from classpath
     */
    public class TestSystemProperties extends DynamicProperties {
    
        private static final Logger logger = LoggerFactory.getLogger(TestSystemProperties.class);
    
        public TestSystemProperties() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Aug 19 14:09:36 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/FileConfigDbm.java

                false, "Boolean", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnBoost = cci("boost", "boost", null, null, Float.class, "boost", null, false, false, false, "Float", 0,
                0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnConfigParameter = cci("configParameter", "configParameter", null, null, String.class,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 18K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

        // The values here look like 111...11101...010 in binary, where the initial 111...1110 takes
        // up exactly as many bits as can be represented in the significand (24 for float, 53 for
        // double). That final 0 should be rounded up to 1 because the remaining bits make that number
        // slightly nearer.
        long floatConversionTest = 0xfffffe8000000002L;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    porque o parâmetro de path `item_id` tinha o valor `"foo"`, que não é um `int`.
    
    O mesmo erro apareceria se você fornecesse um `float` em vez de um `int`, como em: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Verifique
    Então, com a mesma declaração de tipo do Python, o **FastAPI** fornece validação de dados.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  10. docs/zh/docs/tutorial/path-params.md

          ],
          "msg": "Input should be a valid integer, unable to parse string as an integer",
          "input": "foo"
        }
      ]
    }
    ```
    
    这是因为路径参数 `item_id` 的值(`"foo"`)的类型不是 `int`。
    
    值的类型不是 `int` 而是浮点数(`float`)时也会显示同样的错误,比如: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | 检查
    
    **FastAPI** 使用同样的 Python 类型声明实现了数据校验。
    
    注意,上面的错误清晰地指出了未通过校验的具体位置。
    
    这在开发调试与 API 交互的代码时非常有用。
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
Back to Top