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

Method flag_is_set

cpp/src/arrow/c/dlpack.cc:322–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320 }
321
322 bool flag_is_set(uint8_t bits) const { return (ptr_->flags & bits) == bits; }
323
324 bool is_readonly() const { return flag_is_set(DLPACK_FLAG_BITMASK_READ_ONLY); }
325

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected