Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 610 for skip1 (0.04 sec)

  1. util/gradle_integration_tests.sh

    #!/bin/bash
    
    set -eu
    
    ./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom,!guava-gwt' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
    ./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -f android
    
    # Gradle Wrapper overwrites some files when it runs.
    # To avoid modifying the Git client, we copy everything we need to another directory.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 16 20:48:20 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance_gen_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left)
    	}
    
    	left, err = msgp.Skip(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    		t.Errorf("%d bytes left over after Skip(): %q", len(left), left)
    	}
    }
    
    func BenchmarkMarshalMsgrebalanceInfo(b *testing.B) {
    	v := rebalanceInfo{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 11K bytes
    - Viewed (0)
  3. docs_src/query_params/tutorial006_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_user_item(
        item_id: str, needy: str, skip: int = 0, limit: int | None = None
    ):
        item = {"item_id": item_id, "needy": needy, "skip": skip, "limit": limit}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 269 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/CountingInputStreamTest.java

      }
    
      public void testSkip() throws IOException {
        assertEquals(10, counter.skip(10));
        assertEquals(10, counter.getCount());
      }
    
      public void testSkipEOF() throws IOException {
        assertEquals(20, counter.skip(30));
        assertEquals(20, counter.getCount());
        assertEquals(0, counter.skip(20));
        assertEquals(20, counter.getCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. docs_src/query_params/tutorial006.py

    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_user_item(
        item_id: str, needy: str, skip: int = 0, limit: Union[int, None] = None
    ):
        item = {"item_id": item_id, "needy": needy, "skip": skip, "limit": limit}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 301 bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/query-params.md

    В примере выше значения по умолчанию равны `skip=0` и `limit=10`.
    
    Таким образом, результат перехода по URL-адресу:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    будет таким же, как если перейти используя параметры по умолчанию:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Но если вы введёте, например:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Значения параметров в вашей функции будут:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial004_py310.py

            ),
            (
                "/items?q=foo&skip=1",
                200,
                {"items": [{"item_name": "Bar"}, {"item_name": "Baz"}], "q": "foo"},
            ),
            (
                "/items?q=bar&limit=2",
                200,
                {"items": [{"item_name": "Foo"}, {"item_name": "Bar"}], "q": "bar"},
            ),
            (
                "/items?q=bar&skip=1&limit=1",
                200,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/query-params.md

    El ejemplo arriba tiene `skip=0` y `limit=10` como los valores por defecto.
    
    Entonces, si vas a la URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    Sería lo mismo que ir a:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Pero, si por ejemplo vas a:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Los valores de los parámetros en tu función serán:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/query-params.md

    No exemplo acima eles tem valores padrão de `skip=0` e `limit=10`.
    
    Então, se você for até a URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    Seria o mesmo que ir para:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Mas, se por exemplo você for para:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Os valores dos parâmetros na sua função serão:
    
    * `skip=20`: Por que você definiu isso na URL
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial001_02_an_py310.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
        return {"q": q, "skip": skip, "limit": limit}
    
    
    CommonsDep = Annotated[dict, Depends(common_parameters)]
    
    
    @app.get("/items/")
    async def read_items(commons: CommonsDep):
        return commons
    
    
    @app.get("/users/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 447 bytes
    - Viewed (0)
Back to top