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

Method Push

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

Source from the content-addressed store, hash-verified

255 }
256
257 void Push(Result<T> result) override {
258 {
259 std::lock_guard<std::mutex> lg(state_->mx);
260 state_->items.push(std::move(result));
261 }
262 state_->cv.notify_one();
263 }
264
265 uint32_t times_polled() override {
266 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