Module Import alias Import alias Import alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad ListLoad Num Num Num Num Num Num TupleLoad ListLoad Num Num Num Num Num Num TupleLoad ListLoad Num Num Num Num Num Num TupleLoad ListLoad Num Num Num Num Num Num TupleLoad ListLoad Num Num TupleLoad ListLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad ListLoad Num Num Num Num TupleLoad ListLoad Num Num Num Num Num TupleLoad ListLoad Num Num Num Num Num Num TupleLoad ListLoad Num Num Num Num Num TupleLoad ListLoad Num Num TupleLoad ListLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad ListLoad Num Num Num Num TupleLoad ListLoad Num Num Num Call AttributeLoad NameLoad attr BinOpDiv Num Num TupleLoad ListLoad Num Num Num Num TupleLoad ListLoad Num Num TupleLoad ListLoad Num Num Num Call AttributeLoad NameLoad attr BinOpDiv Num Num TupleLoad ListLoad NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad TupleLoad Str NameLoad For TupleStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad ListLoad TupleLoad Num Num Num Str TupleLoad Str Num TupleLoad Num Num Num Str TupleLoad Str Num Num Num ListLoad TupleLoad Num Num Num Str TupleLoad Str Num Num Num ListLoad TupleLoad Num Num Num Str TupleLoad Str Num ListLoad TupleLoad Num Num Num Str TupleLoad Str Num Num Num TupleLoad Num Num Num Str TupleLoad Str Num Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list
N/A N/A math N/A mock N/A ssbench.util unittest TestCase TestUtil N/A TestCase N/A test_mean N/A N/A self N/A N/A N/A sequences N/A N/A N/A 1 2 3 4 5 3 N/A N/A -1 -2 -3 -4 -5 -3 N/A N/A -2 -1 0 1 2 0 N/A N/A 2 2 2 2 2 2 N/A N/A 5 5 N/A N/A None N/A N/A seq mean sequences N/A N/A N/A N/A self assertEqual N/A N/A N/A ssbench util mean seq mean N/A test_median N/A N/A self N/A N/A N/A sequences N/A N/A N/A 1 2 3 2 N/A N/A 1 2 3 4 2.5 N/A N/A 2 0 4 1 3 2 N/A N/A 0 -1 -2 -3 -1.5 N/A N/A 5 5 N/A N/A None N/A N/A seq median sequences N/A N/A N/A N/A self assertEqual N/A N/A N/A ssbench util median seq median N/A test_uncorrected_stdev N/A N/A self N/A N/A N/A sequences N/A N/A N/A 1 1 1 0 N/A N/A 1 2 3 N/A N/A math sqrt N/A 2.0 3 N/A N/A -1 -1 -1 0 N/A N/A 1 0 N/A N/A -1 -2 -3 N/A N/A math sqrt N/A 2.0 3 N/A N/A None N/A N/A seq std sequences N/A N/A N/A N/A self assertEqual N/A N/A N/A ssbench util uncorrected_stdev seq std N/A test_is_ipv6 N/A N/A self N/A N/A N/A addrs N/A N/A 127.0.0.1 False N/A ::1 True N/A 0.0.0.0 False N/A :: True N/A N/A addr ipv6 addrs N/A N/A N/A N/A self assertEqual N/A N/A N/A ssbench util is_ipv6 addr ipv6 N/A test_is_ipv6_tuples N/A N/A self mock_getaddrinfo N/A N/A N/A test_tuples N/A N/A N/A 2 1 6 N/A 10.0.0.1 0 N/A 10 1 6 N/A dead::beef 0 0 0 N/A N/A 10 1 6 N/A dead::beef 0 0 0 N/A N/A 2 1 6 N/A 10.0.0.100 0 N/A N/A 10 1 6 N/A dead::beef 0 0 0 N/A 2 1 6 N/A 10.0.0.1 0 N/A expected_values N/A False True False False N/A N/A mock_getaddrinfo side_effect test_tuples N/A expected expected_values N/A N/A N/A N/A self assertEqual N/A N/A N/A ssbench util is_ipv6 host expected N/A N/A N/A N/A mock patch object N/A N/A ssbench util socket getaddrinfo N/A