- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 326 for heLLo (0.02 sec)
-
okhttp/src/test/java/okhttp3/SocksProxy.kt
val fromSink = from.sink().buffer() hello(fromSource, fromSink) acceptCommand(from.inetAddress, fromSource, fromSink) openSockets.add(from) } catch (e: IOException) { logger.log(Level.WARNING, "$name failed", e) from.closeQuietly() } } } private fun hello( fromSource: BufferedSource, fromSink: BufferedSink, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 7.7K bytes - Viewed (0) -
tests/test_tutorial/test_first_steps/test_tutorial001.py
from docs_src.first_steps.tutorial001 import app client = TestClient(app) @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/", 200, {"message": "Hello World"}), ("/nonexistent", 404, {"detail": "Not Found"}), ], ) def test_get_path(path, expected_status, expected_response): response = client.get(path) assert response.status_code == expected_status
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.2K bytes - Viewed (0) -
docs_src/configure_swagger_ui/tutorial003.py
from fastapi import FastAPI app = FastAPI(swagger_ui_parameters={"deepLinking": False}) @app.get("/users/{username}") async def read_user(username: str):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Aug 19 19:54:04 UTC 2023 - 201 bytes - Viewed (0) -
docs_src/python_types/tutorial009.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 12 21:44:23 UTC 2020 - 164 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/DuplexTest.kt
MockResponse.Builder() .headersDelay(1500, TimeUnit.MILLISECONDS) .build(), ) val request = Request.Builder() .url(server.url("/")) .post(DelayedRequestBody("hello".toRequestBody(null), 1500, TimeUnit.MILLISECONDS)) .build() client = client.newBuilder() .readTimeout(1000, TimeUnit.MILLISECONDS) .build() val call = client.newCall(request)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 23.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 13.8K bytes - Viewed (0) -
docs_src/behind_a_proxy/tutorial004.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 10 17:28:18 UTC 2020 - 437 bytes - Viewed (0) -
docs_src/cors/tutorial001.py
app.add_middleware( CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ) @app.get("/") async def main():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 459 bytes - Viewed (0) -
compat/maven-builder-support/src/test/resources/source.txt
Hello World!...
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ResponseBodyTest.kt
val source = Buffer().writeUtf8("hello") return object : ForwardingSource(source) { @Throws(IOException::class) override fun close() { throw IOException("Broken!") } }.buffer() } } assertThat(body.source().readUtf8()).isEqualTo("hello") body.close() } @Test fun unicodeText() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4K bytes - Viewed (0)