Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 592 for food (0.04 seconds)

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

  1. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

            response = client.post(
                "/files/",
                data={"token": "foo"},
                files={"file": filea, "fileb": ("testb.txt", fileb, "text/plain")},
            )
        assert response.status_code == 200, response.text
        assert response.json() == {
            "file_size": 14,
            "token": "foo",
            "fileb_content_type": "text/plain",
        }
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/html/HtmlEscapersTest.java

        assertEquals("test >> 1", htmlEscaper().escape("test >> 1"));
        assertEquals("&lt;tab&gt;", htmlEscaper().escape("<tab>"));
    
        // Test simple escape of '&'.
        assertEquals("foo&amp;bar", htmlEscaper().escape("foo&bar"));
    
        // If the string contains no escapes, it should return the arg.
        // Note: assert<b>Same</b> for this implementation.
        String s = "blah blah farhvergnugen";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 22:03:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

      fun writerEviction() {
        val headerBlock =
          headerEntries(
            "custom-foo",
            "custom-header",
            "custom-bar",
            "custom-header",
            "custom-baz",
            "custom-header",
          )
        bytesIn.writeByte(0x40) // Literal indexed
        bytesIn.writeByte(0x0a) // Literal name (len = 10)
        bytesIn.writeUtf8("custom-foo")
        bytesIn.writeByte(0x0d) // Literal value (len = 13)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 38.6K bytes
    - Click Count (0)
  4. src/archive/zip/testdata/crc32-not-streamed.zip

    foo.txt foo bar.txt bar...
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Sep 08 04:08:51 GMT 2014
    - 314 bytes
    - Click Count (0)
  5. docs_src/app_testing/app_b_an_py310/main.py

    from typing import Annotated
    
    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
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Aug 15 22:31:16 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  6. docs/en/docs/python-types.md

    The `name` parameter is **still required** (not *optional*) because it doesn't have a default value. Still, `name` accepts `None` as the value:
    
    ```Python
    say_hi(name=None)  # This works, None is valid ๐ŸŽ‰
    ```
    
    The good news is, once you are on Python 3.10 you won't have to worry about that, as you will be able to simply use `|` to define unions of types:
    
    {* ../../docs_src/python_types/tutorial009c_py310.py hl[1,4] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

     *
     * <p>{@code containsKey(k)}, {@code put(k, v)} and {@code remove(k)} are all (expected and
     * amortized) constant time operations. Expected in the hashtable sense (depends on the hash
     * function doing a good job of distributing the elements to the buckets to a distribution not far
     * from uniform), and amortized since some operations can trigger a hash table resize.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 14:59:07 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. tests/test_callable_endpoint.py

        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 Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Jun 28 18:13:30 GMT 2020
    - 457 bytes
    - Click Count (0)
  9. docs/ja/docs/tutorial/query-params.md

    ใ“ใฎๅ ดๅˆใ€ไปฅไธ‹ใซใ‚ขใ‚ฏใ‚ปใ‚นใ™ใ‚‹ใจ:
    
    ```
    http://127.0.0.1:8000/items/foo?short=1
    ```
    
    ใ‚‚ใ—ใใฏใ€
    
    ```
    http://127.0.0.1:8000/items/foo?short=True
    ```
    
    ใ‚‚ใ—ใใฏใ€
    
    ```
    http://127.0.0.1:8000/items/foo?short=true
    ```
    
    ใ‚‚ใ—ใใฏใ€
    
    ```
    http://127.0.0.1:8000/items/foo?short=on
    ```
    
    ใ‚‚ใ—ใใฏใ€
    
    ```
    http://127.0.0.1:8000/items/foo?short=yes
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 5.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb/SmbNamedPipe.java

     *
     * <pre>
     * new SmbNamedPipe("smb://server/IPC$/PIPE/foo", SmbNamedPipe.PIPE_TYPE_RDWR | SmbNamedPipe.PIPE_TYPE_CALL, context);
     * </pre>
     *
     * </td>
     * <td>
     * Open the Named Pipe foo for reading and writing. The pipe will behave like the <code>CallNamedPipe</code> interface.
     * </td>
     * </tr>
     * <tr>
     * <td >
     *
     * <pre>
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top