Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 708 for Floats (0.06 seconds)

  1. docs/ja/docs/python-types.md

    # Pythonの型の紹介 { #python-types-intro }
    
    Python にはオプションの「型ヒント」(「型アノテーション」とも呼ばれます)がサポートされています。
    
    これらの **「型ヒント」** やアノテーションは、変数の<dfn title="例えば: str、int、float、bool">型</dfn>を宣言できる特別な構文です。
    
    変数に型を宣言することで、エディターやツールがより良いサポートを提供できます。
    
    これは Python の型ヒントについての **クイックチュートリアル/リフレッシュ** にすぎません。**FastAPI** で使うために必要な最低限のことだけをカバーしています。...実際には本当に少ないです。
    
    **FastAPI** はすべてこれらの型ヒントに基づいており、多くの強みと利点を与えてくれます。
    
    しかし、たとえ **FastAPI** をまったく使用しない場合でも、それらについて少し学ぶことで利点を得られます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.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: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

      /** Used for concurrent threads reading the list for the first time. */
      private val readCompleteLatch = CountDownLatch(1)
    
      // The lists are held as a large array of UTF-8 bytes. This is to avoid allocating lots of strings
      // that will likely never be used. Each rule is separated by '\n'. Please see the
      // PublicSuffixListGenerator class for how these lists are generated.
      // Guarded by this.
      override lateinit var bytes: ByteString
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jul 28 07:33:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. cmd/metrics-v3-types.go

    	buckets     []string
    }
    
    // NewMetricsGroup creates a new MetricsGroup. To create a metrics group for
    // metrics with a `bucket` dimension (label), use `NewBucketMetricsGroup`.
    //
    // The `loader` function loads metrics from the cache and the system.
    func NewMetricsGroup(path collectorPath, descriptors []MetricDescriptor,
    	loader MetricsLoaderFn,
    ) *MetricsGroup {
    	mg := &MetricsGroup{
    		CollectorPath: path,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Feb 28 19:33:08 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. src/main/resources/fess_indices/_cloud/fess/doc.json

                "analyzer": "empty_analyzer"
              }
            }
          }
        ],
        "properties": {
          "anchor": {
            "type": "keyword"
          },
          "boost": {
            "type": "float"
          },
          "click_count": {
            "type": "long"
          },
          "config_id": {
            "type": "keyword"
          },
          "important_content": {
            "type": "text",
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemSerializerTest.java

            String[] fields = { "field1" };
            String[] tags = { "tag1" };
            String[] roles = { "role1" };
            String[] languages = { "en" };
            long docFreq = 10L;
            long queryFreq = 5L;
            float userBoost = 1.5f;
    
            SuggestItem item =
                    new SuggestItem(text, readings, fields, docFreq, queryFreq, userBoost, tags, roles, languages, SuggestItem.Kind.DOCUMENT);
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  7. 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)
  8. docs/es/docs/tutorial/body.md

    Los parámetros de la función se reconocerán de la siguiente manera:
    
    * Si el parámetro también se declara en el **path**, se utilizará como un parámetro de path.
    * Si el parámetro es de un **tipo singular** (como `int`, `float`, `str`, `bool`, etc.), se interpretará como un parámetro de **query**.
    * Si el parámetro se declara como del tipo de un **modelo de Pydantic**, se interpretará como un **body** de request.
    
    /// note | Nota
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top