Home
last modified time | relevance | path

Searched refs:settimeout (Results 1 – 25 of 38) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_timeout.py44 self.sock.settimeout(7.345)
47 self.sock.settimeout(3)
50 self.sock.settimeout(None)
55 self.sock.settimeout(1)
58 self.sock.settimeout(3.9)
63 self.sock.settimeout(0)
64 self.sock.settimeout(0)
65 self.sock.settimeout(0.0)
66 self.sock.settimeout(None)
67 self.assertRaises(TypeError, self.sock.settimeout, "")
[all …]
Dmock_socket.py59 def settimeout(self, timeout): member in MockSocket
126 ms.settimeout(timeout)
Dtest_largefile.py205 conn.settimeout(self.timeout)
215 sock.settimeout(self.timeout)
Dtest_socket.py1412 sock.settimeout(1)
1603 c.settimeout(1.5)
1804 s.settimeout(1)
1806 s.settimeout(0)
2823 self.serv_sock.settimeout(self.fail_timeout)
2963 self.cli_sock.settimeout(0.03)
3109 self.serv_sock.settimeout(0.03)
3161 self.serv_sock.settimeout(self.fail_timeout)
4457 self.serv.settimeout(self.timeout)
4513 self.serv_conn.settimeout(self.timeout)
[all …]
Dtest_urllib2_localnet.py41 self.socket.settimeout(0.1)
51 request.settimeout(10.0)
Dtest_asyncore.py337 sock.settimeout(3)
789 s.settimeout(.2)
Dtest_ftplib.py155 sock.settimeout(TIMEOUT)
173 sock.settimeout(TIMEOUT)
1043 self.sock.settimeout(20)
Dtest_telnetlib.py29 self.sock.settimeout(60) # Safety net. Look issue 11812
Dtest_poplib.py490 self.sock.settimeout(60) # Safety net. Look issue 11812
Dtest_xmlrpc.py336 server.socket.settimeout(float(1)) # Don't hang if client fails
690 serv.socket.settimeout(3)
/third_party/musl/libc-test/src/regression/
Dpthread_cond-smasher.c73 static void settimeout(struct timespec *ts) in settimeout() function
100 settimeout(&ts); in client()
136 settimeout(&ts); in main()
/third_party/python/Lib/test/test_asyncio/
Dfunctional.py64 sock.settimeout(timeout)
79 sock.settimeout(timeout)
253 conn.settimeout(self._timeout)
Dtest_server.py31 sock.settimeout(2)
81 sock.settimeout(2)
Dtest_sslproto.py225 sock.settimeout(self.TIMEOUT)
291 sock.settimeout(self.TIMEOUT)
356 sock.settimeout(self.TIMEOUT)
446 sock.settimeout(self.TIMEOUT)
510 sock.settimeout(self.TIMEOUT)
Dutils.py147 request.settimeout(self.request_timeout)
232 request.settimeout(self.request_timeout)
/third_party/python/Lib/asyncio/
Dtrsock.py185 def settimeout(self, value): member in TransportSocket
Dwindows_events.py565 conn.settimeout(listener.gettimeout())
772 s.settimeout(0)
/third_party/python/Lib/
Dsocket.py283 sock.settimeout(self.gettimeout())
830 sock.settimeout(timeout)
Dssl.py1035 self.settimeout(sock.gettimeout())
1340 self.settimeout(None)
1343 self.settimeout(timeout)
Dftplib.py321 sock.settimeout(self.timeout)
385 conn.settimeout(self.timeout)
Dsocketserver.py793 self.connection.settimeout(self.timeout)
Dsmtplib.py1102 self.sock.settimeout(self.timeout)
/third_party/python/Doc/library/
Dsocket.rst242 :meth:`~socket.settimeout`.
294 :meth:`~socket.settimeout` (or implicitly through
1079 :meth:`~socket.settimeout` for possible values and their respective
1355 :meth:`setblocking` or :meth:`settimeout`.
1705 This method is a shorthand for certain :meth:`~socket.settimeout` calls:
1707 * ``sock.setblocking(True)`` is equivalent to ``sock.settimeout(None)``
1709 * ``sock.setblocking(False)`` is equivalent to ``sock.settimeout(0.0)``
1716 .. method:: socket.settimeout(value)
1835 setting, and in general it is recommended to call :meth:`~socket.settimeout`
/third_party/node/doc/api/
Dtimers.md323 …Loop]: https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout
/third_party/python/Misc/NEWS.d/
D3.7.0a4.rst394 Fix socket.settimeout() and socket.setblocking() to keep socket.type as is.

12