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

Function __Pyx_GetItemInt_Generic

fairseq/fairseq/data/data_utils_fast.cpp:25592–25598  ·  view source on GitHub ↗

GetItemInt */

Source from the content-addressed store, hash-verified

25590
25591/* GetItemInt */
25592static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) {
25593 PyObject *r;
25594 if (unlikely(!j)) return NULL;
25595 r = PyObject_GetItem(o, j);
25596 Py_DECREF(j);
25597 return r;
25598}
25599static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i,
25600 CYTHON_NCP_UNUSED int wraparound,
25601 CYTHON_NCP_UNUSED int boundscheck) {

Callers 3

__Pyx_GetItemInt_FastFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected