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

Method MakeTestStream

cpp/src/arrow/json/reader_test.cc:464–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462
463 protected:
464 static std::shared_ptr<io::InputStream> MakeTestStream(std::string str) {
465 auto buffer = Buffer::FromString(std::move(str));
466 return std::make_shared<io::BufferReader>(std::move(buffer));
467 }
468 // Stream with simulated latency
469 static std::shared_ptr<io::InputStream> MakeTestStream(std::string str,
470 double latency) {

Callers

nothing calls this directly

Calls 1

FromStringFunction · 0.85

Tested by

no test coverage detected