Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 393 for easier (0.07 seconds)

  1. docs/de/docs/tutorial/testing.md

    # Testen { #testing }
    
    Dank [Starlette](https://www.starlette.dev/testclient/) ist das Testen von **FastAPI**-Anwendungen einfach und macht Spaß.
    
    Es basiert auf [HTTPX](https://www.python-httpx.org), welches wiederum auf der Grundlage von Requests konzipiert wurde, es ist also sehr vertraut und intuitiv.
    
    Damit können Sie [pytest](https://docs.pytest.org/) direkt mit **FastAPI** verwenden.
    
    ## `TestClient` verwenden { #using-testclient }
    
    /// info | Info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/math/LongMath.java

       *
       * <p>This differs from {@code Long.bitCount(x) == 1}, because {@code
       * Long.bitCount(Long.MIN_VALUE) == 1}, but {@link Long#MIN_VALUE} is not a power of two.
       */
      // Whenever both tests are cheap and functional, it's faster to use &, | instead of &&, ||
      @SuppressWarnings("ShortCircuitBoolean")
      public static boolean isPowerOfTwo(long x) {
        return x > 0 & (x & (x - 1)) == 0;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java

    import java.util.Objects;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    /**
     * This class wraps certain {@code git} operations. This is partly for convenience, and partly so that these
     * operations can be easily mocked in testing.
     */
    public class GitWrapper {
    
        private final ExecOperations execOperations;
    
        public GitWrapper(ExecOperations execOperations) {
            this.execOperations = execOperations;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/collection/Maps.java

    import java.util.Map;
    import java.util.TreeMap;
    import java.util.WeakHashMap;
    import java.util.concurrent.ConcurrentHashMap;
    
    /**
     * Utility class for easily creating and setting values in {@link Map} instances.
     * <p>
     * By statically importing this class, you can easily initialize {@literal Map} instances as follows:
     * </p>
     *
     * <pre>
     * import static org.codelibs.core.collection.Maps.*;
     *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. docs/zh-hant/llm-prompt.md

    - Never change ellipsis in code, URLs, or CLI examples.
    
    ### Preferred translations / glossary
    
    - Should avoid using simplified Chinese characters and terms. Always examine if the translation can be easily comprehended by the Traditional Chinese readers.
    - For some Python-specific terms like "pickle", "list", "dict" etc, we don't have to translate them.
    - Use the following preferred translations when they apply in documentation prose:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Dec 29 18:54:20 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Future;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Basher test for {@link AtomicLongMap}.
     *
     * @author mike nonemacher
     */
    @J2ktIncompatible // threads
    @GwtIncompatible // threads
    @NullUnmarked
    public class AtomicLongMapBasherTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
     * for your real time-limiter while you're debugging.
     *
     * @author Kevin Bourrillion
     * @author Jens Nyman
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

        void testHelpLogsMessages() throws Exception {
            UpgradeContext context = createMockContext();
    
            help.execute(context);
    
            // Verify that logger.info was called multiple times
            // We can't easily verify the exact content without capturing the logger output,
            // but we can verify that the method executes without errors
            Mockito.verify(context.logger, Mockito.atLeastOnce()).info(Mockito.anyString());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. docs/en/docs/how-to/conditional-openapi.md

    ## Conditional OpenAPI from settings and env vars { #conditional-openapi-from-settings-and-env-vars }
    
    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py310.py hl[6,11] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. docs/de/docs/python-types.md

    Dies ist lediglich eine **schnelle Anleitung / Auffrischung** über Pythons Typhinweise. Sie deckt nur das Minimum ab, das nötig ist, um diese mit **FastAPI** zu verwenden ... was tatsächlich sehr wenig ist.
    
    **FastAPI** basiert vollständig auf diesen Typhinweisen, sie geben der Anwendung viele Vorteile und Möglichkeiten.
    
    Aber selbst wenn Sie **FastAPI** nie verwenden, wird es für Sie nützlich sein, ein wenig darüber zu lernen.
    
    /// note | Hinweis
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.6K bytes
    - Click Count (1)
Back to Top