Lines Matching refs:timeout
156 def select(self, timeout=None): argument
314 def _select(self, r, w, _, timeout=None): argument
315 r, w, x = select.select(r, w, w, timeout)
320 def select(self, timeout=None): argument
321 timeout = None if timeout is None else max(timeout, 0)
324 r, w, _ = self._select(self._readers, self._writers, [], timeout)
403 def select(self, timeout=None): argument
406 if timeout is None:
407 timeout = None
408 elif timeout <= 0:
409 timeout = 0
413 timeout = math.ceil(timeout * 1e3)
416 fd_event_list = self._selector.poll(timeout)
452 def select(self, timeout=None): argument
453 if timeout is None:
454 timeout = -1
455 elif timeout <= 0:
456 timeout = 0
460 timeout = math.ceil(timeout * 1e3) * 1e-3
469 fd_event_list = self._selector.poll(timeout, max_ev)
554 def select(self, timeout=None): argument
555 timeout = None if timeout is None else max(timeout, 0)
562 kev_list = self._selector.control(None, max_ev, timeout)