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

Method Push

cpp/src/arrow/util/async_generator_test.cc:254–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 }
253
254 void Push(Result<T> result) override {
255 {
256 std::lock_guard<std::mutex> lg(state_->mx);
257 state_->items.push(std::move(result));
258 }
259 state_->cv.notify_one();
260 }
261
262 uint32_t times_polled() override {
263 std::lock_guard<std::mutex> lg(state_->mx);

Callers 6

TESTFunction · 0.45
TEST_PFunction · 0.45
EmitItemMethod · 0.45
EmitErrorItemMethod · 0.45
EmitSubMethod · 0.45
EmitErrorSubMethod · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected