Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3051 - 3060 of 6,957 for Class (0.55 sec)

  1. docs/zh/docs/advanced/async-tests.md

    `TestClient` 在内部通过一些“魔法”操作,使得您可以在普通的 `def` 测试函数中调用异步的 FastAPI 应用程序,并使用标准的 pytest。但当我们在异步函数中使用它时,这种“魔法”就不再生效了。由于测试以异步方式运行,我们无法在测试函数中继续使用 `TestClient`。
    
    `TestClient` 是基于 <a href="https://www.python-httpx.org" class="external-link" target="_blank">HTTPX</a> 的。幸运的是,我们可以直接使用它来测试API。
    
    ## 示例
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Tue Dec 17 21:49:06 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractBehavior.java

                Class<? extends RESULT> entityType, CursorSelectOption option) {
            delegateSelectCursor(cb, handler, entityType);
        }
    
        @Override
        protected <RESULT extends ENTITY> void delegateSelectCursor(final ConditionBean cb, final EntityRowHandler<RESULT> handler,
                final Class<? extends RESULT> entityType) {
            delegateBulkRequest(cb, searchHits -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      @WeakOuter
      private final class IsStartableGuard extends Guard {
        IsStartableGuard() {
          super(AbstractService.this.monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return state() == NEW;
        }
      }
    
      private final Guard isStoppable = new IsStoppableGuard();
    
      @WeakOuter
      private final class IsStoppableGuard extends Guard {
        IsStoppableGuard() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  4. docs/ru/docs/async.md

    асинхронный код
    
    Starlette (и **FastAPI**) основаны на <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, что делает их совместимыми как со стандартной библиотекой <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">asyncio</a> в Python, так и с <a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">Trio</a>.<!--http://new.gramota.ru/spravka/buro/search-answer?s=285295-->...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/HashBiMap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap} </a>.
     *
     * @author Louis Wasserman
     * @author Mike Bostock
     * @since 2.0
     */
    @GwtCompatible
    public final class HashBiMap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMap<K, V> implements BiMap<K, V>, Serializable {
    
      /** Returns a new, empty {@code HashBiMap} with the default initial capacity (16). */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/error/ErrorBadrequrestAction.java

    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    /**
     * Action class for handling HTTP 400 Bad Request error pages.
     * This action displays error pages when a client request contains
     * invalid syntax or cannot be fulfilled due to malformed request parameters.
     */
    public class ErrorBadrequrestAction extends FessSearchAction {
    
        /**
         * Default constructor for ErrorBadrequrestAction.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/ContentLengthHelperTest.java

     */
    package org.codelibs.fess.crawler.helper;
    
    import org.codelibs.fess.crawler.container.StandardCrawlerContainer;
    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class ContentLengthHelperTest extends PlainTestCase {
        private static long DEFAULT_MAX_LENGTH = 10L * 1024L * 1024L;
    
        public ContentLengthHelper contentLengthHelper;
    
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/DoublesTest.java

            .isTrue();
      }
    
      public void testEnsureCapacity_fail() {
        assertThrows(IllegalArgumentException.class, () -> Doubles.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Doubles.ensureCapacity(ARRAY1, 1, -1));
      }
    
      @GwtIncompatible // Double.toString returns different value in GWT.
      public void testJoin() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ShortsTest.java

            .isEqualTo(new short[] {(short) 1, (short) 0, (short) 0});
      }
    
      public void testEnsureCapacity_fail() {
        assertThrows(IllegalArgumentException.class, () -> Shorts.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Shorts.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testJoin() {
        assertThat(Shorts.join(",", EMPTY)).isEmpty();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

     * [event listener factory][OkHttpClient.eventListenerFactory].
     *
     * The format of the logs created by this class should not be considered stable and may change
     * slightly between releases. If you need a stable logging format, use your own event listener.
     */
    class LoggingEventListener private constructor(
      private val logger: HttpLoggingInterceptor.Logger,
    ) : EventListener() {
      private var startNs: Long = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top