Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 841 for fooo (0.04 seconds)

  1. tests/test_callable_endpoint.py

    def main(some_arg, q: str | None = None):
        return {"some_arg": some_arg, "q": q}
    
    
    endpoint = partial(main, "foo")
    
    app = FastAPI()
    
    app.get("/")(endpoint)
    
    
    client = TestClient(app)
    
    
    def test_partial():
        response = client.get("/?q=bar")
        data = response.json()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 426 bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
        public interface Foo<T1, T2> {
    
            /**
             * @param foo
             * @return T2
             */
            T2 foo(T1 foo);
        }
    
        /**
         *
         */
        public interface Bar extends Foo<Integer, Long> {
        }
    
        /**
         * @param <T1>
         * @param <T2>
         *
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            exp = "file://C .doc";
            assertEquals(exp, transformer.decodeUrlAsName(url, true));
    
            url = "http://example.com/foo/" + encodeUrl("#") + "/@@bar/index.html#fragment?foo=bar";
            exp = "http://example.com/foo/#/@@bar/index.html#fragment?foo=bar";
            assertEquals(exp, transformer.decodeUrlAsName(url, false));
        }
    
        @Test
        public void test_getFileName_ok() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

            new Object() {
              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        List<Comparable<?>> compEvents = new ArrayList<>();
        Object compCatcher =
            new Object() {
              @Subscribe
              public void eat(Comparable<?> food) {
                compEvents.add(food);
              }
            };
        bus.register(stringCatcher);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/eventbus/EventBusTest.java

            new Object() {
              @Subscribe
              public void eat(Object food) {
                objectEvents.add(food);
              }
            };
    
        List<Comparable<?>> compEvents = new ArrayList<>();
        Object compCatcher =
            new Object() {
              @Subscribe
              public void eat(Comparable<?> food) {
                compEvents.add(food);
              }
            };
        bus.register(stringCatcher);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  6. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

        Foo foo = new Foo();
        try {
          WeakReference<Object> ref = new WeakReference<>(foo);
          RuntimeException expected =
              assertThrows(RuntimeException.class, () -> GcFinalization.awaitClear(ref));
          assertWrapsInterruptedException(expected);
        } finally {
          reachabilityFence(foo);
          interruptenator.shutdown();
          Thread.interrupted();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  7. src/archive/zip/testdata/go-with-datadesc-sig.zip

    foo.txt foo bar.txt bar...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 242 bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/body-multiple-params.md

    在此情況下 **FastAPI** 會期望如下的主體:
    
    ```JSON hl_lines="2"
    {
        "item": {
            "name": "Foo",
            "description": "The pretender",
            "price": 42.0,
            "tax": 3.2
        }
    }
    ```
    
    而不是:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    ## 小結 { #recap }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/EnumsTest.java

      private @interface ExampleAnnotation {}
    
      private enum AnEnum {
        @ExampleAnnotation
        FOO,
        BAR
      }
    
      @J2ktIncompatible
      public void testGetField() {
        Field foo = Enums.getField(AnEnum.FOO);
        assertThat(foo.getName()).isEqualTo("FOO");
        assertTrue(foo.isAnnotationPresent(ExampleAnnotation.class));
    
        Field bar = Enums.getField(AnEnum.BAR);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 01:05:11 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

      public void testGetUnchecked_success() {
        assertThat(getUnchecked(immediateFuture("foo"))).isEqualTo("foo");
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Thread.interrupt
      public void testGetUnchecked_interrupted() {
        Thread.currentThread().interrupt();
        try {
          assertThat(getUnchecked(immediateFuture("foo"))).isEqualTo("foo");
          assertTrue(Thread.currentThread().isInterrupted());
        } finally {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top