- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 73 for 55 (0.01 seconds)
-
tests/test_request_params/test_file/test_optional_list.py
) def test_optional_list(path: str): client = TestClient(app) response = client.post(path, files=[("p", b"hello"), ("p", b"world")]) assert response.status_code == 200 assert response.json() == {"file_size": [5, 5]} # ===================================================================================== # Alias @app.post("/optional-list-bytes-alias") async def read_optional_list_bytes_alias(
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 10.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/FileSizeFormatTest.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 14.9K bytes - Click Count (0) -
tests/test_request_params/test_file/test_list.py
], ) def test_list(path: str): client = TestClient(app) response = client.post(path, files=[("p", b"hello"), ("p", b"world")]) assert response.status_code == 200 assert response.json() == {"file_size": [5, 5]} # ===================================================================================== # Alias @app.post("/list-bytes-alias", operation_id="list_bytes_alias")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:31:34 GMT 2025 - 11.2K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/FileSizeFormatTest.java
assertEquals("1.0 kB", format.format(1000L)); assertEquals("5.5 kB", format.format(5500L)); assertEquals("10 kB", format.format(10L * 1000L)); assertEquals("15 kB", format.format(15L * 1000L)); assertEquals("999 kB", format.format(999L * 1000L)); assertEquals("1.0 MB", format.format(1000L * 1000L)); assertEquals("5.5 MB", format.format(5500L * 1000L));
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 10.5K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
val tableLength = writer.dynamicTable.size var entry = writer.dynamicTable[tableLength - 1]!! checkEntry(entry, "custom-bar", "custom-header", 55) entry = writer.dynamicTable[tableLength - 2]!! checkEntry(entry, "custom-baz", "custom-header", 55) } @Test fun readerEviction() { val headerBlock = headerEntries( "custom-foo", "custom-header",Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 38.6K bytes - Click Count (0) -
internal/s3select/sql/stringfuncs_contrib_test.go
resExpected string errExpected error }{ {"abcd", 1, 1, "a", nil}, {"abcd", -1, 1, "a", nil}, {"abcd", 999, 999, "", nil}, {"", 999, 999, "", nil}, {"测试abc", 1, 1, "测", nil}, {"测试abc", 5, 5, "c", nil}, } for i, tc := range evalCases { res, err := evalSQLSubstring(tc.s, tc.startIdx, tc.length) if res != tc.resExpected || err != tc.errExpected { t.Errorf("Eval Case %d failed: %v %v", i, res, err)Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 1.2K bytes - Click Count (0) -
tests/test_get_request_body.py
@app.get("/product") async def create_item(product: Product): return product client = TestClient(app) def test_get_with_body(): body = {"name": "Foo", "description": "Some description", "price": 5.5} response = client.request("GET", "/product", json=body) assert response.json() == body def test_openapi_schema(): response = client.get("/openapi.json")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 3.7K bytes - Click Count (0) -
android-test/src/androidTest/README.md
01-01 12:53:32.816 10999 11090 D OkHttp : [54 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AAAEAAQ} 01-01 12:53:32.817 10999 11090 D OkHttp : [55 ms] responseBodyStart 01-01 12:53:32.818 10999 11090 D OkHttp : [56 ms] responseBodyEnd: byteCount=128 01-01 12:53:32.818 10999 11090 D OkHttp : [56 ms] connectionReleased 01-01 12:53:32.818 10999 11090 D OkHttp : [56 ms] callEndCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Aug 22 08:12:58 GMT 2025 - 2.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionPool.kt
keepAliveDuration = keepAliveDuration, timeUnit = timeUnit, taskRunner = TaskRunner.INSTANCE, connectionListener = ConnectionListener.NONE, ) constructor() : this(5, 5, TimeUnit.MINUTES) /** Returns the number of idle connections in the pool. */ fun idleConnectionCount(): Int = delegate.idleConnectionCount() /** Returns total number of connections in the pool. */Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Oct 07 21:55:03 GMT 2025 - 3.4K bytes - Click Count (0) -
regression-test/README.md
01-01 12:53:32.816 10999 11090 D OkHttp : [54 ms] responseHeadersEnd: Response{protocol=h2, code=200, message=, url=https://1.1.1.1/dns-query?dns=AAABAAABAAAAAAAAA3d3dwhmYWNlYm9vawNjb20AAAEAAQ} 01-01 12:53:32.817 10999 11090 D OkHttp : [55 ms] responseBodyStart 01-01 12:53:32.818 10999 11090 D OkHttp : [56 ms] responseBodyEnd: byteCount=128 01-01 12:53:32.818 10999 11090 D OkHttp : [56 ms] connectionReleased 01-01 12:53:32.818 10999 11090 D OkHttp : [56 ms] callEndCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Nov 13 07:09:56 GMT 2020 - 2.5K bytes - Click Count (0)