Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/arrow
/ slow_add
Function
slow_add
cpp/src/arrow/util/thread_pool_test.cc:76–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
74
75
template <typename T>
76
static T slow_add(double seconds, T x, T y) {
77
SleepFor(seconds);
78
return x + y;
79
}
80
81
template <typename T>
82
static T inplace_add(T& x, T y) {
Callers
nothing calls this directly
Calls
1
SleepFor
Function · 0.85
Tested by
no test coverage detected