Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 627 for float (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/DefaultsTest.java

        assertEquals(0, Defaults.defaultValue(int.class).intValue());
        assertEquals(0, Defaults.defaultValue(long.class).longValue());
        assertEquals(0.0f, Defaults.defaultValue(float.class).floatValue());
        assertThat(Defaults.defaultValue(double.class).doubleValue()).isEqualTo(0.0d);
        assertNull(Defaults.defaultValue(void.class));
        assertNull(Defaults.defaultValue(String.class));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. src/main/config/es/fess_config_file_config.json

        "aliases" : { },
        "mappings" : {
          "file_config" : {
            "properties" : {
              "available" : {
                "type" : "boolean"
              },
              "boost" : {
                "type" : "float"
              },
              "configParameter" : {
                "type" : "keyword"
              },
              "createdBy" : {
                "type" : "keyword"
              },
              "createdTime" : {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Dec 02 13:14:56 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. docs_src/generate_clients/tutorial003_py39.py

    def custom_generate_unique_id(route: APIRoute):
        return f"{route.tags[0]}-{route.name}"
    
    
    app = FastAPI(generate_unique_id_function=custom_generate_unique_id)
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class ResponseMessage(BaseModel):
        message: str
    
    
    class User(BaseModel):
        username: str
        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Mar 04 22:02:18 UTC 2022
    - 914 bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/MoreObjects.java

         *
         * <p>It is strongly encouraged to use {@link #add(String, float)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper addValue(float value) {
          return addUnconditionalHolder(String.valueOf(value));
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/elevateword/CreateForm.java

        public String reading;
    
        public String targetLabel;
    
        @CustomSize(maxKey = "form.admin.max.input.size")
        public String permissions;
    
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        @Size(max = 1000)
        public String createdBy;
    
        @ValidateTypeFailure
        public Long createdTime;
    
        public void initialize() {
            boost = 100.0f;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. docs/tr/docs/python-types.md

    # Python Veri Tiplerine Giriş
    
    Python isteğe bağlı olarak "tip belirteçlerini" destekler.
    
     **"Tip belirteçleri"** bir değişkenin <abbr title="örneğin: str, int, float, bool">tipinin</abbr> belirtilmesine olanak sağlayan özel bir sözdizimidir.
    
    Değişkenlerin tiplerini belirterek editör ve araçlardan daha fazla destek alabilirsiniz.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    											${f:h(fe:label(countEntry.key))} 
    											<span class="badge badge-secondary badge-pill float-right">${f:h(countEntry.value)}</span>
    									</la:link></li>
    							</c:if>
    						</c:forEach>
    					</ul>
    				</c:if>
    			</c:forEach>
    			<c:forEach var="facetQueryView" items="${fe:facetQueryViewList()}">
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 09 04:29:42 UTC 2022
    - 9K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="9"
    {!../../docs_src/path_params_numeric_validations/tutorial005.py!}
    ```
    
    ## Validações numéricas: valores do tipo float, maior que e menor que
    
    Validações numéricas também funcionam para valores do tipo `float`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/query/BoostQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return BoostQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (query instanceof final BoostQuery boostQuery) {
                if (logger.isDebugEnabled()) {
                    logger.debug("{}:{}", query, boost);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. tests/test_validate_response.py

    from fastapi.exceptions import ResponseValidationError
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/invalid", response_model=Item)
    def get_invalid():
        return {"name": "invalid", "price": "foo"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top