MCPcopy Create free account
hub / github.com/apache/arrow / Capacity

Method Capacity

cpp/src/arrow/acero/util.cc:67–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67size_t ThreadIndexer::Capacity() {
68 static size_t max_size = GetCpuThreadPoolCapacity() + io::GetIOThreadPoolCapacity() + 1;
69 return max_size;
70}
71
72size_t ThreadIndexer::Check(size_t thread_index) {
73 DCHECK_LT(thread_index, Capacity())

Callers 2

TESTFunction · 0.45
max_concurrencyMethod · 0.45

Calls 2

GetCpuThreadPoolCapacityFunction · 0.50
GetIOThreadPoolCapacityFunction · 0.50

Tested by 1

TESTFunction · 0.36