- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 638 for Skip (0.07 sec)
-
cmd/metacache-stream_test.go
t.Errorf("got unexpected result: %#v", names) } err = r.skip(5) if err != nil { t.Fatal(err) } names, err = r.readNames(5) if err != nil { t.Fatal(err) } want = loadMetacacheSampleNames[10:15] if !reflect.DeepEqual(names, want) { t.Errorf("got unexpected result: %#v", names) } err = r.skip(len(loadMetacacheSampleNames)) if err != io.EOF { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
public void testDivNonZero() { for (int p : NONZERO_INTEGER_CANDIDATES) { for (int q : NONZERO_INTEGER_CANDIDATES) { for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) { // Skip some tests that fail due to GWT's non-compliant int implementation. // TODO(cpovirk): does this test fail for only some rounding modes or for all? if (p == -2147483648 && q == -1 && intsCanGoOutOfRange()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/dependencies/index.md
``` 大功告成。 只用了**2 行**代码。 依赖项函数的形式和结构与*路径操作函数*一样。 因此,可以把依赖项当作没有「装饰器」(即,没有 `@app.get("/some-path")` )的路径操作函数。 依赖项可以返回各种内容。 本例中的依赖项预期接收如下参数: * 类型为 `str` 的可选查询参数 `q` * 类型为 `int` 的可选查询参数 `skip`,默认值是 `0` * 类型为 `int` 的可选查询参数 `limit`,默认值是 `100` 然后,依赖项函数返回包含这些值的 `dict`。 ### 导入 `Depends` ```Python hl_lines="3" {!../../docs_src/dependencies/tutorial001.py!} ``` ### 声明依赖项
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
if (flowControlError) { source.skip(remainingByteCount) closeLater(ErrorCode.FLOW_CONTROL_ERROR) return } // Discard data received after the stream is finished. It's probably a benign race. if (finished) { source.skip(remainingByteCount) return }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 23.2K bytes - Viewed (0) -
fastapi/param_functions.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} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return commons ``` """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 23 18:30:18 UTC 2024 - 62.5K bytes - Viewed (0) -
src/archive/zip/reader.go
if _, err := f.zipr.ReadAt(buf[:], f.headerOffset); err != nil { return 0, err } b := readBuf(buf[:]) if sig := b.uint32(); sig != fileHeaderSignature { return 0, ErrFormat } b = b[22:] // skip over most of the header filenameLen := int(b.uint16()) extraLen := int(b.uint16()) return int64(fileHeaderLen + filenameLen + extraLen), nil } // readDirectoryHeader attempts to read a directory header from r.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Sat Aug 03 01:05:29 UTC 2024 - 28.1K bytes - Viewed (0) -
docs/ftp/README.md
of restrictions are needed for a user. - No "admin:*" operations are needed for FTP/SFTP access to the bucket(s) and object(s), so you may skip them for restrictions. ## Usage Start MinIO in a distributed setup, with 'ftp/sftp' enabled. ``` minio server http://server{1...4}/disk{1...4} --ftp="address=:8021" --ftp="passive-port-range=30000-40000" \
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 06:41:25 UTC 2024 - 7.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ByteSourceTest.java
} public void testSize() throws IOException { assertEquals(bytes.length, source.size()); assertTrue(source.wasStreamOpened() && source.wasStreamClosed()); // test that we can get the size even if skip() isn't supported assertEquals(bytes.length, new TestByteSource(bytes, SKIP_THROWS).size()); // test that we can get the size even if available() always returns zero
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/FileAttributesTest.java
try { int attrs = f.getAttributes() ^ SmbConstants.ATTR_ARCHIVE ^ SmbConstants.ATTR_HIDDEN ^ SmbConstants.ATTR_READONLY; if ( Boolean.parseBoolean(getProperties().getOrDefault("test.skip.hidden", "false")) ) { attrs &= ~SmbConstants.ATTR_HIDDEN; } f.setAttributes(attrs); assertEquals(attrs, f.getAttributes()); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 12.3K bytes - Viewed (0) -
istioctl/pkg/version/version.go
if err != nil { return nil, fmt.Errorf("could not unmarshal Node: %w", err) } meta, err := model.ParseMetadata(node.Metadata) if err != nil || meta.ProxyConfig == nil { // Skip non-sidecars (e.g. istioctl queries) continue } pi = append(pi, istioVersion.ProxyInfo{ ID: node.Id, IstioVersion: getIstioVersionFromXdsMetadata(node.Metadata), })
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 29 21:11:35 UTC 2024 - 8.3K bytes - Viewed (0)