- Sort Score
- Num 10 results
- Language All
Results 2331 - 2340 of 3,051 for rint (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/http/check_port_test.go
if err != nil { t.Fatal(err) } defer l.Close() port := l.Addr().(*net.TCPAddr).Port testCases := []struct { host string port int expectedErr error }{ {"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)}, {"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)}, }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 03 21:12:25 GMT 2023 - 1.9K bytes - Click Count (0) -
okhttp-tls/README.md
to generate a trusted root certificate, an intermediate certificate, and a server certificate. We use `certificateAuthority(int)` to create certificates that can sign other certificates. The int specifies how many intermediate certificates are allowed beneath it in the chain. ```java HeldCertificate rootCertificate = new HeldCertificate.Builder() .certificateAuthority(1)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 9.1K bytes - Click Count (0) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
In beiden Fällen wird sie haben: * Einen optionalen `q`-Query-Parameter, der ein `str` ist. * Einen `skip`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `0`. * Einen `limit`-Query-Parameter, der ein `int` ist, mit einem Defaultwert `100`. In beiden Fällen werden die Daten konvertiert, validiert, im OpenAPI-Schema dokumentiert, usw. ## Verwenden { #use-it }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 07:57:30 GMT 2026 - 7.6K bytes - Click Count (0) -
tests/test_dependency_overrides.py
import pytest from fastapi import APIRouter, Depends, FastAPI from fastapi.testclient import TestClient app = FastAPI() router = APIRouter() async def common_parameters(q: str, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} @app.get("/main-depends/") async def main_depends(commons: dict = Depends(common_parameters)): return {"in": "main-depends", "params": commons}
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.2K bytes - Click Count (0) -
internal/s3select/json/preader.go
readCloser io.ReadCloser // raw input buf *bufio.Reader // input to the splitter current []jstream.KVS // current block of results to be returned recordsRead int // number of records read in current slice input chan *queueItem // input for workers queue chan *queueItem // output from workers in order
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/dependencies/classes-as-dependencies.md
...它与我们以前的 `common_parameters` 具有相同的参数: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8] *} 这些参数就是 **FastAPI** 用来 "处理" 依赖项的。 在两个例子下,都有: * 一个可选的 `q` 查询参数,是 `str` 类型。 * 一个 `skip` 查询参数,是 `int` 类型,默认值为 `0`。 * 一个 `limit` 查询参数,是 `int` 类型,默认值为 `100`。 在两个例子下,数据都将被转换、验证、在 OpenAPI schema 上文档化,等等。 ## 使用它 { #use-it } 现在,你可以使用这个类来声明你的依赖项了。 {* ../../docs_src/dependencies/tutorial002_an_py310.py hl[19] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 6.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/request-files.md
`UploadFile` 具有以下 `async` 方法。它们都会在底层调用对应的文件方法(使用内部的 `SpooledTemporaryFile`)。 * `write(data)`:将 `data` (`str` 或 `bytes`) 写入文件。 * `read(size)`:读取文件中 `size` (`int`) 个字节/字符。 * `seek(offset)`:移动到文件中字节位置 `offset` (`int`)。 * 例如,`await myfile.seek(0)` 会移动到文件开头。 * 如果你先运行过 `await myfile.read()`,然后需要再次读取内容时,这尤其有用。 * `close()`:关闭文件。 由于这些方法都是 `async` 方法,你需要对它们使用 await。 例如,在 `async` *路径操作函数* 内,你可以这样获取内容:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.8K bytes - Click Count (0) -
internal/s3select/csv/reader.go
columnNames []string // names of columns nameIndexMap map[string]int64 // name to column index current [][]string // current block of results to be returned recordsRead int // number of records read in current slice input chan *queueItem // input for workers queue chan *queueItem // output from workers in order
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 8.8K bytes - Click Count (0) -
misc/ios/go_ios_exec.go
bundleID = "golang.gotest" exitCode, err := runMain() if err != nil { log.Fatalf("%v\n", err) } os.Exit(exitCode) } func runMain() (int, error) { var err error tmpdir, err = os.MkdirTemp("", "go_ios_exec_") if err != nil { return 1, err } if !debug { defer os.RemoveAll(tmpdir) } appdir := filepath.Join(tmpdir, "gotest.app")
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Sep 16 00:34:45 GMT 2025 - 8.7K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/searchResults.jsp
</div> </c:if> <div class="description">${doc.content_description}</div> </div> <div class="site text-truncate"> <c:if test="${clipboardCopyIcon}"><i class="far fa-copy url-copy d-print-none" data-clipboard-text="${doc.url_link}" aria-hidden="true"></i></c:if> <cite>${f:h(doc.site_path)}</cite> </div> <div class="more">
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 12.2K bytes - Click Count (1)