Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_inf
Method · 0.70
_check_inf_inf
Method · 0.70
_check_ninf_nan
Method · 0.70
_check_inf_nan
Method · 0.70
check_real_value
Function · 0.70
check_complex_value
Function · 0.70
test__size_to_string
Method · 0.70
test_unary_PyUFunc
Method · 0.70
test_binary_PyUFunc
Method · 0.70
ok
Method · 0.70
test_reduce_arguments
Method · 0.70
test_priority
Method · 0.70
Calls
1
sum
Method · 0.45
Tested by
no test coverage detected