Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1391 - 1400 of 3,560 for getC (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh/docs/index.md

        * 数据库模型。
        * ……以及更多。
    * 自动生成的交互式 API 文档,包括两种可选的用户界面:
        * Swagger UI。
        * ReDoc。
    
    ---
    
    回到之前的代码示例,**FastAPI** 将会:
    
    * 校验 `GET` 和 `PUT` 请求的路径中是否包含 `item_id`。
    * 校验 `GET` 和 `PUT` 请求中的 `item_id` 是否为 `int` 类型。
        * 如果不是,客户端会看到清晰有用的错误信息。
    * 对于 `GET` 请求,检查是否存在名为 `q` 的可选查询参数(如 `http://127.0.0.1:8000/items/foo?q=somequery`)。
        * 因为参数 `q` 被声明为 `= None`,所以它是可选的。
        * 如果没有 `None`,它就是必需的(就像 `PUT` 情况下的请求体)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            runningField.setAccessible(true);
            ((AtomicBoolean) runningField.get(null)).set(false);
    
            Field errorsField = Crawler.class.getDeclaredField("errors");
            errorsField.setAccessible(true);
            ((Queue<?>) errorsField.get(null)).clear();
        }
    
        // Test addError method
        @Test
        public void test_addError_withValidMessage() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

        }
    
        /**
         * Get the number of currently blocked IPs.
         * Note: This may include expired entries not yet evicted.
         * @return the count of blocked IPs
         */
        public int getBlockedIpCount() {
            blockedIps.cleanUp();
            return (int) blockedIps.size();
        }
    
        /**
         * Get the number of tracked IP counters.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

            new AtomicReference<WeakReference<?>>(
                (WeakReference<?>) sepFwrCons.newInstance(sepStopwatchA.get(), sepFrqA.get()));
        assertThat(sepStopwatchA.get()).isNotNull();
        // Clear all references to the Stopwatch and wait for it to be gc'd.
        sepStopwatchA.set(null);
        GcFinalization.awaitClear(sepStopwatchRef.get());
        // Return a weak reference to the parallel ClassLoader. This is the reference that should
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

        int key0Count = multimap().get(k0()).size();
        assertEquals(key0Count > 0, multimap().keySet().remove(k0()));
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeySetIteratorRemove() {
        int key0Count = multimap().get(k0()).size();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertThat(callableFuture.get()).isEqualTo("foo");
    
        TestRunnable runnable2 = new TestRunnable();
        ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3);
        assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture2.isDone());
        assertTrue(runnable2.run);
        assertEquals((Integer) 3, runnableFuture2.get());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
          E expected = expectedList.get(i);
          E actual = getList().get(i);
          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java

        assertThat(callableFuture.get()).isEqualTo("foo");
    
        TestRunnable runnable2 = new TestRunnable();
        ListenableFuture<Integer> runnableFuture2 = e.submit(runnable2, 3);
        assertThat(runnableFuture2).isInstanceOf(TrustedListenableFutureTask.class);
        assertTrue(runnableFuture2.isDone());
        assertTrue(runnable2.run);
        assertEquals((Integer) 3, runnableFuture2.get());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Supplier.java

     * used as a {@code java.util.function.Supplier} directly. To use a {@code
     * java.util.function.Supplier} in a context where a {@code com.google.common.base.Supplier} is
     * needed, use {@code supplier::get}.
     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/FunctionalExplained">the use of {@code Function}</a>.
     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jun 19 17:20:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  10. docs/en/docs/editor-support.md

    - **CodeLens Navigation** - Clickable links above test client calls (e.g. `client.get('/items')`) that jump to the matching *path operation* for quick navigation between tests and implementation.
    - **Deploy to FastAPI Cloud** - One-click deployment of your app to [FastAPI Cloud](https://fastapicloud.com/).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.5K bytes
    - Click Count (0)
Back to Top