Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 356 for bar6 (0.06 sec)

  1. src/bytes/example_test.go

    func ExampleFields() {
    	fmt.Printf("Fields are: %q", bytes.Fields([]byte("  foo bar  baz   ")))
    	// Output: Fields are: ["foo" "bar" "baz"]
    }
    
    func ExampleFieldsFunc() {
    	f := func(c rune) bool {
    		return !unicode.IsLetter(c) && !unicode.IsNumber(c)
    	}
    	fmt.Printf("Fields are: %q", bytes.FieldsFunc([]byte("  foo1;bar2,baz3..."), f))
    	// Output: Fields are: ["foo1" "bar2" "baz3"]
    }
    
    func ExampleHasPrefix() {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 07 17:22:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Streams.java

       *
       * <p>For example:
       *
       * <pre>{@code
       * Streams.zip(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> arg1 + ":" + arg2)
       * }</pre>
       *
       * <p>will return {@code Stream.of("foo1:bar1", "foo2:bar2")}.
       *
       * <p>The resulting stream will only be as long as the shorter of the two input streams; if one
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

      @Test
      fun incrementalIndexingWithDynamicTableIndexedName() {
        hpackWriter!!.writeHeaders(headerEntries("foo", "bar"))
        assertBytes(0x40, 3, 'f'.code, 'o'.code, 'o'.code, 3, 'b'.code, 'a'.code, 'r'.code)
        assertThat(hpackWriter!!.headerCount).isEqualTo(1)
        hpackWriter!!.writeHeaders(headerEntries("foo", "bar1"))
        assertBytes(0x7e, 4, 'b'.code, 'a'.code, 'r'.code, '1'.code)
        assertThat(hpackWriter!!.headerCount).isEqualTo(2)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  4. tests/test_generate_unique_id_function.py

    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    def custom_generate_unique_id(route: APIRoute):
        return f"foo_{route.name}"
    
    
    def custom_generate_unique_id2(route: APIRoute):
        return f"bar_{route.name}"
    
    
    def custom_generate_unique_id3(route: APIRoute):
        return f"baz_{route.name}"
    
    
    class Item(BaseModel):
        name: str
        price: float
    
    
    class Message(BaseModel):
        title: str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. docs/em/docs/tutorial/body-updates.md

    ```Python hl_lines="28-33"
    {!> ../../docs_src/body_updates/tutorial001_py310.py!}
    ```
    
    ////
    
    `PUT` ⚙️ 📨 💽 👈 🔜 ❎ ♻ 💽.
    
    ### ⚠ 🔃 ❎
    
    👈 ⛓ 👈 🚥 👆 💚 ℹ 🏬 `bar` ⚙️ `PUT` ⏮️ 💪 ⚗:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    ↩️ ⚫️ 🚫 🔌 ⏪ 🏪 🔢 `"tax": 20.2`, 🔢 🏷 🔜 ✊ 🔢 💲 `"tax": 10.5`.
    
    &amp; 📊 🔜 🖊 ⏮️ 👈 "🆕" `tax` `10.5`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/body-updates.md

    ////
    
    `PUT` используется для получения данных, которые должны полностью заменить существующие данные.
    
    ### Предупреждение о замене
    
    Это означает, что если вы хотите обновить элемент `bar`, используя `PUT` с телом, содержащим:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    поскольку оно не включает уже сохраненный атрибут `"tax": 20.2`, входная модель примет значение по умолчанию `"tax": 10.5`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Streams.java

       *
       * <p>For example:
       *
       * <pre>{@code
       * Streams.zip(
       *   Stream.of("foo1", "foo2", "foo3"),
       *   Stream.of("bar1", "bar2"),
       *   (arg1, arg2) -> arg1 + ":" + arg2)
       * }</pre>
       *
       * <p>will return {@code Stream.of("foo1:bar1", "foo2:bar2")}.
       *
       * <p>The resulting stream will only be as long as the shorter of the two input streams; if one
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/body-updates.md

    ////
    
    `PUT` wird verwendet, um Daten zu empfangen, die die existierenden Daten ersetzen sollen.
    
    ### Warnung bezüglich des Ersetzens
    
    Das bedeutet, dass, wenn Sie den Artikel `bar` aktualisieren wollen, mittels `PUT` und folgendem Body:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/body-updates.md

    ```Python hl_lines="30-35"
    {!../../docs_src/body_updates/tutorial001.py!}
    ```
    
    `PUT` 用于接收替换现有数据的数据。
    
    ### 关于更新数据的警告
    
    用 `PUT` 把数据项 `bar` 更新为以下内容时:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    因为上述数据未包含已存储的属性 `"tax": 20.2`,新的输入模型会把 `"tax": 10.5` 作为默认值。
    
    因此,本次操作把 `tax` 的值「更新」为 `10.5`。
    
    ## 用 `PATCH` 进行部分更新
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/body-updates.md

    ```
    
    ////
    
    `PUT` é usado para receber dados que devem substituir os dados existentes.
    
    ### Aviso sobre a substituição
    
    Isso significa que, se você quiser atualizar o item `bar` usando `PUT` com um corpo contendo:
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    Como ele não inclui o atributo já armazenado `"tax": 20.2`, o modelo de entrada assumiria o valor padrão de `"tax": 10.5`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 14 09:16:06 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top