Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 636 for float32 (0.04 sec)

  1. tests/test_get_request_body.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    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():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/path-params-numeric-validations.md

    * `le`: `l`ess than or `e`qual (менше або дорівнює)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py39.py hl[10] *}
    
    ## Валідація числових даних: float, більше ніж і менше ніж
    
    Валідація чисел також працює для значень типу `float`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 16:27:21 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

      @Override
      void writeShort(int v);
    
      @Override
      void writeChar(int v);
    
      @Override
      void writeInt(int v);
    
      @Override
      void writeLong(long v);
    
      @Override
      void writeFloat(float v);
    
      @Override
      void writeDouble(double v);
    
      @Override
      void writeChars(String s);
    
      @Override
      void writeUTF(String s);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. docs/fr/docs/python-types.md

    # Introduction aux Types Python
    
    Python supporte des annotations de type (ou *type hints*) optionnelles.
    
    Ces annotations de type constituent une syntaxe spéciale qui permet de déclarer le <abbr title="par exemple : str, int, float, bool">type</abbr> d'une variable.
    
    En déclarant les types de vos variables, cela permet aux différents outils comme les éditeurs de texte d'offrir un meilleur support.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

            assertEquals(0x1234, raf.readUnsignedShort());
            assertEquals((short) 0x1234, raf.readShort());
            assertEquals((char) 0x1234, raf.readChar());
        }
    
        @Test
        @DisplayName("readInt/Long/Float/Double: big-endian decoding")
        void read_multiByteVariants() throws Exception {
            SmbRandomAccessFile raf = spy(newInstance("r", false, false, false));
            // int 0x01020304
            doAnswer(inv -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/keymatch/CreateForm.java

        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer maxSize;
    
        /**
         * The boost score for matched results.
         */
        @Required
        @ValidateTypeFailure
        public Float boost;
    
        /**
         * The virtual host for the key match.
         */
        @Size(max = 1000)
        public String virtualHost;
    
        /**
         * The user who created this key match.
         */
        @Size(max = 255)
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/query/MatchAllQueryCommand.java

        @Override
        protected String getQueryClassName() {
            return MatchAllDocsQuery.class.getSimpleName();
        }
    
        @Override
        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (logger.isDebugEnabled()) {
                logger.debug("MatchAllQuery: query={}, boost={}", query, boost);
            }
            return QueryBuilders.matchAllQuery().boost(boost);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. tests/test_serialize_response.py

    from typing import Optional
    
    from fastapi import FastAPI
    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/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. cmd/iam.go

    				}
    			}
    			if authZInit {
    				setGlobalAuthZPlugin(polplugin.New(authZPluginCfg))
    			}
    		}
    
    		if !openidInit || !ldapInit || !authNInit || !authZInit {
    			retryInterval := time.Duration(r.Float64() * float64(3*time.Second))
    			if !openidInit {
    				logger.Info("Waiting for OpenID to be initialized.. (retrying in %s)", retryInterval)
    			}
    			if !ldapInit {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Oct 15 17:00:45 UTC 2025
    - 76.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/KeyMatchDbm.java

        //                                                                         ===========
        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);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top