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

Function is_cpu

cpp/src/arrow/buffer.h:347–347  ·  view source on GitHub ↗

\brief Whether the buffer is directly CPU-accessible If this function returns true, you can read directly from the buffer's `data()` pointer. Otherwise, you'll have to `View()` or `Copy()` it.

Source from the content-addressed store, hash-verified

345 /// If this function returns true, you can read directly from the buffer's
346 /// `data()` pointer. Otherwise, you'll have to `View()` or `Copy()` it.
347 bool is_cpu() const { return is_cpu_; }
348
349 /// \brief Whether the buffer is mutable
350 ///

Callers 1

CheckCPUMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected