Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2351 - 2360 of 3,687 for inst (0.03 sec)

  1. docs_src/path_params_numeric_validations/tutorial003_py39.py

    from fastapi import FastAPI, Path
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(*, item_id: int = Path(title="The ID of the item to get"), q: str):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 268 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

        UNIFORM_0_TO_2(0, 2),
        UNIFORM_0_TO_9(0, 9),
        ALWAYS_0(0, 0),
        ALWAYS_10(10, 10);
    
        final int min;
        final int max;
    
        ListSizeDistribution(int min, int max) {
          this.min = min;
          this.max = max;
        }
    
        public int chooseSize(Random random) {
          return random.nextInt(max - min + 1) + min;
        }
      }
    
      private BenchmarkHelpers() {}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/audit/SecurityAuditLogger.java

        /**
         * Event severity levels
         */
        public enum Severity {
            INFO(0), WARNING(1), ERROR(2), CRITICAL(3);
    
            private final int level;
    
            Severity(int level) {
                this.level = level;
            }
    
            public int getLevel() {
                return level;
            }
        }
    
        private static class SingletonHolder {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/SetViewTest.java

       * SetView#maxSize()} of {@code max}.
       */
      private static SetView<Integer> setSizeRange(int min, int max) {
        checkArgument(min >= 0 && max >= min);
        SetView<Integer> set = difference(setSize(max), setSize(max - min));
        checkState(set.minSize() == min && set.maxSize() == max);
        return set;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.9K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    You would do the same to declare `tuple`s and `set`s:
    
    {* ../../docs_src/python_types/tutorial007_py39.py hl[1] *}
    
    This means:
    
    * The variable `items_t` is a `tuple` with 3 items, an `int`, another `int`, and a `str`.
    * The variable `items_s` is a `set`, and each of its items is of type `bytes`.
    
    #### Dict { #dict }
    
    To define a `dict`, you pass 2 type parameters, separated by commas.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertTrue(delegateFuture.isCancelled());
      }
    
      private static final class ThrowingRunnable implements Runnable {
        final int throwAfterCount;
        final RuntimeException thrown;
        int count;
    
        ThrowingRunnable(int throwAfterCount, RuntimeException thrown) {
          this.throwAfterCount = throwAfterCount;
          this.thrown = thrown;
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/Types.java

          if (AnnotatedElement.class.isAssignableFrom(TypeVariable.class)) {
            if (new TypeCapture<Entry<String, int[][]>>() {}.capture()
                .toString()
                .contains("java.util.Map.java.util.Map")) {
              CURRENT = JAVA8;
            } else {
              CURRENT = JAVA9;
            }
          } else if (new TypeCapture<int[]>() {}.capture() instanceof Class) {
            CURRENT = JAVA7;
          } else {
            CURRENT = JAVA6;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/path-operation-advanced-configuration.md

    Mit demselben Trick könnten Sie ein Pydantic-Modell verwenden, um das JSON-Schema zu definieren, das dann im benutzerdefinierten Abschnitt des OpenAPI-Schemas für die *Pfadoperation* enthalten ist.
    
    Und Sie könnten dies auch tun, wenn der Datentyp im Request nicht JSON ist.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/body-nested-models.md

    Esto sería útil si deseas recibir claves que aún no conoces.
    
    ---
    
    Otro caso útil es cuando deseas tener claves de otro tipo (por ejemplo, `int`).
    
    Eso es lo que vamos a ver aquí.
    
    En este caso, aceptarías cualquier `dict` siempre que tenga claves `int` con valores `float`:
    
    {* ../../docs_src/body_nested_models/tutorial009_py39.py hl[7] *}
    
    /// tip | Consejo
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

            request.setModelSource(modelSource);
    
            return this;
        }
    
        @Override
        public int getValidationLevel() {
            return request.getValidationLevel();
        }
    
        @Override
        public FilterModelBuildingRequest setValidationLevel(int validationLevel) {
            request.setValidationLevel(validationLevel);
    
            return this;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
Back to top