MCPcopy Create free account
hub / github.com/davisking/dlib / alignment

Method alignment

dlib/external/pybind11/include/pybind11/numpy.h:952–957  ·  view source on GitHub ↗

Alignment of the data type

Source from the content-addressed store, hash-verified

950
951 /// Alignment of the data type
952 ssize_t alignment() const {
953 if (detail::npy_api::get().PyArray_RUNTIME_VERSION_ < 0x12) {
954 return detail::array_descriptor1_proxy(m_ptr)->alignment;
955 }
956 return detail::array_descriptor2_proxy(m_ptr)->alignment;
957 }
958
959 /// Flags for the array descriptor
960 std::uint64_t flags() const {

Callers

nothing calls this directly

Calls 3

getFunction · 0.85
array_descriptor1_proxyFunction · 0.85
array_descriptor2_proxyFunction · 0.85

Tested by

no test coverage detected