Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 481 - 490 of 564 for FLOAT (0.03 seconds)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertEquals(Long.valueOf(0), ArbitraryInstances.get(long.class));
        assertEquals(Long.valueOf(0), ArbitraryInstances.get(Long.class));
        assertEquals(Float.valueOf(0), ArbitraryInstances.get(float.class));
        assertEquals(Float.valueOf(0), ArbitraryInstances.get(Float.class));
        assertThat(ArbitraryInstances.get(double.class)).isEqualTo(Double.valueOf(0));
        assertThat(ArbitraryInstances.get(Double.class)).isEqualTo(Double.valueOf(0));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 22.4K bytes
    - Click Count (0)
  2. schema/field_test.go

    		{Name: "FLOAT32", DBName: "ffloat32", BindNames: []string{"FLOAT32"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 32, Tag: `gorm:"column:ffloat32"`},
    		{Name: "FLOAT64", DBName: "ffloat64", BindNames: []string{"FLOAT64"}, DataType: schema.Float, Creatable: true, Updatable: true, Readable: true, Size: 64, Tag: `gorm:"column:ffloat64"`},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

                    } else if (parameterType.equals(Double.TYPE)) {
                        methodKey.append("java.lang.Double");
                    } else if (parameterType.equals(Float.TYPE)) {
                        methodKey.append("java.lang.Float");
                    } else if (parameterType.equals(Integer.TYPE)) {
                        methodKey.append("java.lang.Integer");
                    } else if (parameterType.equals(Long.TYPE)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  4. src/main/resources/fess_indices/_aws/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)
  5. docs/ko/docs/python-types.md

    # 파이썬 타입 소개 { #python-types-intro }
    
    파이썬은 선택적으로 "타입 힌트(type hints)"(“type annotations”라고도 함)를 지원합니다.
    
    이러한 **"타입 힌트"** 또는 애너테이션은 변수의 <dfn title="예: str, int, float, bool">타입</dfn>을 선언할 수 있게 해주는 특수한 구문입니다.
    
    변수의 타입을 선언하면 에디터와 도구가 더 나은 지원을 제공할 수 있습니다.
    
    이 문서는 파이썬 타입 힌트에 대한 **빠른 자습서 / 내용 환기**입니다. **FastAPI**와 함께 사용하기 위해 필요한 최소한만 다룹니다... 실제로는 아주 조금만 있으면 됩니다.
    
    **FastAPI**는 모두 이러한 타입 힌트에 기반을 두고 있으며, 이는 많은 장점과 이점을 제공합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 13K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

              new TestHasher().putUnencodedChars(s).hash(),
              new TestHasher().putString(s, UTF_16LE).hash());
        }
      }
    
      public void testFloat() {
        TestHasher hasher = new TestHasher();
        hasher.putFloat(Float.intBitsToFloat(0x04030201));
        hasher.assertBytes(new byte[] {1, 2, 3, 4});
      }
    
      public void testDouble() {
        TestHasher hasher = new TestHasher();
        hasher.putDouble(Double.longBitsToDouble(0x0807060504030201L));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 21:52:12 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. tests/test_serialize_response_dataclass.py

    from datetime import datetime
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @dataclass
    class Item:
        name: str
        date: datetime
        price: float | None = None
        owner_ids: list[int] | None = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  8. docs/tr/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    çünkü path parametresi `item_id`, `int` olmayan `"foo"` değerine sahipti.
    
    Aynı hata, şu örnekte olduğu gibi `int` yerine `float` verirseniz de ortaya çıkar: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Ek bilgi
    
    Yani, aynı Python tip tanımıyla birlikte **FastAPI** size veri doğrulama sağlar.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 9.7K bytes
    - Click Count (0)
  9. src/main/resources/fess_indices/fess/doc.json

              }
            }
          }
        ],
        "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.8K bytes
    - Click Count (0)
  10. docs/es/docs/tutorial/path-params.md

          "input": "foo"
        }
      ]
    }
    ```
    
    porque el parámetro de path `item_id` tenía un valor de `"foo"`, que no es un `int`.
    
    El mismo error aparecería si proporcionaras un `float` en lugar de un `int`, como en: [http://127.0.0.1:8000/items/4.2](http://127.0.0.1:8000/items/4.2)
    
    /// check | Revisa
    
    Entonces, con la misma declaración de tipo de Python, **FastAPI** te ofrece validación de datos.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.4K bytes
    - Click Count (0)
Back to Top