- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 160 for says (0.02 sec)
-
tests/test_tutorial/test_websockets/test_tutorial003.py
connection.send_text("Hello from 1234") data1 = connection.receive_text() assert data1 == "You wrote: Hello from 1234" data2 = connection_two.receive_text() client1_says = "Client #1234 says: Hello from 1234" assert data2 == client1_says data1 = connection.receive_text() assert data1 == client1_says connection_two.close() data1 = connection.receive_text()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Jul 29 09:26:07 UTC 2021 - 872 bytes - Viewed (0) -
docs_src/websockets/tutorial003.py
try: while True: data = await websocket.receive_text() await manager.send_personal_message(f"You wrote: {data}", websocket) await manager.broadcast(f"Client #{client_id} says: {data}") except WebSocketDisconnect: manager.disconnect(websocket)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Aug 09 13:52:19 UTC 2020 - 2.5K bytes - Viewed (0) -
docs_src/websockets/tutorial003_py39.py
try: while True: data = await websocket.receive_text() await manager.send_personal_message(f"You wrote: {data}", websocket) await manager.broadcast(f"Client #{client_id} says: {data}") except WebSocketDisconnect: manager.disconnect(websocket)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java
} @Override protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) { dst[ dstIndex++ ] = this.getSubCommand(); dst[ dstIndex++ ] = (byte) 0x00; // this says "Transaction priority" in netmon dst[ dstIndex++ ] = (byte) 0x00; // no FID dst[ dstIndex++ ] = (byte) 0x00; return 4; } @Override
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.1K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial003_py39.py
connection.send_text("Hello from 1234") data1 = connection.receive_text() assert data1 == "You wrote: Hello from 1234" data2 = connection_two.receive_text() client1_says = "Client #1234 says: Hello from 1234" assert data2 == client1_says data1 = connection.receive_text() assert data1 == client1_says connection_two.close() data1 = connection.receive_text()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java
maxSetupCount = (byte)0x00; setupCount = 2; } int writeSetupWireFormat( byte[] dst, int dstIndex ) { dst[dstIndex++] = subCommand; dst[dstIndex++] = (byte)0x00; // this says "Transaction priority" in netmon writeInt2( fid, dst, dstIndex ); return 4; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) { return 0; }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java
maxSetupCount = (byte)0x00; setupCount = 2; } int writeSetupWireFormat( byte[] dst, int dstIndex ) { dst[dstIndex++] = subCommand; dst[dstIndex++] = (byte)0x00; // this says "Transaction priority" in netmon dst[dstIndex++] = (byte)0x00; // no FID dst[dstIndex++] = (byte)0x00; return 4; } int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 2.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/TransPeekNamedPipe.java
} @Override protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) { dst[ dstIndex++ ] = this.getSubCommand(); dst[ dstIndex++ ] = (byte) 0x00; // this says "Transaction priority" in netmon SMBUtil.writeInt2(this.fid, dst, dstIndex); return 4; } @Override protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
internal/http/dial_linux.go
// Number of probes. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_probes (defaults to 9, we reduce it to 5) _ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, syscall.TCP_KEEPCNT, 5) // Wait time after successful probe in seconds. // ~ cat /proc/sys/net/ipv4/tcp_keepalive_intvl (defaults to 75 secs, we reduce it to 15 secs)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jul 23 10:53:03 UTC 2024 - 5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java
public void testToArray_noArgs() { Object[] array = collection.toArray(); expectArrayContentsAnyOrder(createSamplesArray(), array); } /** * {@link Collection#toArray(Object[])} says: "Note that {@code toArray(new Object[0])} is * identical in function to {@code toArray()}." * * <p>For maximum effect, the collection under test should be created from an element array of a
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 8.1K bytes - Viewed (0)