Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2271 - 2280 of 3,763 for Int (0.01 sec)

  1. docs/en/docs/tutorial/query-params.md

    ```Python hl_lines="10"
    {!> ../../docs_src/query_params/tutorial006.py!}
    ```
    
    ////
    
    In this case, there are 3 query parameters:
    
    * `needy`, a required `str`.
    * `skip`, an `int` with a default value of `0`.
    * `limit`, an optional `int`.
    
    /// tip
    
    You could also use `Enum`s the same way as with [Path Parameters](path-params.md#predefined-values){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. docs_src/path_params/tutorial002.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 143 bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

            // just carry-on as-is
            if (!recessive.getPlugins().isEmpty()) {
                metadata.setPlugins(new ArrayList<>(recessive.getPlugins()));
            }
        }
    
        private static int getBuildNumber(Metadata metadata) {
            int number = 0;
    
            Versioning versioning = metadata.getVersioning();
            if (versioning != null) {
                Snapshot snapshot = versioning.getSnapshot();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. docs_src/python_types/tutorial003.py

    def get_name_with_age(name: str, age: int):
        name_with_age = name + " is this old: " + age
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 119 bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

            .withRefreshes(ImmutableSet.of(DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)));
      }
    
      private static void warmUp(LoadingCache<Object, Object> cache, int minimum, int maximum) {
        for (int i = minimum; i < maximum; i++) {
          cache.getUnchecked(i);
        }
      }
    
      private Entry<Object, Object> entryOf(Object key, Object value) {
        return Maps.immutableEntry(key, value);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        }
    
        abstract void forEachRemaining(Consumer<? super E> action);
    
        abstract boolean tryAdvance(Consumer<? super E> action);
    
        abstract @Nullable GeneralSpliterator<E> trySplit();
    
        final int characteristics() {
          return spliterator.characteristics();
        }
    
        final long estimateSize() {
          return spliterator.estimateSize();
        }
    
        final Comparator<? super E> getComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        }
    
        abstract void forEachRemaining(Consumer<? super E> action);
    
        abstract boolean tryAdvance(Consumer<? super E> action);
    
        abstract @Nullable GeneralSpliterator<E> trySplit();
    
        final int characteristics() {
          return spliterator.characteristics();
        }
    
        final long estimateSize() {
          return spliterator.estimateSize();
        }
    
        final Comparator<? super E> getComparator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/EmptyCachesTest.java

            .withRefreshes(ImmutableSet.of(DurationSpec.of(1, SECONDS), DurationSpec.of(1, DAYS)));
      }
    
      private static void warmUp(LoadingCache<Object, Object> cache, int minimum, int maximum) {
        for (int i = minimum; i < maximum; i++) {
          cache.getUnchecked(i);
        }
      }
    
      private Entry<Object, Object> entryOf(Object key, Object value) {
        return Maps.immutableEntry(key, value);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        protected void setBaseVersionInternal(String baseVersion) {
            this.baseVersion = ArtifactUtils.toSnapshotVersion(baseVersion);
        }
    
        @Override
        public int compareTo(Artifact a) {
            int result = groupId.compareTo(a.getGroupId());
            if (result == 0) {
                result = artifactId.compareTo(a.getArtifactId());
                if (result == 0) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

                value = defaultValue;
            } else {
                value = obj.toString();
            }
    
            return value;
        }
    
        public int getAsInt(final String key, final int defaultValue) {
            final Object obj = get(key);
    
            final int value;
            if (obj == null) {
                value = defaultValue;
            } else {
                value = Integer.parseInt(obj.toString());
            }
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top