Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 708 for Floats (0.04 seconds)

  1. tests/test_sub_callbacks.py

    from inline_snapshot import snapshot
    from pydantic import BaseModel, HttpUrl
    
    app = FastAPI()
    
    
    class Invoice(BaseModel):
        id: str
        title: str | None = None
        customer: str
        total: float
    
    
    class InvoiceEvent(BaseModel):
        description: str
        paid: bool
    
    
    class InvoiceEventReceived(BaseModel):
        ok: bool
    
    
    invoices_callback_router = APIRouter()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  2. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/CapacityEnforcingMap.java

      private final StatsCounter statsCounter;
      private final @Nullable RemovalListener<? super K, ? super V> removalListener;
      private final long maximumSize;
    
      CapacityEnforcingMap(
          int initialCapacity,
          float loadFactor,
          boolean accessOrder,
          long maximumSize,
          StatsCounter statsCounter,
          @Nullable RemovalListener<? super K, ? super V> removalListener) {
        super(initialCapacity, loadFactor, accessOrder);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 2.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        -0.0,
        +0.0,
        Double.MIN_VALUE,
        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDouble */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  4. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java

    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * GWT emulation of {@link ImmutableEnumMap}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> {
      static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

     * - Resource content validation
     * - InputStream null safety in try-with-resources
     */
    public class SuggesterResourceLoadingTest {
    
        /**
         * Test that getDefaultMappings correctly loads and returns mapping resource.
         */
        @Test
        public void testGetDefaultMappings_loadsCorrectly() throws Exception {
            // Load resource directly to verify it exists
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  6. docs_src/generate_clients/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    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"])
    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 730 bytes
    - Click Count (0)
  7. docs/tr/docs/python-types.md

    # Python Tiplerine Giriş { #python-types-intro }
    
    Python, isteğe bağlı "type hints" (diğer adıyla "type annotations") desteğine sahiptir.
    
    Bu **"type hints"** veya annotations, bir değişkenin <dfn title="örneğin: str, int, float, bool">tip</dfn>'ini bildirmeye yarayan özel bir sözdizimidir.
    
    Değişkenleriniz için tip bildirerek, editörler ve araçlar size daha iyi destek sağlayabilir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  8. docs/uk/docs/python-types.md

    Python підтримує додаткові «підказки типів» (також звані «анотаціями типів»).
    
    Ці **«підказки типів»** або анотації — це спеціальний синтаксис, що дозволяє оголошувати <dfn title="наприклад: str, int, float, bool">тип</dfn> змінної.
    
    За допомогою оголошення типів для ваших змінних редактори та інструменти можуть надати вам кращу підтримку.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  9. 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));
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  10. 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("BoostQuery: query={}, boost={}", query, boost);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top