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

Method CheckCPU

cpp/src/arrow/buffer.cc:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109void Buffer::CheckMutable() const { DCHECK(is_mutable()) << "buffer not mutable"; }
110
111void Buffer::CheckCPU() const {
112 DCHECK(is_cpu()) << "not a CPU buffer (device: " << device()->ToString() << ")";
113}
114
115Result<std::shared_ptr<io::RandomAccessFile>> Buffer::GetReader(
116 std::shared_ptr<Buffer> buf) {

Callers

nothing calls this directly

Calls 2

is_cpuFunction · 0.70
ToStringMethod · 0.45

Tested by

no test coverage detected