Lines Matching defs:int
62 def __init__(self, pid: int, started_at: datetime, run_dir):
186 def __init__(self, args: List[str], exit_code: int,
233 def exit_code(self) -> int:
298 def total_connects(self) -> Optional[int]:
318 def check_exit_code(self, code: Union[int, bool]):
329 def check_response(self, http_status: Optional[int] = 200,
330 count: Optional[int] = 1,
332 exitcode: Optional[int] = 0,
333 connect_count: Optional[int] = None):
336 if self.with_stats and isinstance(exitcode, int):
339 assert int(x['exitcode']) == exitcode, \
388 def check_stats(self, count: int, http_status: Optional[int] = None,
389 exitcode: Optional[int] = None,
390 remote_port: Optional[int] = None,
485 def download_file(self, i: int) -> str:
744 def response_file(self, idx: int):
886 if timeout is not None and int(timeout) > 0:
887 args.extend(["--connect-timeout", str(int(timeout))])
924 "status": int(m.group(2)),