Search Options

Results per page
Sort
Preferred Languages
Advance

Results 901 - 910 of 2,190 for setI (0.12 sec)

  1. android/guava-tests/test/com/google/common/primitives/PrimitivesTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.testing.NullPointerTester;
    import java.util.Set;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link Primitives}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    public class PrimitivesTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/response-headers.md

    # Response Headers
    
    ## Use a `Response` parameter
    
    You can declare a parameter of type `Response` in your *path operation function* (as you can do for cookies).
    
    And then you can set headers in that *temporal* response object.
    
    ```Python hl_lines="1  7-8"
    {!../../docs_src/response_headers/tutorial002.py!}
    ```
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. common/config/.golangci-format.yml

      # Default: []
      exclude-files:
        - ".*\\.pb\\.go"
        - ".*\\.gen\\.go"
      # Maximum issues count per one linter.
      # Set to 0 to disable.
      # Default: 50
      max-issues-per-linter: 0
      # Maximum count of issues with the same text. Set to 0 to disable. Default is 3.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 05 03:02:37 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultisetTest.java

                      @Override
                      protected List<String> create(String[] elements) {
                        Set<String> set = new HashSet<>();
                        ImmutableMultiset.Builder<String> builder = ImmutableMultiset.builder();
                        for (String s : elements) {
                          checkArgument(set.add(s));
                          builder.addCopies(s, 2);
                        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  5. .github/workflows/test.yml

        runs-on: ubuntu-latest
        steps:
          - name: Dump GitHub context
            env:
              GITHUB_CONTEXT: ${{ toJson(github) }}
            run: echo "$GITHUB_CONTEXT"
          - uses: actions/checkout@v4
          - name: Set up Python
            uses: actions/setup-python@v5
            with:
              python-version: "3.11"
          - name: Setup uv
            uses: astral-sh/setup-uv@v3
            with:
              version: "0.4.15"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. cni/pkg/iptables/testdata/default_ipv6.golden

    * mangle
    -N ISTIO_PRERT
    -N ISTIO_OUTPUT
    -A PREROUTING -j ISTIO_PRERT
    -A OUTPUT -j ISTIO_OUTPUT
    -A ISTIO_PRERT -m mark --mark 0x539/0xfff -j CONNMARK --set-xmark 0x111/0xfff
    -A ISTIO_OUTPUT -m connmark --mark 0x111/0xfff -j CONNMARK --restore-mark --nfmask 0xffffffff --ctmask 0xffffffff
    COMMIT
    * nat
    -N ISTIO_PRERT
    -N ISTIO_OUTPUT
    -A OUTPUT -j ISTIO_OUTPUT
    -A PREROUTING -j ISTIO_PRERT
    -A ISTIO_PRERT -s 169.254.7.127 -p tcp -m tcp -j ACCEPT
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractEntity.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.es.log.allcommon;
    
    import java.io.Serializable;
    import java.util.Map;
    import java.util.Set;
    
    import org.dbflute.Entity;
    import org.dbflute.FunCustodial;
    import org.dbflute.dbmeta.accessory.EntityModifiedProperties;
    import org.dbflute.dbmeta.accessory.EntityUniqueDrivenProperties;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FutureCallbackTest.java

        addCallback(f, callback, directExecutor());
        f.set("foo");
      }
    
      public void testExecutorSuccess() {
        CountingSameThreadExecutor ex = new CountingSameThreadExecutor();
        SettableFuture<String> f = SettableFuture.create();
        MockCallback callback = new MockCallback("foo");
        Futures.addCallback(f, callback, ex);
        f.set("foo");
        assertEquals(1, ex.runCount);
      }
    
      // Error cases
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/extra-data-types.md

    * `frozenset`:
        * 在请求和响应中,作为 `set` 对待:
            * 在请求中,列表将被读取,消除重复,并将其转换为一个 `set`。
            * 在响应中 `set` 将被转换为 `list` 。
            * 产生的模式将指定那些 `set` 的值是唯一的 (使用 JSON 模式的 `uniqueItems`)。
    * `bytes`:
        * 标准的 Python `bytes`。
        * 在请求和响应中被当作 `str` 处理。
        * 生成的模式将指定这个 `str` 是 `binary` "格式"。
    * `Decimal`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. docs_src/body_nested_models/tutorial003_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: set[str] = set()
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 409 bytes
    - Viewed (0)
Back to top