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

Function __Pyx_ZeroBuffer

eval/CIPO_evaluation/pycocotools/_mask.c:12263–12269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12261 __Pyx_ReleaseBuffer(info);
12262}
12263static void __Pyx_ZeroBuffer(Py_buffer* buf) {
12264 buf->buf = NULL;
12265 buf->obj = NULL;
12266 buf->strides = __Pyx_zeros;
12267 buf->shape = __Pyx_zeros;
12268 buf->suboffsets = __Pyx_minusones;
12269}
12270static int __Pyx__GetBufferAndValidate(
12271 Py_buffer* buf, PyObject* obj, __Pyx_TypeInfo* dtype, int flags,
12272 int nd, int cast, __Pyx_BufFmt_StackElem* stack)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected