MCPcopy Create free account
hub / github.com/Sally-SH/VSP-LLM / __Pyx_PyObject_IsTrueAndDecref

Function __Pyx_PyObject_IsTrueAndDecref

fairseq/fairseq/data/data_utils_fast.cpp:32248–32254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32246 else return PyObject_IsTrue(x);
32247}
32248static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) {
32249 int retval;
32250 if (unlikely(!x)) return -1;
32251 retval = __Pyx_PyObject_IsTrue(x);
32252 Py_DECREF(x);
32253 return retval;
32254}
32255static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* result, const char* type_name) {
32256 __Pyx_TypeName result_type_name = __Pyx_PyType_GetName(Py_TYPE(result));
32257#if PY_MAJOR_VERSION >= 3

Callers 1

__Pyx_PyInt_BoolEqObjCFunction · 0.70

Calls 1

__Pyx_PyObject_IsTrueFunction · 0.70

Tested by

no test coverage detected