Home
last modified time | relevance | path

Searched refs:settimeout (Results 1 – 25 of 36) 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.py204 conn.settimeout(self.timeout)
214 sock.settimeout(self.timeout)
Dtest_socket.py1416 sock.settimeout(1)
1607 c.settimeout(1.5)
1805 s.settimeout(1)
1807 s.settimeout(0)
2825 self.serv_sock.settimeout(self.fail_timeout)
2965 self.cli_sock.settimeout(0.03)
3111 self.serv_sock.settimeout(0.03)
3163 self.serv_sock.settimeout(self.fail_timeout)
4459 self.serv.settimeout(self.timeout)
4515 self.serv_conn.settimeout(self.timeout)
[all …]
Dtest_urllib2_localnet.py40 self.socket.settimeout(0.1)
50 request.settimeout(10.0)
Dtest_asyncore.py330 sock.settimeout(3)
782 s.settimeout(.2)
Dtest_ftplib.py147 sock.settimeout(TIMEOUT)
165 sock.settimeout(TIMEOUT)
1035 self.sock.settimeout(20)
Dtest_telnetlib.py29 self.sock.settimeout(60) # Safety net. Look issue 11812
Dtest_poplib.py484 self.sock.settimeout(60) # Safety net. Look issue 11812
Dtest_xmlrpc.py344 server.socket.settimeout(float(1)) # Don't hang if client fails
698 serv.socket.settimeout(3)
Dtest_ssl.py600 s.settimeout(timeout)
2254 s.settimeout(0.0000001)
2539 self.sock.settimeout(0.05)
3668 c.settimeout(0.2)
3678 c.settimeout(0.2)
/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.py69 sock.settimeout(timeout)
84 sock.settimeout(timeout)
258 conn.settimeout(self._timeout)
Dtest_server.py31 sock.settimeout(2)
82 sock.settimeout(2)
Dtest_sslproto.py225 sock.settimeout(self.TIMEOUT)
290 sock.settimeout(self.TIMEOUT)
354 sock.settimeout(self.TIMEOUT)
444 sock.settimeout(self.TIMEOUT)
508 sock.settimeout(self.TIMEOUT)
Dutils.py146 request.settimeout(self.request_timeout)
231 request.settimeout(self.request_timeout)
/third_party/python/Lib/asyncio/
Dtrsock.py185 def settimeout(self, value): member in TransportSocket
Dwindows_events.py560 conn.settimeout(listener.gettimeout())
767 s.settimeout(0)
/third_party/python/Lib/
Dsocket.py283 sock.settimeout(self.gettimeout())
828 sock.settimeout(timeout)
Dssl.py1005 self.settimeout(sock.gettimeout())
1308 self.settimeout(None)
1311 self.settimeout(timeout)
Dftplib.py321 sock.settimeout(self.timeout)
385 conn.settimeout(self.timeout)
Dsocketserver.py766 self.connection.settimeout(self.timeout)
Dsmtplib.py1086 self.sock.settimeout(self.timeout)
/third_party/python/Doc/library/
Dsocket.rst238 :meth:`~socket.settimeout`.
288 :meth:`~socket.settimeout` (or implicitly through
1065 :meth:`~socket.settimeout` for possible values and their respective
1315 :meth:`setblocking` or :meth:`settimeout`.
1688 This method is a shorthand for certain :meth:`~socket.settimeout` calls:
1690 * ``sock.setblocking(True)`` is equivalent to ``sock.settimeout(None)``
1692 * ``sock.setblocking(False)`` is equivalent to ``sock.settimeout(0.0)``
1699 .. method:: socket.settimeout(value)
1818 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

12