MCPcopy Create free account
hub / github.com/pydata/numexpr / run_interpreter_const

Function run_interpreter_const

numexpr3/interpreter.cpp:513–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513static int
514run_interpreter_const(NumExprObject *params, char *output, int *pc_error)
515{
516 int returnValue = 0;
517
518
519 if (params->n_array != 0) {
520 return -1;
521 }
522
523#define SINGLE_ITEM_CONST_LOOP
524#define task_size 1
525#define NO_OUTPUT_BUFFERING // Because it's constant
526#include "interp_body_GENERATED.cpp"
527#undef NO_OUTPUT_BUFFERING
528#undef task_size
529#undef SINGLE_ITEM_CONST_LOOP
530
531 return 0;
532}
533
534PyObject *
535NumExpr_run(NumExprObject *self, PyObject *args, PyObject *kwds)

Callers 1

NumExpr_runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…