MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / __Pyx_PyObject_IsTrue

Function __Pyx_PyObject_IsTrue

eval/CIPO_evaluation/pycocotools/_mask.c:15044–15048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15042 }
15043}
15044static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) {
15045 int is_true = x == Py_True;
15046 if (is_true | (x == Py_False) | (x == Py_None)) return is_true;
15047 else return PyObject_IsTrue(x);
15048}
15049static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) {
15050 int retval;
15051 if (unlikely(!x)) return -1;

Calls

no outgoing calls

Tested by

no test coverage detected