Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for repetition (0.05 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    <img src="/img/tutorial/dependencies/image02.png">
    
    ## Shortcut { #shortcut }
    
    But you see that we are having some code repetition here, writing `CommonQueryParams` twice:
    
    //// tab | Python 3.8+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

     *  * [onHeaders] (unless canceled)
     *  * [onData] (optional sequence of data frames)
     *
     * As a stream ID is scoped to a single HTTP/2 connection, implementations which target multiple
     * connections should expect repetition of stream IDs.
     *
     * Return true to request cancellation of a pushed stream.  Note that this does not guarantee
     * future frames won't arrive on the stream ID.
     */
    interface PushObserver {
      /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    * Have shared logic (the same code logic again and again).
    * Share database connections.
    * Enforce security, authentication, role requirements, etc.
    * And many other things...
    
    All these, while minimizing code repetition.
    
    ## First Steps { #first-steps }
    
    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public final class EqualsTester {
      private static final int REPETITIONS = 3;
    
      private final List<List<Object>> equalityGroups = new ArrayList<>();
      private final RelationshipTester.ItemReporter itemReporter;
    
      /** Constructs an empty EqualsTester instance */
      public EqualsTester() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

     * to explicitly add another equivalence group.
     *
     * @author Gregory Kick
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public final class EquivalenceTester<T> {
      private static final int REPETITIONS = 3;
    
      private final Equivalence<? super T> equivalence;
      private final RelationshipTester<T> delegate;
      private final List<T> items = new ArrayList<>();
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    <img src="/img/tutorial/dependencies/image02.png">
    
    ## Atajo
    
    Pero ves que estamos teniendo algo de repetición de código aquí, escribiendo `CommonQueryParams` dos veces:
    
    //// tab | Python 3.8+
    
    ```Python
    commons: Annotated[CommonQueryParams, Depends(CommonQueryParams)]
    ```
    
    ////
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

     * </ul>
     *
     * @author Jim McMaster
     * @author Jige Yu
     * @since 10.0
     */
    @GwtCompatible
    @NullMarked
    public final class EqualsTester {
      private static final int REPETITIONS = 3;
    
      private final List<List<Object>> equalityGroups = new ArrayList<>();
      private final RelationshipTester.ItemReporter itemReporter;
    
      /** Constructs an empty EqualsTester instance */
      public EqualsTester() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/dependencies/index.md

    * Compartir conexiones a bases de datos.
    * Imponer seguridad, autenticación, requisitos de roles, etc.
    * Y muchas otras cosas...
    
    Todo esto, mientras minimizas la repetición de código.
    
    ## Primeros Pasos
    
    Veamos un ejemplo muy simple. Será tan simple que no es muy útil, por ahora.
    
    Pero de esta manera podemos enfocarnos en cómo funciona el sistema de **Inyección de Dependencias**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
Back to top