Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 338 for bear (0.17 sec)

  1. docs_src/app_testing/app_b_py310/main.py

    from fastapi import FastAPI, Header, HTTPException
    from pydantic import BaseModel
    
    fake_secret_token = "coneofsilence"
    
    fake_db = {
        "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"},
        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: str | None = None
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 09 14:44:08 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                 *
                 * ```kt
                 * import MyObject.bar
                 *
                 * open class Base { fun bar() {} }
                 *
                 * object MyObject : Base()
                 *
                 * fun test() {
                 *   bar()
                 * }
                 * ```
                 *
                 * For the `bar()` call, `MyObject` instance is an implicit dispatch receiver.
                 *
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 24.2K bytes
    - Viewed (0)
  3. docs_src/app_testing/app_b_an/main.py

    from pydantic import BaseModel
    from typing_extensions import Annotated
    
    fake_secret_token = "coneofsilence"
    
    fake_db = {
        "foo": {"id": "foo", "title": "Foo", "description": "There goes my hero"},
        "bar": {"id": "bar", "title": "Bar", "description": "The bartenders"},
    }
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        id: str
        title: str
        description: Union[str, None] = None
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        multiset.add("foo", 2);
        multiset.add("bar");
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
        assertEquals("[foo x 2, bar]", multiset.toString());
      }
    
      public void testCreateFromIterable() {
        Multiset<String> multiset = TreeMultiset.create(Arrays.asList("foo", "bar", "foo"));
        assertEquals(3, multiset.size());
        assertEquals(2, multiset.count("foo"));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. tests/test_generate_unique_id_function.py

                        "summary": "Post Router",
                        "operationId": "bar_post_router",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {
                                        "$ref": "#/components/schemas/Body_bar_post_router"
                                    }
                                }
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_websockets/test_tutorial002_an.py

            with client.websocket_connect("/items/bar/ws?token=some-token") as websocket:
                message = "Message one"
                websocket.send_text(message)
                data = websocket.receive_text()
                assert data == "Session cookie or query token value is: some-token"
                data = websocket.receive_text()
                assert data == f"Message text was: {message}, for item ID: bar"
                message = "Message two"
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/NewCustomTableTest.java

        populate(table, data);
        return table;
      }
    
      public void testRowKeySetOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.rowKeySet()).containsExactly("foo", "bar").inOrder();
      }
    
      public void testRowOrdering() {
        table = create("foo", 3, 'a', "bar", 1, 'b', "foo", 2, 'c');
        assertThat(table.row("foo").keySet()).containsExactly(2, 3).inOrder();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. src/archive/zip/testdata/crc32-not-streamed.zip

    foo.txt foo bar.txt bar...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 314 bytes
    - Viewed (0)
  9. src/archive/zip/testdata/go-with-datadesc-sig.zip

    foo.txt foo bar.txt bar...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 242 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

         * </tr>
         * <tr>
         * <td>{@literal foo}</td>
         * <td>{@literal foo}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar}</td>
         * <td>{@literal foo.bar}</td>
         * </tr>
         * <tr>
         * <td>{@literal foo_bar_baz}</td>
         * <td>{@literal foo.bar.baz}</td>
         * </tr>
         * </table>
         *
         * @param beanDelimiter
         *            JavaBeansのデリミタ
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top