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

Method AssertIds

cpp/src/arrow/util/future_test.cc:995–1000  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993 void AssertScheduled(const std::vector<int>& ids) { AssertIds(ids, false); }
994
995 void AssertIds(const std::vector<int>& ids, bool should_be_synchronous) {
996 for (auto id : ids) {
997 ASSERT_EQ(should_be_synchronous, callbacks_run_synchronously.find(id) !=
998 callbacks_run_synchronously.end());
999 }
1000 }
1001
1002 std::function<void(const Status&)> callback(int id) {
1003 return [this, id](const Status&) { callbacks_run_synchronously.insert(id); };

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected