Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 666 for foob (0.16 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. 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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

            "Parsing: <http://example\t.\norg> against <http://example.org/foo/bar>",
            "Parsing: <http://f:0/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:00000000000000/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:\n/c> against <http://example.org/foo/bar>",
            "Parsing: <http://f:999999/c> against <http://example.org/foo/bar>",
            "Parsing: <http://192.0x00A80001> against <about:blank>",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava/src/com/google/common/base/Splitter.java

     *
     * {@snippet :
     * Splitter.on(',').split("foo,bar,qux")
     * }
     *
     * ... produces an {@code Iterable} containing {@code "foo"}, {@code "bar"} and {@code "qux"}, in
     * that order.
     *
     * <p>By default, {@code Splitter}'s behavior is simplistic and unassuming. The following
     * expression:
     *
     * {@snippet :
     * Splitter.on(',').split(" foo,,,  bar ,")
     * }
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
Back to Top