- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for goodbye (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/HttpUpgradesTest.kt
val socketHandler = MockSocketHandler() .apply { receiveRequest("client says hello\n") sendResponse("server says hello\n") receiveRequest("client says goodbye\n") sendResponse("server says goodbye\n") exhaustResponse() exhaustRequest() } server.enqueue(socketHandler.upgradeResponse()) client .newCall( upgradeRequest(),
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
server.webSocket!!.finishReader() server.webSocket!!.close(1000, "Goodbye!") assertThat(client.processNextFrame()).isFalse() client.listener.assertClosing(1000, "Goodbye!") client.webSocket!!.finishReader() server.listener.assertClosed(1000, "Hello!") client.listener.assertClosed(1000, "Goodbye!") } @Test fun clientCloseThenMethodsReturnFalse() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
src/bytes/example_test.go
// Output: // -gopher // go-gopher! // go-gopher!567 } func ExampleTrimPrefix() { var b = []byte("Goodbye,, world!") b = bytes.TrimPrefix(b, []byte("Goodbye,")) b = bytes.TrimPrefix(b, []byte("See ya,")) fmt.Printf("Hello%s", b) // Output: Hello, world! } func ExampleTrimSpace() {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 12 16:07:54 UTC 2025 - 16.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
// Initiate a close on the client, which will schedule a hard cancel in 500 ms. val closeAtNanos = System.nanoTime() webSocket.close(1000, "goodbye", 500L) serverListener.assertClosing(1000, "goodbye") // Confirm that the hard cancel occurred after 500 ms. clientListener.assertFailure() val elapsedUntilFailure = System.nanoTime() - closeAtNanos
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
doc/go_spec.html
for a <code>...T</code> parameter. In this case no new slice is created. </p> <p> Given the slice <code>s</code> and call </p> <pre> s := []string{"James", "Jasmine"} Greeting("goodbye:", s...) </pre> <p> within <code>Greeting</code>, <code>who</code> will have the same value as <code>s</code> with the same underlying array. </p> <h3 id="Instantiations">Instantiations</h3>
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue May 06 19:12:15 UTC 2025 - 286.2K bytes - Viewed (0)