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

Function __Pyx_PyDict_GetItemStr

fairseq/fairseq/data/data_utils_fast.cpp:934–938  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

932#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && PY_VERSION_HEX < 0x030d0000 && CYTHON_USE_UNICODE_INTERNALS
933#define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash)
934static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) {
935 PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name);
936 if (res == NULL) PyErr_Clear();
937 return res;
938}
939#elif PY_MAJOR_VERSION >= 3 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000)
940#define __Pyx_PyDict_GetItemStrWithError PyDict_GetItemWithError
941#define __Pyx_PyDict_GetItemStr PyDict_GetItem

Callers 3

__Pyx_PyObject_GetMethodFunction · 0.70
__Pyx_CLineForTracebackFunction · 0.70

Calls 1

Tested by

no test coverage detected