Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 172 for simpler (0.04 sec)

  1. docs/en/docs/advanced/middleware.md

    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:45:50 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TopKSelector.java

       *
       * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterable}, prefer
       * {@link Ordering#leastOf(Iterable, int)}, which provides a simpler API for that use case.
       */
      public void offerAll(Iterable<? extends T> elements) {
        offerAll(elements.iterator());
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    ////
    
    //// tab | Python 3.9+
    
    You can use the same builtin types as generics (with square brackets and types inside):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:47:53 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  4. impl/maven-core/plugin-manager.txt

    - jar
    - hooks for loading
    
    - I could make an annotation that marked another class as its plugin discoverer, I could just add it to
      the component descriptor and when it's loaded we can add the discoverer, that would be simpler. I could
      also do this with the lister as well
    i'l
    // 1 the metadata -> model plugin/mojo descriptor
    // 2 tools for doing the mapping
    // 3 the component model -> interfaces for the plugin
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/primitives/Ints.java

        // twice as many reads and writes. But benchmarking shows that they usually perform better than
        // Dolphin. Reversal is about as good as Successive on average, and it is much simpler,
        // especially since we already have a `reverse` method.
        checkNotNull(array);
        checkPositionIndexes(fromIndex, toIndex, array.length);
        if (array.length <= 1) {
          return;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Streams.java

       * between elements will be made, but the order in which those pairs of elements are passed to the
       * consumer is <i>not</i> defined.
       *
       * <p>Note that many usages of this method can be replaced with simpler calls to {@link #zip}.
       * This method behaves equivalently to {@linkplain #zip zipping} the stream elements into
       * temporary pair objects and then using {@link Stream#forEach} on that stream.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

     * code verbose. Whenever following this advice, you should check whether {@code Stream} could be
     * adopted more comprehensively in your code; the end result may be quite a bit simpler.
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/OrderingExplained">{@code Ordering}</a>.
     *
     * @author Jesse Wilson
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Ordering.java

     * code verbose. Whenever following this advice, you should check whether {@code Stream} could be
     * adopted more comprehensively in your code; the end result may be quite a bit simpler.
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/OrderingExplained">{@code Ordering}</a>.
     *
     * @author Jesse Wilson
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Streams.java

       * between elements will be made, but the order in which those pairs of elements are passed to the
       * consumer is <i>not</i> defined.
       *
       * <p>Note that many usages of this method can be replaced with simpler calls to {@link #zip}.
       * This method behaves equivalently to {@linkplain #zip zipping} the stream elements into
       * temporary pair objects and then using {@link Stream#forEach} on that stream.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/test/resources/poms/factory/simple.xml

          <properties>
            <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          </properties>
        </profile>
        <profile>
          <id>file</id>
          <activation>
            <file>
              <exists>simple.xml</exists>
            </file>
          </activation>
          <properties>
            <profile.file>activated</profile.file>
          </properties>
        </profile>
      </profiles>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top