Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 171 for declarations (0.06 seconds)

  1. docs/en/docs/history-design-future.md

    Then I contributed to it, to make it fully compliant with JSON Schema, to support different ways to define constraint declarations, and to improve editor support (type checks, autocompletion) based on the tests in several editors.
    
    During the development, I also contributed to [**Starlette**](https://www.starlette.dev/), the other key requirement.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  2. docs/en/docs/tutorial/extra-models.md

    We could do better.
    
    We can declare a `UserBase` model that serves as a base for our other models. And then we can make subclasses of that model that inherit its attributes (type declarations, validation, etc).
    
    All the data conversion, validation, documentation, etc. will still work as normally.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

            return getSinceStatus(properties, fallback)
        }
    
        private
        fun getSinceStatus(declarations: List<KtDeclaration>, fallback: String?): SinceTagStatus {
            val sinceTags = declarations.map { it.getSince() }
            return when {
                sinceTags.isEmpty() -> {
                    fallback?.let { SinceTagStatus.Present(it) } ?: SinceTagStatus.Missing
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jul 08 07:02:19 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/MutableClassToInstanceMap.java

            @SuppressWarnings("nullness")
            Object[] result = standardToArray();
            return result;
          }
    
          @Override
          @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
          public <T extends @Nullable Object> T[] toArray(T[] array) {
            return standardToArray(array);
          }
        };
      }
    
      @Override
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

            @SuppressWarnings("nullness")
            Object[] result = standardToArray();
            return result;
          }
    
          @Override
          @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
          public <T extends @Nullable Object> T[] toArray(T[] array) {
            return standardToArray(array);
          }
        };
      }
    
      @Override
      @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 22:10:29 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/body-nested-models.md

    pass the internal type(s) as "type parameters" using square brackets: `[` and `]`
    
    ```Python
    my_list: list[str]
    ```
    
    That's all standard Python syntax for type declarations.
    
    Use that same standard syntax for model attributes with internal types.
    
    So, in our example, we can make `tags` be specifically a "list of strings":
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/runtimes/CheckTargetRuntimes.kt

         * If enabled, automatically fixes invalid computed runtime declarations.
         */
        @get:Input
        @get:Optional
        @get:Option(option = "fix", description = "When enabled, will write the correct computed runtimes back to the build files")
        abstract val fix: Property<Boolean>
    
        /**
         * If enabled, prints extra details describing why a target runtime declaration is invalid.
         */
        @get:Input
        @get:Optional
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Mar 11 22:40:18 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/ForwardingCollection.java

      @Override
      public @Nullable Object[] toArray() {
        return delegate().toArray();
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return delegate().toArray(array);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of {@link #iterator}. If you override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ForwardingCollection.java

      @Override
      public @Nullable Object[] toArray() {
        return delegate().toArray();
      }
    
      @CanIgnoreReturnValue
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return delegate().toArray(array);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of {@link #iterator}. If you override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       */
    
      @Override
      public Object[] toArray() {
        return snapshotElementsToList().toArray();
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshotElementsToList().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 22.3K bytes
    - Click Count (0)
Back to Top