MCPcopy Create free account
hub / github.com/apple/coremltools / ptr

Method ptr

deps/pybind11/tests/test_class.cpp:485–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

483#if defined(PYBIND11_CPP17)
484 struct alignas(1024) Aligned {
485 std::uintptr_t ptr() const { return (uintptr_t) this; }
486 };
487 py::class_<Aligned>(m, "Aligned").def(py::init<>()).def("ptr", &Aligned::ptr);
488#endif

Callers 15

PYBIND11_PLUGINFunction · 0.80
PYBIND11_PLUGINFunction · 0.80
TEST_SUBMODULEFunction · 0.80
TEST_SUBMODULEFunction · 0.80
TEST_SUBMODULEFunction · 0.80
PYBIND11_OVERRIDE_PUREFunction · 0.80
TEST_SUBMODULEFunction · 0.80
ConstructorStatsClass · 0.80
get_valueMethod · 0.80
from_ncnstFunction · 0.80
from_constFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected