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

Method Next

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

Source from the content-addressed store, hash-verified

1553 : token(std::make_shared<bool>(false)), slow(slow) {}
1554
1555 Result<TestInt> Next() {
1556 if (slow) {
1557 SleepABit();
1558 }
1559 return TestInt(0);
1560 }
1561 std::weak_ptr<bool> GetWeakTargetRef() { return std::weak_ptr<bool>(token); }
1562
1563 std::shared_ptr<bool> token;

Callers

nothing calls this directly

Calls 2

SleepABitFunction · 0.85
TestIntClass · 0.85

Tested by

no test coverage detected