MCPcopy
hub / github.com/numpy/numpy / f

Function f

numpy/_core/tests/test_multithreading.py:53–55  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

51 a = np.ones(1000)
52
53 def f(b):
54 b.wait()
55 return a.sum()
56
57 run_threaded(f, NUM_THREADS, pass_barrier=True)
58

Callers 15

_check_ninf_infMethod · 0.70
_check_inf_infMethod · 0.70
_check_ninf_nanMethod · 0.70
_check_inf_nanMethod · 0.70
check_real_valueFunction · 0.70
check_complex_valueFunction · 0.70
test__size_to_stringMethod · 0.70
test_unary_PyUFuncMethod · 0.70
test_binary_PyUFuncMethod · 0.70
okMethod · 0.70
test_reduce_argumentsMethod · 0.70
test_priorityMethod · 0.70

Calls 1

sumMethod · 0.45

Tested by

no test coverage detected