Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pybind/pybind11
/ check_flags
Function
check_flags
include/pybind11/numpy.h:556–558 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
554
}
555
556
inline bool check_flags(const void *ptr, int flag) {
557
return (flag == (array_proxy(ptr)->flags & flag));
558
}
559
560
template <typename T>
561
struct is_std_array : std::false_type {};
Callers
3
writeable
Method · 0.85
owndata
Method · 0.85
check_
Function · 0.85
Calls
1
array_proxy
Function · 0.85
Tested by
no test coverage detected