MCPcopy Create free account
hub / github.com/numpy/numpy / npy_free_coercion_cache

Function npy_free_coercion_cache

numpy/core/src/multiarray/array_coercion.c:664–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664NPY_NO_EXPORT void
665npy_free_coercion_cache(coercion_cache_obj *next) {
666 /* We only need to check from the last used cache pos */
667 while (next != NULL) {
668 next = npy_unlink_coercion_cache(next);
669 }
670}
671
672#undef COERCION_CACHE_CACHE_SIZE
673

Callers 6

PyArray_AssignFromCacheFunction · 0.85
PyArray_FromAny_intFunction · 0.85
PyArray_DTypeFromObjectFunction · 0.85
PyArray_CopyObjectFunction · 0.85

Calls 1

Tested by

no test coverage detected