- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 484 for heLLo (0.02 seconds)
-
docs_src/configure_swagger_ui/tutorial002_py310.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 221 bytes - Click Count (0) -
internal/pubsub/pubsub_test.go
doneCh1 := make(chan struct{}) defer close(doneCh1) if err := ps.Subscribe(MaskAll, ch1, doneCh1, func(entry Maskable) bool { return true }); err != nil { t.Fatalf("unexpected error: %v", err) } val := maskString("hello") ps.Publish(val) msg := <-ch1 if msg != val { t.Fatalf("expected %s , found %s", val, msg) } } func TestMultiPubSub(t *testing.T) { ps := New[Maskable, Maskable](2)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Aug 14 17:11:51 GMT 2024 - 5.8K bytes - Click Count (0) -
cmd/server_test.go
c.Assert(response.ContentLength, int64(len([]byte("hello world")))) var buffer2 bytes.Buffer // retrieve the contents of response body. n, err := io.Copy(&buffer2, response.Body) c.Assert(err, nil) c.Assert(n, int64(len([]byte("hello world")))) // asserted the contents of the fetched object with the expected result. c.Assert(true, bytes.Equal(buffer2.Bytes(), []byte("hello world")))
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 118.1K bytes - Click Count (0) -
tests/test_openapi_servers.py
"description": "Staging but actually localhost still", }, {"url": "https://prod.example.com"}, ] ) @app.get("/foo") def foo(): return {"message": "Hello World"} client = TestClient(app) def test_app(): response = client.get("/foo") assert response.status_code == 200, response.text def test_openapi_schema():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 1.7K bytes - Click Count (0) -
docs/zh/docs/advanced/json-base64-bytes.md
你可以发送如下请求: ```json { "description": "Some data", "data": "aGVsbG8=" } ``` /// tip | 提示 `aGVsbG8=` 是 `hello` 的 base64 编码。 /// 随后 Pydantic 会解码该 base64 字符串,并在模型的 `data` 字段中提供原始字节。 你将会收到类似的响应: ```json { "description": "Some data", "content": "hello" } ``` ## 用于输出数据的 Pydantic `bytes` { #pydantic-bytes-for-output-data }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 2.4K bytes - Click Count (0) -
docs_src/cors/tutorial001_py310.py
app.add_middleware( CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ) @app.get("/") async def main():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 459 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/WebSocketEcho.java
client.dispatcher().executorService().shutdown(); } @Override public void onOpen(WebSocket webSocket, Response response) { webSocket.send("Hello..."); webSocket.send("...World!"); webSocket.send(ByteString.decodeHex("deadbeef")); webSocket.close(1000, "Goodbye, World!"); } @Override public void onMessage(WebSocket webSocket, String text) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Apr 04 11:40:21 GMT 2024 - 1.6K bytes - Click Count (0) -
schema/index_test.go
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Dec 06 02:27:44 GMT 2024 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/UnicodeStringTest.java
} assertEquals(0, unicodeStringTrue.buffer[testStringTrue.length()], "Last character should be zero"); // Test with a non-empty string and zterm = false String testStringFalse = "Hello"; UnicodeString unicodeStringFalse = new UnicodeString(testStringFalse, false); assertFalse(unicodeStringFalse.zterm, "zterm should be false");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/test_sse.py
yield {"name": item.name, "description": item.description} @app.get("/items/stream-sse-event", response_class=EventSourceResponse) async def sse_items_event(): yield ServerSentEvent(data="hello", event="greeting", id="1") yield ServerSentEvent(data={"key": "value"}, event="json-data", id="2") yield ServerSentEvent(comment="just a comment") yield ServerSentEvent(data="retry-test", retry=5000)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 01 09:21:52 GMT 2026 - 9.8K bytes - Click Count (0)