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

Method ResetContexts

cpp/src/arrow/compute/exec_test.cc:179–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 }
178
179 void ResetContexts() {
180 exec_ctx_.reset(new ExecContext(default_memory_pool()));
181 ctx_.reset(new KernelContext(exec_ctx_.get()));
182 }
183
184 std::shared_ptr<Array> GetUInt8Array(int64_t size, double null_probability = 0.1) {
185 return rng_->UInt8(size, /*min=*/0, /*max=*/100, null_probability);

Callers

nothing calls this directly

Calls 3

default_memory_poolFunction · 0.85
resetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected