Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 270 for skip (0.05 sec)

  1. cmd/data-usage-cache_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 BenchmarkMarshalMsgallTierStats(b *testing.B) {
    	v := allTierStats{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. cmd/storage-datatypes_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 BenchmarkMarshalMsgBaseOptions(b *testing.B) {
    	v := BaseOptions{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  3. cmd/batch-handlers_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 BenchmarkMarshalMsgBatchJobPrefix(b *testing.B) {
    	v := BatchJobPrefix{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  4. internal/grid/msg_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 BenchmarkMarshalMsgconnectReq(b *testing.B) {
    	v := connectReq{}
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jul 25 21:07:21 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/query-params.md

    Im obigen Beispiel haben sie die Defaultwerte `skip=0` und `limit=10`.
    
    Wenn Sie also zur URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    gehen, so ist das das gleiche wie die URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Aber wenn Sie zum Beispiel zu:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    gehen, werden die Parameter-Werte Ihrer Funktion sein:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/query-params.md

    * 数据校验
    * API 文档
    
    ## 默认值
    
    查询参数不是路径的固定内容,它是可选的,还支持默认值。
    
    上例用 `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
    ```
    
    查询参数的值就是:
    
    * `skip=20`:在 URL 中设定的值
    * `limit=10`:使用默认值
    
    ## 可选参数
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. docs/en/docs/tutorial/query-params.md

    In the example above they have default values of `skip=0` and `limit=10`.
    
    So, going to the URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    would be the same as going to:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    But if you go to, for example:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    The parameter values in your function will be:
    
    * `skip=20`: because you set it in the URL
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top