SYMBOL INDEX (22130 symbols across 741 files) FILE: buildscripts/github/download_artifacts.py function get_artifacts_for_run (line 12) | def get_artifacts_for_run(run_id, repo, token): function download_artifact (line 58) | def download_artifact(artifact_name, artifact_id, repo, token, output_dir): function main (line 120) | def main(): FILE: buildscripts/github/find_workflow_runs.py function find_workflow_run (line 11) | def find_workflow_run(workflow_name, tag, repo, token): function load_workflow_config (line 59) | def load_workflow_config(config_path): function main (line 94) | def main(): FILE: buildscripts/github/patch_wheel_dylib.py function run_shell (line 12) | def run_shell(cmd): function main (line 17) | def main(whl): FILE: docs/dagmap/jquery.graphviz.svg.js function Plugin (line 511) | function Plugin(option) { FILE: docs/dagmap/render.py function parse_yaml (line 15) | def parse_yaml(filename): function to_graphviz (line 33) | def to_graphviz(dagmap): function main (line 59) | def main(argv): FILE: docs/source/_ext/ghfiles.py function make_ref (line 15) | def make_ref(text): function intersperse (line 28) | def intersperse(lst, item): function ghfile_role (line 42) | def ghfile_role(name, rawtext, text, lineno, inliner, options=None, cont... function setup (line 74) | def setup(app): FILE: docs/source/conf.py function _autogenerate (line 314) | def _autogenerate(): class CudaDeprecated (line 349) | class CudaDeprecated(SphinxDirective): method run (line 350) | def run(self): function setup (line 368) | def setup(app): FILE: docs/source/developer/compiler_pass_example.py function ex_compiler_pass (line 1) | def ex_compiler_pass(): FILE: docs/source/developer/inline_example.py function never_inline (line 7) | def never_inline(): function always_inline (line 12) | def always_inline(): function sentinel_cost_model (line 16) | def sentinel_cost_model(expr, caller_info, callee_info): function maybe_inline1 (line 45) | def maybe_inline1(): function maybe_inline2 (line 52) | def maybe_inline2(): function foo (line 59) | def foo(): FILE: docs/source/developer/inline_overload_example.py function bar (line 6) | def bar(x): function ol_bar_tuple (line 12) | def ol_bar_tuple(x): function cost_model (line 21) | def cost_model(expr, caller, callee): function ol_bar_scalar (line 27) | def ol_bar_scalar(x): function foo (line 37) | def foo(): FILE: docs/source/extending/mynorm.py function _oneD_norm_2 (line 10) | def _oneD_norm_2(a): function jit_norm (line 17) | def jit_norm(a, ord=None): function use (line 60) | def use(a, ord=None): FILE: docs/source/extending/template.py function jit_myfunc (line 6) | def jit_myfunc(arg0, arg1, arg2, ...): FILE: docs/source/proposals/np-where-override.py function where (line 7) | def where(cond, x, y): FILE: maint/git-copy.py function copy_files (line 81) | def copy_files(branch: str, prefix: str, remove_prefix: bool = False) ->... FILE: maint/github_weekly_meeting.py function fetch (line 10) | def fetch(orgname, reponame, last_num, gh): function display (line 56) | def display(data): function main (line 78) | def main(numba_last_num, llvmlite_last_num, user=None, password=None): FILE: maint/gitlog2changelog.py function hyperlink_user (line 29) | def hyperlink_user(user_obj): function author_key (line 36) | def author_key(x): FILE: maint/towncrier_rst_validator.py function list_rst_filename (line 34) | def list_rst_filename() -> str: FILE: numba/__init__.py function _ensure_critical_deps (line 13) | def _ensure_critical_deps(): function test (line 114) | def test(argv, **kwds): function _ensure_llvm (line 148) | def _ensure_llvm(): function _try_enable_svml (line 183) | def _try_enable_svml(): FILE: numba/_arraystruct.h type arystruct_t (line 9) | typedef struct { FILE: numba/_devicearray.cpp class DeviceArray (line 19) | class DeviceArray { method DeviceArray_traverse (line 24) | static int method DeviceArray_clear (line 31) | static int function MOD_INIT (line 119) | MOD_INIT(_devicearray) { FILE: numba/_dispatcher.cpp function call_trace (line 68) | static int function call_trace_protected (line 93) | static int function _nb_PyLineTable_InitAddressRange (line 166) | static void function _nb_PyCode_InitAddressRange (line 182) | static int function initialize_trace_info (line 196) | static void function call_trace (line 209) | static int function call_trace_protected (line 239) | static int function call_trace (line 309) | static int function call_trace_protected (line 330) | static int class Dispatcher (line 406) | class Dispatcher { method addDefinition (line 444) | void addDefinition(Type args[], PyObject *callable) { method PyObject (line 465) | PyObject* resolve(Type sig[], int &matches, bool allow_unsafe, method clear (line 491) | void clear() { function Dispatcher_traverse (line 499) | static int function Dispatcher_dealloc (line 506) | static void function Dispatcher_init (line 516) | static int function PyObject (line 550) | static PyObject * function PyObject (line 557) | static function explain_issue (line 609) | static function explain_ambiguous (line 628) | static function explain_matching_error (line 635) | static function search_new_conversions (line 642) | static function PyObject (line 673) | static PyObject * function msb (line 808) | static inline int msb(uint8_t bits) { function invoke_monitoring (line 816) | static int invoke_monitoring(PyThreadState * tstate, int event, Dispatch... function invoke_monitoring_PY_START (line 1035) | int static inline invoke_monitoring_PY_START(PyThreadState * tstate, Dis... function invoke_monitoring_PY_RETURN (line 1040) | int static inline invoke_monitoring_PY_RETURN(PyThreadState * tstate, Di... function invoke_monitoring_RAISE (line 1045) | int static inline invoke_monitoring_RAISE(PyThreadState * tstate, Dispat... function invoke_monitoring_PY_UNWIND (line 1050) | int static inline invoke_monitoring_PY_UNWIND(PyThreadState * tstate, Di... function PyObject (line 1058) | static PyObject * function PyObject (line 1132) | static function PyObject (line 1166) | static function find_named_args (line 1182) | static int function PyObject (line 1414) | static PyObject* function is_sysmon_enabled (line 1635) | static function PyObject (line 1641) | static PyObject *compute_fingerprint(PyObject *self, PyObject *args) function MOD_INIT (line 1658) | MOD_INIT(_dispatcher) { FILE: numba/_dynfunc.c type EnvironmentObject (line 23) | typedef struct { function env_traverse (line 39) | static int function env_clear (line 47) | static int function env_dealloc (line 55) | static void function EnvironmentObject (line 63) | static EnvironmentObject * function PyObject (line 69) | static PyObject * type ClosureObject (line 185) | typedef struct { function closure_traverse (line 199) | static int function closure_dealloc (line 207) | static void function ClosureObject (line 318) | static ClosureObject * function PyObject (line 347) | static PyObject * type GeneratorObject (line 381) | typedef struct { function generator_traverse (line 392) | static int function generator_clear (line 401) | static int function generator_dealloc (line 413) | static void function PyObject (line 428) | static PyObject * function PyObject (line 522) | static PyObject * function init_dynfunc_module (line 542) | static int FILE: numba/_dynfuncmod.c function PyObject (line 4) | static PyObject* function PyObject (line 33) | static PyObject * function MOD_INIT (line 63) | MOD_INIT(_dynfunc) { FILE: numba/_hashtable.cpp function _Py_slist_init (line 78) | static void function _Py_slist_prepend (line 84) | static void function _Py_slist_remove (line 91) | static void function Py_uhash_t (line 101) | Py_uhash_t function Py_uhash_t (line 107) | Py_uhash_t function _Numba_hashtable_compare_direct (line 118) | int function round_size (line 125) | static size_t function _Numba_hashtable_t (line 137) | _Numba_hashtable_t * function _Numba_hashtable_t (line 182) | _Numba_hashtable_t * function _Numba_hashtable_size (line 192) | size_t function _Numba_hashtable_print_stats (line 223) | void function _Numba_hashtable_entry_t (line 263) | _Numba_hashtable_entry_t * function _hashtable_pop_entry (line 281) | static int function _Numba_hashtable_set (line 316) | int function _Numba_hashtable_get (line 358) | int function _Numba_hashtable_pop (line 372) | int function _Numba_hashtable_delete (line 381) | void function _Numba_hashtable_foreach (line 395) | int function hashtable_rehash (line 413) | static void function _Numba_hashtable_clear (line 455) | void function _Numba_hashtable_destroy (line 474) | void function _Numba_hashtable_t (line 495) | _Numba_hashtable_t * FILE: numba/_hashtable.h type _Py_slist_item_t (line 11) | typedef struct _Py_slist_item_s { type _Py_slist_t (line 15) | typedef struct { type _Numba_hashtable_entry_t (line 23) | typedef struct { type Py_uhash_t (line 45) | typedef Py_uhash_t (*_Numba_hashtable_hash_func) (const void *key); type _Numba_hashtable_allocator_t (line 51) | typedef struct { type _Numba_hashtable_t (line 59) | typedef struct { FILE: numba/_helperlib.c function numba_fixed_fmod (line 55) | NUMBA_EXPORT_FUNC(double) function numba_fixed_fmodf (line 61) | NUMBA_EXPORT_FUNC(float) function numba_set_fnclex (line 67) | NUMBA_EXPORT_FUNC(void) function numba_sdiv (line 73) | NUMBA_EXPORT_FUNC(int64_t) function numba_udiv (line 78) | NUMBA_EXPORT_FUNC(uint64_t) function numba_srem (line 84) | NUMBA_EXPORT_FUNC(int64_t) function numba_urem (line 89) | NUMBA_EXPORT_FUNC(uint64_t) function numba_frexp (line 97) | NUMBA_EXPORT_FUNC(double) function numba_frexpf (line 107) | NUMBA_EXPORT_FUNC(float) function numba_ldexp (line 117) | NUMBA_EXPORT_FUNC(double) function numba_ldexpf (line 125) | NUMBA_EXPORT_FUNC(float) function numba_cpow (line 134) | NUMBA_EXPORT_FUNC(void) function numba_cpowf (line 145) | NUMBA_EXPORT_FUNC(void) function numba_gamma (line 158) | NUMBA_EXPORT_FUNC(double) function numba_gammaf (line 164) | NUMBA_EXPORT_FUNC(float) function numba_lgamma (line 170) | NUMBA_EXPORT_FUNC(double) function numba_lgammaf (line 176) | NUMBA_EXPORT_FUNC(float) function numba_erf (line 182) | NUMBA_EXPORT_FUNC(double) function numba_erff (line 188) | NUMBA_EXPORT_FUNC(float) function numba_erfc (line 194) | NUMBA_EXPORT_FUNC(double) function numba_erfcf (line 200) | NUMBA_EXPORT_FUNC(float) function numba_nextafterf (line 206) | NUMBA_EXPORT_FUNC(float) function numba_nextafter (line 212) | NUMBA_EXPORT_FUNC(double) function numba_complex_adaptor (line 219) | NUMBA_EXPORT_FUNC(int) type PyBufferObject_Hack (line 254) | typedef struct { function numba_extract_record_data (line 265) | NUMBA_EXPORT_FUNC(void *) function numba_recreate_record (line 287) | NUMBA_EXPORT_FUNC(PyObject *) function numba_adapt_ndarray (line 327) | NUMBA_EXPORT_FUNC(int) function numba_get_buffer (line 355) | NUMBA_EXPORT_FUNC(int) function numba_adapt_buffer (line 362) | NUMBA_EXPORT_FUNC(void) function numba_release_buffer (line 383) | NUMBA_EXPORT_FUNC(void) function numba_ndarray_new (line 389) | NUMBA_EXPORT_FUNC(PyObject *) function nocopy_empty_reshape (line 409) | static int function numba_attempt_nocopy_reshape (line 437) | NUMBA_EXPORT_FUNC(int) function _numba_import_cython_function (line 592) | NUMBA_EXPORT_FUNC(PyObject *) function numba_extract_np_datetime (line 619) | NUMBA_EXPORT_FUNC(npy_int64) function numba_extract_np_timedelta (line 630) | NUMBA_EXPORT_FUNC(npy_int64) function numba_create_np_datetime (line 641) | NUMBA_EXPORT_FUNC(PyObject *) function numba_create_np_timedelta (line 654) | NUMBA_EXPORT_FUNC(PyObject *) function numba_fptoui (line 667) | NUMBA_EXPORT_FUNC(uint64_t) function numba_fptouif (line 674) | NUMBA_EXPORT_FUNC(uint64_t) function numba_gil_ensure (line 679) | NUMBA_EXPORT_FUNC(void) function numba_gil_release (line 684) | NUMBA_EXPORT_FUNC(void) function numba_py_type (line 689) | NUMBA_EXPORT_FUNC(PyObject *) function PyObject (line 702) | static PyObject * function numba_set_pyobject_private_data (line 710) | NUMBA_EXPORT_FUNC(void) function numba_get_pyobject_private_data (line 731) | NUMBA_EXPORT_FUNC(void *) function numba_reset_pyobject_private_data (line 756) | NUMBA_EXPORT_FUNC(void) function numba_unpack_slice (line 773) | NUMBA_EXPORT_FUNC(int) function numba_fatal_error (line 803) | NUMBA_EXPORT_FUNC(int) function traceback_add (line 817) | static void traceback_add(const char *funcname, const char *filename, in... function traceback_add_loc (line 876) | static function reraise_exc_is_none (line 903) | static function process_exception_class (line 936) | static function process_raise (line 962) | static function numba_do_raise (line 989) | NUMBA_EXPORT_FUNC(int) function numba_unpickle (line 1021) | NUMBA_EXPORT_FUNC(PyObject *) function numba_unpickle (line 1049) | NUMBA_EXPORT_FUNC(PyObject *) function numba_runtime_build_excinfo_struct (line 1086) | NUMBA_EXPORT_FUNC(PyObject *) function numba_extract_unicode (line 1142) | NUMBA_EXPORT_FUNC(void *) function numba_gettyperecord (line 1181) | NUMBA_EXPORT_FUNC(void) function numba_get_PyUnicode_ExtendedCase (line 1210) | NUMBA_EXPORT_FUNC(Py_UCS4) function numba_gdb_breakpoint (line 1222) | NUMBA_EXPORT_FUNC(void) FILE: numba/_helperlib.pyi function _import_cython_function (line 1) | def _import_cython_function(module_name: str, function_name: str): FILE: numba/_helpermod.c function PyObject (line 25) | static PyObject * function _numba_flush_stdout (line 185) | void function _numba_test_sin (line 214) | double _numba_test_sin(double x) function _numba_test_cos (line 219) | double _numba_test_cos(double x) function _numba_test_exp (line 224) | double _numba_test_exp(double x) function _numba_test_vsquare (line 229) | void _numba_test_vsquare(int n, double *x, double *out) function _numba_test_vcube (line 236) | void _numba_test_vcube(int n, double *x, double *out) function _numba_test_funcptr (line 243) | double _numba_test_funcptr(double (*func)(double)) function _numba_test_boolean (line 248) | bool _numba_test_boolean() function MOD_INIT (line 253) | MOD_INIT(_helperlib) { FILE: numba/_lapack.c function EMIT_GET_CBLAS_FUNC (line 24) | EMIT_GET_CBLAS_FUNC(dgemm) function checked_PyMem_RawMalloc (line 83) | static int checked_PyMem_RawMalloc(void** var, size_t bytes) function check_kind (line 106) | static int check_kind(char kind) function check_real_kind (line 143) | static int check_real_kind(char kind) function check_complex_kind (line 180) | static int check_complex_kind(char kind) function check_func (line 216) | static int check_func(void *func) type npy_complex64 (line 252) | typedef npy_complex64 (*cdot_t)(F_INT *n, void *dx, F_INT *incx, void *dy, type npy_complex128 (line 254) | typedef npy_complex128 (*zdot_t)(F_INT *n, void *dx, F_INT *incx, void *dy, function numba_xxdot (line 272) | NUMBA_EXPORT_FUNC(int) function numba_xxgemv (line 323) | NUMBA_EXPORT_FUNC(int) function numba_xxgemm (line 362) | NUMBA_EXPORT_FUNC(int) function numba_xxnrm2 (line 406) | NUMBA_EXPORT_FUNC(F_INT) function kind_size (line 615) | static size_t kind_size(char kind) function underlying_float_kind (line 662) | static char underlying_float_kind(char kind) function F_INT (line 697) | static F_INT function numba_xxgetrf (line 738) | NUMBA_EXPORT_FUNC(int) function numba_raw_xxgetri (line 777) | static int function numba_ez_xxgetri (line 811) | NUMBA_EXPORT_FUNC(int) function numba_xxpotrf (line 849) | NUMBA_EXPORT_FUNC(int) function numba_raw_rgeev (line 884) | static int function numba_ez_rgeev (line 921) | NUMBA_EXPORT_FUNC(int) function numba_raw_cgeev (line 964) | static int function numba_ez_cgeev (line 1002) | NUMBA_EXPORT_FUNC(int) function numba_raw_rsyevd (line 1049) | static int function numba_ez_rsyevd (line 1083) | static int function numba_raw_cheevd (line 1129) | static int function numba_ez_cheevd (line 1165) | static int function numba_ez_xxxevd (line 1228) | NUMBA_EXPORT_FUNC(int) function numba_raw_rgesdd (line 1248) | static int function numba_ez_rgesdd (line 1287) | static int function numba_raw_cgesdd (line 1333) | static int function numba_ez_cgesdd (line 1372) | static int function numba_ez_gesdd (line 1466) | NUMBA_EXPORT_FUNC(int) function numba_raw_xgeqrf (line 1492) | static int function numba_ez_geqrf (line 1533) | NUMBA_EXPORT_FUNC(int) function numba_raw_xxxgqr (line 1568) | static int function numba_ez_xxgqr (line 1611) | NUMBA_EXPORT_FUNC(int) function numba_raw_rgelsd (line 1646) | static int function numba_ez_rgelsd (line 1687) | static int function numba_raw_cgelsd (line 1750) | static int function numba_ez_cgelsd (line 1792) | static int function numba_ez_gelsd (line 1874) | NUMBA_EXPORT_FUNC(int) function numba_xgesv (line 1899) | NUMBA_EXPORT_FUNC(int) FILE: numba/_random.c type rnd_state_t (line 24) | typedef struct { function numba_rnd_shuffle (line 36) | NUMBA_EXPORT_FUNC(void) function numba_rnd_init (line 58) | NUMBA_EXPORT_FUNC(void) function rnd_init_by_array (line 76) | static void function rnd_seed_with_bytes (line 126) | static int function rnd_atfork_child (line 161) | static void function numba_rnd_ensure_global_init (line 172) | NUMBA_EXPORT_FUNC(void) function rnd_implicit_init (line 187) | static void function numba_get_py_random_state (line 233) | NUMBA_EXPORT_FUNC(rnd_state_t *) function numba_get_np_random_state (line 242) | NUMBA_EXPORT_FUNC(rnd_state_t *) function numba_get_internal_random_state (line 251) | NUMBA_EXPORT_FUNC(rnd_state_t *) function rnd_state_converter (line 263) | static int function _numba_rnd_get_py_state_ptr (line 270) | NUMBA_EXPORT_FUNC(PyObject *) function _numba_rnd_get_np_state_ptr (line 276) | NUMBA_EXPORT_FUNC(PyObject *) function _numba_rnd_shuffle (line 282) | NUMBA_EXPORT_FUNC(PyObject *) function _numba_rnd_set_state (line 292) | NUMBA_EXPORT_FUNC(PyObject *) function _numba_rnd_get_state (line 323) | NUMBA_EXPORT_FUNC(PyObject *) function _numba_rnd_seed (line 346) | NUMBA_EXPORT_FUNC(PyObject *) function get_next_int32 (line 383) | NUMBA_EXPORT_FUNC(unsigned int) function get_next_double (line 401) | NUMBA_EXPORT_FUNC(double) function loggam (line 409) | NUMBA_EXPORT_FUNC(double) function numba_poisson_ptrs (line 452) | NUMBA_EXPORT_FUNC(int64_t) FILE: numba/_typeof.cpp function string_writer_init (line 73) | static void function string_writer_clear (line 81) | static void function string_writer_move (line 88) | static void function string_writer_ensure (line 103) | static int function string_writer_put_char (line 129) | static int function string_writer_put_int32 (line 138) | static int function string_writer_put_intp (line 151) | static int function string_writer_put_string (line 170) | static int type opcode (line 186) | enum opcode { function fingerprint_unrecognized (line 213) | static int function compute_dtype_fingerprint (line 221) | static int function compute_fingerprint (line 261) | static int function PyObject (line 473) | PyObject * function _typecode_from_type_object (line 496) | static int function _typecode_fallback (line 536) | static int function typecode_fallback (line 568) | static function typecode_fallback_keep_ref (line 573) | static function Py_uhash_t (line 582) | static Py_uhash_t function compare_writer (line 602) | static int function typecode_using_fingerprint (line 615) | static int function dtype_num_to_typecode (line 676) | static int dtype_num_to_typecode(int type_num) { function get_cached_typecode (line 722) | static function cache_typecode (line 731) | static function PyObject (line 738) | static function get_cached_ndarray_typecode (line 750) | static function cache_ndarray_typecode (line 761) | static function typecode_ndarray (line 771) | static function typecode_arrayscalar (line 830) | static function typecode_devicendarray (line 858) | static function typeof_typecode (line 961) | int function init_numpy (line 1068) | static function PyObject (line 1078) | PyObject * FILE: numba/_unicodetype_db.h type numba_PyUnicode_TypeRecord (line 19) | typedef struct { function numba_PyUnicode_ToNumeric (line 4144) | double numba_PyUnicode_ToNumeric(Py_UCS4 ch) function numba_PyUnicode_IsWhitespace (line 6032) | int numba_PyUnicode_IsWhitespace(const Py_UCS4 ch) function numba_PyUnicode_IsLinebreak (line 6073) | int numba_PyUnicode_IsLinebreak(const Py_UCS4 ch) FILE: numba/_version.py function get_keywords (line 23) | def get_keywords(): class VersioneerConfig (line 36) | class VersioneerConfig: function get_config (line 40) | def get_config(): class NotThisMethod (line 54) | class NotThisMethod(Exception): function register_vcs_handler (line 62) | def register_vcs_handler(vcs, method): # decorator function run_command (line 73) | def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False, function versions_from_parentdir (line 116) | def versions_from_parentdir(parentdir_prefix, root, verbose): function git_get_keywords (line 141) | def git_get_keywords(versionfile_abs): function git_versions_from_keywords (line 169) | def git_versions_from_keywords(keywords, tag_prefix, verbose): function git_pieces_from_vcs (line 233) | def git_pieces_from_vcs(tag_prefix, root, verbose, runner=run_command): function plus_or_dot (line 365) | def plus_or_dot(pieces): function render_pep440 (line 372) | def render_pep440(pieces): function render_pep440_branch (line 397) | def render_pep440_branch(pieces): function pep440_split_post (line 427) | def pep440_split_post(ver): function render_pep440_pre (line 437) | def render_pep440_pre(pieces): function render_pep440_post (line 461) | def render_pep440_post(pieces): function render_pep440_post_branch (line 488) | def render_pep440_post_branch(pieces): function render_pep440_old (line 517) | def render_pep440_old(pieces): function render_git_describe (line 539) | def render_git_describe(pieces): function render_git_describe_long (line 559) | def render_git_describe_long(pieces): function render (line 579) | def render(pieces, style): function get_versions (line 615) | def get_versions(): FILE: numba/cext/__init__.py function get_extension_libs (line 8) | def get_extension_libs(): function get_path (line 20) | def get_path(): FILE: numba/cext/dictobject.c type __int8 (line 131) | typedef __int8 int8_t; type __int16 (line 132) | typedef __int16 int16_t; type __int32 (line 133) | typedef __int32 int32_t; type __int64 (line 134) | typedef __int64 int64_t; type Status (line 254) | typedef enum { function mem_cmp_zeros (line 266) | static function ix_size (line 281) | static int function Py_ssize_t (line 299) | static Py_ssize_t function set_index (line 329) | static void function NB_DictEntry (line 411) | static NB_DictEntry* function zero_key (line 422) | static void function zero_val (line 427) | static void function copy_key (line 432) | static void function copy_val (line 437) | static void function key_equal (line 443) | static int function dk_incref_key (line 466) | static void function dk_decref_key (line 473) | static void function dk_incref_val (line 480) | static void function dk_decref_val (line 487) | static void function numba_dictkeys_free (line 495) | void function numba_dict_free (line 512) | void function Py_ssize_t (line 518) | Py_ssize_t function numba_dictkeys_new (line 527) | int function numba_dict_new (line 560) | int function Py_ssize_t (line 585) | static Py_ssize_t function Py_ssize_t (line 633) | Py_ssize_t function Py_ssize_t (line 678) | static Py_ssize_t function insertion_resize (line 698) | static int function numba_dict_insert (line 704) | int function build_indices (line 768) | void function numba_dict_resize (line 797) | int function numba_dict_delitem (line 877) | int function numba_dict_popitem (line 908) | int function numba_dict_dump (line 947) | void function numba_dict_iter_sizeof (line 982) | size_t function numba_dict_iter (line 987) | void function numba_dict_iter_next (line 995) | int function numba_dict_insert_ez (line 1015) | int function numba_dict_new_sized (line 1029) | int function numba_dict_set_method_table (line 1055) | void function numba_test_dict (line 1069) | int FILE: numba/cext/dictobject.h type NB_DictEntry (line 7) | typedef struct { type type_based_methods_table (line 18) | typedef struct { type NB_DictKeys (line 27) | typedef struct { type NB_Dict (line 52) | typedef struct { type NB_DictIter (line 59) | typedef struct { FILE: numba/cext/listobject.c type ListStatus (line 73) | typedef enum { function copy_item (line 88) | static void function list_incref_item (line 98) | static void function list_decref_item (line 110) | static void function numba_list_set_method_table (line 125) | void function valid_index (line 140) | static int function numba_list_new (line 162) | int function numba_list_free (line 202) | void function Py_ssize_t (line 229) | Py_ssize_t function Py_ssize_t (line 240) | Py_ssize_t function Py_ssize_t (line 249) | Py_ssize_t function numba_list_is_mutable (line 259) | int function numba_list_set_is_mutable (line 270) | void function numba_list_setitem (line 285) | int function numba_list_getitem (line 311) | int function numba_list_append (line 330) | int function numba_list_resize (line 374) | int function numba_list_delitem (line 426) | int function numba_list_delete_slice (line 477) | int function numba_list_iter_sizeof (line 569) | size_t function numba_list_iter (line 579) | void function numba_list_iter_next (line 592) | int function numba_test_list (line 619) | int FILE: numba/cext/listobject.h type list_type_based_methods_table (line 21) | typedef struct { type NB_List (line 54) | typedef struct { type NB_ListIter (line 70) | typedef struct { FILE: numba/cext/utils.c function Py_ssize_t (line 4) | Py_ssize_t FILE: numba/cloudpickle/cloudpickle.py function _get_or_create_tracker_id (line 117) | def _get_or_create_tracker_id(class_def): function _lookup_class_or_track (line 127) | def _lookup_class_or_track(class_tracker_id, class_def): function register_pickle_by_value (line 142) | def register_pickle_by_value(module): function unregister_pickle_by_value (line 181) | def unregister_pickle_by_value(module): function list_registry_pickle_by_value (line 191) | def list_registry_pickle_by_value(): function _is_registered_pickle_by_value (line 195) | def _is_registered_pickle_by_value(module): function _getattribute (line 210) | def _getattribute(obj, name): function _getattribute (line 213) | def _getattribute(obj, name): function _whichmodule (line 217) | def _whichmodule(obj, name): function _should_pickle_by_reference (line 251) | def _should_pickle_by_reference(obj, name=None): function _lookup_module_and_qualname (line 287) | def _lookup_module_and_qualname(obj, name=None): function _extract_code_globals (line 327) | def _extract_code_globals(co): function _find_imported_submodules (line 352) | def _find_imported_submodules(code, top_level_dependencies): function _builtin_type (line 416) | def _builtin_type(name): function _walk_global_ops (line 425) | def _walk_global_ops(code): function _extract_class_dict (line 433) | def _extract_class_dict(cls): function is_tornado_coroutine (line 458) | def is_tornado_coroutine(func): function subimport (line 478) | def subimport(name): function dynamic_subimport (line 487) | def dynamic_subimport(name, vars): function _get_cell_contents (line 494) | def _get_cell_contents(cell): function instance (line 502) | def instance(cls): class _empty_cell_value (line 519) | class _empty_cell_value: method __reduce__ (line 523) | def __reduce__(cls): function _make_function (line 527) | def _make_function(code, globals, name, argdefs, closure): function _make_empty_cell (line 533) | def _make_empty_cell(): function _make_cell (line 542) | def _make_cell(value=_empty_cell_value): function _make_skeleton_class (line 549) | def _make_skeleton_class( function _make_skeleton_enum (line 574) | def _make_skeleton_enum( function _make_typevar (line 605) | def _make_typevar(name, bound, constraints, covariant, contravariant, cl... function _decompose_typevar (line 616) | def _decompose_typevar(obj): function _typevar_reduce (line 627) | def _typevar_reduce(obj): function _get_bases (line 640) | def _get_bases(typ): function _make_dict_keys (line 654) | def _make_dict_keys(obj, is_ordered=False): function _make_dict_values (line 661) | def _make_dict_values(obj, is_ordered=False): function _make_dict_items (line 668) | def _make_dict_items(obj, is_ordered=False): function _class_getnewargs (line 679) | def _class_getnewargs(obj): function _enum_getnewargs (line 698) | def _enum_getnewargs(obj): function _file_reconstructor (line 713) | def _file_reconstructor(retval): function _function_getstate (line 721) | def _function_getstate(func): function _class_getstate (line 764) | def _class_getstate(obj): function _enum_getstate (line 803) | def _enum_getstate(obj): function _code_reduce (line 835) | def _code_reduce(obj): function _cell_reduce (line 946) | def _cell_reduce(obj): function _classmethod_reduce (line 956) | def _classmethod_reduce(obj): function _file_reduce (line 961) | def _file_reduce(obj): function _getset_descriptor_reduce (line 1005) | def _getset_descriptor_reduce(obj): function _mappingproxy_reduce (line 1009) | def _mappingproxy_reduce(obj): function _memoryview_reduce (line 1013) | def _memoryview_reduce(obj): function _module_reduce (line 1017) | def _module_reduce(obj): function _method_reduce (line 1030) | def _method_reduce(obj): function _logger_reduce (line 1034) | def _logger_reduce(obj): function _root_logger_reduce (line 1038) | def _root_logger_reduce(obj): function _property_reduce (line 1042) | def _property_reduce(obj): function _weakset_reduce (line 1046) | def _weakset_reduce(obj): function _dynamic_class_reduce (line 1050) | def _dynamic_class_reduce(obj): function _class_reduce (line 1077) | def _class_reduce(obj): function _dict_keys_reduce (line 1092) | def _dict_keys_reduce(obj): function _dict_values_reduce (line 1099) | def _dict_values_reduce(obj): function _dict_items_reduce (line 1106) | def _dict_items_reduce(obj): function _odict_keys_reduce (line 1110) | def _odict_keys_reduce(obj): function _odict_values_reduce (line 1117) | def _odict_values_reduce(obj): function _odict_items_reduce (line 1124) | def _odict_items_reduce(obj): function _dataclass_field_base_reduce (line 1128) | def _dataclass_field_base_reduce(obj): function _function_setstate (line 1138) | def _function_setstate(obj, state): function _class_setstate (line 1172) | def _class_setstate(obj, state): function _get_dataclass_field_type_sentinel (line 1227) | def _get_dataclass_field_type_sentinel(name): class Pickler (line 1231) | class Pickler(pickle.Pickler): method _dynamic_function_reduce (line 1265) | def _dynamic_function_reduce(self, func): method _function_reduce (line 1271) | def _function_reduce(self, obj): method _function_getnewargs (line 1285) | def _function_getnewargs(self, func): method dump (line 1318) | def dump(self, obj): method __init__ (line 1328) | def __init__(self, file, protocol=None, buffer_callback=None): method reducer_override (line 1365) | def reducer_override(self, obj): method _save_reduce_pickle5 (line 1418) | def _save_reduce_pickle5( method save_global (line 1451) | def save_global(self, obj, name=None, pack=struct.pack): method save_function (line 1477) | def save_function(self, obj, name=None): method save_pypy_builtin_func (line 1492) | def save_pypy_builtin_func(self, obj): function dump (line 1523) | def dump(obj, file, protocol=None, buffer_callback=None): function dumps (line 1539) | def dumps(obj, protocol=None, buffer_callback=None): FILE: numba/cloudpickle/cloudpickle_fast.py function __getattr__ (line 13) | def __getattr__(name): FILE: numba/core/analysis.py function compute_use_defs (line 23) | def compute_use_defs(blocks): function compute_live_map (line 60) | def compute_live_map(cfg, blocks, var_use_map, var_def_map): function compute_dead_maps (line 118) | def compute_dead_maps(cfg, blocks, live_map, var_def_map): function compute_live_variables (line 190) | def compute_live_variables(cfg, blocks, var_def_map, var_dead_map): function compute_cfg_from_blocks (line 235) | def compute_cfg_from_blocks(blocks): function find_top_level_loops (line 250) | def find_top_level_loops(cfg): function _fix_loop_exit (line 266) | def _fix_loop_exit(cfg, loop): function dead_branch_prune (line 291) | def dead_branch_prune(func_ir, called_args): function rewrite_semantic_constants (line 584) | def rewrite_semantic_constants(func_ir, called_args): function find_literally_calls (line 655) | def find_literally_calls(func_ir, argtypes): function must_use_alloca (line 706) | def must_use_alloca(blocks): FILE: numba/core/annotations/pretty_annotate.py function hllines (line 10) | def hllines(code, style): function htlines (line 24) | def htlines(code, style): function get_ansi_template (line 39) | def get_ansi_template(): function get_html_template (line 66) | def get_html_template(): function reform_code (line 211) | def reform_code(annotation): class Annotate (line 225) | class Annotate: method __init__ (line 266) | def __init__(self, function, signature=None, **kwargs): method _repr_html_ (line 279) | def _repr_html_(self): method __repr__ (line 282) | def __repr__(self): FILE: numba/core/annotations/type_annotations.py class SourceLines (line 16) | class SourceLines(Mapping): method __init__ (line 17) | def __init__(self, func): method __getitem__ (line 28) | def __getitem__(self, lineno): method __iter__ (line 34) | def __iter__(self): method __len__ (line 37) | def __len__(self): method avail (line 41) | def avail(self): class TypeAnnotation (line 45) | class TypeAnnotation(object): method __init__ (line 56) | def __init__(self, func_ir, typemap, calltypes, lifted, lifted_from, method prepare_annotations (line 76) | def prepare_annotations(self): method annotate (line 111) | def annotate(self): method html_annotate (line 150) | def html_annotate(self, outfile): method annotate_raw (line 188) | def annotate_raw(self): method __str__ (line 271) | def __str__(self): function _getindent (line 278) | def _getindent(text): FILE: numba/core/base.py class OverloadSelector (line 27) | class OverloadSelector(object): method __init__ (line 37) | def __init__(self): method find (line 42) | def find(self, sig): method _find (line 49) | def _find(self, sig): method _select_compatible (line 56) | def _select_compatible(self, sig): method _best_signature (line 66) | def _best_signature(self, candidates): method _sort_signatures (line 83) | def _sort_signatures(self, candidates): method _match_arglist (line 103) | def _match_arglist(self, formal_args, actual_args): method _match (line 123) | def _match(self, formal, actual): method append (line 138) | def append(self, value, sig): function _load_global_helpers (line 148) | def _load_global_helpers(): class BaseContext (line 167) | class BaseContext(object): method enable_boundscheck (line 192) | def enable_boundscheck(self): method enable_boundscheck (line 198) | def enable_boundscheck(self, value): method __init__ (line 225) | def __init__(self, typing_context, target): method init (line 256) | def init(self): method refresh (line 261) | def refresh(self): method load_additional_registries (line 279) | def load_additional_registries(self): method mangler (line 284) | def mangler(self, name, types, *, abi_tags=(), uid=None): method get_env_name (line 290) | def get_env_name(self, fndesc): method declare_env_global (line 298) | def declare_env_global(self, module, envname): method get_arg_packer (line 319) | def get_arg_packer(self, fe_args): method get_data_packer (line 322) | def get_data_packer(self, fe_types): method target_data (line 326) | def target_data(self): method nonconst_module_attrs (line 330) | def nonconst_module_attrs(self): method nrt (line 337) | def nrt(self): method subtarget (line 341) | def subtarget(self, **kws): method install_registry (line 352) | def install_registry(self, registry): method insert_func_defn (line 368) | def insert_func_defn(self, defns): method _insert_getattr_defn (line 372) | def _insert_getattr_defn(self, defns): method _insert_setattr_defn (line 376) | def _insert_setattr_defn(self, defns): method _insert_cast_defn (line 380) | def _insert_cast_defn(self, defns): method _insert_get_constant_defn (line 384) | def _insert_get_constant_defn(self, defns): method insert_user_function (line 388) | def insert_user_function(self, func, fndesc, libs=()): method insert_generator (line 392) | def insert_generator(self, genty, gendesc, libs=()): method remove_user_function (line 397) | def remove_user_function(self, func): method get_external_function_type (line 404) | def get_external_function_type(self, fndesc): method declare_function (line 412) | def declare_function(self, module, fndesc): method apply_target_attributes (line 425) | def apply_target_attributes(self, llvm_func, argtypes=None, restype=No... method declare_external_function (line 431) | def declare_external_function(self, module, fndesc): method insert_const_string (line 439) | def insert_const_string(self, mod, string): method insert_const_bytes (line 449) | def insert_const_bytes(self, mod, bytes, name=None): method insert_unique_const (line 459) | def insert_unique_const(self, mod, name, val): method get_argument_type (line 471) | def get_argument_type(self, ty): method get_return_type (line 474) | def get_return_type(self, ty): method get_data_type (line 477) | def get_data_type(self, ty): method get_value_type (line 487) | def get_value_type(self, ty): method pack_value (line 490) | def pack_value(self, builder, ty, value, ptr, align=None): method unpack_value (line 499) | def unpack_value(self, builder, ty, ptr, align=None): method get_constant_generic (line 508) | def get_constant_generic(self, builder, ty, val): method get_constant (line 518) | def get_constant(self, ty, val): method get_constant_undef (line 526) | def get_constant_undef(self, ty): method get_constant_null (line 530) | def get_constant_null(self, ty): method get_function (line 534) | def get_function(self, fn, sig, _firstcall=True): method get_generator_desc (line 568) | def get_generator_desc(self, genty): method get_generator_impl (line 573) | def get_generator_impl(self, genty): method get_bound_function (line 580) | def get_bound_function(self, builder, obj, ty): method get_getattr (line 584) | def get_getattr(self, typ, attr): method get_setattr (line 623) | def get_setattr(self, attr, sig): method get_argument_value (line 654) | def get_argument_value(self, builder, ty, val): method get_returned_value (line 660) | def get_returned_value(self, builder, ty, val): method get_return_value (line 666) | def get_return_value(self, builder, ty, val): method get_value_as_argument (line 672) | def get_value_as_argument(self, builder, ty, val): method get_value_as_data (line 677) | def get_value_as_data(self, builder, ty, val): method get_data_as_value (line 680) | def get_data_as_value(self, builder, ty, val): method pair_first (line 683) | def pair_first(self, builder, val, ty): method pair_second (line 690) | def pair_second(self, builder, val, ty): method cast (line 697) | def cast(self, builder, val, fromty, toty): method generic_compare (line 715) | def generic_compare(self, builder, key, argtypes, args): method make_optional_none (line 734) | def make_optional_none(self, builder, valtype): method make_optional_value (line 739) | def make_optional_value(self, builder, valtype, value): method is_true (line 745) | def is_true(self, builder, typ, val): method get_c_value (line 754) | def get_c_value(self, builder, typ, name, dllimport=False): method call_external_function (line 770) | def call_external_function(self, builder, callee, argtys, args): method get_function_pointer_type (line 776) | def get_function_pointer_type(self, typ): method call_function_pointer (line 779) | def call_function_pointer(self, builder, funcptr, args, cconv=None): method print_string (line 782) | def print_string(self, builder, text): method debug_print (line 789) | def debug_print(self, builder, text): method printf (line 794) | def printf(self, builder, format_string, *args): method get_struct_type (line 804) | def get_struct_type(self, struct): method get_dummy_value (line 811) | def get_dummy_value(self): method get_dummy_type (line 814) | def get_dummy_type(self): method _compile_subroutine_no_cache (line 817) | def _compile_subroutine_no_cache(self, builder, impl, sig, locals=None, method compile_subroutine (line 857) | def compile_subroutine(self, builder, impl, sig, locals=None, flags=None, method compile_internal (line 888) | def compile_internal(self, builder, impl, sig, args, locals=None): method call_internal (line 898) | def call_internal(self, builder, fndesc, sig, args): method call_internal_no_propagate (line 910) | def call_internal_no_propagate(self, builder, fndesc, sig, args): method call_unresolved (line 921) | def call_unresolved(self, builder, name, sig, args): method get_executable (line 965) | def get_executable(self, func, fndesc, env): method get_python_api (line 968) | def get_python_api(self, builder): method sentry_record_alignment (line 971) | def sentry_record_alignment(self, rectyp, attr): method get_helper_class (line 989) | def get_helper_class(self, typ, kind='value'): method _make_helper (line 997) | def _make_helper(self, builder, typ, value=None, ref=None, kind='value'): method make_helper (line 1001) | def make_helper(self, builder, typ, value=None, ref=None): method make_data_helper (line 1008) | def make_data_helper(self, builder, typ, ref=None): method make_array (line 1015) | def make_array(self, typ): method populate_array (line 1019) | def populate_array(self, arr, **kwargs): method make_complex (line 1026) | def make_complex(self, builder, typ, value=None): method make_tuple (line 1033) | def make_tuple(self, builder, typ, values): method make_constant_array (line 1042) | def make_constant_array(self, builder, typ, ary): method add_dynamic_addr (line 1093) | def add_dynamic_addr(self, builder, intaddr, info): method get_abi_sizeof (line 1114) | def get_abi_sizeof(self, ty): method get_abi_alignment (line 1121) | def get_abi_alignment(self, ty): method get_preferred_array_alignment (line 1128) | def get_preferred_array_alignment(context, ty): method post_lowering (line 1135) | def post_lowering(self, mod, library): method create_module (line 1139) | def create_module(self, name): method active_code_library (line 1149) | def active_code_library(self): method push_code_library (line 1155) | def push_code_library(self, lib): method add_linking_libs (line 1164) | def add_linking_libs(self, libs): method get_ufunc_info (line 1171) | def get_ufunc_info(self, ufunc_key): class _wrap_impl (line 1190) | class _wrap_impl(object): method __init__ (line 1197) | def __init__(self, imp, context, sig): method __call__ (line 1203) | def __call__(self, builder, args, loc=None): method __getattr__ (line 1208) | def __getattr__(self, item): method __repr__ (line 1211) | def __repr__(self): function _has_loc (line 1214) | def _has_loc(fn): class _wrap_missing_loc (line 1221) | class _wrap_missing_loc(object): method __init__ (line 1223) | def __init__(self, fn): method __call__ (line 1226) | def __call__(self): method __repr__ (line 1252) | def __repr__(self): function _initialize_llvm_lock_event (line 1257) | def _initialize_llvm_lock_event(): FILE: numba/core/boxing.py function box_bool (line 22) | def box_bool(typ, val, c): function unbox_boolean (line 26) | def unbox_boolean(typ, obj, c): function box_literal_integer (line 35) | def box_literal_integer(typ, val, c): function box_integer (line 41) | def box_integer(typ, val, c): function unbox_integer (line 50) | def unbox_integer(typ, obj, c): function box_float (line 66) | def box_float(typ, val, c): function unbox_float (line 75) | def unbox_float(typ, obj, c): function box_complex (line 89) | def box_complex(typ, val, c): function unbox_complex (line 101) | def unbox_complex(typ, obj, c): function box_none (line 125) | def box_none(typ, val, c): function unbox_none (line 130) | def unbox_none(typ, val, c): function box_npdatetime (line 135) | def box_npdatetime(typ, val, c): function unbox_npdatetime (line 139) | def unbox_npdatetime(typ, obj, c): function box_nptimedelta (line 145) | def box_nptimedelta(typ, val, c): function unbox_nptimedelta (line 149) | def unbox_nptimedelta(typ, obj, c): function box_raw_pointer (line 155) | def box_raw_pointer(typ, val, c): function box_enum (line 165) | def box_enum(typ, val, c): function unbox_enum (line 176) | def unbox_enum(typ, obj, c): function box_undefvar (line 185) | def box_undefvar(typ, val, c): function box_record (line 196) | def box_record(typ, val, c): function unbox_record (line 205) | def unbox_record(typ, obj, c): function box_unicodecharseq (line 219) | def box_unicodecharseq(typ, val, c): function unbox_unicodecharseq (line 245) | def unbox_unicodecharseq(typ, obj, c): function box_bytes (line 275) | def box_bytes(typ, val, c): function box_charseq (line 283) | def box_charseq(typ, val, c): function unbox_charseq (line 306) | def unbox_charseq(typ, obj, c): function box_optional (line 334) | def box_optional(typ, val, c): function unbox_optional (line 347) | def unbox_optional(typ, obj, c): function unbox_slice (line 381) | def unbox_slice(typ, obj, c): function box_slice_literal (line 394) | def box_slice_literal(typ, val, c): function unbox_string_literal (line 420) | def unbox_string_literal(typ, obj, c): function box_array (line 432) | def box_array(typ, val, c): function unbox_buffer (line 449) | def unbox_buffer(typ, obj, c): function unbox_array (line 475) | def unbox_array(typ, obj, c): function box_tuple (line 524) | def box_tuple(typ, val, c): function box_namedtuple (line 539) | def box_namedtuple(typ, val, c): function unbox_tuple (line 552) | def unbox_tuple(typ, obj, c): function box_list (line 602) | def box_list(typ, val, c): class _NumbaTypeHelper (line 635) | class _NumbaTypeHelper(object): method __init__ (line 652) | def __init__(self, c): method __enter__ (line 655) | def __enter__(self): method __exit__ (line 664) | def __exit__(self, *args, **kwargs): method typeof (line 668) | def typeof(self, obj): function _python_list_to_native (line 673) | def _python_list_to_native(typ, obj, c, size, listptr, errorptr): function unbox_list (line 744) | def unbox_list(typ, obj, c): function reflect_list (line 783) | def reflect_list(typ, val, c): function _python_set_to_native (line 833) | def _python_set_to_native(typ, obj, c, size, setptr, errorptr): function unbox_set (line 893) | def unbox_set(typ, obj, c): function _native_set_to_python_list (line 930) | def _native_set_to_python_list(typ, payload, c): function box_set (line 953) | def box_set(typ, val, c): function reflect_set (line 982) | def reflect_set(typ, val, c): function box_generator (line 1011) | def box_generator(typ, val, c): function unbox_generator (line 1015) | def unbox_generator(typ, obj, c): function box_dtype (line 1020) | def box_dtype(typ, val, c): function unbox_dtype (line 1025) | def unbox_dtype(typ, val, c): function box_number_class (line 1030) | def box_number_class(typ, val, c): function unbox_number_class (line 1035) | def unbox_number_class(typ, val, c): function box_pyobject (line 1041) | def box_pyobject(typ, val, c): function unbox_pyobject (line 1046) | def unbox_pyobject(typ, obj, c): function unbox_funcptr (line 1051) | def unbox_funcptr(typ, obj, c): function box_deferred (line 1074) | def box_deferred(typ, val, c): function unbox_deferred (line 1082) | def unbox_deferred(typ, obj, c): function unbox_dispatcher (line 1091) | def unbox_dispatcher(typ, obj, c): function box_pyobject (line 1097) | def box_pyobject(typ, val, c): function unbox_unsupported (line 1102) | def unbox_unsupported(typ, obj, c): function box_unsupported (line 1109) | def box_unsupported(typ, val, c): function box_literal (line 1117) | def box_literal(typ, val, c): function box_meminfo_pointer (line 1126) | def box_meminfo_pointer(typ, val, c): function unbox_meminfo_pointer (line 1131) | def unbox_meminfo_pointer(typ, obj, c): function unbox_typeref (line 1137) | def unbox_typeref(typ, val, c): function box_LiteralStrKeyDict (line 1142) | def box_LiteralStrKeyDict(typ, val, c): function unbox_numpy_random_bitgenerator (line 1148) | def unbox_numpy_random_bitgenerator(typ, obj, c): function unbox_numpy_random_generator (line 1273) | def unbox_numpy_random_generator(typ, obj, c): function box_numpy_random_generator (line 1306) | def box_numpy_random_generator(typ, val, c): FILE: numba/core/bytecode.py function get_function_object (line 33) | def get_function_object(obj): function get_code_object (line 45) | def get_code_object(obj): function _as_opcodes (line 50) | def _as_opcodes(seq): class ByteCodeInst (line 67) | class ByteCodeInst(object): method __init__ (line 82) | def __init__(self, offset, opcode, arg, nextoffset): method is_jump (line 91) | def is_jump(self): method is_terminator (line 95) | def is_terminator(self): method get_jump_target (line 98) | def get_jump_target(self): method __repr__ (line 139) | def __repr__(self): method block_effect (line 143) | def block_effect(self): function _unpack_opargs (line 164) | def _unpack_opargs(code): function _unpack_opargs (line 178) | def _unpack_opargs(code): function _patched_opargs (line 239) | def _patched_opargs(bc_stream): class ByteCodeIter (line 254) | class ByteCodeIter(object): method __init__ (line 255) | def __init__(self, code): method __iter__ (line 259) | def __iter__(self): method _fetch_opcode (line 262) | def _fetch_opcode(self): method next (line 265) | def next(self): method read_arg (line 272) | def read_arg(self, size): class _ByteCode (line 280) | class _ByteCode(object): method __init__ (line 288) | def __init__(self, func_id): method _compute_lineno (line 309) | def _compute_lineno(cls, table, code): method __iter__ (line 327) | def __iter__(self): method __getitem__ (line 330) | def __getitem__(self, offset): method __contains__ (line 333) | def __contains__(self, offset): method dump (line 336) | def dump(self): method _compute_used_globals (line 348) | def _compute_used_globals(cls, func, table, co_consts, co_names): method get_used_globals (line 376) | def get_used_globals(self): function _fix_LOAD_GLOBAL_arg (line 385) | def _fix_LOAD_GLOBAL_arg(arg): class ByteCodePy311 (line 394) | class ByteCodePy311(_ByteCode): method __init__ (line 396) | def __init__(self, func_id): method fixup_eh (line 402) | def fixup_eh(ent): method find_exception_entry (line 412) | def find_exception_entry(self, offset): class ByteCodePy312 (line 425) | class ByteCodePy312(ByteCodePy311): method __init__ (line 427) | def __init__(self, func_id): method ordered_offsets (line 454) | def ordered_offsets(self): method remove_build_list_swap_pattern (line 460) | def remove_build_list_swap_pattern(self, entries): class FunctionIdentity (line 620) | class FunctionIdentity(serialize.ReduceMixin): method from_function (line 631) | def from_function(cls, pyfunc): method derive (line 672) | def derive(self): method _reduce_states (line 677) | def _reduce_states(self): method _rebuild (line 684) | def _rebuild(cls, pyfunc): FILE: numba/core/byteflow.py class CALL_INTRINSIC_1_Operand (line 31) | class CALL_INTRINSIC_1_Operand(Enum): class BlockKind (line 43) | class BlockKind(object): method __init__ (line 52) | def __init__(self, value): method __hash__ (line 56) | def __hash__(self): method __lt__ (line 59) | def __lt__(self, other): method __eq__ (line 65) | def __eq__(self, other): method __repr__ (line 71) | def __repr__(self): class Flow (line 75) | class Flow(object): method __init__ (line 80) | def __init__(self, bytecode): method run (line 86) | def run(self): method _run_handle_exception (line 145) | def _run_handle_exception(self, runner, state): method _run_handle_exception (line 173) | def _run_handle_exception(self, runner, state): method _build_cfg (line 197) | def _build_cfg(self, all_states): method _prune_phis (line 209) | def _prune_phis(self, runner): method _is_implicit_new_block (line 286) | def _is_implicit_new_block(self, state): method _guard_with_as (line 297) | def _guard_with_as(self, state): method _guard_with_as (line 301) | def _guard_with_as(self, state): function _is_null_temp_reg (line 317) | def _is_null_temp_reg(reg): class TraceRunner (line 321) | class TraceRunner(object): method __init__ (line 324) | def __init__(self, debug_filename): method get_debug_loc (line 329) | def get_debug_loc(self, lineno): method dispatch (line 332) | def dispatch(self, state): method _adjust_except_stack (line 359) | def _adjust_except_stack(self, state): method op_NOP (line 379) | def op_NOP(self, state, inst): method op_RESUME (line 390) | def op_RESUME(self, state, inst): method op_CACHE (line 393) | def op_CACHE(self, state, inst): method op_PRECALL (line 396) | def op_PRECALL(self, state, inst): method op_PUSH_NULL (line 399) | def op_PUSH_NULL(self, state, inst): method op_RETURN_GENERATOR (line 403) | def op_RETURN_GENERATOR(self, state, inst): method op_FORMAT_SIMPLE (line 417) | def op_FORMAT_SIMPLE(self, state, inst): method op_FORMAT_VALUE (line 428) | def op_FORMAT_VALUE(self, state, inst): method op_BUILD_STRING (line 446) | def op_BUILD_STRING(self, state, inst): method op_POP_TOP (line 463) | def op_POP_TOP(self, state, inst): method op_TO_BOOL (line 475) | def op_TO_BOOL(self, state, inst): method op_LOAD_GLOBAL (line 486) | def op_LOAD_GLOBAL(self, state, inst): method op_LOAD_GLOBAL (line 496) | def op_LOAD_GLOBAL(self, state, inst): method op_LOAD_GLOBAL (line 505) | def op_LOAD_GLOBAL(self, state, inst): method op_COPY_FREE_VARS (line 512) | def op_COPY_FREE_VARS(self, state, inst): method op_MAKE_CELL (line 515) | def op_MAKE_CELL(self, state, inst): method op_LOAD_DEREF (line 518) | def op_LOAD_DEREF(self, state, inst): method op_LOAD_CONST (line 523) | def op_LOAD_CONST(self, state, inst): method op_LOAD_SMALL_INT (line 531) | def op_LOAD_SMALL_INT(self, state, inst): method op_LOAD_ATTR (line 541) | def op_LOAD_ATTR(self, state, inst): method op_LOAD_FAST (line 558) | def op_LOAD_FAST(self, state, inst): method op_LOAD_FAST_LOAD_FAST (line 587) | def op_LOAD_FAST_LOAD_FAST(self, state, inst): method op_STORE_FAST_LOAD_FAST (line 599) | def op_STORE_FAST_LOAD_FAST(self, state, inst): method op_STORE_FAST_STORE_FAST (line 609) | def op_STORE_FAST_STORE_FAST(self, state, inst): method op_DELETE_FAST (line 636) | def op_DELETE_FAST(self, state, inst): method op_DELETE_ATTR (line 639) | def op_DELETE_ATTR(self, state, inst): method op_STORE_ATTR (line 643) | def op_STORE_ATTR(self, state, inst): method op_STORE_DEREF (line 648) | def op_STORE_DEREF(self, state, inst): method op_STORE_FAST (line 652) | def op_STORE_FAST(self, state, inst): method op_SLICE_1 (line 656) | def op_SLICE_1(self, state, inst): method op_SLICE_2 (line 677) | def op_SLICE_2(self, state, inst): method op_SLICE_3 (line 698) | def op_SLICE_3(self, state, inst): method op_STORE_SLICE_0 (line 719) | def op_STORE_SLICE_0(self, state, inst): method op_STORE_SLICE_1 (line 737) | def op_STORE_SLICE_1(self, state, inst): method op_STORE_SLICE_2 (line 757) | def op_STORE_SLICE_2(self, state, inst): method op_STORE_SLICE_3 (line 777) | def op_STORE_SLICE_3(self, state, inst): method op_DELETE_SLICE_0 (line 797) | def op_DELETE_SLICE_0(self, state, inst): method op_DELETE_SLICE_1 (line 810) | def op_DELETE_SLICE_1(self, state, inst): method op_DELETE_SLICE_2 (line 828) | def op_DELETE_SLICE_2(self, state, inst): method op_DELETE_SLICE_3 (line 846) | def op_DELETE_SLICE_3(self, state, inst): method op_BUILD_SLICE (line 860) | def op_BUILD_SLICE(self, state, inst): method op_BINARY_SLICE (line 888) | def op_BINARY_SLICE(self, state, inst): method op_STORE_SLICE (line 906) | def op_STORE_SLICE(self, state, inst): method _op_POP_JUMP_IF (line 923) | def _op_POP_JUMP_IF(self, state, inst): method _op_JUMP_IF_OR_POP (line 946) | def _op_JUMP_IF_OR_POP(self, state, inst): method op_POP_JUMP_FORWARD_IF_NONE (line 955) | def op_POP_JUMP_FORWARD_IF_NONE(self, state, inst): method op_POP_JUMP_FORWARD_IF_NOT_NONE (line 958) | def op_POP_JUMP_FORWARD_IF_NOT_NONE(self, state, inst): method op_POP_JUMP_BACKWARD_IF_NONE (line 961) | def op_POP_JUMP_BACKWARD_IF_NONE(self, state, inst): method op_POP_JUMP_BACKWARD_IF_NOT_NONE (line 964) | def op_POP_JUMP_BACKWARD_IF_NOT_NONE(self, state, inst): method op_POP_JUMP_FORWARD_IF_FALSE (line 967) | def op_POP_JUMP_FORWARD_IF_FALSE(self, state, inst): method op_POP_JUMP_FORWARD_IF_TRUE (line 970) | def op_POP_JUMP_FORWARD_IF_TRUE(self, state, inst): method op_POP_JUMP_BACKWARD_IF_FALSE (line 973) | def op_POP_JUMP_BACKWARD_IF_FALSE(self, state, inst): method op_POP_JUMP_BACKWARD_IF_TRUE (line 976) | def op_POP_JUMP_BACKWARD_IF_TRUE(self, state, inst): method op_JUMP_FORWARD (line 979) | def op_JUMP_FORWARD(self, state, inst): method op_JUMP_BACKWARD (line 983) | def op_JUMP_BACKWARD(self, state, inst): method op_JUMP_ABSOLUTE (line 989) | def op_JUMP_ABSOLUTE(self, state, inst): method op_BREAK_LOOP (line 993) | def op_BREAK_LOOP(self, state, inst): method op_RETURN_VALUE (line 1000) | def op_RETURN_VALUE(self, state, inst): method op_RETURN_CONST (line 1005) | def op_RETURN_CONST(self, state, inst): method op_YIELD_VALUE (line 1014) | def op_YIELD_VALUE(self, state, inst): method op_RAISE_VARARGS (line 1021) | def op_RAISE_VARARGS(self, state, inst): method op_RAISE_VARARGS (line 1043) | def op_RAISE_VARARGS(self, state, inst): method op_BEGIN_FINALLY (line 1064) | def op_BEGIN_FINALLY(self, state, inst): method op_END_FINALLY (line 1072) | def op_END_FINALLY(self, state, inst): method op_END_FOR (line 1077) | def op_END_FOR(self, state, inst): method op_END_FOR (line 1080) | def op_END_FOR(self, state, inst): method op_POP_FINALLY (line 1088) | def op_POP_FINALLY(self, state, inst): method op_CALL_FINALLY (line 1096) | def op_CALL_FINALLY(self, state, inst): method op_WITH_EXCEPT_START (line 1099) | def op_WITH_EXCEPT_START(self, state, inst): method op_WITH_CLEANUP_START (line 1102) | def op_WITH_CLEANUP_START(self, state, inst): method op_WITH_CLEANUP_FINISH (line 1106) | def op_WITH_CLEANUP_FINISH(self, state, inst): method op_SETUP_LOOP (line 1110) | def op_SETUP_LOOP(self, state, inst): method op_BEFORE_WITH (line 1122) | def op_BEFORE_WITH(self, state, inst): method op_SETUP_WITH (line 1155) | def op_SETUP_WITH(self, state, inst): method _setup_try (line 1174) | def _setup_try(self, kind, state, next, end): method op_PUSH_EXC_INFO (line 1194) | def op_PUSH_EXC_INFO(self, state, inst): method op_SETUP_FINALLY (line 1199) | def op_SETUP_FINALLY(self, state, inst): method op_POP_EXCEPT (line 1206) | def op_POP_EXCEPT(self, state, inst): method op_POP_EXCEPT (line 1210) | def op_POP_EXCEPT(self, state, inst): method op_POP_BLOCK (line 1225) | def op_POP_BLOCK(self, state, inst): method op_BINARY_SUBSCR (line 1237) | def op_BINARY_SUBSCR(self, state, inst): method op_STORE_SUBSCR (line 1246) | def op_STORE_SUBSCR(self, state, inst): method op_DELETE_SUBSCR (line 1252) | def op_DELETE_SUBSCR(self, state, inst): method op_CALL (line 1257) | def op_CALL(self, state, inst): method op_KW_NAMES (line 1281) | def op_KW_NAMES(self, state, inst): method op_CALL_FUNCTION (line 1284) | def op_CALL_FUNCTION(self, state, inst): method op_CALL_FUNCTION_KW (line 1293) | def op_CALL_FUNCTION_KW(self, state, inst): method op_CALL_KW (line 1304) | def op_CALL_KW(self, state, inst): method op_CALL_FUNCTION_EX (line 1324) | def op_CALL_FUNCTION_EX(self, state, inst): method op_CALL_FUNCTION_EX (line 1340) | def op_CALL_FUNCTION_EX(self, state, inst): method op_CALL_FUNCTION_EX (line 1356) | def op_CALL_FUNCTION_EX(self, state, inst): method _dup_topx (line 1379) | def _dup_topx(self, state, inst, count): method op_CALL_INTRINSIC_1 (line 1392) | def op_CALL_INTRINSIC_1(self, state, inst): method op_DUP_TOPX (line 1427) | def op_DUP_TOPX(self, state, inst): method op_DUP_TOP (line 1432) | def op_DUP_TOP(self, state, inst): method op_DUP_TOP_TWO (line 1435) | def op_DUP_TOP_TWO(self, state, inst): method op_COPY (line 1438) | def op_COPY(self, state, inst): method op_SWAP (line 1441) | def op_SWAP(self, state, inst): method op_ROT_TWO (line 1444) | def op_ROT_TWO(self, state, inst): method op_ROT_THREE (line 1450) | def op_ROT_THREE(self, state, inst): method op_ROT_FOUR (line 1458) | def op_ROT_FOUR(self, state, inst): method op_UNPACK_SEQUENCE (line 1468) | def op_UNPACK_SEQUENCE(self, state, inst): method op_BUILD_TUPLE (line 1477) | def op_BUILD_TUPLE(self, state, inst): method _build_tuple_unpack (line 1484) | def _build_tuple_unpack(self, state, inst): method op_BUILD_TUPLE_UNPACK_WITH_CALL (line 1499) | def op_BUILD_TUPLE_UNPACK_WITH_CALL(self, state, inst): method op_BUILD_TUPLE_UNPACK (line 1503) | def op_BUILD_TUPLE_UNPACK(self, state, inst): method op_LIST_TO_TUPLE (line 1506) | def op_LIST_TO_TUPLE(self, state, inst): method op_BUILD_CONST_KEY_MAP (line 1514) | def op_BUILD_CONST_KEY_MAP(self, state, inst): method op_BUILD_LIST (line 1522) | def op_BUILD_LIST(self, state, inst): method op_LIST_APPEND (line 1529) | def op_LIST_APPEND(self, state, inst): method op_LIST_EXTEND (line 1538) | def op_LIST_EXTEND(self, state, inst): method op_BUILD_MAP (line 1547) | def op_BUILD_MAP(self, state, inst): method op_MAP_ADD (line 1558) | def op_MAP_ADD(self, state, inst): method op_BUILD_SET (line 1569) | def op_BUILD_SET(self, state, inst): method op_SET_ADD (line 1577) | def op_SET_ADD(self, state, inst): method op_SET_UPDATE (line 1584) | def op_SET_UPDATE(self, state, inst): method op_DICT_UPDATE (line 1593) | def op_DICT_UPDATE(self, state, inst): method op_GET_ITER (line 1602) | def op_GET_ITER(self, state, inst): method op_FOR_ITER (line 1608) | def op_FOR_ITER(self, state, inst): method op_GEN_START (line 1628) | def op_GEN_START(self, state, inst): method op_BINARY_OP (line 1639) | def op_BINARY_OP(self, state, inst): method _unaryop (line 1655) | def _unaryop(self, state, inst): method _binaryop (line 1666) | def _binaryop(self, state, inst): method op_MAKE_FUNCTION (line 1709) | def op_MAKE_FUNCTION(self, state, inst, MAKE_CLOSURE=False): method op_SET_FUNCTION_ATTRIBUTE (line 1747) | def op_SET_FUNCTION_ATTRIBUTE(self, state, inst): method op_MAKE_CLOSURE (line 1772) | def op_MAKE_CLOSURE(self, state, inst): method op_LOAD_CLOSURE (line 1775) | def op_LOAD_CLOSURE(self, state, inst): method op_LOAD_ASSERTION_ERROR (line 1784) | def op_LOAD_ASSERTION_ERROR(self, state, inst): method op_CHECK_EXC_MATCH (line 1791) | def op_CHECK_EXC_MATCH(self, state, inst): method op_JUMP_IF_NOT_EXC_MATCH (line 1798) | def op_JUMP_IF_NOT_EXC_MATCH(self, state, inst): method op_RERAISE (line 1809) | def op_RERAISE(self, state, inst): method op_RERAISE (line 1822) | def op_RERAISE(self, state, inst): method op_LOAD_METHOD (line 1837) | def op_LOAD_METHOD(self, state, inst): method op_LOAD_METHOD (line 1845) | def op_LOAD_METHOD(self, state, inst): method op_CALL_METHOD (line 1850) | def op_CALL_METHOD(self, state, inst): method op_LOAD_SPECIAL (line 1855) | def op_LOAD_SPECIAL(self, state, inst): method op_LOAD_COMMON_CONSTANT (line 1974) | def op_LOAD_COMMON_CONSTANT(self, state, inst): class _State (line 1990) | class _State(object): method __init__ (line 1993) | def __init__(self, bytecode, pc, nstack, blockstack, nullvals=()): method __repr__ (line 2028) | def __repr__(self): method get_identity (line 2033) | def get_identity(self): method __hash__ (line 2036) | def __hash__(self): method __lt__ (line 2039) | def __lt__(self, other): method __eq__ (line 2042) | def __eq__(self, other): method pc_initial (line 2046) | def pc_initial(self): method instructions (line 2053) | def instructions(self): method outgoing_edges (line 2060) | def outgoing_edges(self): method outgoing_phis (line 2070) | def outgoing_phis(self): method blockstack_initial (line 2079) | def blockstack_initial(self): method stack_depth (line 2085) | def stack_depth(self): method find_initial_try_block (line 2094) | def find_initial_try_block(self): method has_terminated (line 2101) | def has_terminated(self): method get_inst (line 2104) | def get_inst(self): method advance_pc (line 2107) | def advance_pc(self): method make_temp (line 2111) | def make_temp(self, prefix=""): method append (line 2129) | def append(self, inst, **kwargs): method get_tos (line 2134) | def get_tos(self): method peek (line 2137) | def peek(self, k): method push (line 2142) | def push(self, item): method pop (line 2146) | def pop(self): method swap (line 2150) | def swap(self, idx): method push_block (line 2155) | def push_block(self, synblk): method reset_stack (line 2161) | def reset_stack(self, depth): method make_block (line 2168) | def make_block(self, kind, end, reset_stack=True, handler=None): method pop_block (line 2183) | def pop_block(self): method pop_block_and_above (line 2190) | def pop_block_and_above(self, blk): method get_top_block (line 2198) | def get_top_block(self, kind): method get_top_block_either (line 2206) | def get_top_block_either(self, *kinds): method has_active_try (line 2214) | def has_active_try(self): method get_varname (line 2219) | def get_varname(self, inst): method get_varname_by_arg (line 2224) | def get_varname_by_arg(self, oparg: int): method terminate (line 2229) | def terminate(self): method fork (line 2234) | def fork(self, pc, npop=0, npush=0, extra_block=None): method split_new_block (line 2271) | def split_new_block(self): method get_outgoing_states (line 2276) | def get_outgoing_states(self): method get_outgoing_edgepushed (line 2293) | def get_outgoing_edgepushed(self): class StatePy311 (line 2306) | class StatePy311(_State): method __init__ (line 2307) | def __init__(self, *args, **kwargs): method pop_kw_names (line 2311) | def pop_kw_names(self): method set_kw_names (line 2316) | def set_kw_names(self, val): method is_in_exception (line 2320) | def is_in_exception(self): method get_exception (line 2324) | def get_exception(self): method in_with (line 2328) | def in_with(self): method make_null (line 2333) | def make_null(self): class StatePy313 (line 2337) | class StatePy313(StatePy311): method __init__ (line 2338) | def __init__(self, *args, **kwargs): method set_function_attribute (line 2342) | def set_function_attribute(self, make_func_res, **kwargs): method get_function_attributes (line 2345) | def get_function_attributes(self, make_func_res): class AdaptDFA (line 2362) | class AdaptDFA(object): method __init__ (line 2365) | def __init__(self, flow): method infos (line 2369) | def infos(self): function adapt_state_infos (line 2380) | def adapt_state_infos(state): function _flatten_inst_regs (line 2402) | def _flatten_inst_regs(iterable): class AdaptCFA (line 2413) | class AdaptCFA(object): method __init__ (line 2416) | def __init__(self, flow): method graph (line 2436) | def graph(self): method backbone (line 2440) | def backbone(self): method blocks (line 2444) | def blocks(self): method iterliveblocks (line 2447) | def iterliveblocks(self): method dump (line 2451) | def dump(self): class AdaptCFBlock (line 2455) | class AdaptCFBlock(object): method __init__ (line 2456) | def __init__(self, blockinfo, offset): FILE: numba/core/caching.py function _cache_log (line 34) | def _cache_log(msg, *args): class _Cache (line 40) | class _Cache(metaclass=ABCMeta): method cache_path (line 44) | def cache_path(self): method load_overload (line 50) | def load_overload(self, sig, target_context): method save_overload (line 58) | def save_overload(self, sig, data): method enable (line 64) | def enable(self): method disable (line 70) | def disable(self): method flush (line 76) | def flush(self): class NullCache (line 82) | class NullCache(_Cache): method cache_path (line 84) | def cache_path(self): method load_overload (line 87) | def load_overload(self, sig, target_context): method save_overload (line 90) | def save_overload(self, sig, cres): method enable (line 93) | def enable(self): method disable (line 96) | def disable(self): method flush (line 99) | def flush(self): class _CacheLocator (line 103) | class _CacheLocator(metaclass=ABCMeta): method ensure_cache_path (line 108) | def ensure_cache_path(self): method get_cache_path (line 115) | def get_cache_path(self): method get_source_stamp (line 121) | def get_source_stamp(self): method get_disambiguator (line 128) | def get_disambiguator(self): method from_function (line 135) | def from_function(cls, py_func, py_file): method get_suitable_cache_subpath (line 143) | def get_suitable_cache_subpath(cls, py_file): class _SourceFileBackedLocatorMixin (line 160) | class _SourceFileBackedLocatorMixin(object): method get_source_stamp (line 166) | def get_source_stamp(self): method get_disambiguator (line 175) | def get_disambiguator(self): method from_function (line 179) | def from_function(cls, py_func, py_file): class UserProvidedCacheLocator (line 192) | class UserProvidedCacheLocator(_SourceFileBackedLocatorMixin, _CacheLoca... method __init__ (line 197) | def __init__(self, py_func, py_file): method get_cache_path (line 203) | def get_cache_path(self): method from_function (line 207) | def from_function(cls, py_func, py_file): class InTreeCacheLocator (line 214) | class InTreeCacheLocator(_SourceFileBackedLocatorMixin, _CacheLocator): method __init__ (line 220) | def __init__(self, py_func, py_file): method get_cache_path (line 225) | def get_cache_path(self): class InTreeCacheLocatorFsAgnostic (line 229) | class InTreeCacheLocatorFsAgnostic(InTreeCacheLocator): method get_source_stamp (line 236) | def get_source_stamp(self): class UserWideCacheLocator (line 241) | class UserWideCacheLocator(_SourceFileBackedLocatorMixin, _CacheLocator): method __init__ (line 247) | def __init__(self, py_func, py_file): method get_cache_path (line 255) | def get_cache_path(self): method from_function (line 259) | def from_function(cls, py_func, py_file): class IPythonCacheLocator (line 273) | class IPythonCacheLocator(_CacheLocator): method __init__ (line 278) | def __init__(self, py_func, py_file): method get_cache_path (line 288) | def get_cache_path(self): method get_source_stamp (line 300) | def get_source_stamp(self): method get_disambiguator (line 303) | def get_disambiguator(self): method from_function (line 313) | def from_function(cls, py_func, py_file): class ZipCacheLocator (line 328) | class ZipCacheLocator(_SourceFileBackedLocatorMixin, _CacheLocator): method __init__ (line 333) | def __init__(self, py_func, py_file): method _split_zip_path (line 346) | def _split_zip_path(py_file): method get_cache_path (line 355) | def get_cache_path(self): method get_source_stamp (line 358) | def get_source_stamp(self): method from_function (line 363) | def from_function(cls, py_func, py_file): class CacheImpl (line 368) | class CacheImpl(metaclass=ABCMeta): method __init__ (line 384) | def __init__(self, py_func): method get_filename_base (line 434) | def get_filename_base(self, fullname, abiflags): method filename_base (line 443) | def filename_base(self): method locator (line 447) | def locator(self): method reduce (line 451) | def reduce(self, data): method rebuild (line 456) | def rebuild(self, target_context, reduced_data): method check_cachable (line 461) | def check_cachable(self, data): class CompileResultCacheImpl (line 466) | class CompileResultCacheImpl(CacheImpl): method reduce (line 471) | def reduce(self, cres): method rebuild (line 477) | def rebuild(self, target_context, payload): method check_cachable (line 483) | def check_cachable(self, cres): class CodeLibraryCacheImpl (line 502) | class CodeLibraryCacheImpl(CacheImpl): method reduce (line 509) | def reduce(self, codelib): method rebuild (line 515) | def rebuild(self, target_context, payload): method check_cachable (line 521) | def check_cachable(self, codelib): method get_filename_base (line 527) | def get_filename_base(self, fullname, abiflags): class IndexDataCacheFile (line 533) | class IndexDataCacheFile(object): method __init__ (line 537) | def __init__(self, cache_path, filename_base, source_stamp): method flush (line 545) | def flush(self): method save (line 548) | def save(self, key, data): method load (line 567) | def load(self, key): method _load_index (line 581) | def _load_index(self): method _save_index (line 606) | def _save_index(self, overloads): method _load_data (line 614) | def _load_data(self, name): method _save_data (line 622) | def _save_data(self, name, data): method _data_name (line 629) | def _data_name(self, number): method _data_path (line 632) | def _data_path(self, name): method _dump (line 635) | def _dump(self, obj): method _open_for_write (line 639) | def _open_for_write(self, filepath): class Cache (line 659) | class Cache(_Cache): method __init__ (line 684) | def __init__(self, py_func): method __repr__ (line 697) | def __repr__(self): method cache_path (line 701) | def cache_path(self): method enable (line 704) | def enable(self): method disable (line 707) | def disable(self): method flush (line 710) | def flush(self): method load_overload (line 713) | def load_overload(self, sig, target_context): method _load_overload (line 724) | def _load_overload(self, sig, target_context): method save_overload (line 733) | def save_overload(self, sig, data): method _save_overload (line 740) | def _save_overload(self, sig, data): method _guard_against_spurious_io_errors (line 751) | def _guard_against_spurious_io_errors(self): method _index_key (line 764) | def _index_key(self, sig, codegen): class FunctionCache (line 785) | class FunctionCache(Cache): function make_library_cache (line 796) | def make_library_cache(prefix): FILE: numba/core/callconv.py function _const_int (line 43) | def _const_int(code): class BaseCallConv (line 58) | class BaseCallConv(object): method __init__ (line 60) | def __init__(self, context): method return_optional_value (line 63) | def return_optional_value(self, builder, retty, valty, value): method return_native_none (line 92) | def return_native_none(self, builder): method return_exc (line 95) | def return_exc(self, builder): method return_stop_iteration (line 98) | def return_stop_iteration(self, builder): method get_return_type (line 101) | def get_return_type(self, ty): method init_call_helper (line 108) | def init_call_helper(self, builder): method _get_call_helper (line 116) | def _get_call_helper(self, builder): method unpack_exception (line 119) | def unpack_exception(self, builder, pyapi, status): method raise_error (line 122) | def raise_error(self, builder, pyapi, status): method decode_arguments (line 152) | def decode_arguments(self, builder, argtypes, func): method _get_arg_packer (line 161) | def _get_arg_packer(self, argtypes): class MinimalCallConv (line 168) | class MinimalCallConv(BaseCallConv): method _make_call_helper (line 182) | def _make_call_helper(self, builder): method return_value (line 185) | def return_value(self, builder, retval): method return_user_exc (line 192) | def return_user_exc(self, builder, exc, exc_args=None, loc=None, method return_status_propagate (line 218) | def return_status_propagate(self, builder, status): method _return_errcode_raw (line 221) | def _return_errcode_raw(self, builder, code): method _get_return_status (line 226) | def _get_return_status(self, builder, code): method get_function_type (line 248) | def get_function_type(self, restype, argtypes): method decorate_function (line 258) | def decorate_function(self, fn, args, fe_argtypes, noalias=False): method get_arguments (line 268) | def get_arguments(self, func): method call_function (line 274) | def call_function(self, builder, callee, resty, argtys, args): class _MinimalCallHelper (line 293) | class _MinimalCallHelper(object): method __init__ (line 300) | def __init__(self): method _add_exception (line 303) | def _add_exception(self, exc, exc_args, locinfo): method get_exception (line 321) | def get_exception(self, exc_id): class CPUCallConv (line 353) | class CPUCallConv(BaseCallConv): method _make_call_helper (line 370) | def _make_call_helper(self, builder): method return_value (line 373) | def return_value(self, builder, retval): method build_excinfo_struct (line 380) | def build_excinfo_struct(self, exc, exc_args, loc, func_name): method set_static_user_exc (line 397) | def set_static_user_exc(self, builder, exc, exc_args=None, loc=None, method return_user_exc (line 454) | def return_user_exc(self, builder, exc, exc_args=None, loc=None, method unpack_dynamic_exception (line 468) | def unpack_dynamic_exception(self, builder, pyapi, status): method unpack_exception (line 520) | def unpack_exception(self, builder, pyapi, status): method emit_unwrap_dynamic_exception_fn (line 544) | def emit_unwrap_dynamic_exception_fn(self, module, st_type, nb_types): method emit_wrap_args_insts (line 610) | def emit_wrap_args_insts(self, builder, pyapi, struct_type, exc_args): method set_dynamic_user_exc (line 629) | def set_dynamic_user_exc(self, builder, exc, exc_args, nb_types, loc=N... method return_dynamic_user_exc (line 722) | def return_dynamic_user_exc(self, builder, exc, exc_args, nb_types, method _get_try_state (line 731) | def _get_try_state(self, builder): method check_try_status (line 741) | def check_try_status(self, builder): method set_try_status (line 752) | def set_try_status(self, builder): method unset_try_status (line 759) | def unset_try_status(self, builder): method return_status_propagate (line 772) | def return_status_propagate(self, builder, status): method _return_errcode_raw (line 779) | def _return_errcode_raw(self, builder, code): method _get_return_status (line 782) | def _get_return_status(self, builder, code, excinfoptr): method get_function_type (line 806) | def get_function_type(self, restype, argtypes): method decorate_function (line 818) | def decorate_function(self, fn, args, fe_argtypes, noalias=False): method get_arguments (line 861) | def get_arguments(self, func): method _get_return_argument (line 867) | def _get_return_argument(self, func): method _get_excinfo_argument (line 870) | def _get_excinfo_argument(self, func): method call_function (line 873) | def call_function(self, builder, callee, resty, argtys, args, class ErrorModel (line 917) | class ErrorModel(object): method __init__ (line 919) | def __init__(self, call_conv): method fp_zero_division (line 922) | def fp_zero_division(self, builder, exc_args=None, loc=None): class PythonErrorModel (line 931) | class PythonErrorModel(ErrorModel): class NumpyErrorModel (line 938) | class NumpyErrorModel(ErrorModel): function create_error_model (line 959) | def create_error_model(model_name, context): FILE: numba/core/callwrapper.py class _ArgManager (line 7) | class _ArgManager(object): method __init__ (line 11) | def __init__(self, context, builder, api, env_manager, endblk, nargs): method add_arg (line 20) | def add_arg(self, obj, ty): method emit_cleanup (line 66) | def emit_cleanup(self): class _GilManager (line 74) | class _GilManager(object): method __init__ (line 80) | def __init__(self, builder, api, argman): method emit_cleanup (line 86) | def emit_cleanup(self): class PyCallWrapper (line 91) | class PyCallWrapper(object): method __init__ (line 92) | def __init__(self, context, module, func, fndesc, env, call_helper, method build (line 101) | def build(self): method build_wrapper (line 126) | def build_wrapper(self, api, builder, closure, args, kws): method get_env (line 197) | def get_env(self, api, builder): method _simplified_return_type (line 212) | def _simplified_return_type(self): method debug_print (line 224) | def debug_print(self, builder, msg): FILE: numba/core/ccallback.py class _CFuncCompiler (line 17) | class _CFuncCompiler(_FunctionCompiler): method _customize_flags (line 19) | def _customize_flags(self, flags): class CFunc (line 33) | class CFunc(object): method __init__ (line 39) | def __init__(self, pyfunc, sig, locals, options, method enable_caching (line 59) | def enable_caching(self): method compile (line 63) | def compile(self): method _compile_uncached (line 78) | def _compile_uncached(self): method native_name (line 85) | def native_name(self): method address (line 94) | def address(self): method cffi (line 101) | def cffi(self): method ctypes (line 112) | def ctypes(self): method inspect_llvm (line 121) | def inspect_llvm(self): method cache_hits (line 128) | def cache_hits(self): method __repr__ (line 131) | def __repr__(self): method __call__ (line 134) | def __call__(self, *args, **kwargs): FILE: numba/core/cgutils.py function as_bool_bit (line 28) | def as_bool_bit(builder, value): function make_anonymous_struct (line 32) | def make_anonymous_struct(builder, values, struct_type=None): function make_bytearray (line 44) | def make_bytearray(buf): function create_struct_proxy (line 56) | def create_struct_proxy(fe_type, kind='value'): function copy_struct (line 75) | def copy_struct(dst, src, repl=None): class _StructProxy (line 92) | class _StructProxy(object): method __init__ (line 101) | def __init__(self, context, builder, value=None, ref=None): method _make_refs (line 126) | def _make_refs(self, ref): method _get_be_type (line 135) | def _get_be_type(self, datamodel): method _cast_member_to_value (line 138) | def _cast_member_to_value(self, index, val): method _cast_member_from_value (line 141) | def _cast_member_from_value(self, index, val): method _get_ptr_by_index (line 144) | def _get_ptr_by_index(self, index): method _get_ptr_by_name (line 147) | def _get_ptr_by_name(self, attrname): method __getattr__ (line 151) | def __getattr__(self, field): method __setattr__ (line 160) | def __setattr__(self, field, value): method __getitem__ (line 168) | def __getitem__(self, index): method __setitem__ (line 175) | def __setitem__(self, index, value): method __len__ (line 198) | def __len__(self): method _getpointer (line 204) | def _getpointer(self): method _getvalue (line 210) | def _getvalue(self): method _setvalue (line 216) | def _setvalue(self, value): class ValueStructProxy (line 225) | class ValueStructProxy(_StructProxy): method _get_be_type (line 230) | def _get_be_type(self, datamodel): method _cast_member_to_value (line 233) | def _cast_member_to_value(self, index, val): method _cast_member_from_value (line 236) | def _cast_member_from_value(self, index, val): class DataStructProxy (line 240) | class DataStructProxy(_StructProxy): method _get_be_type (line 244) | def _get_be_type(self, datamodel): method _cast_member_to_value (line 247) | def _cast_member_to_value(self, index, val): method _cast_member_from_value (line 251) | def _cast_member_from_value(self, index, val): class Structure (line 256) | class Structure(object): method __init__ (line 263) | def __init__(self, context, builder, value=None, ref=None, cast_ref=Fa... method _get_ptr_by_index (line 294) | def _get_ptr_by_index(self, index): method _get_ptr_by_name (line 298) | def _get_ptr_by_name(self, attrname): method __getattr__ (line 301) | def __getattr__(self, field): method __setattr__ (line 310) | def __setattr__(self, field, value): method __getitem__ (line 318) | def __getitem__(self, index): method __setitem__ (line 325) | def __setitem__(self, index, value): method __len__ (line 337) | def __len__(self): method _getpointer (line 343) | def _getpointer(self): method _getvalue (line 349) | def _getvalue(self): method _setvalue (line 355) | def _setvalue(self, value): function alloca_once (line 364) | def alloca_once(builder, ty, size=None, name='', zfill=False): function sizeof (line 389) | def sizeof(builder, ptr_type): function alloca_once_value (line 397) | def alloca_once_value(builder, value, name='', zfill=False): function insert_pure_function (line 408) | def insert_pure_function(module, fnty, name): function get_or_insert_function (line 419) | def get_or_insert_function(module, fnty, name): function get_or_insert_named_metadata (line 430) | def get_or_insert_named_metadata(module, name): function add_global_variable (line 437) | def add_global_variable(module, ty, name, addrspace=0): function terminate (line 442) | def terminate(builder, bbend): function get_null_value (line 448) | def get_null_value(ltype): function is_null (line 452) | def is_null(builder, val): function is_not_null (line 457) | def is_not_null(builder, val): function if_unlikely (line 462) | def if_unlikely(builder, pred): function if_likely (line 466) | def if_likely(builder, pred): function ifnot (line 470) | def ifnot(builder, pred): function increment_index (line 474) | def increment_index(builder, val): function for_range (line 489) | def for_range(builder, count, start=None, intp=None): function for_range_slice (line 533) | def for_range_slice(builder, start, stop, step, intp=None, inc=True): function for_range_slice_generic (line 591) | def for_range_slice_generic(builder, start, stop, step): function loop_nest (line 621) | def loop_nest(builder, shape, intp, order='C'): function _loop_nest (line 649) | def _loop_nest(builder, shape, intp): function pack_array (line 658) | def pack_array(builder, values, ty=None): function pack_struct (line 673) | def pack_struct(builder, values): function unpack_tuple (line 684) | def unpack_tuple(builder, tup, count=None): function get_item_pointer (line 696) | def get_item_pointer(context, builder, aryty, ary, inds, wraparound=False, function do_boundscheck (line 708) | def do_boundscheck(context, builder, ind, dimlen, axis=None): function get_item_pointer2 (line 738) | def get_item_pointer2(context, builder, data, shape, strides, layout, inds, function _scalar_pred_against_zero (line 796) | def _scalar_pred_against_zero(builder, value, fpred, icond): function is_scalar_zero (line 807) | def is_scalar_zero(builder, value): function is_not_scalar_zero (line 815) | def is_not_scalar_zero(builder, value): function is_scalar_zero_or_nan (line 824) | def is_scalar_zero_or_nan(builder, value): function is_scalar_neg (line 837) | def is_scalar_neg(builder, value): function early_exit_if (line 846) | def early_exit_if(builder, stack: ExitStack, cond): function early_exit_if_null (line 873) | def early_exit_if_null(builder, stack, obj): function guard_null (line 881) | def guard_null(context, builder, value, exc_tuple): function guard_memory_error (line 892) | def guard_memory_error(context, builder, pointer, msg=None): function if_zero (line 903) | def if_zero(builder, value, likely=False): function is_pointer (line 914) | def is_pointer(ltyp): function get_record_member (line 921) | def get_record_member(builder, record, offset, typ): function is_neg_int (line 927) | def is_neg_int(builder, val): function gep_inbounds (line 931) | def gep_inbounds(builder, ptr, *inds, **kws): function gep (line 938) | def gep(builder, ptr, *inds, **kws): function pointer_add (line 957) | def pointer_add(builder, ptr, offset, return_type=None): function memset (line 972) | def memset(builder, ptr, size, value): function memset_padding (line 983) | def memset_padding(builder, ptr): function global_constant (line 995) | def global_constant(builder_or_module, name, value, linkage='internal'): function divmod_by_constant (line 1010) | def divmod_by_constant(builder, val, divisor): function cbranch_or_continue (line 1041) | def cbranch_or_continue(builder, cond, bbtrue): function memcpy (line 1054) | def memcpy(builder, dst, src, count): function _raw_memcpy (line 1075) | def _raw_memcpy(builder, func_name, dst, src, count, itemsize, align): function raw_memcpy (line 1089) | def raw_memcpy(builder, dst, src, count, itemsize, align=1): function raw_memmove (line 1097) | def raw_memmove(builder, dst, src, count, itemsize, align=1): function muladd_with_overflow (line 1106) | def muladd_with_overflow(builder, a, b, c): function printf (line 1120) | def printf(builder, format, *args): function snprintf (line 1146) | def snprintf(builder, buffer, bufsz, format, *args): function snprintf_stackbuffer (line 1172) | def snprintf_stackbuffer(builder, bufsz, format, *args): function normalize_ir_text (line 1186) | def normalize_ir_text(text): function hexdump (line 1195) | def hexdump(builder, ptr, nbytes): function is_nonelike (line 1218) | def is_nonelike(ty): function is_empty_tuple (line 1227) | def is_empty_tuple(ty): function create_constant_array (line 1235) | def create_constant_array(ty, val): FILE: numba/core/codegen.py function _is_x86 (line 27) | def _is_x86(triple): function _parse_refprune_flags (line 32) | def _parse_refprune_flags(): function dump (line 56) | def dump(header, body, lang): class _CFG (line 83) | class _CFG(object): method __init__ (line 91) | def __init__(self, cres, name, py_func, **kwargs): method pretty_printer (line 99) | def pretty_printer(self, filename=None, view=None, render_format=None, method display (line 497) | def display(self, filename=None, format='pdf', view=False): method _repr_svg_ (line 511) | def _repr_svg_(self): method __repr__ (line 514) | def __repr__(self): class CodeLibrary (line 518) | class CodeLibrary(metaclass=ABCMeta): method __init__ (line 529) | def __init__(self, codegen: "CPUCodegen", name: str): method has_dynamic_globals (line 540) | def has_dynamic_globals(self): method recorded_timings (line 545) | def recorded_timings(self): method codegen (line 549) | def codegen(self): method name (line 556) | def name(self): method __repr__ (line 559) | def __repr__(self): method _raise_if_finalized (line 562) | def _raise_if_finalized(self): method _ensure_finalized (line 567) | def _ensure_finalized(self): method create_ir_module (line 571) | def create_ir_module(self, name): method add_linking_library (line 580) | def add_linking_library(self, library): method add_ir_module (line 587) | def add_ir_module(self, ir_module): method finalize (line 593) | def finalize(self): method get_function (line 601) | def get_function(self, name): method get_llvm_str (line 607) | def get_llvm_str(self): method get_asm_str (line 613) | def get_asm_str(self): method enable_object_caching (line 622) | def enable_object_caching(self): method _get_compiled_object (line 627) | def _get_compiled_object(self): method _set_compiled_object (line 634) | def _set_compiled_object(self, value): class CPUCodeLibrary (line 643) | class CPUCodeLibrary(CodeLibrary): method __init__ (line 645) | def __init__(self, codegen, name): method _optimize_functions (line 653) | def _optimize_functions(self, ll_module): method _optimize_final_module (line 667) | def _optimize_final_module(self): method _get_module_for_linking (line 693) | def _get_module_for_linking(self): method add_linking_library (line 728) | def add_linking_library(self, library): method add_ir_module (line 732) | def add_ir_module(self, ir_module): method add_llvm_module (line 741) | def add_llvm_module(self, ll_module): method finalize (line 748) | def finalize(self): method _finalize_dynamic_globals (line 778) | def _finalize_dynamic_globals(self): method _verify_declare_only_symbols (line 784) | def _verify_declare_only_symbols(self): method _finalize_final_module (line 792) | def _finalize_final_module(self): method get_defined_functions (line 818) | def get_defined_functions(self): method get_function (line 828) | def get_function(self, name): method _sentry_cache_disable_inspection (line 831) | def _sentry_cache_disable_inspection(self): method get_llvm_str (line 836) | def get_llvm_str(self): method get_asm_str (line 840) | def get_asm_str(self): method get_function_cfg (line 844) | def get_function_cfg(self, name, py_func=None, **kwargs): method get_disasm_cfg (line 851) | def get_disasm_cfg(self, mangled_name): method _dump_elf (line 865) | def _dump_elf(cls, buf): method _object_compiled_hook (line 892) | def _object_compiled_hook(cls, ll_module, buf): method _object_getbuffer_hook (line 905) | def _object_getbuffer_hook(cls, ll_module): method serialize_using_bitcode (line 918) | def serialize_using_bitcode(self): method serialize_using_object_code (line 925) | def serialize_using_object_code(self): method _unserialize (line 937) | def _unserialize(cls, codegen, state): class AOTCodeLibrary (line 959) | class AOTCodeLibrary(CPUCodeLibrary): method emit_native_object (line 961) | def emit_native_object(self): method emit_bitcode (line 971) | def emit_bitcode(self): method _finalize_specific (line 980) | def _finalize_specific(self): class JITCodeLibrary (line 984) | class JITCodeLibrary(CPUCodeLibrary): method get_pointer_to_function (line 986) | def get_pointer_to_function(self, name): method _finalize_specific (line 1007) | def _finalize_specific(self): class RuntimeLinker (line 1013) | class RuntimeLinker(object): method __init__ (line 1019) | def __init__(self): method scan_unresolved_symbols (line 1024) | def scan_unresolved_symbols(self, module, engine): method scan_defined_symbols (line 1043) | def scan_defined_symbols(self, module): method resolve (line 1051) | def resolve(self, engine): function _proxy (line 1068) | def _proxy(old): class JitEngine (line 1075) | class JitEngine(object): method __init__ (line 1080) | def __init__(self, ee): method is_symbol_defined (line 1093) | def is_symbol_defined(self, name): method _load_defined_symbols (line 1098) | def _load_defined_symbols(self, mod): method add_module (line 1105) | def add_module(self, module): method add_global_mapping (line 1112) | def add_global_mapping(self, gv, addr): class Codegen (line 1130) | class Codegen(metaclass=ABCMeta): method _create_empty_module (line 1142) | def _create_empty_module(self, name): method _add_module (line 1148) | def _add_module(self, module): method target_data (line 1155) | def target_data(self): method create_library (line 1161) | def create_library(self, name, **kwargs): method unserialize_library (line 1168) | def unserialize_library(self, serialized): class CPUCodegen (line 1172) | class CPUCodegen(Codegen): method __init__ (line 1174) | def __init__(self, module_name): method _init (line 1184) | def _init(self, llvm_module): method _create_empty_module (line 1224) | def _create_empty_module(self, name): method _module_pass_manager (line 1231) | def _module_pass_manager(self, **kwargs): method _function_pass_manager (line 1249) | def _function_pass_manager(self, **kwargs): method _pass_builder (line 1256) | def _pass_builder(self, **kwargs): method _check_llvm_bugs (line 1268) | def _check_llvm_bugs(self): method magic_tuple (line 1298) | def magic_tuple(self): method _scan_and_fix_unresolved_refs (line 1305) | def _scan_and_fix_unresolved_refs(self, module): method insert_unresolved_ref (line 1310) | def insert_unresolved_ref(self, builder, fnty, name): method _get_host_cpu_name (line 1322) | def _get_host_cpu_name(self): method _get_host_cpu_features (line 1327) | def _get_host_cpu_features(self): class AOTCPUCodegen (line 1333) | class AOTCPUCodegen(CPUCodegen): method __init__ (line 1341) | def __init__(self, module_name, cpu_name=None): method _customize_tm_options (line 1346) | def _customize_tm_options(self, options): method _customize_tm_features (line 1355) | def _customize_tm_features(self): method _add_module (line 1360) | def _add_module(self, module): class JITCPUCodegen (line 1364) | class JITCPUCodegen(CPUCodegen): method _customize_tm_options (line 1371) | def _customize_tm_options(self, options): method _customize_tm_features (line 1398) | def _customize_tm_features(self): method _add_module (line 1402) | def _add_module(self, module): method set_env (line 1410) | def set_env(self, env_name, env): function initialize_llvm (line 1420) | def initialize_llvm(): function get_host_cpu_features (line 1427) | def get_host_cpu_features(): FILE: numba/core/compiler.py class Flags (line 42) | class Flags(TargetConfig): class CompileResult (line 189) | class CompileResult(namedtuple("_CompileResult", CR_FIELDS)): method _reduce (line 196) | def _reduce(self): method _find_referenced_environments (line 212) | def _find_referenced_environments(self): method _rebuild (line 228) | def _rebuild(cls, target_context, libdata, fndesc, env, method codegen (line 262) | def codegen(self): method dump (line 265) | def dump(self, tab=''): function sanitize_compile_result_entries (line 279) | def sanitize_compile_result_entries(entries): function compile_result (line 295) | def compile_result(**entries): function run_frontend (line 300) | def run_frontend(func, inline_closures=False, emit_dels=False): class _CompileStatus (line 323) | class _CompileStatus(object): method __init__ (line 329) | def __init__(self, can_fallback): method __repr__ (line 333) | def __repr__(self): class _EarlyPipelineCompletion (line 340) | class _EarlyPipelineCompletion(Exception): method __init__ (line 345) | def __init__(self, result): class StateDict (line 349) | class StateDict(dict): method __getattr__ (line 355) | def __getattr__(self, attr): method __setattr__ (line 361) | def __setattr__(self, attr, value): function _make_subtarget (line 365) | def _make_subtarget(targetctx, flags): class CompilerBase (line 386) | class CompilerBase(object): method __init__ (line 391) | def __init__(self, typingctx, targetctx, library, args, return_type, f... method compile_extra (line 433) | def compile_extra(self, func): method compile_ir (line 441) | def compile_ir(self, func_ir, lifted=(), lifted_from=None): method define_pipelines (line 451) | def define_pipelines(self): method _compile_core (line 456) | def _compile_core(self): method _compile_bytecode (line 500) | def _compile_bytecode(self): method _compile_ir (line 507) | def _compile_ir(self): class Compiler (line 515) | class Compiler(CompilerBase): method define_pipelines (line 519) | def define_pipelines(self): class DefaultPassBuilder (line 528) | class DefaultPassBuilder(object): method define_nopython_pipeline (line 540) | def define_nopython_pipeline(state, name='nopython'): method define_nopython_lowering_pipeline (line 559) | def define_nopython_lowering_pipeline(state, name='nopython_lowering'): method define_parfor_gufunc_nopython_lowering_pipeline (line 579) | def define_parfor_gufunc_nopython_lowering_pipeline( method define_typed_pipeline (line 599) | def define_typed_pipeline(state, name="typed"): method define_parfor_gufunc_pipeline (line 623) | def define_parfor_gufunc_pipeline(state, name="parfor_gufunc_typed"): method define_untyped_pipeline (line 635) | def define_untyped_pipeline(state, name='untyped'): method define_objectmode_pipeline (line 683) | def define_objectmode_pipeline(state, name='object'): function compile_extra (line 713) | def compile_extra(typingctx, targetctx, func, args, return_type, flags, function compile_ir (line 742) | def compile_ir(typingctx, targetctx, func_ir, args, return_type, flags, function compile_internal (line 806) | def compile_internal(typingctx, targetctx, library, FILE: numba/core/compiler_lock.py class _CompilerLock (line 7) | class _CompilerLock(object): method __init__ (line 8) | def __init__(self): method acquire (line 11) | def acquire(self): method release (line 15) | def release(self): method __enter__ (line 19) | def __enter__(self): method __exit__ (line 22) | def __exit__(self, exc_val, exc_type, traceback): method is_locked (line 25) | def is_locked(self): method __call__ (line 31) | def __call__(self, func): method _is_owned (line 38) | def _is_owned(self): function require_global_compiler_lock (line 52) | def require_global_compiler_lock(): FILE: numba/core/compiler_machinery.py class SimpleTimer (line 18) | class SimpleTimer(object): method __enter__ (line 23) | def __enter__(self): method __exit__ (line 27) | def __exit__(self, *exc): class CompilerPass (line 31) | class CompilerPass(metaclass=ABCMeta): method __init__ (line 36) | def __init__(self, *args, **kwargs): method name (line 41) | def name(cls): method pass_id (line 48) | def pass_id(self): method pass_id (line 55) | def pass_id(self, val): method analysis (line 62) | def analysis(self): method analysis (line 69) | def analysis(self, val): method run_initialization (line 75) | def run_initialization(self, *args, **kwargs): method run_pass (line 83) | def run_pass(self, *args, **kwargs): method run_finalizer (line 90) | def run_finalizer(self, *args, **kwargs): method get_analysis_usage (line 97) | def get_analysis_usage(self, AU): method get_analysis (line 102) | def get_analysis(self, pass_name): class SSACompliantMixin (line 109) | class SSACompliantMixin(object): class FunctionPass (line 116) | class FunctionPass(CompilerPass): class AnalysisPass (line 122) | class AnalysisPass(CompilerPass): class LoweringPass (line 128) | class LoweringPass(CompilerPass): class AnalysisUsage (line 134) | class AnalysisUsage(object): method __init__ (line 138) | def __init__(self): method get_required_set (line 142) | def get_required_set(self): method get_preserved_set (line 145) | def get_preserved_set(self): method add_required (line 148) | def add_required(self, pss): method add_preserved (line 151) | def add_preserved(self, pss): method __str__ (line 154) | def __str__(self): function debug_print (line 161) | def debug_print(*args, **kwargs): class PassManager (line 169) | class PassManager(object): method __init__ (line 176) | def __init__(self, pipeline_name): method _validate_pass (line 187) | def _validate_pass(self, pass_cls): method add_pass (line 200) | def add_pass(self, pss, description=""): method add_pass_after (line 209) | def add_pass_after(self, pass_cls, location): method _debug_init (line 226) | def _debug_init(self): method finalize (line 245) | def finalize(self): method finalized (line 256) | def finalized(self): method _patch_error (line 259) | def _patch_error(self, desc, exc): method _runPass (line 268) | def _runPass(self, index, pss, internal_state): method run (line 342) | def run(self, state): method dependency_analysis (line 369) | def dependency_analysis(self): class PassRegistry (line 408) | class PassRegistry(object): method register (line 417) | def register(self, mutates_CFG, analysis_only): method is_registered (line 428) | def is_registered(self, clazz): method get (line 431) | def get(self, clazz): method _does_pass_name_alias (line 435) | def _does_pass_name_alias(self, check): method find_by_name (line 441) | def find_by_name(self, class_name): method dump (line 449) | def dump(self): FILE: numba/core/config.py function _parse_cc (line 31) | def _parse_cc(text): function _os_supports_avx (line 47) | def _os_supports_avx(): class _OptLevel (line 73) | class _OptLevel(int): method __new__ (line 81) | def __new__(cls, *args, **kwargs): method is_opt_max (line 92) | def is_opt_max(self): method __repr__ (line 97) | def __repr__(self): function _process_opt_level (line 105) | def _process_opt_level(opt_level): class _EnvReloader (line 116) | class _EnvReloader(object): method __init__ (line 118) | def __init__(self): method reset (line 121) | def reset(self): method update (line 125) | def update(self, force=False): method validate (line 158) | def validate(self): method process_environ (line 179) | def process_environ(self, environ): function reload_config (line 593) | def reload_config(): FILE: numba/core/consts.py class ConstantInference (line 9) | class ConstantInference(object): method __init__ (line 18) | def __init__(self, func_ir): method infer_constant (line 24) | def infer_constant(self, name, loc=None): method _fail (line 47) | def _fail(self, val): method _do_infer (line 56) | def _do_infer(self, name): method _infer_expr (line 73) | def _infer_expr(self, expr): method _infer_call (line 89) | def _infer_call(self, func, expr): method _infer_getattr (line 111) | def _infer_getattr(self, value, expr): FILE: numba/core/controlflow.py class CFBlock (line 23) | class CFBlock(object): method __init__ (line 25) | def __init__(self, offset): method __repr__ (line 36) | def __repr__(self): method __iter__ (line 42) | def __iter__(self): class Loop (line 46) | class Loop(collections.namedtuple("Loop", method __eq__ (line 59) | def __eq__(self, other): method __hash__ (line 62) | def __hash__(self): class _DictOfContainers (line 66) | class _DictOfContainers(collections.defaultdict): method __eq__ (line 72) | def __eq__(self, other): method __ne__ (line 80) | def __ne__(self, other): method _non_empty_items (line 87) | def _non_empty_items(self): class CFGraph (line 91) | class CFGraph(object): method __init__ (line 96) | def __init__(self): method add_node (line 103) | def add_node(self, node): method add_edge (line 110) | def add_edge(self, src, dest, data=None): method successors (line 125) | def successors(self, src): method predecessors (line 133) | def predecessors(self, dest): method set_entry_point (line 141) | def set_entry_point(self, node): method process (line 148) | def process(self): method dominators (line 158) | def dominators(self): method post_dominators (line 167) | def post_dominators(self): method immediate_dominators (line 177) | def immediate_dominators(self): method dominance_frontier (line 186) | def dominance_frontier(self): method dominator_tree (line 197) | def dominator_tree(self): method _exit_points (line 207) | def _exit_points(self): method _doms (line 211) | def _doms(self): method _back_edges (line 215) | def _back_edges(self): method _topo_order (line 219) | def _topo_order(self): method _descs (line 223) | def _descs(self): method _loops (line 227) | def _loops(self): method _in_loops (line 231) | def _in_loops(self): method _post_doms (line 235) | def _post_doms(self): method _idom (line 239) | def _idom(self): method _df (line 243) | def _df(self): method _domtree (line 247) | def _domtree(self): method descendents (line 250) | def descendents(self, node): method entry_point (line 257) | def entry_point(self): method exit_points (line 264) | def exit_points(self): method backbone (line 270) | def backbone(self): method loops (line 279) | def loops(self): method in_loops (line 286) | def in_loops(self, node): method dead_nodes (line 293) | def dead_nodes(self): method nodes (line 299) | def nodes(self): method topo_order (line 305) | def topo_order(self): method topo_sort (line 312) | def topo_sort(self, nodes, reverse=False): method dump (line 325) | def dump(self, file=None): method render_dot (line 346) | def render_dot(self, filename="numba_cfg.dot"): method _add_edge (line 375) | def _add_edge(self, from_, to, data=None): method _remove_node_edges (line 382) | def _remove_node_edges(self, node): method _dfs (line 390) | def _dfs(self, entries=None): method _eliminate_dead_blocks (line 403) | def _eliminate_dead_blocks(self): method _find_exit_points (line 417) | def _find_exit_points(self): method _find_postorder (line 427) | def _find_postorder(self): method _find_immediate_dominators (line 451) | def _find_immediate_dominators(self): method _find_dominator_tree (line 491) | def _find_dominator_tree(self): method _find_dominance_frontier (line 504) | def _find_dominance_frontier(self): method _find_dominators_internal (line 519) | def _find_dominators_internal(self, post=False): method _find_dominators (line 562) | def _find_dominators(self): method _find_post_dominators (line 565) | def _find_post_dominators(self): method _find_back_edges (line 586) | def _find_back_edges(self, stats=None): method _find_topo_order (line 641) | def _find_topo_order(self): method _find_descendents (line 659) | def _find_descendents(self): method _find_loops (line 669) | def _find_loops(self): method _find_in_loops (line 705) | def _find_in_loops(self): method _dump_adj_lists (line 716) | def _dump_adj_lists(self, file): method __eq__ (line 722) | def __eq__(self, other): method __ne__ (line 733) | def __ne__(self, other): class ControlFlowAnalysis (line 737) | class ControlFlowAnalysis(object): method __init__ (line 754) | def __init__(self, bytecode): method iterblocks (line 768) | def iterblocks(self): method iterliveblocks (line 775) | def iterliveblocks(self): method incoming_blocks (line 783) | def incoming_blocks(self, block): method dump (line 791) | def dump(self, file=None): method run (line 794) | def run(self): method jump (line 856) | def jump(self, target, pops=0): method _iter_inst (line 863) | def _iter_inst(self): method _use_new_block (line 871) | def _use_new_block(self, inst): method _start_new_block (line 882) | def _start_new_block(self, inst): method _guard_with_as (line 887) | def _guard_with_as(self, current_inst): method op_SETUP_LOOP (line 899) | def op_SETUP_LOOP(self, inst): method op_SETUP_WITH (line 909) | def op_SETUP_WITH(self, inst): method op_POP_BLOCK (line 919) | def op_POP_BLOCK(self, inst): method op_FOR_ITER (line 922) | def op_FOR_ITER(self, inst): method _op_ABSOLUTE_JUMP_IF (line 927) | def _op_ABSOLUTE_JUMP_IF(self, inst): method _op_ABSOLUTE_JUMP_OR_POP (line 942) | def _op_ABSOLUTE_JUMP_OR_POP(self, inst): method op_JUMP_ABSOLUTE (line 950) | def op_JUMP_ABSOLUTE(self, inst): method op_JUMP_FORWARD (line 954) | def op_JUMP_FORWARD(self, inst): method op_RETURN_VALUE (line 960) | def op_RETURN_VALUE(self, inst): method op_RETURN_CONST (line 965) | def op_RETURN_CONST(self, inst): method op_RAISE_VARARGS (line 973) | def op_RAISE_VARARGS(self, inst): method op_BREAK_LOOP (line 977) | def op_BREAK_LOOP(self, inst): FILE: numba/core/cpu.py class ClosureBody (line 24) | class ClosureBody(cgutils.Structure): class EnvBody (line 28) | class EnvBody(cgutils.Structure): class CPUContext (line 35) | class CPUContext(BaseContext): method __init__ (line 41) | def __init__(self, typingctx, target='cpu'): method create_module (line 45) | def create_module(self, name): method init (line 49) | def init(self): method apply_target_attributes (line 60) | def apply_target_attributes(self, llvm_func, argtypes=None, restype=No... method load_additional_registries (line 97) | def load_additional_registries(self): method target_data (line 142) | def target_data(self): method with_aot_codegen (line 145) | def with_aot_codegen(self, name, **aot_options): method codegen (line 150) | def codegen(self): method call_conv (line 154) | def call_conv(self): method get_env_body (line 157) | def get_env_body(self, builder, envptr): method get_env_manager (line 166) | def get_env_manager(self, builder, return_pyobject=False): method get_generator_state (line 179) | def get_generator_state(self, builder, genptr, return_type): method build_list (line 188) | def build_list(self, builder, list_type, items): method build_set (line 195) | def build_set(self, builder, set_type, items): method build_map (line 202) | def build_map(self, builder, dict_type, item_types, items): method post_lowering (line 207) | def post_lowering(self, mod, library): method create_cpython_wrapper (line 218) | def create_cpython_wrapper(self, library, fndesc, env, call_helper, method create_cfunc_wrapper (line 230) | def create_cfunc_wrapper(self, library, fndesc, env, call_helper): method get_executable (line 262) | def get_executable(self, library, fndesc, env): method calc_array_sizeof (line 291) | def calc_array_sizeof(self, ndim): method get_ufunc_info (line 299) | def get_ufunc_info(self, ufunc_key): class CPUTargetOptions (line 327) | class CPUTargetOptions(_options_mixin, TargetOptions): method finalize (line 328) | def finalize(self, flags, options): FILE: numba/core/cpu_options.py class AbstractOptionValue (line 7) | class AbstractOptionValue(metaclass=ABCMeta): method encode (line 11) | def encode(self) -> str: method __repr__ (line 16) | def __repr__(self) -> str: class FastMathOptions (line 20) | class FastMathOptions(AbstractOptionValue): method __init__ (line 25) | def __init__(self, value): method __bool__ (line 53) | def __bool__(self): method encode (line 58) | def encode(self) -> str: method __eq__ (line 61) | def __eq__(self, other): class ParallelOptions (line 67) | class ParallelOptions(AbstractOptionValue): method __init__ (line 74) | def __init__(self, value): method _get_values (line 112) | def _get_values(self): method __eq__ (line 117) | def __eq__(self, other): method encode (line 122) | def encode(self) -> str: class InlineOptions (line 126) | class InlineOptions(AbstractOptionValue): method __init__ (line 131) | def __init__(self, value): method is_never_inline (line 148) | def is_never_inline(self): method is_always_inline (line 155) | def is_always_inline(self): method has_cost_model (line 162) | def has_cost_model(self): method value (line 169) | def value(self): method __eq__ (line 175) | def __eq__(self, other): method encode (line 180) | def encode(self) -> str: FILE: numba/core/datamodel/manager.py class DataModelManager (line 7) | class DataModelManager(object): method __init__ (line 11) | def __init__(self, handlers=None): method register (line 23) | def register(self, fetypecls, handler): method lookup (line 29) | def lookup(self, fetype): method __getitem__ (line 40) | def __getitem__(self, fetype): method copy (line 45) | def copy(self): method chain (line 53) | def chain(self, other_manager): FILE: numba/core/datamodel/models.py class DataModel (line 11) | class DataModel(object): method __init__ (line 34) | def __init__(self, dmm, fe_type): method fe_type (line 39) | def fe_type(self): method get_value_type (line 42) | def get_value_type(self): method get_data_type (line 45) | def get_data_type(self): method get_argument_type (line 48) | def get_argument_type(self): method get_return_type (line 53) | def get_return_type(self): method as_data (line 56) | def as_data(self, builder, value): method as_argument (line 59) | def as_argument(self, builder, value): method as_return (line 66) | def as_return(self, builder, value): method from_data (line 69) | def from_data(self, builder, value): method from_argument (line 72) | def from_argument(self, builder, value): method from_return (line 79) | def from_return(self, builder, value): method load_from_data_pointer (line 82) | def load_from_data_pointer(self, builder, ptr, align=None): method traverse (line 89) | def traverse(self, builder): method traverse_models (line 97) | def traverse_models(self): method traverse_types (line 103) | def traverse_types(self): method inner_models (line 119) | def inner_models(self): method get_nrt_meminfo (line 125) | def get_nrt_meminfo(self, builder, value): method has_nrt_meminfo (line 132) | def has_nrt_meminfo(self): method contains_nrt_meminfo (line 135) | def contains_nrt_meminfo(self): method _compared_fields (line 141) | def _compared_fields(self): method __hash__ (line 144) | def __hash__(self): method __eq__ (line 147) | def __eq__(self, other): method __ne__ (line 153) | def __ne__(self, other): class OmittedArgDataModel (line 158) | class OmittedArgDataModel(DataModel): method get_value_type (line 164) | def get_value_type(self): method get_argument_type (line 168) | def get_argument_type(self): method as_argument (line 171) | def as_argument(self, builder, val): method from_argument (line 174) | def from_argument(self, builder, val): class BooleanModel (line 181) | class BooleanModel(DataModel): method get_value_type (line 185) | def get_value_type(self): method get_data_type (line 188) | def get_data_type(self): method get_return_type (line 191) | def get_return_type(self): method get_argument_type (line 194) | def get_argument_type(self): method as_data (line 197) | def as_data(self, builder, value): method as_argument (line 200) | def as_argument(self, builder, value): method as_return (line 203) | def as_return(self, builder, value): method from_data (line 206) | def from_data(self, builder, value): method from_argument (line 217) | def from_argument(self, builder, value): method from_return (line 220) | def from_return(self, builder, value): class PrimitiveModel (line 224) | class PrimitiveModel(DataModel): method __init__ (line 229) | def __init__(self, dmm, fe_type, be_type): method get_value_type (line 233) | def get_value_type(self): method as_data (line 236) | def as_data(self, builder, value): method as_argument (line 239) | def as_argument(self, builder, value): method as_return (line 242) | def as_return(self, builder, value): method from_data (line 245) | def from_data(self, builder, value): method from_argument (line 248) | def from_argument(self, builder, value): method from_return (line 251) | def from_return(self, builder, value): class ProxyModel (line 255) | class ProxyModel(DataModel): method get_value_type (line 260) | def get_value_type(self): method get_data_type (line 263) | def get_data_type(self): method get_return_type (line 266) | def get_return_type(self): method get_argument_type (line 269) | def get_argument_type(self): method as_data (line 272) | def as_data(self, builder, value): method as_argument (line 275) | def as_argument(self, builder, value): method as_return (line 278) | def as_return(self, builder, value): method from_data (line 281) | def from_data(self, builder, value): method from_argument (line 284) | def from_argument(self, builder, value): method from_return (line 287) | def from_return(self, builder, value): class EnumModel (line 293) | class EnumModel(ProxyModel): method __init__ (line 297) | def __init__(self, dmm, fe_type): class OpaqueModel (line 330) | class OpaqueModel(PrimitiveModel): method __init__ (line 336) | def __init__(self, dmm, fe_type): class MemInfoModel (line 342) | class MemInfoModel(OpaqueModel): method inner_models (line 344) | def inner_models(self): method has_nrt_meminfo (line 347) | def has_nrt_meminfo(self): method get_nrt_meminfo (line 350) | def get_nrt_meminfo(self, builder, value): class IntegerModel (line 356) | class IntegerModel(PrimitiveModel): method __init__ (line 357) | def __init__(self, dmm, fe_type): class FloatModel (line 363) | class FloatModel(PrimitiveModel): method __init__ (line 364) | def __init__(self, dmm, fe_type): class PointerModel (line 375) | class PointerModel(PrimitiveModel): method __init__ (line 376) | def __init__(self, dmm, fe_type): class EphemeralPointerModel (line 384) | class EphemeralPointerModel(PointerModel): method get_data_type (line 386) | def get_data_type(self): method as_data (line 389) | def as_data(self, builder, value): method from_data (line 393) | def from_data(self, builder, value): method load_from_data_pointer (line 396) | def load_from_data_pointer(self, builder, ptr, align=None): class EphemeralArrayModel (line 401) | class EphemeralArrayModel(PointerModel): method __init__ (line 403) | def __init__(self, dmm, fe_type): method get_data_type (line 408) | def get_data_type(self): method as_data (line 411) | def as_data(self, builder, value): method from_data (line 416) | def from_data(self, builder, value): method load_from_data_pointer (line 419) | def load_from_data_pointer(self, builder, ptr, align=None): class ExternalFuncPointerModel (line 424) | class ExternalFuncPointerModel(PrimitiveModel): method __init__ (line 425) | def __init__(self, dmm, fe_type): class UniTupleModel (line 438) | class UniTupleModel(DataModel): method __init__ (line 439) | def __init__(self, dmm, fe_type): method get_value_type (line 448) | def get_value_type(self): method get_data_type (line 451) | def get_data_type(self): method get_return_type (line 454) | def get_return_type(self): method get_argument_type (line 457) | def get_argument_type(self): method as_argument (line 460) | def as_argument(self, builder, value): method from_argument (line 468) | def from_argument(self, builder, value): method as_data (line 475) | def as_data(self, builder, value): method from_data (line 483) | def from_data(self, builder, value): method as_return (line 491) | def as_return(self, builder, value): method from_return (line 494) | def from_return(self, builder, value): method traverse (line 497) | def traverse(self, builder): method inner_models (line 503) | def inner_models(self): class CompositeModel (line 507) | class CompositeModel(DataModel): class StructModel (line 514) | class StructModel(CompositeModel): method __init__ (line 518) | def __init__(self, dmm, fe_type, members): method get_member_fe_type (line 526) | def get_member_fe_type(self, name): method get_value_type (line 533) | def get_value_type(self): method get_data_type (line 539) | def get_data_type(self): method get_argument_type (line 545) | def get_argument_type(self): method get_return_type (line 548) | def get_return_type(self): method _as (line 551) | def _as(self, methname, builder, value): method _from (line 558) | def _from(self, methname, builder, value): method as_data (line 567) | def as_data(self, builder, value): method from_data (line 589) | def from_data(self, builder, value): method load_from_data_pointer (line 600) | def load_from_data_pointer(self, builder, ptr, align=None): method as_argument (line 612) | def as_argument(self, builder, value): method from_argument (line 615) | def from_argument(self, builder, value): method as_return (line 618) | def as_return(self, builder, value): method from_return (line 625) | def from_return(self, builder, value): method get (line 630) | def get(self, builder, val, pos): method set (line 651) | def set(self, builder, stval, val, pos): method get_field_position (line 674) | def get_field_position(self, field): method field_count (line 682) | def field_count(self): method get_type (line 685) | def get_type(self, pos): method get_model (line 698) | def get_model(self, pos): method traverse (line 709) | def traverse(self, builder): method inner_models (line 718) | def inner_models(self): class ComplexModel (line 723) | class ComplexModel(StructModel): method __init__ (line 726) | def __init__(self, dmm, fe_type): class TupleModel (line 739) | class TupleModel(StructModel): method __init__ (line 740) | def __init__(self, dmm, fe_type): class UnionModel (line 746) | class UnionModel(StructModel): method __init__ (line 747) | def __init__(self, dmm, fe_type): class PairModel (line 758) | class PairModel(StructModel): method __init__ (line 759) | def __init__(self, dmm, fe_type): class ListPayloadModel (line 766) | class ListPayloadModel(StructModel): method __init__ (line 767) | def __init__(self, dmm, fe_type): class ListModel (line 783) | class ListModel(StructModel): method __init__ (line 784) | def __init__(self, dmm, fe_type): class ListIterModel (line 796) | class ListIterModel(StructModel): method __init__ (line 797) | def __init__(self, dmm, fe_type): class SetEntryModel (line 809) | class SetEntryModel(StructModel): method __init__ (line 810) | def __init__(self, dmm, fe_type): class SetPayloadModel (line 821) | class SetPayloadModel(StructModel): method __init__ (line 822) | def __init__(self, dmm, fe_type): class SetModel (line 841) | class SetModel(StructModel): method __init__ (line 842) | def __init__(self, dmm, fe_type): class SetIterModel (line 853) | class SetIterModel(StructModel): method __init__ (line 854) | def __init__(self, dmm, fe_type): class ArrayModel (line 872) | class ArrayModel(StructModel): method __init__ (line 873) | def __init__(self, dmm, fe_type): class ArrayFlagsModel (line 889) | class ArrayFlagsModel(StructModel): method __init__ (line 890) | def __init__(self, dmm, fe_type): class NestedArrayModel (line 898) | class NestedArrayModel(ArrayModel): method __init__ (line 899) | def __init__(self, dmm, fe_type): method as_storage_type (line 903) | def as_storage_type(self): class OptionalModel (line 912) | class OptionalModel(StructModel): method __init__ (line 913) | def __init__(self, dmm, fe_type): method get_return_type (line 921) | def get_return_type(self): method as_return (line 924) | def as_return(self, builder, value): method from_return (line 927) | def from_return(self, builder, value): method traverse (line 930) | def traverse(self, builder): class RecordModel (line 943) | class RecordModel(CompositeModel): method __init__ (line 944) | def __init__(self, dmm, fe_type): method get_value_type (line 950) | def get_value_type(self): method get_argument_type (line 955) | def get_argument_type(self): method get_return_type (line 958) | def get_return_type(self): method get_data_type (line 961) | def get_data_type(self): method as_data (line 964) | def as_data(self, builder, value): method from_data (line 967) | def from_data(self, builder, value): method as_argument (line 970) | def as_argument(self, builder, value): method from_argument (line 973) | def from_argument(self, builder, value): method as_return (line 976) | def as_return(self, builder, value): method from_return (line 979) | def from_return(self, builder, value): method load_from_data_pointer (line 982) | def load_from_data_pointer(self, builder, ptr, align=None): class UnicodeCharSeq (line 987) | class UnicodeCharSeq(DataModel): method __init__ (line 988) | def __init__(self, dmm, fe_type): method get_value_type (line 993) | def get_value_type(self): method get_data_type (line 996) | def get_data_type(self): method as_data (line 999) | def as_data(self, builder, value): method from_data (line 1002) | def from_data(self, builder, value): method as_return (line 1005) | def as_return(self, builder, value): method from_return (line 1008) | def from_return(self, builder, value): method as_argument (line 1011) | def as_argument(self, builder, value): method from_argument (line 1014) | def from_argument(self, builder, value): class CharSeq (line 1019) | class CharSeq(DataModel): method __init__ (line 1020) | def __init__(self, dmm, fe_type): method get_value_type (line 1025) | def get_value_type(self): method get_data_type (line 1028) | def get_data_type(self): method as_data (line 1031) | def as_data(self, builder, value): method from_data (line 1034) | def from_data(self, builder, value): method as_return (line 1037) | def as_return(self, builder, value): method from_return (line 1040) | def from_return(self, builder, value): method as_argument (line 1043) | def as_argument(self, builder, value): method from_argument (line 1046) | def from_argument(self, builder, value): class CContiguousFlatIter (line 1050) | class CContiguousFlatIter(StructModel): method __init__ (line 1051) | def __init__(self, dmm, fe_type, need_indices): class FlatIter (line 1066) | class FlatIter(StructModel): method __init__ (line 1067) | def __init__(self, dmm, fe_type): class UniTupleIter (line 1080) | class UniTupleIter(StructModel): method __init__ (line 1081) | def __init__(self, dmm, fe_type): class SliceModel (line 1089) | class SliceModel(StructModel): method __init__ (line 1090) | def __init__(self, dmm, fe_type): class NPDatetimeModel (line 1100) | class NPDatetimeModel(PrimitiveModel): method __init__ (line 1101) | def __init__(self, dmm, fe_type): class ArrayIterator (line 1107) | class ArrayIterator(StructModel): method __init__ (line 1108) | def __init__(self, dmm, fe_type): class EnumerateType (line 1116) | class EnumerateType(StructModel): method __init__ (line 1117) | def __init__(self, dmm, fe_type): class ZipType (line 1125) | class ZipType(StructModel): method __init__ (line 1126) | def __init__(self, dmm, fe_type): class RangeIteratorType (line 1133) | class RangeIteratorType(StructModel): method __init__ (line 1134) | def __init__(self, dmm, fe_type): class GeneratorModel (line 1144) | class GeneratorModel(CompositeModel): method __init__ (line 1145) | def __init__(self, dmm, fe_type): method get_value_type (line 1162) | def get_value_type(self): method get_argument_type (line 1168) | def get_argument_type(self): method get_return_type (line 1171) | def get_return_type(self): method get_data_type (line 1174) | def get_data_type(self): method as_argument (line 1177) | def as_argument(self, builder, value): method from_argument (line 1180) | def from_argument(self, builder, value): method as_return (line 1183) | def as_return(self, builder, value): method from_return (line 1186) | def from_return(self, builder, value): method as_data (line 1189) | def as_data(self, builder, value): method from_data (line 1192) | def from_data(self, builder, value): class ArrayCTypesModel (line 1199) | class ArrayCTypesModel(StructModel): method __init__ (line 1200) | def __init__(self, dmm, fe_type): class RangeModel (line 1208) | class RangeModel(StructModel): method __init__ (line 1209) | def __init__(self, dmm, fe_type): class NdIndexModel (line 1220) | class NdIndexModel(StructModel): method __init__ (line 1221) | def __init__(self, dmm, fe_type): function handle_numpy_flat_type (line 1231) | def handle_numpy_flat_type(dmm, ty): function handle_numpy_ndenumerate_type (line 1238) | def handle_numpy_ndenumerate_type(dmm, ty): function handle_bound_function (line 1245) | def handle_bound_function(dmm, ty): class NdIter (line 1251) | class NdIter(StructModel): method __init__ (line 1252) | def __init__(self, dmm, fe_type): class DeferredStructModel (line 1286) | class DeferredStructModel(CompositeModel): method __init__ (line 1287) | def __init__(self, dmm, fe_type): method get_value_type (line 1292) | def get_value_type(self): method get_data_type (line 1295) | def get_data_type(self): method get_argument_type (line 1298) | def get_argument_type(self): method as_argument (line 1301) | def as_argument(self, builder, value): method from_argument (line 1305) | def from_argument(self, builder, value): method from_data (line 1309) | def from_data(self, builder, value): method as_data (line 1316) | def as_data(self, builder, value): method from_return (line 1323) | def from_return(self, builder, value): method as_return (line 1326) | def as_return(self, builder, value): method get (line 1329) | def get(self, builder, value): method set (line 1332) | def set(self, builder, value, content): method make_uninitialized (line 1335) | def make_uninitialized(self, kind='value'): method _define (line 1343) | def _define(self): method _define_value_type (line 1349) | def _define_value_type(self, value_type): method _define_data_type (line 1353) | def _define_data_type(self, data_type): method _actual_model (line 1358) | def _actual_model(self): method traverse (line 1361) | def traverse(self, builder): class StructPayloadModel (line 1367) | class StructPayloadModel(StructModel): method __init__ (line 1370) | def __init__(self, dmm, fe_typ): class StructRefModel (line 1375) | class StructRefModel(StructModel): method __init__ (line 1379) | def __init__(self, dmm, fe_typ): FILE: numba/core/datamodel/packer.py class DataPacker (line 7) | class DataPacker(object): method __init__ (line 15) | def __init__(self, dmm, fe_types): method as_data (line 27) | def as_data(self, builder, values): method _do_load (line 35) | def _do_load(self, builder, ptr, formal_list=None): method load (line 46) | def load(self, builder, ptr): method load_into (line 52) | def load_into(self, builder, ptr, formal_list): class ArgPacker (line 60) | class ArgPacker(object): method __init__ (line 73) | def __init__(self, dmm, fe_args): method as_arguments (line 87) | def as_arguments(self, builder, values): method from_arguments (line 104) | def from_arguments(self, builder, args): method assign_names (line 115) | def assign_names(self, args, names): method _assign_names (line 123) | def _assign_names(self, val_or_nested, name, depth=()): method argument_types (line 133) | def argument_types(self): function _flatten (line 140) | def _flatten(iterable): class _Unflattener (line 159) | class _Unflattener(object): method __init__ (line 167) | def __init__(self, pattern): method _build_unflatten_code (line 170) | def _build_unflatten_code(self, iterable): method unflatten (line 190) | def unflatten(self, flatiter): FILE: numba/core/datamodel/registry.py function register (line 5) | def register(dmm, typecls): FILE: numba/core/datamodel/testing.py class DataModelTester (line 8) | class DataModelTester(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_as_arg (line 18) | def test_as_arg(self): method test_as_return (line 61) | def test_as_return(self): class SupportAsDataMixin (line 88) | class SupportAsDataMixin(object): method test_as_data (line 93) | def test_as_data(self): class NotSupportAsDataMixin (line 117) | class NotSupportAsDataMixin(object): method test_as_data_not_supported (line 121) | def test_as_data_not_supported(self): class DataModelTester_SupportAsDataMixin (line 134) | class DataModelTester_SupportAsDataMixin(DataModelTester, class DataModelTester_NotSupportAsDataMixin (line 139) | class DataModelTester_NotSupportAsDataMixin(DataModelTester, function test_factory (line 144) | def test_factory(support_as_data=True): FILE: numba/core/debuginfo.py function suspend_emission (line 17) | def suspend_emission(builder): class AbstractDIBuilder (line 28) | class AbstractDIBuilder(metaclass=abc.ABCMeta): method mark_variable (line 30) | def mark_variable(self, builder, allocavalue, name, lltype, size, line, method mark_location (line 37) | def mark_location(self, builder, line): method mark_subprogram (line 43) | def mark_subprogram(self, function, qualname, argnames, argtypes, line): method initialize (line 49) | def initialize(self): method finalize (line 55) | def finalize(self): class DummyDIBuilder (line 61) | class DummyDIBuilder(AbstractDIBuilder): method __init__ (line 63) | def __init__(self, module, filepath, cgctx, directives_only): method mark_variable (line 66) | def mark_variable(self, builder, allocavalue, name, lltype, size, line, method mark_location (line 70) | def mark_location(self, builder, line): method mark_subprogram (line 73) | def mark_subprogram(self, function, qualname, argnames, argtypes, line): method initialize (line 76) | def initialize(self): method finalize (line 79) | def finalize(self): class DIBuilder (line 86) | class DIBuilder(AbstractDIBuilder): method __init__ (line 92) | def __init__(self, module, filepath, cgctx, directives_only): method initialize (line 106) | def initialize(self): method _var_type (line 111) | def _var_type(self, lltype, size, datamodel=None): method mark_variable (line 292) | def mark_variable(self, builder, allocavalue, name, lltype, size, line, method mark_location (line 314) | def mark_location(self, builder, line): method mark_subprogram (line 317) | def mark_subprogram(self, function, qualname, argnames, argtypes, line): method finalize (line 325) | def finalize(self): method _set_module_flags (line 334) | def _set_module_flags(self): method _add_subprogram (line 358) | def _add_subprogram(self, name, linkagename, line, function, argmap): method _add_location (line 365) | def _add_location(self, line): method _const_int (line 372) | def _const_int(cls, num, bits=32): method _const_bool (line 378) | def _const_bool(cls, boolean): method _di_file (line 387) | def _di_file(self): method _di_compile_unit (line 393) | def _di_compile_unit(self): method _di_subroutine_type (line 411) | def _di_subroutine_type(self, line, function, argmap): method _di_subprogram (line 436) | def _di_subprogram(self, name, linkagename, line, function, argmap): method _di_location (line 451) | def _di_location(self, line): FILE: numba/core/decorators.py function jit (line 27) | def jit(signature_or_function=None, locals=MappingProxyType({}), cache=F... function _jit (line 199) | def _jit(sigs, locals, target, cache, targetoptions, **dispatcher_args): function njit (line 241) | def njit(*args, **kws): function cfunc (line 256) | def cfunc(sig, locals=MappingProxyType({}), cache=False, pipeline_class=... function jit_module (line 284) | def jit_module(**kwargs): FILE: numba/core/descriptors.py class TargetDescriptor (line 8) | class TargetDescriptor(metaclass=ABCMeta): method __init__ (line 10) | def __init__(self, target_name): method typing_context (line 15) | def typing_context(self): method target_context (line 20) | def target_context(self): FILE: numba/core/dispatcher.py class OmittedArg (line 27) | class OmittedArg(object): method __init__ (line 32) | def __init__(self, value): method __repr__ (line 35) | def __repr__(self): method _numba_type_ (line 39) | def _numba_type_(self): class _FunctionCompiler (line 43) | class _FunctionCompiler(object): method __init__ (line 44) | def __init__(self, py_func, targetdescr, targetoptions, locals, method fold_argument_types (line 57) | def fold_argument_types(self, args, kws): method compile (line 79) | def compile(self, args, return_type): method _compile_cached (line 86) | def _compile_cached(self, args, return_type): method _compile_core (line 101) | def _compile_core(self, args, return_type): method get_globals_for_reduction (line 118) | def get_globals_for_reduction(self): method _get_implementation (line 121) | def _get_implementation(self, args, kws): method _customize_flags (line 124) | def _customize_flags(self, flags): class _GeneratedFunctionCompiler (line 128) | class _GeneratedFunctionCompiler(_FunctionCompiler): method __init__ (line 130) | def __init__(self, py_func, targetdescr, targetoptions, locals, method get_globals_for_reduction (line 136) | def get_globals_for_reduction(self): method _get_implementation (line 141) | def _get_implementation(self, args, kws): class CompilingCounter (line 170) | class CompilingCounter(object): method __init__ (line 175) | def __init__(self): method __enter__ (line 178) | def __enter__(self): method __exit__ (line 182) | def __exit__(self, *args, **kwargs): method __bool__ (line 186) | def __bool__(self): class _DispatcherBase (line 192) | class _DispatcherBase(_dispatcher.Dispatcher): method __init__ (line 199) | def __init__(self, arg_count, py_func, pysig, can_fallback, method _compilation_chain_init_hook (line 237) | def _compilation_chain_init_hook(self): method _reset_overloads (line 247) | def _reset_overloads(self): method _make_finalizer (line 251) | def _make_finalizer(self): method signatures (line 277) | def signatures(self): method nopython_signatures (line 284) | def nopython_signatures(self): method disable_compile (line 288) | def disable_compile(self, val=True): method add_overload (line 295) | def add_overload(self, cres): method fold_argument_types (line 301) | def fold_argument_types(self, args, kws): method get_call_template (line 304) | def get_call_template(self, args, kws): method get_overload (line 330) | def get_overload(self, sig): method is_compiling (line 338) | def is_compiling(self): method _compile_for_args (line 344) | def _compile_for_args(self, *args, **kws): method inspect_llvm (line 448) | def inspect_llvm(self, signature=None): method inspect_asm (line 470) | def inspect_asm(self, signature=None): method inspect_types (line 492) | def inspect_types(self, file=None, signature=None, method inspect_cfg (line 541) | def inspect_cfg(self, signature=None, show_wrapper=None, **kwargs): method inspect_disasm_cfg (line 602) | def inspect_disasm_cfg(self, signature=None): method get_annotation_info (line 622) | def get_annotation_info(self, signature=None): method _explain_ambiguous (line 638) | def _explain_ambiguous(self, *args, **kws): method _explain_matching_error (line 651) | def _explain_matching_error(self, *args, **kws): method _search_new_conversions (line 661) | def _search_new_conversions(self, *args, **kws): method __repr__ (line 677) | def __repr__(self): method typeof_pyval (line 680) | def typeof_pyval(self, val): method _callback_add_timer (line 696) | def _callback_add_timer(self, duration, cres, lock_name): method _callback_add_compiler_timer (line 708) | def _callback_add_compiler_timer(self, duration, cres): method _callback_add_llvm_timer (line 712) | def _callback_add_llvm_timer(self, duration, cres): class _MemoMixin (line 717) | class _MemoMixin: method _uuid (line 726) | def _uuid(self): method _set_uuid (line 739) | def _set_uuid(self, u): class Dispatcher (line 746) | class Dispatcher(serialize.ReduceMixin, _MemoMixin, _DispatcherBase): method __init__ (line 757) | def __init__(self, py_func, locals=None, targetoptions=None, method dump (line 799) | def dump(self, tab=''): method _numba_type_ (line 807) | def _numba_type_(self): method enable_caching (line 810) | def enable_caching(self): method __get__ (line 813) | def __get__(self, obj, objtype=None): method _reduce_states (line 820) | def _reduce_states(self): method _rebuild (line 843) | def _rebuild(cls, uuid, py_func, locals, targetoptions, method compile (line 862) | def compile(self, sig): method get_compile_result (line 918) | def get_compile_result(self, sig): method recompile (line 935) | def recompile(self): method stats (line 954) | def stats(self): method parallel_diagnostics (line 961) | def parallel_diagnostics(self, signature=None, level=1): method get_metadata (line 980) | def get_metadata(self, signature=None): method get_function_type (line 991) | def get_function_type(self): class LiftedCode (line 1004) | class LiftedCode(serialize.ReduceMixin, _MemoMixin, _DispatcherBase): method __init__ (line 1012) | def __init__(self, func_ir, typingctx, targetctx, flags, locals): method _reduce_states (line 1027) | def _reduce_states(self): method _reduce_extras (line 1040) | def _reduce_extras(self): method _rebuild (line 1047) | def _rebuild(cls, uuid, func_ir, flags, locals, extras): method get_source_location (line 1070) | def get_source_location(self): method _pre_compile (line 1075) | def _pre_compile(self, args, return_type, flags): method compile (line 1081) | def compile(self, sig): method _get_dispatcher_for_current_target (line 1086) | def _get_dispatcher_for_current_target(self): class LiftedLoop (line 1092) | class LiftedLoop(LiftedCode): method _pre_compile (line 1093) | def _pre_compile(self, args, return_type, flags): method compile (line 1096) | def compile(self, sig): class LiftedWith (line 1175) | class LiftedWith(LiftedCode): method _reduce_extras (line 1179) | def _reduce_extras(self): method _numba_type_ (line 1183) | def _numba_type_(self): method get_call_template (line 1186) | def get_call_template(self, args, kws): method compile (line 1207) | def compile(self, sig): class ObjModeLiftedWith (line 1267) | class ObjModeLiftedWith(LiftedWith): method __init__ (line 1268) | def __init__(self, *args, **kwargs): method _numba_type_ (line 1279) | def _numba_type_(self): method get_call_template (line 1282) | def get_call_template(self, args, kws): method _legalize_arg_types (line 1306) | def _legalize_arg_types(self, args): method compile (line 1322) | def compile(self, sig): FILE: numba/core/entrypoints.py function init_all (line 11) | def init_all(): FILE: numba/core/environment.py class Environment (line 7) | class Environment(_dynfunc.Environment): method from_fndesc (line 18) | def from_fndesc(cls, fndesc): method can_cache (line 28) | def can_cache(self): method __reduce__ (line 32) | def __reduce__(self): method __del__ (line 39) | def __del__(self): method __repr__ (line 42) | def __repr__(self): function _rebuild_env (line 46) | def _rebuild_env(modname, consts, env_name): function lookup_environment (line 60) | def lookup_environment(env_name): FILE: numba/core/errors.py function _is_numba_core_config_loaded (line 20) | def _is_numba_core_config_loaded(): class NumbaWarning (line 32) | class NumbaWarning(Warning): method __init__ (line 37) | def __init__(self, msg, loc=None, highlighting=True, ): class NumbaPerformanceWarning (line 55) | class NumbaPerformanceWarning(NumbaWarning): class NumbaDeprecationWarning (line 62) | class NumbaDeprecationWarning(NumbaWarning, DeprecationWarning): class NumbaPendingDeprecationWarning (line 68) | class NumbaPendingDeprecationWarning(NumbaWarning, PendingDeprecationWar... class NumbaParallelSafetyWarning (line 74) | class NumbaParallelSafetyWarning(NumbaWarning): class NumbaTypeSafetyWarning (line 81) | class NumbaTypeSafetyWarning(NumbaWarning): class NumbaExperimentalFeatureWarning (line 87) | class NumbaExperimentalFeatureWarning(NumbaWarning): class NumbaInvalidConfigWarning (line 93) | class NumbaInvalidConfigWarning(NumbaWarning): class NumbaPedanticWarning (line 99) | class NumbaPedanticWarning(NumbaWarning): method __init__ (line 103) | def __init__(self, msg, **kwargs): class NumbaIRAssumptionWarning (line 107) | class NumbaIRAssumptionWarning(NumbaPedanticWarning): class NumbaDebugInfoWarning (line 113) | class NumbaDebugInfoWarning(NumbaWarning): class NumbaSystemWarning (line 119) | class NumbaSystemWarning(NumbaWarning): class _ColorScheme (line 127) | class _ColorScheme(metaclass=abc.ABCMeta): method code (line 130) | def code(self, msg): method errmsg (line 134) | def errmsg(self, msg): method filename (line 138) | def filename(self, msg): method indicate (line 142) | def indicate(self, msg): method highlight (line 146) | def highlight(self, msg): method reset (line 150) | def reset(self, msg): class _DummyColorScheme (line 154) | class _DummyColorScheme(_ColorScheme): method __init__ (line 156) | def __init__(self, theme=None): method code (line 159) | def code(self, msg): method errmsg (line 162) | def errmsg(self, msg): method filename (line 165) | def filename(self, msg): method indicate (line 168) | def indicate(self, msg): method highlight (line 171) | def highlight(self, msg): method reset (line 174) | def reset(self, msg): class NOPColorScheme (line 205) | class NOPColorScheme(_DummyColorScheme): method __init__ (line 206) | def __init__(self, theme=None): method code (line 211) | def code(self, msg): method errmsg (line 214) | def errmsg(self, msg): method filename (line 217) | def filename(self, msg): method indicate (line 220) | def indicate(self, msg): method highlight (line 223) | def highlight(self, msg): method reset (line 226) | def reset(self, msg): function termcolor (line 229) | def termcolor(): class ColorShell (line 239) | class ColorShell(object): method __init__ (line 242) | def __init__(self): method __enter__ (line 246) | def __enter__(self): method __exit__ (line 250) | def __exit__(self, *exc_detail): class reset_terminal (line 254) | class reset_terminal(object): method __init__ (line 255) | def __init__(self): method __enter__ (line 258) | def __enter__(self): method __exit__ (line 261) | def __exit__(self, *exc_detail): class HighlightColorScheme (line 309) | class HighlightColorScheme(_DummyColorScheme): method __init__ (line 310) | def __init__(self, theme=default_theme): method _markup (line 319) | def _markup(self, msg, color=None, style=Style.BRIGHT): method code (line 331) | def code(self, msg): method errmsg (line 334) | def errmsg(self, msg): method filename (line 337) | def filename(self, msg): method indicate (line 340) | def indicate(self, msg): method highlight (line 343) | def highlight(self, msg): method reset (line 346) | def reset(self, msg): function termcolor (line 349) | def termcolor(): function deprecated (line 443) | def deprecated(arg): class WarningsFixer (line 473) | class WarningsFixer(object): method __init__ (line 483) | def __init__(self, category): method catch_warnings (line 489) | def catch_warnings(self, filename=None, lineno=None): method flush (line 509) | def flush(self): method __enter__ (line 526) | def __enter__(self): method __exit__ (line 529) | def __exit__(self, exc_type, exc_value, traceback): class NumbaError (line 533) | class NumbaError(Exception): method __init__ (line 534) | def __init__(self, msg, loc=None, highlighting=True): method contexts (line 550) | def contexts(self): method add_context (line 557) | def add_context(self, msg): method patch_message (line 571) | def patch_message(self, new_message): class UnsupportedError (line 578) | class UnsupportedError(NumbaError): class UnsupportedBytecodeError (line 584) | class UnsupportedBytecodeError(Exception): method __init__ (line 587) | def __init__(self, msg, loc=None): class UnsupportedRewriteError (line 591) | class UnsupportedRewriteError(UnsupportedError): class IRError (line 597) | class IRError(NumbaError): class RedefinedError (line 604) | class RedefinedError(IRError): class NotDefinedError (line 611) | class NotDefinedError(IRError): method __init__ (line 616) | def __init__(self, name, loc=None): class VerificationError (line 623) | class VerificationError(IRError): class DeprecationError (line 634) | class DeprecationError(NumbaError): class LoweringError (line 641) | class LoweringError(NumbaError): method __init__ (line 646) | def __init__(self, msg, loc=None): class UnsupportedParforsError (line 650) | class UnsupportedParforsError(NumbaError): class ForbiddenConstruct (line 657) | class ForbiddenConstruct(LoweringError): class TypingError (line 664) | class TypingError(NumbaError): class UntypedAttributeError (line 671) | class UntypedAttributeError(TypingError): method __init__ (line 672) | def __init__(self, value, attr, loc=None): class ByteCodeSupportError (line 684) | class ByteCodeSupportError(NumbaError): method __init__ (line 689) | def __init__(self, msg, loc=None): class CompilerError (line 693) | class CompilerError(NumbaError): class ConstantInferenceError (line 700) | class ConstantInferenceError(NumbaError): method __init__ (line 705) | def __init__(self, value, loc=None): class InternalError (line 709) | class InternalError(NumbaError): method __init__ (line 714) | def __init__(self, exception): class InternalTargetMismatchError (line 719) | class InternalTargetMismatchError(InternalError): method __init__ (line 723) | def __init__(self, kind, target_hw, hw_clazz): class NonexistentTargetError (line 730) | class NonexistentTargetError(InternalError): class RequireLiteralValue (line 736) | class RequireLiteralValue(TypingError): class ForceLiteralArg (line 744) | class ForceLiteralArg(NumbaError): method __init__ (line 752) | def __init__(self, arg_indices, fold_arguments=None, loc=None): method bind_fold_arguments (line 770) | def bind_fold_arguments(self, fold_arguments): method combine (line 780) | def combine(self, other): method __or__ (line 788) | def __or__(self, other): class LiteralTypingError (line 794) | class LiteralTypingError(TypingError): class NumbaValueError (line 807) | class NumbaValueError(TypingError): class NumbaTypeError (line 811) | class NumbaTypeError(TypingError): class NumbaAttributeError (line 815) | class NumbaAttributeError(TypingError): class NumbaAssertionError (line 819) | class NumbaAssertionError(TypingError): class NumbaNotImplementedError (line 823) | class NumbaNotImplementedError(TypingError): class NumbaKeyError (line 827) | class NumbaKeyError(TypingError): class NumbaIndexError (line 831) | class NumbaIndexError(TypingError): class NumbaRuntimeError (line 835) | class NumbaRuntimeError(NumbaError): function _format_msg (line 839) | def _format_msg(fmt, args, kwargs): function new_error_context (line 853) | def new_error_context(fmt_, *args, **kwargs): FILE: numba/core/event.py class EventStatus (line 50) | class EventStatus(enum.Enum): function _guard_kind (line 66) | def _guard_kind(kind): class Event (line 88) | class Event: method __init__ (line 100) | def __init__(self, kind, status, data=None, exc_details=None): method kind (line 109) | def kind(self): method status (line 119) | def status(self): method data (line 129) | def data(self): method is_start (line 139) | def is_start(self): method is_end (line 149) | def is_end(self): method is_failed (line 159) | def is_failed(self): method __str__ (line 171) | def __str__(self): function register (line 182) | def register(kind, listener): function unregister (line 195) | def unregister(kind, listener): function broadcast (line 209) | def broadcast(event): class Listener (line 220) | class Listener(abc.ABC): method on_start (line 224) | def on_start(self, event): method on_end (line 234) | def on_end(self, event): method notify (line 243) | def notify(self, event): class TimingListener (line 258) | class TimingListener(Listener): method __init__ (line 262) | def __init__(self): method on_start (line 265) | def on_start(self, event): method on_end (line 270) | def on_end(self, event): method done (line 277) | def done(self): method duration (line 287) | def duration(self): class RecordingListener (line 296) | class RecordingListener(Listener): method __init__ (line 302) | def __init__(self): method on_start (line 305) | def on_start(self, event): method on_end (line 308) | def on_end(self, event): function install_listener (line 313) | def install_listener(kind, listener): function install_timer (line 338) | def install_timer(kind, callback): function install_recorder (line 367) | def install_recorder(kind): function start_event (line 390) | def start_event(kind, data=None): function end_event (line 404) | def end_event(kind, data=None, exc_details=None): function trigger_event (line 423) | def trigger_event(kind, data=None): function _prepare_chrome_trace_data (line 444) | def _prepare_chrome_trace_data(listener: RecordingListener): function _setup_chrome_trace_exit_handler (line 468) | def _setup_chrome_trace_exit_handler(): FILE: numba/core/extending.py function type_callable (line 25) | def type_callable(func): function overload (line 63) | def overload( function register_jitable (line 148) | def register_jitable(*args, **kwargs): function overload_attribute (line 180) | def overload_attribute(typ, attr, **kwargs): function _overload_method_common (line 210) | def _overload_method_common(typ, attr, **kwargs): function overload_method (line 230) | def overload_method(typ, attr, **kwargs): function overload_classmethod (line 253) | def overload_classmethod(typ, attr, **kwargs): function make_attribute_wrapper (line 280) | def make_attribute_wrapper(typeclass, struct_attr, python_attr): class _Intrinsic (line 322) | class _Intrinsic(ReduceMixin): method __init__ (line 334) | def __init__(self, name, defn, prefer_literal=False, **kwargs): method _uuid (line 342) | def _uuid(self): method _set_uuid (line 355) | def _set_uuid(self, u): method _register (line 361) | def _register(self): method __call__ (line 372) | def __call__(self, *args, **kwargs): method __repr__ (line 379) | def __repr__(self): method __deepcopy__ (line 382) | def __deepcopy__(self, memo): method _reduce_states (line 387) | def _reduce_states(self): method _rebuild (line 394) | def _rebuild(cls, uuid, name, defn): function intrinsic (line 407) | def intrinsic(*args, **kwargs): function get_cython_function_address (line 461) | def get_cython_function_address(module_name, function_name): function include_path (line 480) | def include_path(): function sentry_literal_args (line 488) | def sentry_literal_args(pysig, literal_args, args, kwargs): class SentryLiteralArgs (line 519) | class SentryLiteralArgs(collections.namedtuple( method for_function (line 538) | def for_function(self, func): method for_pysig (line 552) | def for_pysig(self, pysig): class BoundLiteralArgs (line 570) | class BoundLiteralArgs(collections.namedtuple( method bind (line 575) | def bind(self, *args, **kwargs): function is_jitted (line 586) | def is_jitted(function): FILE: numba/core/extending.pyi function type_callable (line 8) | def type_callable(func): function overload (line 12) | def overload(func, jit_options={}, strict=True, inline='never', function register_jitable (line 17) | def register_jitable(*args, **kwargs): function overload_attribute (line 21) | def overload_attribute(typ, attr, **kwargs): function _overload_method_common (line 25) | def _overload_method_common(typ, attr, **kwargs): function overload_method (line 29) | def overload_method(typ, attr, **kwargs): function overload_classmethod (line 33) | def overload_classmethod(typ, attr, **kwargs): function make_attribute_wrapper (line 37) | def make_attribute_wrapper(typeclass, struct_attr, python_attr): class _Intrinsic (line 41) | class _Intrinsic(ReduceMixin, Generic[P, R]): method __init__ (line 45) | def __init__( method _uuid (line 55) | def _uuid(self): method _set_uuid (line 58) | def _set_uuid(self, u): method _register (line 61) | def _register(self): method __call__ (line 64) | def __call__(self, *args: P.args, **kwargs: P.kwargs) -> R: method __repr__ (line 67) | def __repr__(self): method __deepcopy__ (line 70) | def __deepcopy__(self, memo): method _reduce_states (line 73) | def _reduce_states(self): method _rebuild (line 77) | def _rebuild(cls, uuid, name, defn): function intrinsic (line 90) | def intrinsic(*args, **kwargs) -> Callable[ function intrinsic (line 96) | def intrinsic(*args, **kwargs): function get_cython_function_address (line 100) | def get_cython_function_address(module_name, function_name): function include_path (line 104) | def include_path(): function sentry_literal_args (line 108) | def sentry_literal_args(pysig, literal_args, args, kwargs): class SentryLiteralArgs (line 112) | class SentryLiteralArgs(collections.namedtuple( method for_function (line 114) | def for_function(self, func): method for_pysig (line 117) | def for_pysig(self, pysig): class BoundLiteralArgs (line 121) | class BoundLiteralArgs(collections.namedtuple( method bind (line 123) | def bind(self, *args, **kwargs): function is_jitted (line 127) | def is_jitted(function): FILE: numba/core/externals.py function _add_missing_symbol (line 14) | def _add_missing_symbol(symbol, addr): function _get_msvcrt_symbol (line 21) | def _get_msvcrt_symbol(symbol): function compile_multi3 (line 31) | def compile_multi3(context): class _Installer (line 104) | class _Installer(object): method install (line 108) | def install(self, context): class _ExternalMathFunctions (line 118) | class _ExternalMathFunctions(_Installer): method _do_install (line 124) | def _do_install(self, context): FILE: numba/core/fastmathpass.py class FastFloatBinOpVisitor (line 5) | class FastFloatBinOpVisitor(Visitor): method __init__ (line 12) | def __init__(self, flags): method visit_Instruction (line 15) | def visit_Instruction(self, instr): class FastFloatCallVisitor (line 22) | class FastFloatCallVisitor(CallVisitor): method __init__ (line 27) | def __init__(self, flags): method visit_Call (line 30) | def visit_Call(self, instr): function rewrite_module (line 37) | def rewrite_module(mod, options): FILE: numba/core/funcdesc.py function default_mangler (line 12) | def default_mangler(name, argtypes, *, abi_tags=(), uid=None): function qualifying_prefix (line 16) | def qualifying_prefix(modname, qualname): class FunctionDescriptor (line 24) | class FunctionDescriptor(object): method __init__ (line 38) | def __init__(self, native, modname, qualname, unique_name, doc, method lookup_globals (line 79) | def lookup_globals(self): method lookup_module (line 87) | def lookup_module(self): method lookup_function (line 102) | def lookup_function(self): method llvm_func_name (line 109) | def llvm_func_name(self): method llvm_cpython_wrapper_name (line 118) | def llvm_cpython_wrapper_name(self): method llvm_cfunc_wrapper_name (line 127) | def llvm_cfunc_wrapper_name(self): method __repr__ (line 134) | def __repr__(self): method _get_function_info (line 138) | def _get_function_info(cls, func_ir): method _from_python_function (line 167) | def _from_python_function(cls, func_ir, typemap, restype, class PythonFunctionDescriptor (line 181) | class PythonFunctionDescriptor(FunctionDescriptor): method from_specialized_function (line 188) | def from_specialized_function(cls, func_ir, typemap, restype, calltypes, method from_object_mode_function (line 200) | def from_object_mode_function(cls, func_ir): class ExternalFunctionDescriptor (line 212) | class ExternalFunctionDescriptor(FunctionDescriptor): method __init__ (line 219) | def __init__(self, name, restype, argtypes): FILE: numba/core/generators.py class GeneratorDescriptor (line 12) | class GeneratorDescriptor(FunctionDescriptor): method from_generator_fndesc (line 19) | def from_generator_fndesc(cls, func_ir, fndesc, gentype, mangler): method llvm_finalizer_name (line 40) | def llvm_finalizer_name(self): class BaseGeneratorLower (line 48) | class BaseGeneratorLower(object): method __init__ (line 53) | def __init__(self, lower): method call_conv (line 70) | def call_conv(self): method get_args_ptr (line 73) | def get_args_ptr(self, builder, genptr): method get_resume_index_ptr (line 76) | def get_resume_index_ptr(self, builder, genptr): method get_state_ptr (line 80) | def get_state_ptr(self, builder, genptr): method lower_init_func (line 84) | def lower_init_func(self, lower): method lower_next_func (line 133) | def lower_next_func(self, lower): method lower_finalize_func (line 179) | def lower_finalize_func(self, lower): method return_from_generator (line 194) | def return_from_generator(self, lower): method create_resumption_block (line 202) | def create_resumption_block(self, lower, index): method debug_print (line 208) | def debug_print(self, builder, msg): class GeneratorLower (line 212) | class GeneratorLower(BaseGeneratorLower): method get_generator_type (line 217) | def get_generator_type(self): method box_generator_struct (line 220) | def box_generator_struct(self, lower, gen_struct): method lower_finalize_func_body (line 223) | def lower_finalize_func_body(self, builder, genptr): class PyGeneratorLower (line 240) | class PyGeneratorLower(BaseGeneratorLower): method get_generator_type (line 245) | def get_generator_type(self): method box_generator_struct (line 258) | def box_generator_struct(self, lower, gen_struct): method init_generator_state (line 265) | def init_generator_state(self, lower): method lower_finalize_func_body (line 273) | def lower_finalize_func_body(self, builder, genptr): class LowerYield (line 301) | class LowerYield(object): method __init__ (line 306) | def __init__(self, lower, yield_point, live_vars): method lower_yield_suspend (line 321) | def lower_yield_suspend(self): method lower_yield_resume (line 346) | def lower_yield_resume(self): FILE: numba/core/imputils.py class Registry (line 16) | class Registry(object): method __init__ (line 20) | def __init__(self, name='unspecified'): method lower (line 28) | def lower(self, func, *argtys): method _decorate_attr (line 42) | def _decorate_attr(self, impl, ty, attr, impl_list, decorator): method lower_getattr (line 47) | def lower_getattr(self, ty, attr): method lower_getattr_generic (line 60) | def lower_getattr_generic(self, ty): method lower_setattr (line 71) | def lower_setattr(self, ty, attr): method lower_setattr_generic (line 84) | def lower_setattr_generic(self, ty): method lower_cast (line 95) | def lower_cast(self, fromty, toty): method lower_constant (line 108) | def lower_constant(self, ty): method __repr__ (line 120) | def __repr__(self): class RegistryLoader (line 124) | class RegistryLoader(BaseRegistryLoader): function _decorate_getattr (line 144) | def _decorate_getattr(impl, ty, attr): function _decorate_setattr (line 158) | def _decorate_setattr(impl, ty, attr): function fix_returning_optional (line 173) | def fix_returning_optional(context, builder, sig, status, retval): function user_function (line 187) | def user_function(fndesc, libs): function user_generator (line 214) | def user_generator(gendesc, libs): function iterator_impl (line 231) | def iterator_impl(iterable_type, iterator_type): class _IternextResult (line 253) | class _IternextResult(object): method __init__ (line 260) | def __init__(self, context, builder, pairobj): method set_exhausted (line 265) | def set_exhausted(self): method set_valid (line 271) | def set_valid(self, is_valid=True): method yield_ (line 280) | def yield_(self, value): method is_valid (line 286) | def is_valid(self): method yielded_value (line 294) | def yielded_value(self): class RefType (line 300) | class RefType(Enum): function iternext_impl (line 317) | def iternext_impl(ref_type=None): function call_getiter (line 352) | def call_getiter(context, builder, iterable_type, val): function call_iternext (line 362) | def call_iternext(context, builder, iterator_type, val): function call_len (line 377) | def call_len(context, builder, ty, val): function for_iter (line 395) | def for_iter(context, builder, iterable_type, val): function impl_ret_new_ref (line 425) | def impl_ret_new_ref(ctx, builder, retty, ret): function impl_ret_borrowed (line 432) | def impl_ret_borrowed(ctx, builder, retty, ret): function impl_ret_untracked (line 443) | def impl_ret_untracked(ctx, builder, retty, ret): function force_error_model (line 451) | def force_error_model(context, model_name='numpy'): function numba_typeref_ctor (line 465) | def numba_typeref_ctor(*args, **kwargs): FILE: numba/core/inline_closurecall.py function callee_ir_validator (line 52) | def callee_ir_validator(func_ir): function _created_inlined_var_name (line 62) | def _created_inlined_var_name(function_name, var_name): class InlineClosureCallPass (line 76) | class InlineClosureCallPass(object): method __init__ (line 81) | def __init__(self, func_ir, parallel_options, swapped=None, typed=False): method run (line 90) | def run(self): method _inline_reduction (line 165) | def _inline_reduction(self, work_list, block, i, expr, call_name): method _inline_stencil (line 194) | def _inline_stencil(self, instr, call_name, func_def): method _fix_stencil_neighborhood (line 244) | def _fix_stencil_neighborhood(self, options): method _fix_stencil_index_offsets (line 260) | def _fix_stencil_index_offsets(self, options): method _inline_closure (line 270) | def _inline_closure(self, work_list, block, i, func_def): function check_reduce_func (line 280) | def check_reduce_func(func_ir, func_var): class InlineWorker (line 304) | class InlineWorker(object): method __init__ (line 312) | def __init__(self, method inline_ir (line 370) | def inline_ir(self, caller_ir, block, i, callee_ir, callee_freevars, method inline_function (line 493) | def inline_function(self, caller_ir, block, i, function, arg_typs=None): method run_untyped_passes (line 504) | def run_untyped_passes(self, func, enable_ssa=False): method update_type_and_call_maps (line 546) | def update_type_and_call_maps(self, callee_ir, arg_typs): function inline_closure_call (line 580) | def inline_closure_call(func_ir, glbls, block, i, callee, typingctx=None, function _get_callee_args (line 739) | def _get_callee_args(call_expr, callee, loc, func_ir): function _make_debug_print (line 808) | def _make_debug_print(prefix): function _debug_dump (line 815) | def _debug_dump(func_ir): function _get_all_scopes (line 820) | def _get_all_scopes(blocks): function _replace_args_with (line 830) | def _replace_args_with(blocks, args): function _replace_freevars (line 843) | def _replace_freevars(blocks, args): function _replace_returns (line 859) | def _replace_returns(blocks, target, return_label): function _add_definitions (line 881) | def _add_definitions(func_ir, block): function _find_arraycall (line 891) | def _find_arraycall(func_ir, block): function _find_iter_range (line 940) | def _find_iter_range(func_ir, range_iter_var, swapped): function length_of_iterator (line 975) | def length_of_iterator(typingctx, val): function _inline_arraycall (line 1034) | def _inline_arraycall(func_ir, cfg, visited, loop, swapped, enable_prang... function _find_unsafe_empty_inferred (line 1314) | def _find_unsafe_empty_inferred(func_ir, expr): function _fix_nested_array (line 1324) | def _fix_nested_array(func_ir): function _new_definition (line 1451) | def _new_definition(func_ir, var, value, loc): class RewriteArrayOfConsts (line 1457) | class RewriteArrayOfConsts(rewrites.Rewrite): method __init__ (line 1462) | def __init__(self, state, *args, **kws): method match (line 1466) | def match(self, func_ir, block, typemap, calltypes): method apply (line 1474) | def apply(self): function _inline_const_arraycall (line 1479) | def _inline_const_arraycall(block, func_ir, context, typemap, calltypes): FILE: numba/core/interpreter.py class _UNKNOWN_VALUE (line 31) | class _UNKNOWN_VALUE(object): method __init__ (line 35) | def __init__(self, varname): method __repr__ (line 38) | def __repr__(self): class Assigner (line 45) | class Assigner(object): method __init__ (line 58) | def __init__(self): method assign (line 66) | def assign(self, srcvar, destvar): method get_assignment_source (line 86) | def get_assignment_source(self, destname): function _remove_assignment_definition (line 97) | def _remove_assignment_definition(old_body, idx, func_ir, already_delete... function _call_function_ex_replace_kws_small (line 122) | def _call_function_ex_replace_kws_small( function _call_function_ex_replace_kws_large (line 163) | def _call_function_ex_replace_kws_large( function _call_function_ex_replace_args_small (line 302) | def _call_function_ex_replace_args_small( function _call_function_ex_replace_args_large (line 337) | def _call_function_ex_replace_args_large( function peep_hole_call_function_ex_to_call_function_kw (line 509) | def peep_hole_call_function_ex_to_call_function_kw(func_ir): function peep_hole_list_to_tuple (line 764) | def peep_hole_list_to_tuple(func_ir): function peep_hole_delete_with_exit (line 986) | def peep_hole_delete_with_exit(func_ir): function peep_hole_fuse_dict_add_updates (line 1018) | def peep_hole_fuse_dict_add_updates(func_ir): function peep_hole_split_at_pop_block (line 1240) | def peep_hole_split_at_pop_block(func_ir): function _build_new_build_map (line 1289) | def _build_new_build_map(func_ir, name, old_body, old_lineno, new_items): class Interpreter (line 1342) | class Interpreter(object): method __init__ (line 1348) | def __init__(self, func_id): method interpret (line 1365) | def interpret(self, bytecode): method post_process (line 1443) | def post_process(self, peepholes, func_ir): method _end_try_blocks (line 1448) | def _end_try_blocks(self): method _legalize_exception_vars (line 1495) | def _legalize_exception_vars(self): method init_first_block (line 1517) | def init_first_block(self): method _iter_inst (line 1523) | def _iter_inst(self): method _start_new_block (line 1543) | def _start_new_block(self, offset): method _end_current_block (line 1595) | def _end_current_block(self): method _inject_call (line 1605) | def _inject_call(self, func, gv_name, res_name=None): method _insert_try_block_begin (line 1624) | def _insert_try_block_begin(self): method _insert_try_block_end (line 1629) | def _insert_try_block_end(self): method _insert_exception_variables (line 1634) | def _insert_exception_variables(self): method _insert_exception_check (line 1654) | def _insert_exception_check(self): method _remove_unused_temporaries (line 1662) | def _remove_unused_temporaries(self): method _var_used_in_binop (line 1723) | def _var_used_in_binop(self, varname, expr): method _insert_outgoing_phis (line 1731) | def _insert_outgoing_phis(self): method get_global_value (line 1754) | def get_global_value(self, name): method get_closure_value (line 1764) | def get_closure_value(self, index): method current_scope (line 1776) | def current_scope(self): method code_consts (line 1780) | def code_consts(self): method code_locals (line 1784) | def code_locals(self): method code_names (line 1788) | def code_names(self): method code_cellvars (line 1792) | def code_cellvars(self): method code_freevars (line 1796) | def code_freevars(self): method _dispatch (line 1799) | def _dispatch(self, inst, kws): method store (line 1840) | def store(self, value, name, redefine=False): method get (line 1858) | def get(self, name): method insert_block (line 1876) | def insert_block(self, offset, scope=None, loc=None): method op_NOP (line 1887) | def op_NOP(self, inst): method op_RESUME (line 1898) | def op_RESUME(self, inst): method op_CACHE (line 1901) | def op_CACHE(self, inst): method op_PRECALL (line 1904) | def op_PRECALL(self, inst): method op_PUSH_NULL (line 1907) | def op_PUSH_NULL(self, inst): method op_RETURN_GENERATOR (line 1910) | def op_RETURN_GENERATOR(self, inst): method op_PRINT_ITEM (line 1913) | def op_PRINT_ITEM(self, inst, item, printvar, res): method op_PRINT_NEWLINE (line 1920) | def op_PRINT_NEWLINE(self, inst, printvar, res): method op_UNPACK_SEQUENCE (line 1926) | def op_UNPACK_SEQUENCE(self, inst, iterable, stores, tupleobj): method op_FORMAT_SIMPLE (line 1940) | def op_FORMAT_SIMPLE(self, inst, value, res, strvar): method op_FORMAT_VALUE (line 1944) | def op_FORMAT_VALUE(self, inst, value, res, strvar): method op_BUILD_STRING (line 1956) | def op_BUILD_STRING(self, inst, strings, tmps): method op_BUILD_SLICE (line 1978) | def op_BUILD_SLICE(self, inst, start, stop, step, res, slicevar): method op_BINARY_SLICE (line 1995) | def op_BINARY_SLICE(self, inst, start, end, container, res, slicevar, method op_STORE_SLICE (line 2014) | def op_STORE_SLICE(self, inst, start, end, container, value, res, method op_SLICE_0 (line 2035) | def op_SLICE_0(self, inst, base, res, slicevar, indexvar, nonevar): method op_SLICE_1 (line 2051) | def op_SLICE_1(self, inst, base, start, nonevar, res, slicevar, indexv... method op_SLICE_2 (line 2069) | def op_SLICE_2(self, inst, base, nonevar, stop, res, slicevar, indexvar): method op_SLICE_3 (line 2087) | def op_SLICE_3(self, inst, base, start, stop, res, slicevar, indexvar): method op_STORE_SLICE_0 (line 2102) | def op_STORE_SLICE_0(self, inst, base, value, slicevar, indexvar, none... method op_STORE_SLICE_1 (line 2119) | def op_STORE_SLICE_1(self, inst, base, start, nonevar, value, slicevar, method op_STORE_SLICE_2 (line 2139) | def op_STORE_SLICE_2(self, inst, base, nonevar, stop, value, slicevar, method op_STORE_SLICE_3 (line 2159) | def op_STORE_SLICE_3(self, inst, base, start, stop, value, slicevar, method op_DELETE_SLICE_0 (line 2175) | def op_DELETE_SLICE_0(self, inst, base, slicevar, indexvar, nonevar): method op_DELETE_SLICE_1 (line 2191) | def op_DELETE_SLICE_1(self, inst, base, start, nonevar, slicevar, inde... method op_DELETE_SLICE_2 (line 2209) | def op_DELETE_SLICE_2(self, inst, base, nonevar, stop, slicevar, index... method op_DELETE_SLICE_3 (line 2227) | def op_DELETE_SLICE_3(self, inst, base, start, stop, slicevar, indexvar): method _op_LOAD_FAST (line 2241) | def _op_LOAD_FAST(self, inst, res): method op_LOAD_FAST (line 2246) | def op_LOAD_FAST(self, inst, res, as_load_deref=False): method op_LOAD_FAST_LOAD_FAST (line 2256) | def op_LOAD_FAST_LOAD_FAST(self, inst, res1, res2): method op_STORE_FAST_LOAD_FAST (line 2265) | def op_STORE_FAST_LOAD_FAST(self, inst, store_value, load_res): method op_STORE_FAST_STORE_FAST (line 2277) | def op_STORE_FAST_STORE_FAST(self, inst, value1, value2): method op_LOAD_FAST_AND_CLEAR (line 2295) | def op_LOAD_FAST_AND_CLEAR(self, inst, res): method op_STORE_FAST (line 2320) | def op_STORE_FAST(self, inst, value): method op_DELETE_FAST (line 2325) | def op_DELETE_FAST(self, inst): method op_DUP_TOPX (line 2329) | def op_DUP_TOPX(self, inst, orig, duped): method op_STORE_ATTR (line 2336) | def op_STORE_ATTR(self, inst, target, value): method op_DELETE_ATTR (line 2342) | def op_DELETE_ATTR(self, inst, target): method op_LOAD_ATTR (line 2347) | def op_LOAD_ATTR(self, inst, item, res): method op_LOAD_CONST (line 2358) | def op_LOAD_CONST(self, inst, res): method op_LOAD_SMALL_INT (line 2409) | def op_LOAD_SMALL_INT(self, inst, res): method op_LOAD_GLOBAL (line 2419) | def op_LOAD_GLOBAL(self, inst, idx, res): method op_LOAD_GLOBAL (line 2425) | def op_LOAD_GLOBAL(self, inst, res): method op_COPY_FREE_VARS (line 2433) | def op_COPY_FREE_VARS(self, inst): method op_LOAD_DEREF (line 2437) | def op_LOAD_DEREF(self, inst, res): method op_LOAD_DEREF (line 2451) | def op_LOAD_DEREF(self, inst, res): method op_MAKE_CELL (line 2466) | def op_MAKE_CELL(self, inst): method op_STORE_DEREF (line 2470) | def op_STORE_DEREF(self, inst, value): method op_STORE_DEREF (line 2475) | def op_STORE_DEREF(self, inst, value): method op_SETUP_LOOP (line 2486) | def op_SETUP_LOOP(self, inst): method op_SETUP_WITH (line 2491) | def op_SETUP_WITH(self, inst, contextmanager, exitfn=None): method op_BEFORE_WITH (line 2511) | def op_BEFORE_WITH(self, inst, contextmanager, exitfn, end): method op_SETUP_FINALLY (line 2537) | def op_SETUP_FINALLY(self, inst): method op_WITH_CLEANUP (line 2541) | def op_WITH_CLEANUP(self, inst): method op_WITH_CLEANUP_START (line 2544) | def op_WITH_CLEANUP_START(self, inst): method op_WITH_CLEANUP_FINISH (line 2547) | def op_WITH_CLEANUP_FINISH(self, inst): method op_END_FINALLY (line 2550) | def op_END_FINALLY(self, inst): method op_BEGIN_FINALLY (line 2553) | def op_BEGIN_FINALLY(self, inst, temps): method op_CALL (line 2561) | def op_CALL(self, inst, func, args, kw_names, res): method op_CALL_KW (line 2575) | def op_CALL_KW(self, inst, func, args, kw_names, res): method op_CALL_FUNCTION (line 2587) | def op_CALL_FUNCTION(self, inst, func, args, res): method op_CALL_FUNCTION_KW (line 2593) | def op_CALL_FUNCTION_KW(self, inst, func, args, names, res): method op_CALL_FUNCTION_EX (line 2621) | def op_CALL_FUNCTION_EX(self, inst, func, vararg, varkwarg, res): method _build_tuple_unpack (line 2631) | def _build_tuple_unpack(self, inst, tuples, temps, is_assign): method op_BUILD_TUPLE_UNPACK_WITH_CALL (line 2667) | def op_BUILD_TUPLE_UNPACK_WITH_CALL(self, inst, tuples, temps, is_assi... method op_BUILD_TUPLE_UNPACK (line 2671) | def op_BUILD_TUPLE_UNPACK(self, inst, tuples, temps, is_assign): method op_LIST_TO_TUPLE (line 2674) | def op_LIST_TO_TUPLE(self, inst, const_list, res): method op_BUILD_CONST_KEY_MAP (line 2678) | def op_BUILD_CONST_KEY_MAP(self, inst, keys, keytmps, values, res): method op_GET_ITER (line 2745) | def op_GET_ITER(self, inst, value, res): method op_FOR_ITER (line 2749) | def op_FOR_ITER(self, inst, iterator, pair, indval, pred): method op_BINARY_SUBSCR (line 2777) | def op_BINARY_SUBSCR(self, inst, target, index, res): method op_STORE_SUBSCR (line 2785) | def op_STORE_SUBSCR(self, inst, target, index, value): method op_DELETE_SUBSCR (line 2793) | def op_DELETE_SUBSCR(self, inst, target, index): method op_BUILD_TUPLE (line 2799) | def op_BUILD_TUPLE(self, inst, items, res): method op_BUILD_LIST (line 2804) | def op_BUILD_LIST(self, inst, items, res): method op_BUILD_SET (line 2809) | def op_BUILD_SET(self, inst, items, res): method op_SET_ADD (line 2814) | def op_SET_ADD(self, inst, value, target, addvar, res): method op_SET_UPDATE (line 2822) | def op_SET_UPDATE(self, inst, target, value, updatevar, res): method op_DICT_UPDATE (line 2831) | def op_DICT_UPDATE(self, inst, target, value, updatevar, res): method op_BUILD_MAP (line 2847) | def op_BUILD_MAP(self, inst, items, size, res): method op_STORE_MAP (line 2891) | def op_STORE_MAP(self, inst, dct, key, value): method op_UNARY_NEGATIVE (line 2896) | def op_UNARY_NEGATIVE(self, inst, value, res): method op_UNARY_POSITIVE (line 2901) | def op_UNARY_POSITIVE(self, inst, value, res): method op_UNARY_INVERT (line 2906) | def op_UNARY_INVERT(self, inst, value, res): method op_UNARY_NOT (line 2911) | def op_UNARY_NOT(self, inst, value, res): method _binop (line 2916) | def _binop(self, op, lhs, rhs, res): method _inplace_binop (line 2923) | def _inplace_binop(self, op, lhs, rhs, res): method op_BINARY_OP (line 2932) | def op_BINARY_OP(self, inst, op, lhs, rhs, res): method op_BINARY_ADD (line 2944) | def op_BINARY_ADD(self, inst, lhs, rhs, res): method op_BINARY_SUBTRACT (line 2947) | def op_BINARY_SUBTRACT(self, inst, lhs, rhs, res): method op_BINARY_MULTIPLY (line 2950) | def op_BINARY_MULTIPLY(self, inst, lhs, rhs, res): method op_BINARY_DIVIDE (line 2953) | def op_BINARY_DIVIDE(self, inst, lhs, rhs, res): method op_BINARY_TRUE_DIVIDE (line 2956) | def op_BINARY_TRUE_DIVIDE(self, inst, lhs, rhs, res): method op_BINARY_FLOOR_DIVIDE (line 2959) | def op_BINARY_FLOOR_DIVIDE(self, inst, lhs, rhs, res): method op_BINARY_MODULO (line 2962) | def op_BINARY_MODULO(self, inst, lhs, rhs, res): method op_BINARY_POWER (line 2965) | def op_BINARY_POWER(self, inst, lhs, rhs, res): method op_BINARY_MATRIX_MULTIPLY (line 2968) | def op_BINARY_MATRIX_MULTIPLY(self, inst, lhs, rhs, res): method op_BINARY_LSHIFT (line 2971) | def op_BINARY_LSHIFT(self, inst, lhs, rhs, res): method op_BINARY_RSHIFT (line 2974) | def op_BINARY_RSHIFT(self, inst, lhs, rhs, res): method op_BINARY_AND (line 2977) | def op_BINARY_AND(self, inst, lhs, rhs, res): method op_BINARY_OR (line 2980) | def op_BINARY_OR(self, inst, lhs, rhs, res): method op_BINARY_XOR (line 2983) | def op_BINARY_XOR(self, inst, lhs, rhs, res): method op_INPLACE_ADD (line 2986) | def op_INPLACE_ADD(self, inst, lhs, rhs, res): method op_INPLACE_SUBTRACT (line 2989) | def op_INPLACE_SUBTRACT(self, inst, lhs, rhs, res): method op_INPLACE_MULTIPLY (line 2992) | def op_INPLACE_MULTIPLY(self, inst, lhs, rhs, res): method op_INPLACE_DIVIDE (line 2995) | def op_INPLACE_DIVIDE(self, inst, lhs, rhs, res): method op_INPLACE_TRUE_DIVIDE (line 2998) | def op_INPLACE_TRUE_DIVIDE(self, inst, lhs, rhs, res): method op_INPLACE_FLOOR_DIVIDE (line 3001) | def op_INPLACE_FLOOR_DIVIDE(self, inst, lhs, rhs, res): method op_INPLACE_MODULO (line 3004) | def op_INPLACE_MODULO(self, inst, lhs, rhs, res): method op_INPLACE_POWER (line 3007) | def op_INPLACE_POWER(self, inst, lhs, rhs, res): method op_INPLACE_MATRIX_MULTIPLY (line 3010) | def op_INPLACE_MATRIX_MULTIPLY(self, inst, lhs, rhs, res): method op_INPLACE_LSHIFT (line 3013) | def op_INPLACE_LSHIFT(self, inst, lhs, rhs, res): method op_INPLACE_RSHIFT (line 3016) | def op_INPLACE_RSHIFT(self, inst, lhs, rhs, res): method op_INPLACE_AND (line 3019) | def op_INPLACE_AND(self, inst, lhs, rhs, res): method op_INPLACE_OR (line 3022) | def op_INPLACE_OR(self, inst, lhs, rhs, res): method op_INPLACE_XOR (line 3025) | def op_INPLACE_XOR(self, inst, lhs, rhs, res): method op_JUMP_ABSOLUTE (line 3028) | def op_JUMP_ABSOLUTE(self, inst): method op_JUMP_FORWARD (line 3032) | def op_JUMP_FORWARD(self, inst): method op_JUMP_BACKWARD (line 3036) | def op_JUMP_BACKWARD(self, inst): method op_POP_BLOCK (line 3042) | def op_POP_BLOCK(self, inst, kind=None): method op_RETURN_VALUE (line 3051) | def op_RETURN_VALUE(self, inst, retval, castval): method op_RETURN_CONST (line 3057) | def op_RETURN_CONST(self, inst, retval, castval): method op_TO_BOOL (line 3070) | def op_TO_BOOL(self, inst, val, res): method op_COMPARE_OP (line 3078) | def op_COMPARE_OP(self, inst, lhs, rhs, res): method op_IS_OP (line 3111) | def op_IS_OP(self, inst, lhs, rhs, res): method op_CONTAINS_OP (line 3116) | def op_CONTAINS_OP(self, inst, lhs, rhs, res): method op_BREAK_LOOP (line 3125) | def op_BREAK_LOOP(self, inst, end=None): method _op_JUMP_IF (line 3133) | def _op_JUMP_IF(self, inst, pred, iftrue): method op_JUMP_IF_FALSE (line 3154) | def op_JUMP_IF_FALSE(self, inst, pred): method op_JUMP_IF_TRUE (line 3157) | def op_JUMP_IF_TRUE(self, inst, pred): method _jump_if_none (line 3160) | def _jump_if_none(self, inst, pred, iftrue): method op_POP_JUMP_FORWARD_IF_NONE (line 3194) | def op_POP_JUMP_FORWARD_IF_NONE(self, inst, pred): method op_POP_JUMP_FORWARD_IF_NOT_NONE (line 3197) | def op_POP_JUMP_FORWARD_IF_NOT_NONE(self, inst, pred): method op_POP_JUMP_IF_NONE (line 3201) | def op_POP_JUMP_IF_NONE(self, inst, pred): method op_POP_JUMP_IF_NOT_NONE (line 3204) | def op_POP_JUMP_IF_NOT_NONE(self, inst, pred): method op_POP_JUMP_BACKWARD_IF_NONE (line 3211) | def op_POP_JUMP_BACKWARD_IF_NONE(self, inst, pred): method op_POP_JUMP_BACKWARD_IF_NOT_NONE (line 3214) | def op_POP_JUMP_BACKWARD_IF_NOT_NONE(self, inst, pred): method op_POP_JUMP_FORWARD_IF_FALSE (line 3217) | def op_POP_JUMP_FORWARD_IF_FALSE(self, inst, pred): method op_POP_JUMP_FORWARD_IF_TRUE (line 3220) | def op_POP_JUMP_FORWARD_IF_TRUE(self, inst, pred): method op_POP_JUMP_BACKWARD_IF_FALSE (line 3223) | def op_POP_JUMP_BACKWARD_IF_FALSE(self, inst, pred): method op_POP_JUMP_BACKWARD_IF_TRUE (line 3226) | def op_POP_JUMP_BACKWARD_IF_TRUE(self, inst, pred): method op_POP_JUMP_IF_FALSE (line 3229) | def op_POP_JUMP_IF_FALSE(self, inst, pred): method op_POP_JUMP_IF_TRUE (line 3232) | def op_POP_JUMP_IF_TRUE(self, inst, pred): method op_JUMP_IF_FALSE_OR_POP (line 3235) | def op_JUMP_IF_FALSE_OR_POP(self, inst, pred): method op_JUMP_IF_TRUE_OR_POP (line 3238) | def op_JUMP_IF_TRUE_OR_POP(self, inst, pred): method op_CHECK_EXC_MATCH (line 3241) | def op_CHECK_EXC_MATCH(self, inst, pred, tos, tos1): method op_JUMP_IF_NOT_EXC_MATCH (line 3254) | def op_JUMP_IF_NOT_EXC_MATCH(self, inst, pred, tos, tos1): method op_RERAISE (line 3272) | def op_RERAISE(self, inst, exc): method op_RAISE_VARARGS (line 3287) | def op_RAISE_VARARGS(self, inst, exc): method op_YIELD_VALUE (line 3302) | def op_YIELD_VALUE(self, inst, value, res): method op_MAKE_FUNCTION (line 3308) | def op_MAKE_FUNCTION(self, inst, name, code, closure, annotations, method op_MAKE_CLOSURE (line 3339) | def op_MAKE_CLOSURE(self, inst, name, code, closure, annotations, method op_LOAD_CLOSURE (line 3345) | def op_LOAD_CLOSURE(self, inst, res): method op_LOAD_CLOSURE (line 3362) | def op_LOAD_CLOSURE(self, inst, res): method op_LIST_APPEND (line 3380) | def op_LIST_APPEND(self, inst, target, value, appendvar, res): method op_LIST_EXTEND (line 3389) | def op_LIST_EXTEND(self, inst, target, value, extendvar, res): method op_MAP_ADD (line 3454) | def op_MAP_ADD(self, inst, target, key, value, setitemvar, res): method op_LOAD_ASSERTION_ERROR (line 3468) | def op_LOAD_ASSERTION_ERROR(self, inst, res): method op_LOAD_METHOD (line 3482) | def op_LOAD_METHOD(self, *args, **kws): method op_CALL_METHOD (line 3485) | def op_CALL_METHOD(self, *args, **kws): method op_CALL_INTRINSIC_1 (line 3489) | def op_CALL_INTRINSIC_1(self, inst, operand, **kwargs): method op_LOAD_SPECIAL (line 3510) | def op_LOAD_SPECIAL(self, inst, contextmanager, exit_method, block_end): method op_LOAD_COMMON_CONSTANT (line 3538) | def op_LOAD_COMMON_CONSTANT(self, inst, res, idx): class INTRINSIC_STOPITERATION_ERROR (line 3553) | class INTRINSIC_STOPITERATION_ERROR(AssertionError): FILE: numba/core/intrinsics.py class _DivmodFixer (line 8) | class _DivmodFixer(ir.Visitor): method visit_Instruction (line 9) | def visit_Instruction(self, instr): function fix_divmod (line 25) | def fix_divmod(mod): FILE: numba/core/ir.py class Loc (line 25) | class Loc(object): method __init__ (line 31) | def __init__(self, filename, line, col=None, maybe_decorator=False): method __eq__ (line 44) | def __eq__(self, other): method __ne__ (line 52) | def __ne__(self, other): method from_function_id (line 56) | def from_function_id(cls, func_id): method __repr__ (line 59) | def __repr__(self): method __str__ (line 63) | def __str__(self): method _find_definition (line 69) | def _find_definition(self): method _raw_function_name (line 82) | def _raw_function_name(self): method get_lines (line 91) | def get_lines(self): method _get_path (line 101) | def _get_path(self): method strformat (line 115) | def strformat(self, nlines_up=2): method with_lineno (line 198) | def with_lineno(self, line, col=None): method short (line 204) | def short(self): class SlotEqualityCheckMixin (line 217) | class SlotEqualityCheckMixin(object): method __eq__ (line 222) | def __eq__(self, other): method __le__ (line 231) | def __le__(self, other): method __hash__ (line 234) | def __hash__(self): class EqualityCheckMixin (line 239) | class EqualityCheckMixin(object): method __eq__ (line 242) | def __eq__(self, other): method __le__ (line 256) | def __le__(self, other): method __hash__ (line 259) | def __hash__(self): class VarMap (line 263) | class VarMap(object): method __init__ (line 264) | def __init__(self): method define (line 267) | def define(self, name, var): method get (line 273) | def get(self, name): method __contains__ (line 279) | def __contains__(self, name): method __len__ (line 282) | def __len__(self): method __repr__ (line 285) | def __repr__(self): method __hash__ (line 288) | def __hash__(self): method __iter__ (line 291) | def __iter__(self): method __eq__ (line 294) | def __eq__(self, other): method __ne__ (line 300) | def __ne__(self, other): class AbstractRHS (line 304) | class AbstractRHS(object): class Inst (line 310) | class Inst(EqualityCheckMixin, AbstractRHS): method list_vars (line 315) | def list_vars(self): method _rec_list_vars (line 321) | def _rec_list_vars(self, val): class Stmt (line 343) | class Stmt(Inst): method list_vars (line 354) | def list_vars(self): class Terminator (line 358) | class Terminator(Stmt): method get_targets (line 370) | def get_targets(self): class Expr (line 374) | class Expr(Inst): method __init__ (line 380) | def __init__(self, op, loc, **kws): method __getattr__ (line 387) | def __getattr__(self, name): method __setattr__ (line 392) | def __setattr__(self, name, value): method binop (line 399) | def binop(cls, fn, lhs, rhs, loc): method inplace_binop (line 409) | def inplace_binop(cls, fn, immutable_fn, lhs, rhs, loc): method unary (line 421) | def unary(cls, fn, value, loc): method call (line 429) | def call(cls, func, args, kws, loc, vararg=None, varkwarg=None, target... method build_tuple (line 437) | def build_tuple(cls, items, loc): method build_list (line 443) | def build_list(cls, items, loc): method build_set (line 449) | def build_set(cls, items, loc): method build_map (line 455) | def build_map(cls, items, size, literal_value, value_indexes, loc): method pair_first (line 462) | def pair_first(cls, value, loc): method pair_second (line 468) | def pair_second(cls, value, loc): method getiter (line 475) | def getiter(cls, value, loc): method iternext (line 482) | def iternext(cls, value, loc): method exhaust_iter (line 489) | def exhaust_iter(cls, value, count, loc): method getattr (line 497) | def getattr(cls, value, attr, loc): method getitem (line 505) | def getitem(cls, value, index, loc): method typed_getitem (line 514) | def typed_getitem(cls, value, dtype, index, loc): method static_getitem (line 522) | def static_getitem(cls, value, index, index_var, loc): method cast (line 532) | def cast(cls, value, loc): method phi (line 542) | def phi(cls, loc): method make_function (line 549) | def make_function(cls, name, code, closure, defaults, loc): method null (line 558) | def null(cls, loc): method undef (line 570) | def undef(cls, loc): method dummy (line 579) | def dummy(cls, op, info, loc): method __repr__ (line 592) | def __repr__(self): method list_vars (line 611) | def list_vars(self): method infer_constant (line 614) | def infer_constant(self): class SetItem (line 618) | class SetItem(Stmt): method __init__ (line 623) | def __init__(self, target, index, value, loc): method __repr__ (line 633) | def __repr__(self): class StaticSetItem (line 637) | class StaticSetItem(Stmt): method __init__ (line 642) | def __init__(self, target, index, index_var, value, loc): method __repr__ (line 654) | def __repr__(self): class DelItem (line 658) | class DelItem(Stmt): method __init__ (line 663) | def __init__(self, target, index, loc): method __repr__ (line 671) | def __repr__(self): class SetAttr (line 675) | class SetAttr(Stmt): method __init__ (line 676) | def __init__(self, target, attr, value, loc): method __repr__ (line 686) | def __repr__(self): class DelAttr (line 690) | class DelAttr(Stmt): method __init__ (line 691) | def __init__(self, target, attr, loc): method __repr__ (line 699) | def __repr__(self): class StoreMap (line 703) | class StoreMap(Stmt): method __init__ (line 704) | def __init__(self, dct, key, value, loc): method __repr__ (line 714) | def __repr__(self): class Del (line 718) | class Del(Stmt): method __init__ (line 719) | def __init__(self, value, loc): method __str__ (line 725) | def __str__(self): class Raise (line 729) | class Raise(Terminator): method __init__ (line 732) | def __init__(self, exception, loc): method __str__ (line 738) | def __str__(self): method get_targets (line 741) | def get_targets(self): class StaticRaise (line 745) | class StaticRaise(Terminator): method __init__ (line 753) | def __init__(self, exc_class, exc_args, loc): method __str__ (line 761) | def __str__(self): method get_targets (line 770) | def get_targets(self): class DynamicRaise (line 774) | class DynamicRaise(Terminator): method __init__ (line 782) | def __init__(self, exc_class, exc_args, loc): method __str__ (line 790) | def __str__(self): method get_targets (line 799) | def get_targets(self): class TryRaise (line 803) | class TryRaise(Stmt): method __init__ (line 807) | def __init__(self, exception, loc): method __str__ (line 813) | def __str__(self): class StaticTryRaise (line 817) | class StaticTryRaise(Stmt): method __init__ (line 821) | def __init__(self, exc_class, exc_args, loc): method __str__ (line 829) | def __str__(self): class DynamicTryRaise (line 839) | class DynamicTryRaise(Stmt): method __init__ (line 843) | def __init__(self, exc_class, exc_args, loc): method __str__ (line 851) | def __str__(self): class Return (line 861) | class Return(Terminator): method __init__ (line 867) | def __init__(self, value, loc): method __str__ (line 873) | def __str__(self): method get_targets (line 876) | def get_targets(self): class Jump (line 880) | class Jump(Terminator): method __init__ (line 885) | def __init__(self, target, loc): method __str__ (line 890) | def __str__(self): method get_targets (line 893) | def get_targets(self): class Branch (line 897) | class Branch(Terminator): method __init__ (line 902) | def __init__(self, cond, truebr, falsebr, loc): method __str__ (line 910) | def __str__(self): method get_targets (line 913) | def get_targets(self): class Assign (line 917) | class Assign(Stmt): method __init__ (line 921) | def __init__(self, value, target, loc): method __str__ (line 929) | def __str__(self): class Print (line 933) | class Print(Stmt): method __init__ (line 937) | def __init__(self, args, vararg, loc): method __str__ (line 947) | def __str__(self): class Yield (line 951) | class Yield(Inst): method __init__ (line 952) | def __init__(self, value, loc, index): method __str__ (line 959) | def __str__(self): method list_vars (line 962) | def list_vars(self): class EnterWith (line 966) | class EnterWith(Stmt): method __init__ (line 969) | def __init__(self, contextmanager, begin, end, loc): method __str__ (line 986) | def __str__(self): method list_vars (line 989) | def list_vars(self): class PopBlock (line 993) | class PopBlock(Stmt): method __init__ (line 995) | def __init__(self, loc): method __str__ (line 999) | def __str__(self): class Arg (line 1003) | class Arg(EqualityCheckMixin, AbstractRHS): method __init__ (line 1004) | def __init__(self, name, index, loc): method __repr__ (line 1012) | def __repr__(self): method infer_constant (line 1015) | def infer_constant(self): class Const (line 1019) | class Const(EqualityCheckMixin, AbstractRHS): method __init__ (line 1020) | def __init__(self, value, loc, use_literal_type=True): method __repr__ (line 1027) | def __repr__(self): method infer_constant (line 1030) | def infer_constant(self): method __deepcopy__ (line 1033) | def __deepcopy__(self, memo): class Global (line 1041) | class Global(EqualityCheckMixin, AbstractRHS): method __init__ (line 1042) | def __init__(self, name, value, loc): method __str__ (line 1048) | def __str__(self): method infer_constant (line 1051) | def infer_constant(self): method __deepcopy__ (line 1054) | def __deepcopy__(self, memo): class FreeVar (line 1060) | class FreeVar(EqualityCheckMixin, AbstractRHS): method __init__ (line 1066) | def __init__(self, index, name, value, loc): method __str__ (line 1078) | def __str__(self): method infer_constant (line 1081) | def infer_constant(self): method __deepcopy__ (line 1084) | def __deepcopy__(self, memo): class Var (line 1091) | class Var(EqualityCheckMixin, AbstractRHS): method __init__ (line 1103) | def __init__(self, scope, name, loc): method __repr__ (line 1112) | def __repr__(self): method __str__ (line 1115) | def __str__(self): method is_temp (line 1119) | def is_temp(self): method unversioned_name (line 1123) | def unversioned_name(self): method versioned_names (line 1132) | def versioned_names(self): method all_names (line 1139) | def all_names(self): method __deepcopy__ (line 1144) | def __deepcopy__(self, memo): class Scope (line 1150) | class Scope(EqualityCheckMixin): method __init__ (line 1165) | def __init__(self, parent, loc): method define (line 1174) | def define(self, name, loc): method get (line 1182) | def get(self, name): method get_exact (line 1190) | def get_exact(self, name): method get_or_define (line 1203) | def get_or_define(self, name, loc): method redefine (line 1212) | def redefine(self, name, loc, rename=True): method get_versions_of (line 1235) | def get_versions_of(self, name): method make_temp (line 1249) | def make_temp(self, loc): method has_parent (line 1256) | def has_parent(self): method __repr__ (line 1259) | def __repr__(self): class Block (line 1265) | class Block(EqualityCheckMixin): method __init__ (line 1270) | def __init__(self, scope, loc): method copy (line 1277) | def copy(self): method find_exprs (line 1282) | def find_exprs(self, op=None): method find_insts (line 1293) | def find_insts(self, cls=None): method find_variable_assignment (line 1301) | def find_variable_assignment(self, name): method prepend (line 1311) | def prepend(self, inst): method append (line 1315) | def append(self, inst): method remove (line 1319) | def remove(self, inst): method clear (line 1323) | def clear(self): method dump (line 1326) | def dump(self, file=None): method terminator (line 1337) | def terminator(self): method is_terminated (line 1341) | def is_terminated(self): method verify (line 1344) | def verify(self): method insert_after (line 1353) | def insert_after(self, stmt, other): method insert_before_terminator (line 1360) | def insert_before_terminator(self, stmt): method __repr__ (line 1365) | def __repr__(self): class Loop (line 1369) | class Loop(SlotEqualityCheckMixin): method __init__ (line 1374) | def __init__(self, entry, exit): method __repr__ (line 1378) | def __repr__(self): class With (line 1383) | class With(SlotEqualityCheckMixin): method __init__ (line 1388) | def __init__(self, entry, exit): method __repr__ (line 1392) | def __repr__(self): class FunctionIR (line 1397) | class FunctionIR(object): method __init__ (line 1399) | def __init__(self, blocks, is_generator, func_id, loc, method equal_ir (line 1412) | def equal_ir(self, other): method diff_str (line 1426) | def diff_str(self, other): method _reset_analysis_variables (line 1491) | def _reset_analysis_variables(self): method derive (line 1501) | def derive(self, blocks, arg_count=None, arg_names=None, method copy (line 1525) | def copy(self): method get_block_entry_vars (line 1538) | def get_block_entry_vars(self, block): method infer_constant (line 1545) | def infer_constant(self, name): method get_definition (line 1553) | def get_definition(self, value, lhs_only=False): method get_assignee (line 1578) | def get_assignee(self, rhs_value, in_blocks=None): method dump (line 1600) | def dump(self, file=None): method dump_to_string (line 1626) | def dump_to_string(self): method dump_generator_info (line 1631) | def dump_generator_info(self, file=None): method render_dot (line 1640) | def render_dot(self, filename_prefix="numba_ir", include_ir=True): class UndefinedType (line 1685) | class UndefinedType(EqualityCheckMixin): method __new__ (line 1689) | def __new__(cls): method __repr__ (line 1698) | def __repr__(self): FILE: numba/core/ir_utils.py function mk_unique_var (line 28) | def mk_unique_var(prefix): class _MaxLabel (line 35) | class _MaxLabel: method __init__ (line 36) | def __init__(self, value=0): method next (line 39) | def next(self): method update (line 43) | def update(self, newval): function get_unused_var_name (line 51) | def get_unused_var_name(prefix, var_table): function next_label (line 63) | def next_label(): function mk_alloc (line 67) | def mk_alloc(typingctx, typemap, calltypes, lhs, size_var, dtype, scope,... function convert_size_to_var (line 182) | def convert_size_to_var(size_var, typemap, scope, loc, nodes): function get_np_ufunc_typ (line 194) | def get_np_ufunc_typ(func, typingctx): function mk_range_block (line 205) | def mk_range_block(typemap, start, stop, step, calltypes, scope, loc): function _mk_range_args (line 242) | def _mk_range_args(typemap, start, stop, step, scope, loc): function get_global_func_typ (line 281) | def get_global_func_typ(func): function mk_loop_header (line 289) | def mk_loop_header(typemap, phi_var, calltypes, scope, loc): function legalize_names (line 327) | def legalize_names(varnames): function get_name_var_table (line 339) | def get_name_var_table(blocks): function replace_var_names (line 349) | def replace_var_names(blocks, namedict): function replace_var_callback (line 365) | def replace_var_callback(var, vardict): function replace_vars (line 374) | def replace_vars(blocks, vardict): function replace_vars_stmt (line 384) | def replace_vars_stmt(stmt, vardict): function replace_vars_inner (line 388) | def replace_vars_inner(node, vardict): function visit_vars (line 397) | def visit_vars(blocks, callback, cbdata): function visit_vars_stmt (line 407) | def visit_vars_stmt(stmt, callback, cbdata): function visit_vars_inner (line 458) | def visit_vars_inner(node, callback, cbdata): function add_offset_to_labels (line 481) | def add_offset_to_labels(blocks, offset): function find_max_label (line 506) | def find_max_label(blocks): function flatten_labels (line 523) | def flatten_labels(blocks): function remove_dels (line 552) | def remove_dels(blocks): function remove_args (line 563) | def remove_args(blocks): function dead_code_elimination (line 575) | def dead_code_elimination(func_ir, typemap=None, alias_map=None, function remove_dead (line 590) | def remove_dead(blocks, args, func_ir, typemap=None, alias_map=None, arg... function remove_dead_block (line 633) | def remove_dead_block(block, lives, call_table, arg_aliases, alias_map, function remove_dead_random_call (line 722) | def remove_dead_random_call(rhs, lives, call_list): function has_no_side_effect (line 729) | def has_no_side_effect(rhs, lives, call_table): function is_pure (line 779) | def is_pure(rhs, lives, call_table): function is_const_call (line 807) | def is_const_call(module_name, func_name): function get_canonical_alias (line 817) | def get_canonical_alias(v, alias_map): function find_potential_aliases (line 824) | def find_potential_aliases(blocks, args, typemap, func_ir, alias_map=None, function _add_alias (line 894) | def _add_alias(lhs, rhs, alias_map, arg_aliases): function is_immutable_type (line 906) | def is_immutable_type(var, typemap): function copy_propagate (line 920) | def copy_propagate(blocks, typemap): function init_copy_propagate_data (line 957) | def init_copy_propagate_data(blocks, entry, typemap): function get_block_copies (line 997) | def get_block_copies(blocks, typemap): function apply_copy_propagate (line 1061) | def apply_copy_propagate(blocks, in_copies, name_var_table, typemap, cal... function fix_setitem_type (line 1127) | def fix_setitem_type(stmt, typemap, calltypes): function dprint_func_ir (line 1152) | def dprint_func_ir(func_ir, title, blocks=None): function find_topo_order (line 1166) | def find_topo_order(blocks, cfg = None): function get_call_table (line 1217) | def get_call_table(blocks, call_table=None, reverse_call_table=None, top... function get_tuple_table (line 1277) | def get_tuple_table(blocks, tuple_table=None): function get_stmt_writes (line 1298) | def get_stmt_writes(stmt): function rename_labels (line 1305) | def rename_labels(blocks): function simplify_CFG (line 1349) | def simplify_CFG(blocks): function canonicalize_array_math (line 1382) | def canonicalize_array_math(func_ir, typemap, calltypes, typingctx): function get_array_accesses (line 1439) | def get_array_accesses(blocks, accesses=None): function is_slice_index (line 1467) | def is_slice_index(index): function merge_adjacent_blocks (line 1477) | def merge_adjacent_blocks(blocks): function restore_copy_var_names (line 1510) | def restore_copy_var_names(blocks, save_copies, typemap): function simplify (line 1535) | def simplify(func_ir, typemap, calltypes, metadata): class GuardException (line 1559) | class GuardException(Exception): function require (line 1563) | def require(cond): function guard (line 1570) | def guard(func, *args, **kwargs): function get_definition (line 1581) | def get_definition(func_ir, name, **kwargs): function build_definitions (line 1591) | def build_definitions(blocks, definitions=None): function find_callname (line 1616) | def find_callname(func_ir, expr, typemap=None, definition_finder=get_def... function find_build_sequence (line 1693) | def find_build_sequence(func_ir, var): function find_const (line 1706) | def find_const(func_ir, var): function compile_to_numba_ir (line 1715) | def compile_to_numba_ir(mk_func, glbls, typingctx=None, targetctx=None, function _create_function_from_code_obj (line 1761) | def _create_function_from_code_obj(fcode, func_env, func_arg, func_clo, ... function get_ir_of_code (line 1784) | def get_ir_of_code(glbls, fcode): function replace_arg_nodes (line 1840) | def replace_arg_nodes(block, args): function replace_returns (line 1852) | def replace_returns(blocks, target, return_label): function gen_np_call (line 1871) | def gen_np_call(func_as_str, func, lhs, args, typingctx, typemap, callty... function dump_block (line 1894) | def dump_block(label, block): function dump_blocks (line 1899) | def dump_blocks(blocks): function is_operator_or_getitem (line 1903) | def is_operator_or_getitem(expr): function is_get_setitem (line 1909) | def is_get_setitem(stmt): function is_getitem (line 1914) | def is_getitem(stmt): function is_setitem (line 1920) | def is_setitem(stmt): function index_var_of_get_setitem (line 1924) | def index_var_of_get_setitem(stmt): function set_index_var_of_get_setitem (line 1940) | def set_index_var_of_get_setitem(stmt, new_index): function is_namedtuple_class (line 1956) | def is_namedtuple_class(c): function fill_block_with_call (line 1974) | def fill_block_with_call(newblock, callee, label_next, inputs, outputs): function fill_callee_prologue (line 2001) | def fill_callee_prologue(block, inputs, label_next): function fill_callee_epilogue (line 2021) | def fill_callee_epilogue(block, outputs): function find_outer_value (line 2040) | def find_outer_value(func_ir, var): function raise_on_unsupported_feature (line 2059) | def raise_on_unsupported_feature(func_ir, typemap): function warn_deprecated (line 2182) | def warn_deprecated(func_ir, typemap): function resolve_func_from_module (line 2203) | def resolve_func_from_module(func_ir, node): function enforce_no_dels (line 2239) | def enforce_no_dels(func_ir): function enforce_no_phis (line 2249) | def enforce_no_phis(func_ir): function legalize_single_scope (line 2260) | def legalize_single_scope(blocks): function check_and_legalize_ir (line 2266) | def check_and_legalize_ir(func_ir, flags: "numba.core.compiler.Flags"): function convert_code_obj_to_function (line 2276) | def convert_code_obj_to_function(code_obj, caller_ir): function fixup_var_define_in_scope (line 2344) | def fixup_var_define_in_scope(blocks): function transfer_scope (line 2370) | def transfer_scope(block, scope): function is_setup_with (line 2386) | def is_setup_with(stmt): function is_terminator (line 2390) | def is_terminator(stmt): function is_raise (line 2394) | def is_raise(stmt): function is_return (line 2398) | def is_return(stmt): function is_pop_block (line 2402) | def is_pop_block(stmt): FILE: numba/core/itanium_mangler.py function _escape_string (line 63) | def _escape_string(text): function _fix_lead_digit (line 84) | def _fix_lead_digit(text): function _len_encoded (line 94) | def _len_encoded(string): function mangle_abi_tag (line 103) | def mangle_abi_tag(abi_tag: str) -> str: function mangle_identifier (line 107) | def mangle_identifier(ident, template_params='', *, abi_tags=(), uid=None): function mangle_type_or_value (line 127) | def mangle_type_or_value(typ): function mangle_templated_ident (line 154) | def mangle_templated_ident(identifier, parameters): function mangle_args (line 163) | def mangle_args(argtys): function mangle (line 170) | def mangle(ident, argtys, *, abi_tags=(), uid=None): function prepend_namespace (line 179) | def prepend_namespace(mangled, ns): function _split_mangled_ident (line 197) | def _split_mangled_ident(mangled): FILE: numba/core/llvm_bindings.py function _inlining_threshold (line 16) | def _inlining_threshold(optlevel, sizelevel=0): function create_pass_builder (line 36) | def create_pass_builder(tm, opt=2, loop_vectorize=False, FILE: numba/core/lowering.py class BaseLower (line 25) | class BaseLower(object): method __init__ (line 30) | def __init__(self, context, library, fndesc, func_ir, metadata=None): method call_conv (line 80) | def call_conv(self): method init (line 83) | def init(self): method init_pyapi (line 86) | def init_pyapi(self): method _compute_def_location (line 100) | def _compute_def_location(self): method pre_lower (line 119) | def pre_lower(self): method post_lower (line 141) | def post_lower(self): method pre_block (line 149) | def pre_block(self, block): method post_block (line 154) | def post_block(self, block): method return_dynamic_exception (line 159) | def return_dynamic_exception(self, exc_class, exc_args, nb_types, loc=... method return_exception (line 165) | def return_exception(self, exc_class, exc_args=None, loc=None): method set_exception (line 173) | def set_exception(self, exc_class, exc_args=None, loc=None): method emit_environment_object (line 181) | def emit_environment_object(self): method lower (line 188) | def lower(self): method extract_function_arguments (line 218) | def extract_function_arguments(self): method lower_normal_function (line 224) | def lower_normal_function(self, fndesc): method lower_function_body (line 241) | def lower_function_body(self): method lower_block (line 266) | def lower_block(self, block): method create_cpython_wrapper (line 279) | def create_cpython_wrapper(self, release_gil=False): method create_cfunc_wrapper (line 292) | def create_cfunc_wrapper(self): method setup_function (line 301) | def setup_function(self, fndesc): method typeof (line 313) | def typeof(self, varname): method notify_loc (line 316) | def notify_loc(self, loc: ir.Loc) -> None: method debug_print (line 323) | def debug_print(self, msg): method print_variable (line 328) | def print_variable(self, msg, varname): class Lower (line 352) | class Lower(BaseLower): method init (line 355) | def init(self): method _disable_sroa_like_opt (line 361) | def _disable_sroa_like_opt(self): method _find_singly_assigned_variable (line 371) | def _find_singly_assigned_variable(self): method pre_block (line 410) | def pre_block(self, block): method post_block (line 448) | def post_block(self, block): method lower_inst (line 455) | def lower_inst(self, inst): method lower_setitem (line 595) | def lower_setitem(self, target_var, index_var, value_var, signature): method lower_try_dynamic_raise (line 626) | def lower_try_dynamic_raise(self, inst): method lower_dynamic_raise (line 631) | def lower_dynamic_raise(self, inst): method lower_static_raise (line 650) | def lower_static_raise(self, inst): method lower_static_try_raise (line 657) | def lower_static_try_raise(self, inst): method lower_assign (line 664) | def lower_assign(self, ty, inst): method lower_yield (line 714) | def lower_yield(self, retty, inst): method lower_binop (line 740) | def lower_binop(self, resty, expr, op): method lower_getitem (line 810) | def lower_getitem(self, resty, expr, value, index, signature): method _cast_var (line 832) | def _cast_var(self, var, ty): method fold_call_args (line 846) | def fold_call_args(self, fnty, signature, pos_args, vararg, kw_args): method lower_print (line 885) | def lower_print(self, inst): method lower_call (line 914) | def lower_call(self, resty, expr): method _lower_call_ObjModeDispatcher (line 956) | def _lower_call_ObjModeDispatcher(self, fnty, expr, signature): method _lower_call_ExternalFunction (line 1020) | def _lower_call_ExternalFunction(self, fnty, expr, signature): method _lower_call_ExternalFunctionPointer (line 1034) | def _lower_call_ExternalFunctionPointer(self, fnty, expr, signature): method _lower_call_RecursiveCall (line 1079) | def _lower_call_RecursiveCall(self, fnty, expr, signature): method _lower_call_FunctionType (line 1100) | def _lower_call_FunctionType(self, fnty, expr, signature): method __call_first_class_function_pointer (line 1115) | def __call_first_class_function_pointer(self, ftype, fname, sig, argva... method __get_first_class_function_pointer (line 1174) | def __get_first_class_function_pointer(self, ftype, fname, sig): method _lower_call_normal (line 1214) | def _lower_call_normal(self, fnty, expr, signature): method lower_expr (line 1242) | def lower_expr(self, resty, expr): method _alloca_var (line 1484) | def _alloca_var(self, name, fetype): method getvar (line 1500) | def getvar(self, name): method loadvar (line 1514) | def loadvar(self, name): method storevar (line 1532) | def storevar(self, value, name, argidx=None): method delvar (line 1578) | def delvar(self, name): method alloca (line 1603) | def alloca(self, name, type): method alloca_lltype (line 1608) | def alloca_lltype(self, name, lltype, datamodel=None): method incref (line 1628) | def incref(self, typ, val): method decref (line 1634) | def decref(self, typ, val): function _lit_or_omitted (line 1645) | def _lit_or_omitted(value): FILE: numba/core/object_mode_passes.py class ObjectModeFrontEnd (line 10) | class ObjectModeFrontEnd(FunctionPass): method __init__ (line 13) | def __init__(self): method _frontend_looplift (line 16) | def _frontend_looplift(self, state): method run_pass (line 47) | def run_pass(self, state): class ObjectModeBackEnd (line 65) | class ObjectModeBackEnd(LoweringPass): method __init__ (line 69) | def __init__(self): method _py_lowering_stage (line 72) | def _py_lowering_stage(self, targetctx, library, interp, flags): method run_pass (line 92) | def run_pass(self, state): FILE: numba/core/optional.py function always_return_true_impl (line 10) | def always_return_true_impl(context, builder, sig, args): function always_return_false_impl (line 14) | def always_return_false_impl(context, builder, sig, args): function optional_is_none (line 18) | def optional_is_none(context, builder, sig, args): function optional_getattr (line 47) | def optional_getattr(context, builder, typ, value, attr): function optional_setattr (line 58) | def optional_setattr(context, builder, sig, args, attr): function optional_to_optional (line 73) | def optional_to_optional(context, builder, fromty, toty, val): function any_to_optional (line 104) | def any_to_optional(context, builder, fromty, toty, val): function optional_to_any (line 114) | def optional_to_any(context, builder, fromty, toty, val): FILE: numba/core/options.py class TargetOptions (line 10) | class TargetOptions: class Mapping (line 14) | class Mapping: method __init__ (line 15) | def __init__(self, flag_name, apply=lambda x: x): method finalize (line 19) | def finalize(self, flags, options): method parse_as_flags (line 31) | def parse_as_flags(cls, flags, options): method _apply (line 45) | def _apply(self, flags, options): class DefaultOptions (line 72) | class DefaultOptions: function include_default_options (line 98) | def include_default_options(*args): FILE: numba/core/postproc.py class YieldPoint (line 5) | class YieldPoint(object): method __init__ (line 7) | def __init__(self, block, inst): class GeneratorInfo (line 16) | class GeneratorInfo(object): method __init__ (line 18) | def __init__(self): method get_yield_points (line 24) | def get_yield_points(self): class VariableLifetime (line 31) | class VariableLifetime(object): method __init__ (line 35) | def __init__(self, blocks): method cfg (line 39) | def cfg(self): method usedefs (line 43) | def usedefs(self): method livemap (line 47) | def livemap(self): method deadmaps (line 53) | def deadmaps(self): class PostProcessor (line 63) | class PostProcessor(object): method __init__ (line 68) | def __init__(self, func_ir): method run (line 71) | def run(self, emit_dels: bool = False, extend_lifetimes: bool = False): method _populate_generator_info (line 100) | def _populate_generator_info(self): method _compute_generator_info (line 116) | def _compute_generator_info(self): method _insert_var_dels (line 158) | def _insert_var_dels(self, extend_lifetimes=False): method _patch_var_dels (line 179) | def _patch_var_dels(self, internal_dead_map, escaping_dead_map, method remove_dels (line 235) | def remove_dels(self): FILE: numba/core/pylowering.py class _Undefined (line 24) | class _Undefined: method __repr__ (line 28) | def __repr__(self): class PyLower (line 79) | class PyLower(BaseLower): method init (line 83) | def init(self): method pre_lower (line 89) | def pre_lower(self): method post_lower (line 93) | def post_lower(self): method pre_block (line 96) | def pre_block(self, block): method lower_inst (line 99) | def lower_inst(self, inst): method _omitted_typobj (line 188) | def _omitted_typobj(self): method lower_assign (line 196) | def lower_assign(self, inst): method lower_yield (line 241) | def lower_yield(self, inst): method lower_binop (line 261) | def lower_binop(self, expr, op, inplace=False): method lower_expr (line 278) | def lower_expr(self, expr): method lower_const (line 445) | def lower_const(self, const): method lower_global (line 453) | def lower_global(self, name, value): method get_module_dict (line 496) | def get_module_dict(self): method get_builtin_obj (line 499) | def get_builtin_obj(self, name): method builtin_lookup (line 506) | def builtin_lookup(self, mod, name): method check_occurred (line 536) | def check_occurred(self): method check_error (line 546) | def check_error(self, obj): method check_int_status (line 555) | def check_int_status(self, num, ok_value=0): method is_null (line 564) | def is_null(self, obj): method return_exception_raised (line 567) | def return_exception_raised(self): method init_vars (line 574) | def init_vars(self, block): method _getvar (line 580) | def _getvar(self, name, ltype=None): method loadvar (line 585) | def loadvar(self, name): method delvar (line 598) | def delvar(self, name): method storevar (line 612) | def storevar(self, value, name, clobber=False): method cleanup_vars (line 630) | def cleanup_vars(self): method alloca (line 638) | def alloca(self, name, ltype=None): method _alloca_var (line 651) | def _alloca_var(self, name, fetype): method incref (line 656) | def incref(self, value): method decref (line 659) | def decref(self, value): method _freeze_string (line 668) | def _freeze_string(self, string): FILE: numba/core/pythonapi.py class _Registry (line 24) | class _Registry(object): method __init__ (line 26) | def __init__(self): method register (line 29) | def register(self, typeclass): method lookup (line 38) | def lookup(self, typeclass, default=None): class _BoxContext (line 55) | class _BoxContext(namedtuple("_BoxContext", method box (line 62) | def box(self, typ, val): class _UnboxContext (line 66) | class _UnboxContext(namedtuple("_UnboxContext", method unbox (line 73) | def unbox(self, typ, obj): class _ReflectContext (line 77) | class _ReflectContext(namedtuple("_ReflectContext", method set_error (line 86) | def set_error(self): method box (line 89) | def box(self, typ, val): method reflect (line 92) | def reflect(self, typ, val): class NativeValue (line 96) | class NativeValue(object): method __init__ (line 102) | def __init__(self, value, is_error=None, cleanup=None): class EnvironmentManager (line 108) | class EnvironmentManager(object): method __init__ (line 110) | def __init__(self, pyapi, env, env_body, env_ptr): method add_const (line 117) | def add_const(self, const): method read_const (line 132) | def read_const(self, index): class PythonAPI (line 163) | class PythonAPI(object): method __init__ (line 169) | def __init__(self, context, builder): method get_env_manager (line 201) | def get_env_manager(self, env, env_body, env_ptr): method emit_environment_sentry (line 204) | def emit_environment_sentry(self, envptr, return_pyobject=False, method incref (line 229) | def incref(self, obj): method decref (line 234) | def decref(self, obj): method get_type (line 239) | def get_type(self, obj): method parse_tuple_and_keywords (line 248) | def parse_tuple_and_keywords(self, args, kws, fmt, keywords, *objs): method parse_tuple (line 256) | def parse_tuple(self, args, fmt, *objs): method unpack_tuple (line 263) | def unpack_tuple(self, args, name, n_min, n_max, *objs): method err_occurred (line 278) | def err_occurred(self): method err_clear (line 283) | def err_clear(self): method err_set_string (line 288) | def err_set_string(self, exctype, msg): method err_format (line 297) | def err_format(self, exctype, msg, *format_args): method raise_object (line 306) | def raise_object(self, exc=None): method err_set_object (line 317) | def err_set_object(self, exctype, excval): method err_set_none (line 324) | def err_set_none(self, exctype): method err_write_unraisable (line 331) | def err_write_unraisable(self, obj): method err_fetch (line 336) | def err_fetch(self, pty, pval, ptb): method err_restore (line 341) | def err_restore(self, ty, val, tb): method err_push (line 347) | def err_push(self, keep_new=False): method get_c_object (line 375) | def get_c_object(self, name): method raise_missing_global_error (line 386) | def raise_missing_global_error(self, name): method raise_missing_name_error (line 391) | def raise_missing_name_error(self, name): method fatal_error (line 396) | def fatal_error(self, msg): method dict_getitem_string (line 407) | def dict_getitem_string(self, dic, name): method dict_getitem (line 417) | def dict_getitem(self, dic, name): method dict_new (line 426) | def dict_new(self, presize=0): method dict_setitem (line 437) | def dict_setitem(self, dictobj, nameobj, valobj): method dict_setitem_string (line 443) | def dict_setitem_string(self, dictobj, name, valobj): method dict_pack (line 450) | def dict_pack(self, keyvalues): method float_from_double (line 466) | def float_from_double(self, fval): method number_as_ssize_t (line 471) | def number_as_ssize_t(self, numobj): method number_long (line 478) | def number_long(self, numobj): method long_as_ulonglong (line 483) | def long_as_ulonglong(self, numobj): method long_as_longlong (line 488) | def long_as_longlong(self, numobj): method long_as_voidptr (line 493) | def long_as_voidptr(self, numobj): method _long_from_native_int (line 502) | def _long_from_native_int(self, ival, func_name, native_int_type, method long_from_long (line 512) | def long_from_long(self, ival): method long_from_ulong (line 518) | def long_from_ulong(self, ival): method long_from_ssize_t (line 522) | def long_from_ssize_t(self, ival): method long_from_longlong (line 526) | def long_from_longlong(self, ival): method long_from_ulonglong (line 530) | def long_from_ulonglong(self, ival): method long_from_signed_int (line 534) | def long_from_signed_int(self, ival): method long_from_unsigned_int (line 546) | def long_from_unsigned_int(self, ival): method _get_number_operator (line 558) | def _get_number_operator(self, name): method _call_number_operator (line 563) | def _call_number_operator(self, name, lhs, rhs, inplace=False): method number_add (line 569) | def number_add(self, lhs, rhs, inplace=False): method number_subtract (line 572) | def number_subtract(self, lhs, rhs, inplace=False): method number_multiply (line 575) | def number_multiply(self, lhs, rhs, inplace=False): method number_truedivide (line 578) | def number_truedivide(self, lhs, rhs, inplace=False): method number_floordivide (line 581) | def number_floordivide(self, lhs, rhs, inplace=False): method number_remainder (line 584) | def number_remainder(self, lhs, rhs, inplace=False): method number_matrix_multiply (line 587) | def number_matrix_multiply(self, lhs, rhs, inplace=False): method number_lshift (line 590) | def number_lshift(self, lhs, rhs, inplace=False): method number_rshift (line 593) | def number_rshift(self, lhs, rhs, inplace=False): method number_and (line 596) | def number_and(self, lhs, rhs, inplace=False): method number_or (line 599) | def number_or(self, lhs, rhs, inplace=False): method number_xor (line 602) | def number_xor(self, lhs, rhs, inplace=False): method number_power (line 605) | def number_power(self, lhs, rhs, inplace=False): method number_negative (line 611) | def number_negative(self, obj): method number_positive (line 616) | def number_positive(self, obj): method number_float (line 621) | def number_float(self, val): method number_invert (line 626) | def number_invert(self, obj): method float_as_double (line 631) | def float_as_double(self, fobj): method bool_from_bool (line 636) | def bool_from_bool(self, bval): method bool_from_long (line 643) | def bool_from_long(self, ival): method complex_from_doubles (line 648) | def complex_from_doubles(self, realval, imagval): method complex_real_as_double (line 653) | def complex_real_as_double(self, cobj): method complex_imag_as_double (line 658) | def complex_imag_as_double(self, cobj): method slice_as_ints (line 666) | def slice_as_ints(self, obj): method sequence_getslice (line 689) | def sequence_getslice(self, obj, start, stop): method sequence_tuple (line 695) | def sequence_tuple(self, obj): method sequence_concat (line 700) | def sequence_concat(self, obj1, obj2): method list_new (line 705) | def list_new(self, szval): method list_size (line 710) | def list_size(self, lst): method list_append (line 715) | def list_append(self, lst, val): method list_setitem (line 720) | def list_setitem(self, lst, idx, val): method list_getitem (line 729) | def list_getitem(self, lst, idx): method list_setslice (line 739) | def list_setslice(self, lst, start, stop, obj): method tuple_getitem (line 752) | def tuple_getitem(self, tup, idx): method tuple_pack (line 761) | def tuple_pack(self, items): method tuple_size (line 769) | def tuple_size(self, tup): method tuple_new (line 774) | def tuple_new(self, count): method tuple_setitem (line 779) | def tuple_setitem(self, tuple_val, index, item): method set_new (line 793) | def set_new(self, iterable=None): method set_add (line 800) | def set_add(self, set, value): method set_clear (line 805) | def set_clear(self, set): method set_size (line 810) | def set_size(self, set): method set_update (line 815) | def set_update(self, set, iterable): method set_next_entry (line 820) | def set_next_entry(self, set, posptr, keyptr, hashptr): method set_iterate (line 828) | def set_iterate(self, set): method gil_ensure (line 858) | def gil_ensure(self): method gil_release (line 870) | def gil_release(self, gil): method save_thread (line 880) | def save_thread(self): method restore_thread (line 889) | def restore_thread(self, thread_state): method object_get_private_data (line 902) | def object_get_private_data(self, obj): method object_set_private_data (line 907) | def object_set_private_data(self, obj, ptr): method object_reset_private_data (line 912) | def object_reset_private_data(self, obj): method import_module (line 922) | def import_module(self, modname): method call_function_objargs (line 927) | def call_function_objargs(self, callee, objargs): method call_method (line 934) | def call_method(self, callee, method, objargs=()): method call (line 947) | def call(self, callee, args=None, kws=None): method object_type (line 959) | def object_type(self, obj): method object_istrue (line 966) | def object_istrue(self, obj): method object_not (line 971) | def object_not(self, obj): method object_richcompare (line 976) | def object_richcompare(self, lhs, rhs, opstr): method iter_next (line 1017) | def iter_next(self, iterobj): method object_getiter (line 1022) | def object_getiter(self, obj): method object_getattr_string (line 1027) | def object_getattr_string(self, obj, attr): method object_getattr (line 1033) | def object_getattr(self, obj, attr): method object_setattr_string (line 1038) | def object_setattr_string(self, obj, attr, val): method object_setattr (line 1044) | def object_setattr(self, obj, attr, val): method object_delattr_string (line 1049) | def object_delattr_string(self, obj, attr): method object_delattr (line 1054) | def object_delattr(self, obj, attr): method object_getitem (line 1059) | def object_getitem(self, obj, key): method object_setitem (line 1067) | def object_setitem(self, obj, key, val): method object_delitem (line 1075) | def object_delitem(self, obj, key): method string_as_string (line 1083) | def string_as_string(self, strobj): method string_as_string_and_size (line 1089) | def string_as_string_and_size(self, strobj): method string_as_string_size_and_kind (line 1109) | def string_as_string_size_and_kind(self, strobj): method string_from_string_and_size (line 1139) | def string_from_string_and_size(self, string, size): method string_from_string (line 1145) | def string_from_string(self, string): method string_from_kind_and_data (line 1151) | def string_from_kind_and_data(self, kind, string, size): method bytes_as_string (line 1157) | def bytes_as_string(self, obj): method bytes_as_string_and_size (line 1163) | def bytes_as_string_and_size(self, obj, p_buffer, p_length): method bytes_from_string_and_size (line 1174) | def bytes_from_string_and_size(self, string, size): method object_hash (line 1180) | def object_hash(self, obj): method object_str (line 1186) | def object_str(self, obj): method make_none (line 1191) | def make_none(self): method borrow_none (line 1196) | def borrow_none(self): method sys_write_stdout (line 1199) | def sys_write_stdout(self, fmt, *args): method object_dump (line 1204) | def object_dump(self, obj): method nrt_adapt_ndarray_to_python (line 1216) | def nrt_adapt_ndarray_to_python(self, aryty, ary, dtypeptr): method nrt_meminfo_new_from_pyobject (line 1237) | def nrt_meminfo_new_from_pyobject(self, data, pyobj): method nrt_meminfo_as_pyobject (line 1257) | def nrt_meminfo_as_pyobject(self, miptr): method nrt_meminfo_from_pyobject (line 1271) | def nrt_meminfo_from_pyobject(self, miobj): method nrt_adapt_ndarray_from_python (line 1285) | def nrt_adapt_ndarray_from_python(self, ary, ptr): method nrt_adapt_buffer_from_python (line 1293) | def nrt_adapt_buffer_from_python(self, buf, ptr): method _get_function (line 1304) | def _get_function(self, fnty, name): method alloca_obj (line 1309) | def alloca_obj(self): method alloca_buffer (line 1312) | def alloca_buffer(self): method if_object_ok (line 1322) | def if_object_ok(self, obj): method print_object (line 1327) | def print_object(self, obj): method print_string (line 1334) | def print_string(self, text): method get_null_object (line 1338) | def get_null_object(self): method return_none (line 1341) | def return_none(self): method list_pack (line 1345) | def list_pack(self, items): method unserialize (line 1355) | def unserialize(self, structptr): method build_dynamic_excinfo_struct (line 1369) | def build_dynamic_excinfo_struct(self, struct_gv, exc_args): method serialize_uncached (line 1379) | def serialize_uncached(self, obj): method serialize_object (line 1408) | def serialize_object(self, obj): method c_api_error (line 1425) | def c_api_error(self): method to_native_value (line 1428) | def to_native_value(self, typ, obj): method from_native_return (line 1439) | def from_native_return(self, typ, val, env_manager): method from_native_value (line 1446) | def from_native_value(self, typ, val, env_manager=None): method reflect_native_value (line 1459) | def reflect_native_value(self, typ, val, env_manager=None): method to_native_generator (line 1475) | def to_native_generator(self, obj, typ): method from_native_generator (line 1484) | def from_native_generator(self, val, typ, env=None): method numba_array_adaptor (line 1525) | def numba_array_adaptor(self, ary, ptr): method numba_buffer_adaptor (line 1533) | def numba_buffer_adaptor(self, buf, ptr): method complex_adaptor (line 1541) | def complex_adaptor(self, cobj, cmplx): method extract_record_data (line 1546) | def extract_record_data(self, obj, pbuf): method get_buffer (line 1552) | def get_buffer(self, obj, pbuf): method release_buffer (line 1558) | def release_buffer(self, pbuf): method extract_np_datetime (line 1563) | def extract_np_datetime(self, obj): method extract_np_timedelta (line 1568) | def extract_np_timedelta(self, obj): method create_np_datetime (line 1573) | def create_np_datetime(self, val, unit_code): method create_np_timedelta (line 1579) | def create_np_timedelta(self, val, unit_code): method recreate_record (line 1585) | def recreate_record(self, pdata, size, dtype, env_manager): method string_from_constant_string (line 1592) | def string_from_constant_string(self, string): method call_jit_code (line 1597) | def call_jit_code(self, func, sig, args): class ObjModeUtils (line 1659) | class ObjModeUtils: method __init__ (line 1662) | def __init__(self, pyapi): method load_dispatcher (line 1665) | def load_dispatcher(self, fnty, argtypes): method _call_objmode_dispatcher (line 1721) | def _call_objmode_dispatcher(compile_args): FILE: numba/core/registry.py class CPUTarget (line 12) | class CPUTarget(TargetDescriptor): method _toplevel_target_context (line 16) | def _toplevel_target_context(self): method _toplevel_typing_context (line 21) | def _toplevel_typing_context(self): method target_context (line 26) | def target_context(self): method typing_context (line 33) | def typing_context(self): class CPUDispatcher (line 44) | class CPUDispatcher(dispatcher.Dispatcher): class DelayedRegistry (line 48) | class DelayedRegistry(utils.UniqueDict): method __init__ (line 60) | def __init__(self, *args, **kws): method __getitem__ (line 67) | def __getitem__(self, item): method __setitem__ (line 73) | def __setitem__(self, key, value): FILE: numba/core/removerefctpass.py class _MarkNrtCallVisitor (line 11) | class _MarkNrtCallVisitor(CallVisitor): method __init__ (line 15) | def __init__(self): method visit_Call (line 18) | def visit_Call(self, instr): function _rewrite_function (line 23) | def _rewrite_function(function): function _legalize (line 37) | def _legalize(module, dmm, fndesc): function remove_unnecessary_nrt_usage (line 99) | def remove_unnecessary_nrt_usage(function, context, fndesc): FILE: numba/core/rewrites/ir_print.py class RewritePrintCalls (line 6) | class RewritePrintCalls(Rewrite): method match (line 11) | def match(self, func_ir, block, typemap, calltypes): method apply (line 31) | def apply(self): class DetectConstPrintArguments (line 54) | class DetectConstPrintArguments(Rewrite): method match (line 59) | def match(self, func_ir, block, typemap, calltypes): method apply (line 75) | def apply(self): FILE: numba/core/rewrites/registry.py class Rewrite (line 6) | class Rewrite(object): method __init__ (line 10) | def __init__(self, state=None): method match (line 15) | def match(self, func_ir, block, typemap, calltypes): method apply (line 21) | def apply(self): class RewriteRegistry (line 28) | class RewriteRegistry(object): method __init__ (line 33) | def __init__(self): method register (line 39) | def register(self, kind): method apply (line 54) | def apply(self, kind, state): FILE: numba/core/rewrites/static_binop.py class DetectStaticBinops (line 6) | class DetectStaticBinops(Rewrite): method match (line 14) | def match(self, func_ir, block, typemap, calltypes): method apply (line 29) | def apply(self): FILE: numba/core/rewrites/static_getitem.py class RewriteConstGetitems (line 6) | class RewriteConstGetitems(Rewrite): method match (line 13) | def match(self, func_ir, block, typemap, calltypes): method apply (line 28) | def apply(self): class RewriteStringLiteralGetitems (line 50) | class RewriteStringLiteralGetitems(Rewrite): method match (line 57) | def match(self, func_ir, block, typemap, calltypes): method apply (line 73) | def apply(self): class RewriteStringLiteralSetitems (line 96) | class RewriteStringLiteralSetitems(Rewrite): method match (line 103) | def match(self, func_ir, block, typemap, calltypes): method apply (line 118) | def apply(self): class RewriteConstSetitems (line 140) | class RewriteConstSetitems(Rewrite): method match (line 147) | def match(self, func_ir, block, typemap, calltypes): method apply (line 161) | def apply(self): FILE: numba/core/rewrites/static_raise.py class RewriteConstRaises (line 6) | class RewriteConstRaises(Rewrite): method _is_exception_type (line 17) | def _is_exception_type(self, const): method _break_constant (line 20) | def _break_constant(self, const, loc): method _try_infer_constant (line 39) | def _try_infer_constant(self, func_ir, inst): method match (line 46) | def match(self, func_ir, block, typemap, calltypes): method apply (line 76) | def apply(self): FILE: numba/core/runtime/_nrt_python.c function pyobject_dtor (line 21) | static void function NRT_meminfo_new_from_pyobject (line 31) | NUMBA_EXPORT_FUNC(NRT_MemInfo *) type MemInfoObject (line 43) | typedef struct { function MemInfo_init (line 49) | static function MemInfo_getbuffer (line 67) | static int function PyObject (line 83) | static function PyObject (line 90) | static function PyObject (line 97) | static function PyObject (line 103) | static function PyObject (line 114) | static function PyObject (line 121) | static function MemInfo_dealloc (line 134) | static void function NRT_meminfo_as_pyobject (line 251) | NUMBA_EXPORT_FUNC(MemInfoObject*) function NRT_meminfo_from_pyobject (line 269) | NUMBA_EXPORT_FUNC(NRT_MemInfo*) function NRT_adapt_ndarray_from_python (line 280) | NUMBA_EXPORT_FUNC(int) function PyObject (line 313) | static function NRT_adapt_ndarray_to_python_acqref (line 364) | NUMBA_EXPORT_FUNC(PyObject *) function NRT_adapt_buffer_from_python (line 458) | NUMBA_EXPORT_FUNC(void) function init_nrt_python_module (line 485) | static int FILE: numba/core/runtime/_nrt_pythonmod.c function PyObject (line 6) | static PyObject * function PyObject (line 12) | static PyObject * function PyObject (line 20) | static PyObject * function PyObject (line 29) | static PyObject * function PyObject (line 38) | static PyObject * function PyObject (line 47) | static PyObject * function PyObject (line 56) | static PyObject * function PyObject (line 65) | static PyObject * function PyObject (line 71) | static PyObject * function PyObject (line 80) | static PyObject * function PyObject (line 99) | static PyObject * function PyObject (line 114) | static PyObject * function PyObject (line 146) | static PyObject * function MOD_INIT (line 201) | MOD_INIT(_nrt_python) { FILE: numba/core/runtime/context.py class NRTContext (line 25) | class NRTContext(object): method __init__ (line 30) | def __init__(self, context, enabled): method _require_nrt (line 40) | def _require_nrt(self): method _check_null_result (line 44) | def _check_null_result(func): method allocate (line 54) | def allocate(self, builder, size): method allocate_unchecked (line 62) | def allocate_unchecked(self, builder, size): method free (line 75) | def free(self, builder, ptr): method meminfo_alloc (line 87) | def meminfo_alloc(self, builder, size): method meminfo_alloc_unchecked (line 98) | def meminfo_alloc_unchecked(self, builder, size): method meminfo_alloc_dtor (line 116) | def meminfo_alloc_dtor(self, builder, size, dtor): method meminfo_alloc_dtor_unchecked (line 128) | def meminfo_alloc_dtor_unchecked(self, builder, size, dtor): method meminfo_alloc_aligned (line 149) | def meminfo_alloc_aligned(self, builder, size, align): method meminfo_alloc_aligned_unchecked (line 162) | def meminfo_alloc_aligned_unchecked(self, builder, size, align): method meminfo_new_varsize (line 187) | def meminfo_new_varsize(self, builder, size): method meminfo_new_varsize_unchecked (line 200) | def meminfo_new_varsize_unchecked(self, builder, size): method meminfo_new_varsize_dtor (line 220) | def meminfo_new_varsize_dtor(self, builder, size, dtor): method meminfo_new_varsize_dtor_unchecked (line 232) | def meminfo_new_varsize_dtor_unchecked(self, builder, size, dtor): method meminfo_varsize_alloc (line 251) | def meminfo_varsize_alloc(self, builder, meminfo, size): method meminfo_varsize_alloc_unchecked (line 267) | def meminfo_varsize_alloc_unchecked(self, builder, meminfo, size): method meminfo_varsize_realloc (line 284) | def meminfo_varsize_realloc(self, builder, meminfo, size): method meminfo_varsize_realloc_unchecked (line 294) | def meminfo_varsize_realloc_unchecked(self, builder, meminfo, size): method meminfo_varsize_free (line 304) | def meminfo_varsize_free(self, builder, meminfo, ptr): method _call_varsize_alloc (line 318) | def _call_varsize_alloc(self, builder, meminfo, size, funcname): method meminfo_data (line 328) | def meminfo_data(self, builder, meminfo): method get_meminfos (line 343) | def get_meminfos(self, builder, ty, val): method _call_incref_decref (line 360) | def _call_incref_decref(self, builder, typ, value, funcname): method incref (line 378) | def incref(self, builder, typ, value): method decref (line 384) | def decref(self, builder, typ, value): method get_nrt_api (line 390) | def get_nrt_api(self, builder): method eh_check (line 400) | def eh_check(self, builder): method eh_try (line 414) | def eh_try(self, builder): method eh_end_try (line 421) | def eh_end_try(self, builder): FILE: numba/core/runtime/nrt.cpp type MemInfo (line 17) | struct MemInfo { function nrt_fatal_error (line 32) | static void nrt_fatal_error(const char *msg) type NRT_MemSys (line 47) | struct NRT_MemSys { function NRT_MemSys_init (line 71) | void NRT_MemSys_init(void) { function NRT_MemSys_shutdown (line 85) | void NRT_MemSys_shutdown(void) { function NRT_MemSys_enable_stats (line 89) | void NRT_MemSys_enable_stats(void) { function NRT_MemSys_disable_stats (line 93) | void NRT_MemSys_disable_stats(void) { function NRT_MemSys_stats_enabled (line 97) | size_t NRT_MemSys_stats_enabled(void) { function NRT_MemSys_set_allocator (line 101) | void NRT_MemSys_set_allocator(NRT_malloc_func malloc_func, function NRT_MemSys_get_stats_alloc (line 125) | size_t NRT_MemSys_get_stats_alloc() { function NRT_MemSys_get_stats_free (line 134) | size_t NRT_MemSys_get_stats_free() { function NRT_MemSys_get_stats_mi_alloc (line 143) | size_t NRT_MemSys_get_stats_mi_alloc() { function NRT_MemSys_get_stats_mi_free (line 152) | size_t NRT_MemSys_get_stats_mi_free() { function NRT_MemInfo_init (line 165) | void NRT_MemInfo_init(NRT_MemInfo *mi,void *data, size_t size, function NRT_MemInfo (line 183) | NRT_MemInfo *NRT_MemInfo_new(void *data, size_t size, function NRT_MemInfo_refcount (line 194) | size_t NRT_MemInfo_refcount(NRT_MemInfo *mi) { function nrt_internal_dtor_safe (line 203) | static function nrt_internal_custom_dtor_safe (line 226) | static function nrt_internal_custom_dtor (line 238) | static function NRT_MemInfo (line 248) | NRT_MemInfo *NRT_MemInfo_alloc(size_t size) { function NRT_MemInfo (line 259) | NRT_MemInfo *NRT_MemInfo_alloc_external(size_t size, NRT_ExternalAllocat... function NRT_MemInfo (line 270) | NRT_MemInfo *NRT_MemInfo_alloc_safe(size_t size) { function NRT_MemInfo (line 274) | NRT_MemInfo* NRT_MemInfo_alloc_dtor_safe(size_t size, NRT_dtor_function ... function NRT_MemInfo (line 287) | NRT_MemInfo* NRT_MemInfo_alloc_dtor(size_t size, NRT_dtor_function dtor) { function NRT_MemInfo (line 329) | NRT_MemInfo *NRT_MemInfo_alloc_aligned(size_t size, unsigned align) { function NRT_MemInfo (line 340) | NRT_MemInfo *NRT_MemInfo_alloc_safe_aligned(size_t size, unsigned align) { function NRT_MemInfo (line 354) | NRT_MemInfo *NRT_MemInfo_alloc_safe_aligned_external(size_t size, unsign... function NRT_dealloc (line 369) | void NRT_dealloc(NRT_MemInfo *mi) { function NRT_MemInfo_destroy (line 382) | void NRT_MemInfo_destroy(NRT_MemInfo *mi) { function NRT_MemInfo_acquire (line 390) | void NRT_MemInfo_acquire(NRT_MemInfo *mi) { function NRT_MemInfo_call_dtor (line 397) | void NRT_MemInfo_call_dtor(NRT_MemInfo *mi) { function NRT_MemInfo_release (line 406) | void NRT_MemInfo_release(NRT_MemInfo *mi) { function NRT_MemInfo_size (line 420) | size_t NRT_MemInfo_size(NRT_MemInfo* mi) { function NRT_MemInfo_dump (line 433) | void NRT_MemInfo_dump(NRT_MemInfo *mi, FILE *out) { function nrt_varsize_dtor (line 441) | static void function NRT_MemInfo (line 453) | NRT_MemInfo *NRT_MemInfo_new_varsize(size_t size) function NRT_MemInfo (line 467) | NRT_MemInfo *NRT_MemInfo_new_varsize_dtor(size_t size, NRT_dtor_function... function NRT_MemInfo_varsize_free (line 507) | void NRT_MemInfo_varsize_free(NRT_MemInfo *mi, void *ptr) function NRT_Free (line 545) | void NRT_Free(void *ptr) { function sample_external_free (line 572) | static function NRT_ExternalAllocator (line 588) | NRT_ExternalAllocator* _nrt_get_sample_external_allocator() { function nrt_debug_print (line 595) | void nrt_debug_print(const char *fmt, ...) { function nrt_manage_memory_dtor (line 604) | static function NRT_MemInfo (line 610) | static function NRT_api_functions (line 627) | const NRT_api_functions* NRT_get_api(void) { FILE: numba/core/runtime/nrt.py class _Runtime (line 15) | class _Runtime(object): method __init__ (line 16) | def __init__(self): method initialize (line 20) | def initialize(self, ctx): method _init_guard (line 48) | def _init_guard(self): method shutdown (line 54) | def shutdown(): method library (line 62) | def library(self): method meminfo_new (line 69) | def meminfo_new(self, data, pyobj): method meminfo_alloc (line 79) | def meminfo_alloc(self, size, safe=False): method get_allocation_stats (line 102) | def get_allocation_stats(self): function typeof_meminfo (line 119) | def typeof_meminfo(val, c): FILE: numba/core/runtime/nrt_external.h type NRT_MemInfo (line 6) | typedef struct MemInfo NRT_MemInfo; type ExternalMemAllocator (line 14) | struct ExternalMemAllocator { type NRT_ExternalAllocator (line 21) | typedef struct ExternalMemAllocator NRT_ExternalAllocator; type NRT_api_functions (line 23) | typedef struct { FILE: numba/core/runtime/nrtdynmod.py function _define_nrt_meminfo_data (line 27) | def _define_nrt_meminfo_data(module): function _define_nrt_incref (line 41) | def _define_nrt_incref(module, atomic_incr): function _define_nrt_decref (line 63) | def _define_nrt_decref(module, atomic_decr): function _define_atomic_inc_dec (line 111) | def _define_atomic_inc_dec(module, op, ordering): function _define_atomic_cas (line 138) | def _define_atomic_cas(module, ordering): function _define_nrt_unresolved_abort (line 165) | def _define_nrt_unresolved_abort(ctx, module): function create_nrt_module (line 181) | def create_nrt_module(ctx): function compile_nrt_functions (line 205) | def compile_nrt_functions(ctx): FILE: numba/core/runtime/nrtopt.py function _remove_redundant_nrt_refct (line 25) | def _remove_redundant_nrt_refct(llvmir): function remove_redundant_nrt_refct (line 159) | def remove_redundant_nrt_refct(ll_module): FILE: numba/core/serialize.py function _rebuild_reduction (line 19) | def _rebuild_reduction(cls, *args): function _numba_unpickle (line 30) | def _numba_unpickle(address, bytedata, hashed): function dumps (line 52) | def dumps(obj): function runtime_build_excinfo_struct (line 64) | def runtime_build_excinfo_struct(static_exc, exc_args): class _CustomPickled (line 80) | class _CustomPickled: method __init__ (line 93) | def __init__(self, ctor, states): method _reduce (line 97) | def _reduce(self): method _rebuild (line 101) | def _rebuild(cls, ctor, states): function _unpickle__CustomPickled (line 105) | def _unpickle__CustomPickled(serialized): function _pickle__CustomPickled (line 114) | def _pickle__CustomPickled(cp): function custom_reduce (line 127) | def custom_reduce(cls, states): function custom_rebuild (line 146) | def custom_rebuild(custom_pickled): function is_serialiable (line 155) | def is_serialiable(obj): function _no_pickle (line 176) | def _no_pickle(obj): function disable_pickling (line 180) | def disable_pickling(typ): class NumbaPickler (line 188) | class NumbaPickler(cloudpickle.CloudPickler): method reducer_override (line 193) | def reducer_override(self, obj): function _custom_reduce__custompickled (line 200) | def _custom_reduce__custompickled(cp): class ReduceMixin (line 207) | class ReduceMixin(abc.ABC): method _reduce_states (line 214) | def _reduce_states(self): method _rebuild (line 219) | def _rebuild(cls, **kwargs): method _reduce_class (line 224) | def _reduce_class(self): method __reduce__ (line 229) | def __reduce__(self): class PickleCallableByPath (line 233) | class PickleCallableByPath: method __init__ (line 249) | def __init__(self, fn): method __call__ (line 252) | def __call__(self, *args, **kwargs): method __reduce__ (line 255) | def __reduce__(self): method _rebuild (line 259) | def _rebuild(cls, modname, fn_path): FILE: numba/core/sigutils.py function is_signature (line 4) | def is_signature(sig): function _parse_signature_string (line 12) | def _parse_signature_string(signature_str): function normalize_signature (line 22) | def normalize_signature(sig): FILE: numba/core/ssa.py function reconstruct_ssa (line 26) | def reconstruct_ssa(func_ir): class _CacheListVars (line 36) | class _CacheListVars: method __init__ (line 37) | def __init__(self): method get (line 40) | def get(self, inst): function _run_ssa (line 47) | def _run_ssa(blocks): function _fix_ssa_vars (line 83) | def _fix_ssa_vars(blocks, varname, defmap, cfg, df_plus, cache_list_vars): function _iterated_domfronts (line 101) | def _iterated_domfronts(cfg): function _compute_phi_locations (line 119) | def _compute_phi_locations(iterated_df, defmap): function _fresh_vars (line 130) | def _fresh_vars(blocks, varname): function _get_scope (line 140) | def _get_scope(blocks): function _find_defs_violators (line 145) | def _find_defs_violators(blocks, cfg): function _run_block_analysis (line 175) | def _run_block_analysis(blocks, states, handler): function _run_block_rewrite (line 183) | def _run_block_rewrite(blocks, states, handler): function _make_states (line 200) | def _make_states(blocks): function _run_ssa_block_pass (line 206) | def _run_ssa_block_pass(states, blk, handler): class _BaseHandler (line 219) | class _BaseHandler: method on_assign (line 222) | def on_assign(self, states, assign): method on_other (line 240) | def on_other(self, states, stmt): class _GatherDefsHandler (line 259) | class _GatherDefsHandler(_BaseHandler): method on_assign (line 268) | def on_assign(self, states, assign): method on_other (line 277) | def on_other(self, states, stmt): class UndefinedVariable (line 284) | class UndefinedVariable: method __init__ (line 285) | def __init__(self): class _FreshVarHandler (line 291) | class _FreshVarHandler(_BaseHandler): method on_assign (line 294) | def on_assign(self, states, assign): method on_other (line 316) | def on_other(self, states, stmt): class _FixSSAVars (line 320) | class _FixSSAVars(_BaseHandler): method __init__ (line 329) | def __init__(self, cache_list_vars): method on_assign (line 332) | def on_assign(self, states, assign): method on_other (line 363) | def on_other(self, states, stmt): method _fix_var (line 374) | def _fix_var(self, states, stmt, used_vars): method _find_def (line 382) | def _find_def(self, states, stmt): method _find_def_from_top (line 410) | def _find_def_from_top(self, states, label, loc): method _find_def_from_bottom (line 456) | def _find_def_from_bottom(self, states, label, loc): method _stmt_index (line 468) | def _stmt_index(self, defstmt, block, stop=-1): function _warn_about_uninitialized_variable (line 483) | def _warn_about_uninitialized_variable(varname, loc): FILE: numba/core/target_extension.py class _TargetRegistry (line 13) | class _TargetRegistry(DelayedRegistry): method __getitem__ (line 15) | def __getitem__(self, item): class target_override (line 32) | class target_override(object): method __init__ (line 35) | def __init__(self, name): method __enter__ (line 40) | def __enter__(self): method __exit__ (line 43) | def __exit__(self, ty, val, tb): function current_target (line 47) | def current_target(): function get_local_target (line 53) | def get_local_target(context): function resolve_target_str (line 71) | def resolve_target_str(target_str): function resolve_dispatcher_from_str (line 76) | def resolve_dispatcher_from_str(target_str): function _get_local_target_checked (line 82) | def _get_local_target_checked(tyctx, hwstr, reason): class JitDecorator (line 111) | class JitDecorator(ABC): method __call__ (line 114) | def __call__(self): class Target (line 118) | class Target(ABC): method inherits_from (line 122) | def inherits_from(cls, other): class Generic (line 127) | class Generic(Target): class CPU (line 133) | class CPU(Generic): class GPU (line 138) | class GPU(Generic): class CUDA (line 144) | class CUDA(GPU): class NPyUfunc (line 149) | class NPyUfunc(Target): FILE: numba/core/targetconfig.py class Option (line 13) | class Option: method __init__ (line 18) | def __init__(self, type, *, default, doc): method type (line 35) | def type(self): method default (line 39) | def default(self): method doc (line 43) | def doc(self): class _FlagsStack (line 47) | class _FlagsStack(utils.ThreadLocalStack, stack_name="flags"): class ConfigStack (line 51) | class ConfigStack: method top_or_none (line 58) | def top_or_none(cls): method __init__ (line 69) | def __init__(self): method top (line 72) | def top(self): method __len__ (line 75) | def __len__(self): method enter (line 78) | def enter(self, flags): class _MetaTargetConfig (line 85) | class _MetaTargetConfig(type): method __init__ (line 92) | def __init__(cls, name, bases, dct): method find_options (line 125) | def find_options(cls, dct): class _NotSetType (line 132) | class _NotSetType: method __repr__ (line 133) | def __repr__(self): class TargetConfig (line 140) | class TargetConfig(metaclass=_MetaTargetConfig): method __init__ (line 161) | def __init__(self, copy_from=None): method __repr__ (line 174) | def __repr__(self): method __hash__ (line 188) | def __hash__(self): method __eq__ (line 191) | def __eq__(self, other): method values (line 197) | def values(self): method is_set (line 202) | def is_set(self, name): method discard (line 208) | def discard(self, name): method inherit_if_not_set (line 216) | def inherit_if_not_set(self, name, default=_NotSet): method copy (line 238) | def copy(self): method summary (line 243) | def summary(self) -> str: method _guard_option (line 253) | def _guard_option(self, name): method _summary_args (line 258) | def _summary_args(self): method _make_compression_dictionary (line 274) | def _make_compression_dictionary(cls) -> bytes: method get_mangle_string (line 291) | def get_mangle_string(self) -> str: method demangle (line 305) | def demangle(cls, mangled: str) -> str: FILE: numba/core/tracing.py class TLS (line 11) | class TLS(threading.local): method __init__ (line 14) | def __init__(self): function find_function_info (line 22) | def find_function_info(func, spec, args): function chop (line 54) | def chop(value): function create_events (line 63) | def create_events(fname, spec, args, kwds): function dotrace (line 79) | def dotrace(*args, **kwds): function notrace (line 196) | def notrace(*args, **kwds): function doevent (line 210) | def doevent(msg): function noevent (line 216) | def noevent(msg): FILE: numba/core/transforms.py function _extract_loop_lifting_candidates (line 19) | def _extract_loop_lifting_candidates(cfg, blocks): function find_region_inout_vars (line 72) | def find_region_inout_vars(blocks, livemap, callfrom, returnto, body_blo... function _loop_lift_get_candidate_infos (line 104) | def _loop_lift_get_candidate_infos(cfg, blocks, livemap): function _loop_lift_modify_call_block (line 137) | def _loop_lift_modify_call_block(liftedloop, block, inputs, outputs, ret... function _loop_lift_prepare_loop_func (line 155) | def _loop_lift_prepare_loop_func(loopinfo, blocks): function _loop_lift_modify_blocks (line 176) | def _loop_lift_modify_blocks(func_ir, loopinfo, blocks, function _has_multiple_loop_exits (line 223) | def _has_multiple_loop_exits(cfg, lpinfo): function _pre_looplift_transform (line 246) | def _pre_looplift_transform(func_ir): function loop_lifting (line 264) | def loop_lifting(func_ir, typingctx, targetctx, flags, locals): function canonicalize_cfg_single_backedge (line 292) | def canonicalize_cfg_single_backedge(blocks): function canonicalize_cfg (line 362) | def canonicalize_cfg(blocks): function with_lifting (line 370) | def with_lifting(func_ir, typingctx, targetctx, flags, locals): function _get_with_contextmanager (line 429) | def _get_with_contextmanager(func_ir, blocks, blk_start): function _legalize_with_head (line 486) | def _legalize_with_head(blk): function _cfg_nodes_in_region (line 513) | def _cfg_nodes_in_region(cfg, region_begin, region_end): function find_setupwiths (line 533) | def find_setupwiths(func_ir): function _rewrite_return (line 627) | def _rewrite_return(func_ir, target_block_label): function _eliminate_nested_withs (line 734) | def _eliminate_nested_withs(with_ranges): function consolidate_multi_exit_withs (line 751) | def consolidate_multi_exit_withs(withs: dict, blocks, func_ir): function _fix_multi_exit_blocks (line 764) | def _fix_multi_exit_blocks(func_ir, exit_nodes, *, split_condition=None): FILE: numba/core/typeconv/_typeconv.cpp function MOD_INIT (line 38) | MOD_INIT(_typeconv) { function TypeManager (line 52) | static function PyObject (line 58) | PyObject* function del_type_manager (line 65) | void function PyObject (line 71) | PyObject* function PyObject (line 127) | PyObject* function PyObject (line 156) | PyObject* function PyObject (line 191) | PyObject* FILE: numba/core/typeconv/castgraph.py class Conversion (line 6) | class Conversion(enum.IntEnum): class CastSet (line 30) | class CastSet(object): method __init__ (line 36) | def __init__(self): method insert (line 39) | def insert(self, to, rel): method items (line 45) | def items(self): method get (line 48) | def get(self, item): method __len__ (line 51) | def __len__(self): method __repr__ (line 54) | def __repr__(self): method __contains__ (line 59) | def __contains__(self, item): method __iter__ (line 62) | def __iter__(self): method __getitem__ (line 65) | def __getitem__(self, item): class TypeGraph (line 69) | class TypeGraph(object): method __init__ (line 76) | def __init__(self, callback=None): method get (line 89) | def get(self, ty): method propagate (line 92) | def propagate(self, a, b, baserel): method insert_rule (line 119) | def insert_rule(self, a, b, rel): method promote (line 125) | def promote(self, a, b): method safe (line 128) | def safe(self, a, b): method unsafe (line 131) | def unsafe(self, a, b): FILE: numba/core/typeconv/rules.py function dump_number_rules (line 9) | def dump_number_rules(): function _init_casting_rules (line 14) | def _init_casting_rules(tm): FILE: numba/core/typeconv/test.cpp function main (line 7) | int main() { FILE: numba/core/typeconv/typeconv.cpp function TypeCompatibleCode (line 34) | TypeCompatibleCode TCCMap::find(const TypePair &key) const { function TypeCompatibleCode (line 96) | TypeCompatibleCode TypeManager::isCompatible(Type from, Type to) const { FILE: numba/core/typeconv/typeconv.hpp type TypeCompatibleCode (line 9) | enum TypeCompatibleCode{ type TCCRecord (line 28) | struct TCCRecord { class TCCMap (line 35) | class TCCMap { type Rating (line 50) | struct Rating { class TypeManager (line 62) | class TypeManager{ FILE: numba/core/typeconv/typeconv.py class TypeManager (line 22) | class TypeManager(object): method __init__ (line 29) | def __init__(self): method select_overload (line 33) | def select_overload(self, sig, overloads, allow_unsafe, method check_compatible (line 40) | def check_compatible(self, fromty, toty): method set_compatible (line 49) | def set_compatible(self, fromty, toty, by): method set_promote (line 57) | def set_promote(self, fromty, toty): method set_unsafe_convert (line 60) | def set_unsafe_convert(self, fromty, toty): method set_safe_convert (line 63) | def set_safe_convert(self, fromty, toty): method get_pointer (line 66) | def get_pointer(self): class TypeCastingRules (line 70) | class TypeCastingRules(object): method __init__ (line 74) | def __init__(self, tm): method promote (line 78) | def promote(self, a, b): method unsafe (line 84) | def unsafe(self, a, b): method safe (line 90) | def safe(self, a, b): method promote_unsafe (line 96) | def promote_unsafe(self, a, b): method safe_unsafe (line 103) | def safe_unsafe(self, a, b): method unsafe_unsafe (line 110) | def unsafe_unsafe(self, a, b): method _cb_update (line 117) | def _cb_update(self, a, b, rel): FILE: numba/core/typed_passes.py function fallback_context (line 43) | def fallback_context(state, msg): function type_inference_stage (line 68) | def type_inference_stage(typingctx, targetctx, interp, args, return_type, class BaseTypeInference (line 101) | class BaseTypeInference(FunctionPass): method __init__ (line 104) | def __init__(self): method run_pass (line 107) | def run_pass(self, state): class NopythonTypeInference (line 175) | class NopythonTypeInference(BaseTypeInference): class PartialTypeInference (line 180) | class PartialTypeInference(BaseTypeInference): class AnnotateTypes (line 186) | class AnnotateTypes(AnalysisPass): method __init__ (line 189) | def __init__(self): method get_analysis_usage (line 192) | def get_analysis_usage(self, AU): method run_pass (line 195) | def run_pass(self, state): class NopythonRewrites (line 222) | class NopythonRewrites(FunctionPass): method __init__ (line 225) | def __init__(self): method run_pass (line 228) | def run_pass(self, state): class PreParforPass (line 255) | class PreParforPass(FunctionPass): method __init__ (line 259) | def __init__(self): method run_pass (line 262) | def run_pass(self, state): function _reload_parfors (line 283) | def _reload_parfors(): class ParforPass (line 292) | class ParforPass(FunctionPass): method __init__ (line 296) | def __init__(self): method run_pass (line 299) | def run_pass(self, state): class ParforFusionPass (line 347) | class ParforFusionPass(FunctionPass): method __init__ (line 351) | def __init__(self): method run_pass (line 354) | def run_pass(self, state): class ParforPreLoweringPass (line 376) | class ParforPreLoweringPass(FunctionPass): method __init__ (line 380) | def __init__(self): method run_pass (line 383) | def run_pass(self, state): class DumpParforDiagnostics (line 405) | class DumpParforDiagnostics(AnalysisPass): method __init__ (line 409) | def __init__(self): method run_pass (line 412) | def run_pass(self, state): class BaseNativeLowering (line 422) | class BaseNativeLowering(abc.ABC, LoweringPass): method __init__ (line 429) | def __init__(self): method lowering_class (line 434) | def lowering_class(self): method run_pass (line 439) | def run_pass(self, state): class NativeLowering (line 517) | class NativeLowering(BaseNativeLowering): method lowering_class (line 523) | def lowering_class(self): class NativeParforLowering (line 528) | class NativeParforLowering(BaseNativeLowering): method lowering_class (line 534) | def lowering_class(self): class NoPythonSupportedFeatureValidation (line 539) | class NoPythonSupportedFeatureValidation(AnalysisPass): method __init__ (line 545) | def __init__(self): method run_pass (line 548) | def run_pass(self, state): class IRLegalization (line 555) | class IRLegalization(AnalysisPass): method __init__ (line 559) | def __init__(self): method run_pass (line 562) | def run_pass(self, state): class NoPythonBackend (line 569) | class NoPythonBackend(LoweringPass): method __init__ (line 573) | def __init__(self): method run_pass (line 576) | def run_pass(self, state): class InlineOverloads (line 604) | class InlineOverloads(FunctionPass): method __init__ (line 616) | def __init__(self): method run_pass (line 621) | def run_pass(self, state): method _get_attr_info (line 683) | def _get_attr_info(self, state, expr): method _get_callable_info (line 705) | def _get_callable_info(self, state, expr): method _do_work_expr (line 762) | def _do_work_expr(self, state, work_list, block, i, expr, inline_worker): method _run_inliner (line 810) | def _run_inliner( method _add_method_self_arg (line 850) | def _add_method_self_arg(self, state, expr): class DeadCodeElimination (line 859) | class DeadCodeElimination(FunctionPass): method __init__ (line 866) | def __init__(self): method run_pass (line 869) | def run_pass(self, state): class PreLowerStripPhis (line 875) | class PreLowerStripPhis(FunctionPass): method __init__ (line 885) | def __init__(self): method run_pass (line 888) | def run_pass(self, state): method _strip_phi_nodes (line 916) | def _strip_phi_nodes(self, func_ir): method _simplify_conditionally_defined_variable (line 971) | def _simplify_conditionally_defined_variable(self, func_ir): FILE: numba/core/typeinfer.py class NOTSET (line 35) | class NOTSET: class TypeVar (line 43) | class TypeVar(object): method __init__ (line 44) | def __init__(self, context, var): method add_type (line 54) | def add_type(self, tp, loc): method lock (line 87) | def lock(self, tp, loc, literal_value=NOTSET): method union (line 110) | def union(self, other, loc): method __repr__ (line 116) | def __repr__(self): method defined (line 120) | def defined(self): method get (line 123) | def get(self): method getone (line 126) | def getone(self): method __len__ (line 131) | def __len__(self): class ConstraintNetwork (line 135) | class ConstraintNetwork(object): method __init__ (line 141) | def __init__(self): method append (line 144) | def append(self, constraint): method propagate (line 147) | def propagate(self, typeinfer): class Propagate (line 174) | class Propagate(object): method __init__ (line 179) | def __init__(self, dst, src, loc): method __call__ (line 184) | def __call__(self, typeinfer): method refine (line 191) | def refine(self, typeinfer, target_type): class ArgConstraint (line 198) | class ArgConstraint(object): method __init__ (line 200) | def __init__(self, dst, src, loc): method __call__ (line 205) | def __call__(self, typeinfer): class BuildTupleConstraint (line 221) | class BuildTupleConstraint(object): method __init__ (line 222) | def __init__(self, target, items, loc): method __call__ (line 227) | def __call__(self, typeinfer): class _BuildContainerConstraint (line 241) | class _BuildContainerConstraint(object): method __init__ (line 243) | def __init__(self, target, items, loc): method __call__ (line 248) | def __call__(self, typeinfer): class BuildListConstraint (line 267) | class BuildListConstraint(_BuildContainerConstraint): method __init__ (line 269) | def __init__(self, target, items, loc): method __call__ (line 274) | def __call__(self, typeinfer): class BuildSetConstraint (line 302) | class BuildSetConstraint(_BuildContainerConstraint): class BuildMapConstraint (line 306) | class BuildMapConstraint(object): method __init__ (line 308) | def __init__(self, target, items, special_value, value_indexes, loc): method __call__ (line 315) | def __call__(self, typeinfer): class ExhaustIterConstraint (line 375) | class ExhaustIterConstraint(object): method __init__ (line 376) | def __init__(self, target, count, iterator, loc): method __call__ (line 382) | def __call__(self, typeinfer): class PairFirstConstraint (line 409) | class PairFirstConstraint(object): method __init__ (line 410) | def __init__(self, target, pair, loc): method __call__ (line 415) | def __call__(self, typeinfer): class PairSecondConstraint (line 428) | class PairSecondConstraint(object): method __init__ (line 429) | def __init__(self, target, pair, loc): method __call__ (line 434) | def __call__(self, typeinfer): class StaticGetItemConstraint (line 446) | class StaticGetItemConstraint(object): method __init__ (line 447) | def __init__(self, target, value, index, index_var, loc): method __call__ (line 459) | def __call__(self, typeinfer): method get_call_signature (line 476) | def get_call_signature(self): class TypedGetItemConstraint (line 481) | class TypedGetItemConstraint(object): method __init__ (line 482) | def __init__(self, target, value, dtype, index, loc): method __call__ (line 489) | def __call__(self, typeinfer): method get_call_signature (line 498) | def get_call_signature(self): function fold_arg_vars (line 502) | def fold_arg_vars(typevars, args, vararg, kws): function _is_array_not_precise (line 544) | def _is_array_not_precise(arrty): class CallConstraint (line 550) | class CallConstraint(object): method __init__ (line 556) | def __init__(self, target, func, args, kws, vararg, loc): method __call__ (line 564) | def __call__(self, typeinfer): method resolve (line 574) | def resolve(self, typeinfer, typevars, fnty): method _add_refine_map (line 661) | def _add_refine_map(self, typeinfer, typevars, sig): method refine (line 674) | def refine(self, typeinfer, updated_type): method get_call_signature (line 688) | def get_call_signature(self): class IntrinsicCallConstraint (line 692) | class IntrinsicCallConstraint(CallConstraint): method __call__ (line 693) | def __call__(self, typeinfer): class GetAttrConstraint (line 702) | class GetAttrConstraint(object): method __init__ (line 703) | def __init__(self, target, attr, value, loc, inst): method __call__ (line 710) | def __call__(self, typeinfer): method refine (line 725) | def refine(self, typeinfer, target_type): method __repr__ (line 734) | def __repr__(self): class SetItemRefinement (line 739) | class SetItemRefinement(object): method _refine_target_type (line 744) | def _refine_target_type(self, typeinfer, targetty, idxty, valty, sig): class SetItemConstraint (line 765) | class SetItemConstraint(SetItemRefinement): method __init__ (line 766) | def __init__(self, target, index, value, loc): method __call__ (line 772) | def __call__(self, typeinfer): method get_call_signature (line 790) | def get_call_signature(self): class StaticSetItemConstraint (line 794) | class StaticSetItemConstraint(SetItemRefinement): method __init__ (line 795) | def __init__(self, target, index, index_var, value, loc): method __call__ (line 802) | def __call__(self, typeinfer): method get_call_signature (line 823) | def get_call_signature(self): class DelItemConstraint (line 827) | class DelItemConstraint(object): method __init__ (line 828) | def __init__(self, target, index, loc): method __call__ (line 833) | def __call__(self, typeinfer): method get_call_signature (line 848) | def get_call_signature(self): class SetAttrConstraint (line 852) | class SetAttrConstraint(object): method __init__ (line 853) | def __init__(self, target, attr, value, loc): method __call__ (line 859) | def __call__(self, typeinfer): method get_call_signature (line 876) | def get_call_signature(self): class PrintConstraint (line 880) | class PrintConstraint(object): method __init__ (line 881) | def __init__(self, args, vararg, loc): method __call__ (line 886) | def __call__(self, typeinfer): method get_call_signature (line 900) | def get_call_signature(self): class TypeVarMap (line 904) | class TypeVarMap(dict): method set_context (line 905) | def set_context(self, context): method __getitem__ (line 908) | def __getitem__(self, name): method __setitem__ (line 913) | def __setitem__(self, name, value): function register_dispatcher (line 929) | def register_dispatcher(disp): class TypeInferer (line 952) | class TypeInferer(object): method __init__ (line 957) | def __init__(self, context, func_ir, warnings): method copy (line 991) | def copy(self, skip_recursion=False): method _mangle_arg_name (line 1002) | def _mangle_arg_name(self, name): method _get_return_vars (line 1006) | def _get_return_vars(self): method get_argument_types (line 1014) | def get_argument_types(self): method seed_argument (line 1017) | def seed_argument(self, name, index, typ): method seed_type (line 1022) | def seed_type(self, name, typ): method seed_return (line 1027) | def seed_return(self, typ): method build_constraint (line 1033) | def build_constraint(self): method return_types_from_partial (line 1038) | def return_types_from_partial(self): method propagate (line 1064) | def propagate(self, raise_errors=True): method add_type (line 1089) | def add_type(self, var, tp, loc, unless_locked=False): method add_calltype (line 1099) | def add_calltype(self, inst, signature): method copy_type (line 1103) | def copy_type(self, src_var, dest_var, loc): method lock_type (line 1106) | def lock_type(self, var, tp, loc, literal_value=NOTSET): method propagate_refined_type (line 1110) | def propagate_refined_type(self, updated_var, updated_type): method unify (line 1115) | def unify(self, raise_errors=True): method get_generator_type (line 1262) | def get_generator_type(self, typdict, retty, raise_errors=True): method get_function_types (line 1323) | def get_function_types(self, typemap): method _unify_return_types (line 1333) | def _unify_return_types(self, rettypes): method get_return_type (line 1380) | def get_return_type(self, typemap): method get_state_token (line 1390) | def get_state_token(self): method constrain_statement (line 1396) | def constrain_statement(self, inst): method typeof_setitem (line 1427) | def typeof_setitem(self, inst): method typeof_storemap (line 1433) | def typeof_storemap(self, inst): method typeof_static_setitem (line 1439) | def typeof_static_setitem(self, inst): method typeof_delitem (line 1447) | def typeof_delitem(self, inst): method typeof_setattr (line 1453) | def typeof_setattr(self, inst): method typeof_print (line 1459) | def typeof_print(self, inst): method typeof_assign (line 1465) | def typeof_assign(self, inst): method resolve_value_type (line 1485) | def resolve_value_type(self, inst, val): method typeof_arg (line 1496) | def typeof_arg(self, inst, target, arg): method typeof_const (line 1502) | def typeof_const(self, inst, target, const): method typeof_yield (line 1510) | def typeof_yield(self, inst, target, yield_): method sentry_modified_builtin (line 1514) | def sentry_modified_builtin(self, inst, gvar): method resolve_call (line 1531) | def resolve_call(self, fnty, pos_args, kw_args): method typeof_global (line 1571) | def typeof_global(self, inst, target, gvar): method typeof_expr (line 1661) | def typeof_expr(self, inst, target, expr): method typeof_call (line 1751) | def typeof_call(self, inst, target, call): method typeof_intrinsic_call (line 1757) | def typeof_intrinsic_call(self, inst, target, func, *args): class NullDebug (line 1764) | class NullDebug(object): method propagate_started (line 1766) | def propagate_started(self): method propagate_finished (line 1769) | def propagate_finished(self): method unify_finished (line 1772) | def unify_finished(self, typdict, retty, fntys): class TypeInferDebug (line 1776) | class TypeInferDebug(object): method __init__ (line 1778) | def __init__(self, typeinfer): method _dump_state (line 1781) | def _dump_state(self): method propagate_started (line 1785) | def propagate_started(self): method propagate_finished (line 1788) | def propagate_finished(self): method unify_finished (line 1791) | def unify_finished(self, typdict, retty, fntys): FILE: numba/core/types/abstract.py function _autoincr (line 20) | def _autoincr(): function _on_type_disposal (line 28) | def _on_type_disposal(wr, _pop=_typecache.pop): class _TypeMetaclass (line 32) | class _TypeMetaclass(ABCMeta): method __init__ (line 40) | def __init__(cls, name, bases, orig_vars): method _intern (line 49) | def _intern(cls, inst): method __call__ (line 61) | def __call__(cls, *args, **kwargs): function _type_reconstructor (line 71) | def _type_reconstructor(reconstructor, reconstructor_args, state): class Type (line 81) | class Type(metaclass=_TypeMetaclass): method __init__ (line 93) | def __init__(self, name): method key (line 97) | def key(self): method mangling_args (line 105) | def mangling_args(self): method __repr__ (line 115) | def __repr__(self): method __str__ (line 118) | def __str__(self): method __hash__ (line 121) | def __hash__(self): method __eq__ (line 124) | def __eq__(self, other): method __ne__ (line 127) | def __ne__(self, other): method __reduce__ (line 130) | def __reduce__(self): method unify (line 134) | def unify(self, typingctx, other): method can_convert_to (line 143) | def can_convert_to(self, typingctx, other): method can_convert_from (line 151) | def can_convert_from(self, typingctx, other): method is_precise (line 158) | def is_precise(self): method augment (line 165) | def augment(self, other): method __call__ (line 177) | def __call__(self, *args): method __getitem__ (line 184) | def __getitem__(self, args): method _determine_array_spec (line 192) | def _determine_array_spec(self, args): method cast_python_value (line 218) | def cast_python_value(self, args): method is_internal (line 223) | def is_internal(self): method dump (line 228) | def dump(self, tab=''): class Dummy (line 235) | class Dummy(Type): class Hashable (line 242) | class Hashable(Type): class Number (line 248) | class Number(Hashable): method unify (line 253) | def unify(self, typingctx, other): class Callable (line 267) | class Callable(Type): method get_call_type (line 273) | def get_call_type(self, context, args, kws): method get_call_signatures (line 280) | def get_call_signatures(self): method get_impl_key (line 286) | def get_impl_key(self, sig): class DTypeSpec (line 292) | class DTypeSpec(Type): method dtype (line 300) | def dtype(self): class IterableType (line 306) | class IterableType(Type): method iterator_type (line 313) | def iterator_type(self): class Sized (line 319) | class Sized(Type): class ConstSized (line 325) | class ConstSized(Sized): method __len__ (line 330) | def __len__(self): class IteratorType (line 334) | class IteratorType(IterableType): method __init__ (line 340) | def __init__(self, name, **kwargs): method yield_type (line 345) | def yield_type(self): method iterator_type (line 353) | def iterator_type(self): class Container (line 357) | class Container(Sized, IterableType): class Sequence (line 363) | class Sequence(Container): class MutableSequence (line 370) | class MutableSequence(Sequence): class ArrayCompatible (line 378) | class ArrayCompatible(Type): method as_array (line 390) | def as_array(self): method ndim (line 399) | def ndim(self): method layout (line 403) | def layout(self): method dtype (line 407) | def dtype(self): class Literal (line 411) | class Literal(Type): method __init__ (line 428) | def __init__(self, value): method _literal_init (line 438) | def _literal_init(self, value): method literal_value (line 445) | def literal_value(self): method literal_type (line 449) | def literal_type(self): class TypeRef (line 474) | class TypeRef(Dummy): method __init__ (line 479) | def __init__(self, instance_type): method key (line 484) | def key(self): class InitialValue (line 488) | class InitialValue(object): method __init__ (line 493) | def __init__(self, initial_value): method initial_value (line 497) | def initial_value(self): class Poison (line 501) | class Poison(Type): method __init__ (line 508) | def __init__(self, ty): method __unliteral__ (line 512) | def __unliteral__(self): method unify (line 515) | def unify(self, typingctx, other): FILE: numba/core/types/common.py class Opaque (line 9) | class Opaque(Dummy): class SimpleIterableType (line 15) | class SimpleIterableType(IterableType): method __init__ (line 17) | def __init__(self, name, iterator_type): method iterator_type (line 22) | def iterator_type(self): class SimpleIteratorType (line 26) | class SimpleIteratorType(IteratorType): method __init__ (line 28) | def __init__(self, name, yield_type): method yield_type (line 33) | def yield_type(self): class Buffer (line 37) | class Buffer(IterableType, ArrayCompatible): method __init__ (line 49) | def __init__(self, dtype, ndim, layout, readonly=False, name=None): method iterator_type (line 72) | def iterator_type(self): method as_array (line 77) | def as_array(self): method copy (line 80) | def copy(self, dtype=None, ndim=None, layout=None): method key (line 91) | def key(self): method is_c_contig (line 95) | def is_c_contig(self): method is_f_contig (line 99) | def is_f_contig(self): method is_contig (line 103) | def is_contig(self): FILE: numba/core/types/containers.py class Pair (line 29) | class Pair(Type): method __init__ (line 34) | def __init__(self, first_type, second_type): method key (line 41) | def key(self): method unify (line 44) | def unify(self, typingctx, other): class BaseContainerIterator (line 52) | class BaseContainerIterator(SimpleIteratorType): method __init__ (line 59) | def __init__(self, container): method unify (line 66) | def unify(self, typingctx, other): method key (line 74) | def key(self): class BaseContainerPayload (line 78) | class BaseContainerPayload(Type): method __init__ (line 85) | def __init__(self, container): method key (line 92) | def key(self): class Bytes (line 96) | class Bytes(Buffer): class ByteArray (line 106) | class ByteArray(Buffer): class PyArray (line 114) | class PyArray(Buffer): class MemoryView (line 122) | class MemoryView(Buffer): function is_homogeneous (line 128) | def is_homogeneous(*tys): class BaseTuple (line 139) | class BaseTuple(ConstSized, Hashable): method from_types (line 145) | def from_types(cls, tys, pyclass=None): method _make_homogeneous_tuple (line 171) | def _make_homogeneous_tuple(cls, dtype, count): method _make_heterogeneous_tuple (line 175) | def _make_heterogeneous_tuple(cls, tys): class BaseAnonymousTuple (line 179) | class BaseAnonymousTuple(BaseTuple): method can_convert_to (line 184) | def can_convert_to(self, typingctx, other): method __unliteral__ (line 202) | def __unliteral__(self): class _HomogeneousTuple (line 206) | class _HomogeneousTuple(Sequence, BaseTuple): method iterator_type (line 208) | def iterator_type(self): method __getitem__ (line 211) | def __getitem__(self, i): method __iter__ (line 217) | def __iter__(self): method __len__ (line 220) | def __len__(self): method types (line 224) | def types(self): class UniTuple (line 228) | class UniTuple(BaseAnonymousTuple, _HomogeneousTuple, Sequence): method __init__ (line 233) | def __init__(self, dtype, count): method mangling_args (line 240) | def mangling_args(self): method key (line 244) | def key(self): method unify (line 247) | def unify(self, typingctx, other): method __unliteral__ (line 256) | def __unliteral__(self): method __repr__ (line 259) | def __repr__(self): class UniTupleIter (line 263) | class UniTupleIter(BaseContainerIterator): class _HeterogeneousTuple (line 271) | class _HeterogeneousTuple(BaseTuple): method __getitem__ (line 272) | def __getitem__(self, i): method __len__ (line 278) | def __len__(self): method __iter__ (line 282) | def __iter__(self): method is_types_iterable (line 286) | def is_types_iterable(types): class UnionType (line 292) | class UnionType(Type): method __init__ (line 293) | def __init__(self, types): method get_type_tag (line 298) | def get_type_tag(self, typ): class Tuple (line 302) | class Tuple(BaseAnonymousTuple, _HeterogeneousTuple): method __new__ (line 303) | def __new__(cls, types): method __init__ (line 316) | def __init__(self, types): method mangling_args (line 327) | def mangling_args(self): method key (line 331) | def key(self): method unify (line 334) | def unify(self, typingctx, other): method __repr__ (line 347) | def __repr__(self): class _StarArgTupleMixin (line 351) | class _StarArgTupleMixin: method _make_homogeneous_tuple (line 353) | def _make_homogeneous_tuple(cls, dtype, count): method _make_heterogeneous_tuple (line 357) | def _make_heterogeneous_tuple(cls, tys): class StarArgTuple (line 361) | class StarArgTuple(_StarArgTupleMixin, Tuple): method __new__ (line 365) | def __new__(cls, types): class StarArgUniTuple (line 374) | class StarArgUniTuple(_StarArgTupleMixin, UniTuple): class BaseNamedTuple (line 379) | class BaseNamedTuple(BaseTuple): class NamedUniTuple (line 383) | class NamedUniTuple(_HomogeneousTuple, BaseNamedTuple): method __init__ (line 384) | def __init__(self, dtype, count, cls): method iterator_type (line 393) | def iterator_type(self): method key (line 397) | def key(self): class NamedTuple (line 401) | class NamedTuple(_HeterogeneousTuple, BaseNamedTuple): method __init__ (line 402) | def __init__(self, types, cls): method key (line 413) | def key(self): class List (line 417) | class List(MutableSequence, InitialValue): method __init__ (line 422) | def __init__(self, dtype, reflected=False, initial_value=None): method copy (line 431) | def copy(self, dtype=None, reflected=None): method unify (line 438) | def unify(self, typingctx, other): method key (line 454) | def key(self): method iterator_type (line 458) | def iterator_type(self): method is_precise (line 461) | def is_precise(self): method __getitem__ (line 464) | def __getitem__(self, args): method __unliteral__ (line 470) | def __unliteral__(self): method __repr__ (line 474) | def __repr__(self): class LiteralList (line 478) | class LiteralList(Literal, ConstSized, Hashable): method __init__ (line 484) | def __init__(self, literal_value): method __getitem__ (line 491) | def __getitem__(self, i): method __len__ (line 497) | def __len__(self): method __iter__ (line 500) | def __iter__(self): method from_types (line 504) | def from_types(cls, tys): method is_types_iterable (line 508) | def is_types_iterable(types): method iterator_type (line 513) | def iterator_type(self): method __unliteral__ (line 516) | def __unliteral__(self): method unify (line 519) | def unify(self, typingctx, other): class ListIter (line 531) | class ListIter(BaseContainerIterator): class ListPayload (line 539) | class ListPayload(BaseContainerPayload): class Set (line 547) | class Set(Container): method __init__ (line 554) | def __init__(self, dtype, reflected=False): method key (line 563) | def key(self): method iterator_type (line 567) | def iterator_type(self): method is_precise (line 570) | def is_precise(self): method copy (line 573) | def copy(self, dtype=None, reflected=None): method unify (line 580) | def unify(self, typingctx, other): method __repr__ (line 587) | def __repr__(self): class SetIter (line 591) | class SetIter(BaseContainerIterator): class SetPayload (line 599) | class SetPayload(BaseContainerPayload): class SetEntry (line 607) | class SetEntry(Type): method __init__ (line 612) | def __init__(self, set_type): method key (line 618) | def key(self): class ListType (line 622) | class ListType(IterableType): method __init__ (line 629) | def __init__(self, itemty): method key (line 642) | def key(self): method is_precise (line 645) | def is_precise(self): method iterator_type (line 649) | def iterator_type(self): method refine (line 653) | def refine(cls, itemty): method unify (line 660) | def unify(self, typingctx, other): method __repr__ (line 669) | def __repr__(self): class ListTypeIterableType (line 673) | class ListTypeIterableType(SimpleIterableType): method __init__ (line 678) | def __init__(self, parent): class ListTypeIteratorType (line 687) | class ListTypeIteratorType(SimpleIteratorType): method __init__ (line 688) | def __init__(self, iterable): function _sentry_forbidden_types (line 696) | def _sentry_forbidden_types(key, value): class DictType (line 704) | class DictType(IterableType, InitialValue): method __init__ (line 708) | def __init__(self, keyty, valty, initial_value=None): method is_precise (line 729) | def is_precise(self): method iterator_type (line 738) | def iterator_type(self): method refine (line 742) | def refine(cls, keyty, valty): method unify (line 750) | def unify(self, typingctx, other): method key (line 773) | def key(self): method __unliteral__ (line 776) | def __unliteral__(self): method __repr__ (line 779) | def __repr__(self): class LiteralStrKeyDict (line 783) | class LiteralStrKeyDict(Literal, ConstSized, Hashable): class FakeNamedTuple (line 788) | class FakeNamedTuple(pySequence): method __init__ (line 793) | def __init__(self, name, keys): method __len__ (line 798) | def __len__(self): method __getitem__ (line 801) | def __getitem__(self, key): method __init__ (line 806) | def __init__(self, literal_value, value_index=None): method __unliteral__ (line 818) | def __unliteral__(self): method unify (line 821) | def unify(self, typingctx, other): method __len__ (line 838) | def __len__(self): method __iter__ (line 841) | def __iter__(self): method key (line 845) | def key(self): class DictItemsIterableType (line 851) | class DictItemsIterableType(SimpleIterableType): method __init__ (line 855) | def __init__(self, parent): class DictKeysIterableType (line 865) | class DictKeysIterableType(SimpleIterableType): method __init__ (line 869) | def __init__(self, parent): class DictValuesIterableType (line 879) | class DictValuesIterableType(SimpleIterableType): method __init__ (line 883) | def __init__(self, parent): class DictIteratorType (line 893) | class DictIteratorType(SimpleIteratorType): method __init__ (line 894) | def __init__(self, iterable): class StructRef (line 904) | class StructRef(Type): method __init__ (line 908) | def __init__(self, fields): method preprocess_fields (line 935) | def preprocess_fields(self, fields): method field_dict (line 947) | def field_dict(self): method get_data_type (line 953) | def get_data_type(self): class StructRefPayload (line 964) | class StructRefPayload(Type): method __init__ (line 970) | def __init__(self, typename, fields): method field_dict (line 976) | def field_dict(self): FILE: numba/core/types/function_type.py class FunctionType (line 10) | class FunctionType(Type): method __init__ (line 17) | def __init__(self, signature): method key (line 25) | def key(self): method name (line 29) | def name(self): method is_precise (line 32) | def is_precise(self): method get_precise (line 35) | def get_precise(self): method dump (line 38) | def dump(self, tab=''): method get_call_type (line 43) | def get_call_type(self, context, args, kws): method check_signature (line 84) | def check_signature(self, other_sig): method unify (line 91) | def unify(self, context, other): class UndefinedFunctionType (line 97) | class UndefinedFunctionType(FunctionType): method __init__ (line 101) | def __init__(self, nargs, dispatchers): method get_precise (line 114) | def get_precise(self): class FunctionPrototype (line 125) | class FunctionPrototype(Type): method __init__ (line 132) | def __init__(self, rtype, atypes): method key (line 146) | def key(self): class WrapperAddressProtocol (line 150) | class WrapperAddressProtocol(ABC): method __wrapper_address__ (line 160) | def __wrapper_address__(self): method signature (line 169) | def signature(self): class CompileResultWAP (line 181) | class CompileResultWAP(WrapperAddressProtocol): method __init__ (line 186) | def __init__(self, cres): method dump (line 199) | def dump(self, tab=''): method __wrapper_address__ (line 204) | def __wrapper_address__(self): method signature (line 207) | def signature(self): method __call__ (line 210) | def __call__(self, *args, **kwargs): # used in object-mode FILE: numba/core/types/functions.py function _wrapper (line 36) | def _wrapper(tmp, indent=0): function _bt_as_lines (line 49) | def _bt_as_lines(bt): function argsnkwargs_to_str (line 56) | def argsnkwargs_to_str(args, kwargs): class _ResolutionFailures (line 62) | class _ResolutionFailures(object): method __init__ (line 65) | def __init__(self, context, function_type, args, kwargs, depth=0): method __len__ (line 75) | def __len__(self): method add_error (line 78) | def add_error(self, calltemplate, matched, error, literal): method format (line 93) | def format(self): method format_error (line 206) | def format_error(self, error): method get_loc (line 214) | def get_loc(self, classtemplate, error): method raise_error (line 225) | def raise_error(self): function _unlit_non_poison (line 233) | def _unlit_non_poison(ty): class BaseFunction (line 243) | class BaseFunction(Callable): method __init__ (line 248) | def __init__(self, template): method key (line 266) | def key(self): method augment (line 269) | def augment(self, other): method get_impl_key (line 277) | def get_impl_key(self, sig): method get_call_type (line 284) | def get_call_type(self, context, args, kws): method get_call_signatures (line 334) | def get_call_signatures(self): class Function (line 343) | class Function(BaseFunction, Opaque): class BoundFunction (line 349) | class BoundFunction(Callable, Opaque): method __init__ (line 354) | def __init__(self, template, this): method unify (line 365) | def unify(self, typingctx, other): method copy (line 373) | def copy(self, this): method key (line 377) | def key(self): method get_impl_key (line 383) | def get_impl_key(self, sig): method get_call_type (line 390) | def get_call_type(self, context, args, kws): method get_call_signatures (line 466) | def get_call_signatures(self): class MakeFunctionLiteral (line 472) | class MakeFunctionLiteral(Literal, Opaque): class _PickleableWeakRef (line 476) | class _PickleableWeakRef(weakref.ref): method __getnewargs__ (line 483) | def __getnewargs__(self): class WeakType (line 490) | class WeakType(Type): method _store_object (line 496) | def _store_object(self, obj): method _get_object (line 499) | def _get_object(self): method key (line 506) | def key(self): method __eq__ (line 509) | def __eq__(self, other): method __hash__ (line 515) | def __hash__(self): class Dispatcher (line 519) | class Dispatcher(WeakType, Callable, Dummy): method __init__ (line 524) | def __init__(self, dispatcher): method dump (line 528) | def dump(self, tab=''): method get_call_type (line 534) | def get_call_type(self, context, args, kws): method get_call_signatures (line 547) | def get_call_signatures(self): method dispatcher (line 552) | def dispatcher(self): method get_overload (line 559) | def get_overload(self, sig): method get_impl_key (line 565) | def get_impl_key(self, sig): method unify (line 571) | def unify(self, context, other): method can_convert_to (line 574) | def can_convert_to(self, typingctx, other): class ObjModeDispatcher (line 584) | class ObjModeDispatcher(Dispatcher): class ExternalFunctionPointer (line 590) | class ExternalFunctionPointer(BaseFunction): method __init__ (line 596) | def __init__(self, sig, get_pointer, cconv=None): method key (line 629) | def key(self): class ExternalFunction (line 633) | class ExternalFunction(Function): method __init__ (line 639) | def __init__(self, symbol, sig): method key (line 647) | def key(self): class NamedTupleClass (line 651) | class NamedTupleClass(Callable, Opaque): method __init__ (line 656) | def __init__(self, instance_class): method get_call_type (line 661) | def get_call_type(self, context, args, kws): method get_call_signatures (line 666) | def get_call_signatures(self): method get_impl_key (line 669) | def get_impl_key(self, sig): method key (line 673) | def key(self): class NumberClass (line 677) | class NumberClass(Callable, DTypeSpec, Opaque): method __init__ (line 682) | def __init__(self, instance_type): method get_call_type (line 687) | def get_call_type(self, context, args, kws): method get_call_signatures (line 691) | def get_call_signatures(self): method get_impl_key (line 694) | def get_impl_key(self, sig): method key (line 698) | def key(self): method dtype (line 702) | def dtype(self): class RecursiveCall (line 709) | class RecursiveCall(Opaque): method __init__ (line 715) | def __init__(self, dispatcher_type): method add_overloads (line 724) | def add_overloads(self, args, qualname, uid): method get_overloads (line 738) | def get_overloads(self, args): method key (line 745) | def key(self): FILE: numba/core/types/iterators.py class RangeType (line 5) | class RangeType(SimpleIterableType): method __init__ (line 7) | def __init__(self, dtype): method unify (line 13) | def unify(self, typingctx, other): class RangeIteratorType (line 20) | class RangeIteratorType(SimpleIteratorType): method __init__ (line 22) | def __init__(self, dtype): method unify (line 27) | def unify(self, typingctx, other): class Generator (line 34) | class Generator(SimpleIteratorType): method __init__ (line 39) | def __init__(self, gen_func, yield_type, arg_types, state_types, method key (line 51) | def key(self): class EnumerateType (line 56) | class EnumerateType(SimpleIteratorType): method __init__ (line 62) | def __init__(self, iterable_type): method key (line 70) | def key(self): class ZipType (line 74) | class ZipType(SimpleIteratorType): method __init__ (line 80) | def __init__(self, iterable_types): method key (line 88) | def key(self): class ArrayIterator (line 92) | class ArrayIterator(SimpleIteratorType): method __init__ (line 97) | def __init__(self, array_type): FILE: numba/core/types/misc.py class PyObject (line 10) | class PyObject(Dummy): method is_precise (line 15) | def is_precise(self): class Phantom (line 19) | class Phantom(Dummy): class Undefined (line 26) | class Undefined(Dummy): method is_precise (line 32) | def is_precise(self): class UndefVar (line 36) | class UndefVar(Dummy): method can_convert_to (line 43) | def can_convert_to(self, typingctx, other): class RawPointer (line 47) | class RawPointer(Opaque): class StringLiteral (line 53) | class StringLiteral(Literal, Dummy): method can_convert_to (line 55) | def can_convert_to(self, typingctx, other): function unliteral (line 63) | def unliteral(lit_type): function literal (line 72) | def literal(value): function maybe_literal (line 87) | def maybe_literal(value): class Omitted (line 96) | class Omitted(Opaque): method __init__ (line 101) | def __init__(self, value): method key (line 109) | def key(self): method value (line 113) | def value(self): class VarArg (line 117) | class VarArg(Type): method __init__ (line 124) | def __init__(self, dtype): method key (line 129) | def key(self): class Module (line 133) | class Module(Dummy): method __init__ (line 134) | def __init__(self, pymod): method key (line 139) | def key(self): class MemInfoPointer (line 143) | class MemInfoPointer(Type): method __init__ (line 150) | def __init__(self, dtype): method key (line 156) | def key(self): class CPointer (line 160) | class CPointer(Type): method __init__ (line 172) | def __init__(self, dtype, addrspace=None): method key (line 182) | def key(self): class EphemeralPointer (line 186) | class EphemeralPointer(CPointer): class EphemeralArray (line 194) | class EphemeralArray(Type): method __init__ (line 200) | def __init__(self, dtype, count): method key (line 207) | def key(self): class Object (line 211) | class Object(Type): method __init__ (line 215) | def __init__(self, clsobj): method key (line 221) | def key(self): class Optional (line 225) | class Optional(Type): method __init__ (line 230) | def __init__(self, typ): method key (line 238) | def key(self): method can_convert_to (line 241) | def can_convert_to(self, typingctx, other): method can_convert_from (line 249) | def can_convert_from(self, typingctx, other): method unify (line 259) | def unify(self, typingctx, other): class NoneType (line 272) | class NoneType(Opaque): method unify (line 277) | def unify(self, typingctx, other): class EllipsisType (line 286) | class EllipsisType(Opaque): class ExceptionClass (line 292) | class ExceptionClass(Callable, Phantom): method __init__ (line 297) | def __init__(self, exc_class): method get_call_type (line 303) | def get_call_type(self, context, args, kws): method get_call_signatures (line 306) | def get_call_signatures(self): method get_impl_key (line 311) | def get_impl_key(self, sig): method key (line 315) | def key(self): class ExceptionInstance (line 319) | class ExceptionInstance(Phantom): method __init__ (line 325) | def __init__(self, exc_class): method key (line 332) | def key(self): class SliceType (line 336) | class SliceType(Type): method __init__ (line 338) | def __init__(self, name, members): method key (line 345) | def key(self): class SliceLiteral (line 349) | class SliceLiteral(Literal, SliceType): method __init__ (line 350) | def __init__(self, value): method key (line 357) | def key(self): class ClassInstanceType (line 365) | class ClassInstanceType(Type): method __init__ (line 373) | def __init__(self, class_type): method get_data_type (line 378) | def get_data_type(self): method get_reference_type (line 381) | def get_reference_type(self): method key (line 385) | def key(self): method classname (line 389) | def classname(self): method jit_props (line 393) | def jit_props(self): method jit_static_methods (line 397) | def jit_static_methods(self): method jit_methods (line 401) | def jit_methods(self): method struct (line 405) | def struct(self): method methods (line 409) | def methods(self): method static_methods (line 413) | def static_methods(self): class ClassType (line 417) | class ClassType(Callable, Opaque): method __init__ (line 426) | def __init__(self, class_def, ctor_template_cls, struct, jit_methods, method get_call_type (line 440) | def get_call_type(self, context, args, kws): method get_call_signatures (line 443) | def get_call_signatures(self): method get_impl_key (line 446) | def get_impl_key(self, sig): method methods (line 450) | def methods(self): method static_methods (line 454) | def static_methods(self): method instance_type (line 458) | def instance_type(self): method ctor_template (line 462) | def ctor_template(self): method _specialize_template (line 465) | def _specialize_template(self, basecls): class DeferredType (line 469) | class DeferredType(Type): method __init__ (line 476) | def __init__(self): method get (line 481) | def get(self): method define (line 486) | def define(self, typ): method unify (line 493) | def unify(self, typingctx, other): class ClassDataType (line 497) | class ClassDataType(Type): method __init__ (line 505) | def __init__(self, classtyp): class ContextManager (line 511) | class ContextManager(Callable, Phantom): method __init__ (line 516) | def __init__(self, cm): method get_call_signatures (line 520) | def get_call_signatures(self): method get_call_type (line 527) | def get_call_type(self, context, args, kws): method get_impl_key (line 537) | def get_impl_key(self, sig): class UnicodeType (line 541) | class UnicodeType(IterableType, Hashable): method __init__ (line 543) | def __init__(self, name): method iterator_type (line 547) | def iterator_type(self): class UnicodeIteratorType (line 551) | class UnicodeIteratorType(SimpleIteratorType): method __init__ (line 553) | def __init__(self, dtype): FILE: numba/core/types/npytypes.py class CharSeq (line 15) | class CharSeq(Type): method __init__ (line 21) | def __init__(self, count): method key (line 27) | def key(self): method can_convert_from (line 30) | def can_convert_from(self, typingctx, other): class UnicodeCharSeq (line 35) | class UnicodeCharSeq(Type): method __init__ (line 41) | def __init__(self, count): method key (line 47) | def key(self): method can_convert_to (line 50) | def can_convert_to(self, typingctx, other): method can_convert_from (line 54) | def can_convert_from(self, typingctx, other): method __repr__ (line 61) | def __repr__(self): class Record (line 71) | class Record(Type): method make_c_struct (line 85) | def make_c_struct(cls, name_types): method __init__ (line 120) | def __init__(self, fields, size, aligned): method _normalize_fields (line 144) | def _normalize_fields(cls, fields): method key (line 167) | def key(self): method mangling_args (line 173) | def mangling_args(self): method __len__ (line 176) | def __len__(self): method offset (line 181) | def offset(self, key): method typeof (line 186) | def typeof(self, key): method alignof (line 191) | def alignof(self, key): method has_titles (line 198) | def has_titles(self): method is_title (line 203) | def is_title(self, key): method members (line 209) | def members(self): method dtype (line 216) | def dtype(self): method can_convert_to (line 221) | def can_convert_to(self, typingctx, other): method __repr__ (line 241) | def __repr__(self): class DType (line 254) | class DType(DTypeSpec, Opaque): method __init__ (line 263) | def __init__(self, dtype): method key (line 270) | def key(self): method dtype (line 274) | def dtype(self): method __getitem__ (line 277) | def __getitem__(self, arg): class NumpyFlatType (line 282) | class NumpyFlatType(SimpleIteratorType, MutableSequence): method __init__ (line 287) | def __init__(self, arrty): method key (line 295) | def key(self): class NumpyNdEnumerateType (line 299) | class NumpyNdEnumerateType(SimpleIteratorType): method __init__ (line 304) | def __init__(self, arrty): method key (line 312) | def key(self): class NumpyNdIterType (line 316) | class NumpyNdIterType(IteratorType): method __init__ (line 326) | def __init__(self, arrays): method _compute_layout (line 338) | def _compute_layout(cls, arrays): method key (line 351) | def key(self): method views (line 355) | def views(self): method yield_type (line 362) | def yield_type(self): method indexers (line 371) | def indexers(self): method need_shaped_indexing (line 402) | def need_shaped_indexing(self): class NumpyNdIndexType (line 422) | class NumpyNdIndexType(SimpleIteratorType): method __init__ (line 427) | def __init__(self, ndim): method key (line 435) | def key(self): class Array (line 439) | class Array(Buffer): method __init__ (line 444) | def __init__(self, dtype, ndim, layout, readonly=False, name=None, method mangling_args (line 464) | def mangling_args(self): method copy (line 470) | def copy(self, dtype=None, ndim=None, layout=None, readonly=None): method key (line 483) | def key(self): method unify (line 486) | def unify(self, typingctx, other): method can_convert_to (line 503) | def can_convert_to(self, typingctx, other): method is_precise (line 514) | def is_precise(self): method box_type (line 518) | def box_type(self): method __repr__ (line 523) | def __repr__(self): class ArrayCTypes (line 529) | class ArrayCTypes(Type): method __init__ (line 533) | def __init__(self, arytype): method key (line 542) | def key(self): method can_convert_to (line 545) | def can_convert_to(self, typingctx, other): class ArrayFlags (line 563) | class ArrayFlags(Type): method __init__ (line 567) | def __init__(self, arytype): method key (line 573) | def key(self): class NestedArray (line 577) | class NestedArray(Array): method __init__ (line 584) | def __init__(self, dtype, shape): method shape (line 597) | def shape(self): method nitems (line 601) | def nitems(self): method size (line 608) | def size(self): method strides (line 612) | def strides(self): method key (line 621) | def key(self): method __repr__ (line 624) | def __repr__(self): class NumPyRandomBitGeneratorType (line 628) | class NumPyRandomBitGeneratorType(Type): method __init__ (line 629) | def __init__(self, *args, **kwargs): class NumPyRandomGeneratorType (line 634) | class NumPyRandomGeneratorType(Type): method __init__ (line 635) | def __init__(self, *args, **kwargs): class PolynomialType (line 640) | class PolynomialType(Type): method __init__ (line 641) | def __init__(self, coef, domain=None, window=None, n_args=1): FILE: numba/core/types/scalars.py class Boolean (line 12) | class Boolean(Hashable): method cast_python_value (line 14) | def cast_python_value(self, value): function parse_integer_bitwidth (line 18) | def parse_integer_bitwidth(name): function parse_integer_signed (line 25) | def parse_integer_signed(name): class Integer (line 31) | class Integer(Number): method __init__ (line 32) | def __init__(self, name, bitwidth=None, signed=None): method from_bitwidth (line 42) | def from_bitwidth(cls, bitwidth, signed=True): method cast_python_value (line 46) | def cast_python_value(self, value): method __lt__ (line 49) | def __lt__(self, other): method maxval (line 57) | def maxval(self): method minval (line 67) | def minval(self): class IntegerLiteral (line 77) | class IntegerLiteral(Literal, Integer): method __init__ (line 78) | def __init__(self, value): method can_convert_to (line 89) | def can_convert_to(self, typingctx, other): class BooleanLiteral (line 98) | class BooleanLiteral(Literal, Boolean): method __init__ (line 100) | def __init__(self, value): method can_convert_to (line 108) | def can_convert_to(self, typingctx, other): class Float (line 118) | class Float(Number): method __init__ (line 119) | def __init__(self, *args, **kws): method cast_python_value (line 126) | def cast_python_value(self, value): method __lt__ (line 129) | def __lt__(self, other): class Complex (line 136) | class Complex(Number): method __init__ (line 137) | def __init__(self, name, underlying_float, **kwargs): method cast_python_value (line 145) | def cast_python_value(self, value): method __lt__ (line 148) | def __lt__(self, other): class _NPDatetimeBase (line 154) | class _NPDatetimeBase(Type): method __init__ (line 159) | def __init__(self, unit, *args, **kws): method __lt__ (line 165) | def __lt__(self, other): method cast_python_value (line 173) | def cast_python_value(self, value): class NPTimedelta (line 182) | class NPTimedelta(_NPDatetimeBase): class NPDatetime (line 186) | class NPDatetime(_NPDatetimeBase): class EnumClass (line 190) | class EnumClass(Dummy): method __init__ (line 196) | def __init__(self, cls, dtype): method key (line 205) | def key(self): method member_type (line 209) | def member_type(self): class IntEnumClass (line 216) | class IntEnumClass(EnumClass): method member_type (line 223) | def member_type(self): class EnumMember (line 230) | class EnumMember(Type): method __init__ (line 237) | def __init__(self, cls, dtype): method key (line 246) | def key(self): method class_type (line 250) | def class_type(self): class IntEnumMember (line 257) | class IntEnumMember(EnumMember): method can_convert_to (line 264) | def can_convert_to(self, typingctx, other): FILE: numba/core/typing/arraydecl.py function get_array_index_type (line 23) | def get_array_index_type(ary, idx): class GetItemBuffer (line 210) | class GetItemBuffer(AbstractTemplate): method generic (line 211) | def generic(self, args, kws): class SetItemBuffer (line 220) | class SetItemBuffer(AbstractTemplate): method generic (line 221) | def generic(self, args, kws): function normalize_shape (line 278) | def normalize_shape(shape): class ArrayAttribute (line 290) | class ArrayAttribute(AttributeTemplate): method resolve_dtype (line 293) | def resolve_dtype(self, ary): method resolve_nbytes (line 296) | def resolve_nbytes(self, ary): method resolve_itemsize (line 299) | def resolve_itemsize(self, ary): method resolve_shape (line 302) | def resolve_shape(self, ary): method resolve_strides (line 305) | def resolve_strides(self, ary): method resolve_ndim (line 308) | def resolve_ndim(self, ary): method resolve_size (line 311) | def resolve_size(self, ary): method resolve_flat (line 314) | def resolve_flat(self, ary): method resolve_ctypes (line 317) | def resolve_ctypes(self, ary): method resolve_flags (line 320) | def resolve_flags(self, ary): method resolve_T (line 323) | def resolve_T(self, ary): method resolve_real (line 331) | def resolve_real(self, ary): method resolve_imag (line 334) | def resolve_imag(self, ary): method _resolve_real_imag (line 337) | def _resolve_real_imag(self, ary, attr): method resolve_transpose (line 350) | def resolve_transpose(self, ary, args, kws): method resolve_copy (line 391) | def resolve_copy(self, ary, args, kws): method resolve_item (line 398) | def resolve_item(self, ary, args, kws): method resolve_itemset (line 408) | def resolve_itemset(self, ary, args, kws): method resolve_nonzero (line 417) | def resolve_nonzero(self, ary, args, kws): method resolve_reshape (line 431) | def resolve_reshape(self, ary, args, kws): method resolve_sort (line 474) | def resolve_sort(self, ary, args, kws): method resolve_argsort (line 480) | def resolve_argsort(self, ary, args, kws): method resolve_view (line 497) | def resolve_view(self, ary, args, kws): method resolve_astype (line 508) | def resolve_astype(self, ary, args, kws): method resolve_ravel (line 529) | def resolve_ravel(self, ary, args, kws): method resolve_flatten (line 538) | def resolve_flatten(self, ary, args, kws): method generic_resolve (line 550) | def generic_resolve(self, ary, attr): class DTypeAttr (line 566) | class DTypeAttr(AttributeTemplate): method resolve_type (line 569) | def resolve_type(self, ary): method resolve_kind (line 573) | def resolve_kind(self, ary): class StaticGetItemArray (line 584) | class StaticGetItemArray(AbstractTemplate): method generic (line 587) | def generic(self, args, kws): class RecordAttribute (line 607) | class RecordAttribute(AttributeTemplate): method generic_resolve (line 610) | def generic_resolve(self, record, attr): class StaticGetItemRecord (line 617) | class StaticGetItemRecord(AbstractTemplate): method generic (line 620) | def generic(self, args, kws): class StaticGetItemLiteralRecord (line 634) | class StaticGetItemLiteralRecord(AbstractTemplate): method generic (line 635) | def generic(self, args, kws): class StaticSetItemRecord (line 658) | class StaticSetItemRecord(AbstractTemplate): method generic (line 661) | def generic(self, args, kws): class StaticSetItemLiteralRecord (line 682) | class StaticSetItemLiteralRecord(AbstractTemplate): method generic (line 683) | def generic(self, args, kws): class ArrayCTypesAttribute (line 697) | class ArrayCTypesAttribute(AttributeTemplate): method resolve_data (line 700) | def resolve_data(self, ctinfo): class ArrayFlagsAttribute (line 705) | class ArrayFlagsAttribute(AttributeTemplate): method resolve_contiguous (line 708) | def resolve_contiguous(self, ctflags): method resolve_c_contiguous (line 711) | def resolve_c_contiguous(self, ctflags): method resolve_f_contiguous (line 714) | def resolve_f_contiguous(self, ctflags): class NestedArrayAttribute (line 719) | class NestedArrayAttribute(ArrayAttribute): function _expand_integer (line 723) | def _expand_integer(ty): function generic_homog (line 738) | def generic_homog(self, args, kws): function generic_expand (line 747) | def generic_expand(self, args, kws): function sum_expand (line 753) | def sum_expand(self, args, kws): function generic_expand_cumulative (line 822) | def generic_expand_cumulative(self, args, kws): function generic_hetero_real (line 833) | def generic_hetero_real(self, args, kws): function generic_hetero_always_real (line 841) | def generic_hetero_always_real(self, args, kws): function generic_index (line 851) | def generic_index(self, args, kws): function install_array_method (line 857) | def install_array_method(name, generic, prefer_literal=True): class CmpOpEqArray (line 873) | class CmpOpEqArray(AbstractTemplate): method generic (line 876) | def generic(self, args, kws): FILE: numba/core/typing/asnumbatype.py class AsNumbaTypeRegistry (line 9) | class AsNumbaTypeRegistry: method __init__ (line 24) | def __init__(self): method _numba_type_infer (line 39) | def _numba_type_infer(self, py_type): method _builtin_infer (line 43) | def _builtin_infer(self, py_type): method register (line 112) | def register(self, func_or_py_type, numba_type=None): method try_infer (line 130) | def try_infer(self, py_type): method infer (line 150) | def infer(self, py_type): method __call__ (line 158) | def __call__(self, py_type): FILE: numba/core/typing/bufproto.py function decode_pep3118_format (line 29) | def decode_pep3118_format(fmt, itemsize): function get_type_class (line 50) | def get_type_class(typ): function infer_layout (line 62) | def infer_layout(val): FILE: numba/core/typing/builtins.py class Print (line 22) | class Print(AbstractTemplate): method generic (line 23) | def generic(self, args, kws): class PrintItem (line 32) | class PrintItem(AbstractTemplate): method generic (line 35) | def generic(self, args, kws): class Abs (line 41) | class Abs(ConcreteTemplate): class Slice (line 51) | class Slice(ConcreteTemplate): class Range (line 73) | class Range(ConcreteTemplate): class GetIter (line 91) | class GetIter(AbstractTemplate): method generic (line 94) | def generic(self, args, kws): class IterNext (line 102) | class IterNext(AbstractTemplate): method generic (line 105) | def generic(self, args, kws): class PairFirst (line 113) | class PairFirst(AbstractTemplate): method generic (line 119) | def generic(self, args, kws): class PairSecond (line 127) | class PairSecond(AbstractTemplate): method generic (line 133) | def generic(self, args, kws): function choose_result_bitwidth (line 140) | def choose_result_bitwidth(*inputs): function choose_result_int (line 143) | def choose_result_int(*inputs): class BinOp (line 168) | class BinOp(ConcreteTemplate): class BinOpAdd (line 175) | class BinOpAdd(BinOp): class BinOpAdd (line 180) | class BinOpAdd(BinOp): class BinOpSub (line 185) | class BinOpSub(BinOp): class BinOpSub (line 190) | class BinOpSub(BinOp): class BinOpMul (line 195) | class BinOpMul(BinOp): class BinOpMul (line 200) | class BinOpMul(BinOp): class BinOpMod (line 205) | class BinOpMod(ConcreteTemplate): class BinOpMod (line 211) | class BinOpMod(ConcreteTemplate): class BinOpTrueDiv (line 217) | class BinOpTrueDiv(ConcreteTemplate): class BinOpTrueDiv (line 225) | class BinOpTrueDiv(ConcreteTemplate): class BinOpFloorDiv (line 233) | class BinOpFloorDiv(ConcreteTemplate): class BinOpFloorDiv (line 239) | class BinOpFloorDiv(ConcreteTemplate): class DivMod (line 245) | class DivMod(ConcreteTemplate): class BinOpPower (line 251) | class BinOpPower(ConcreteTemplate): class BinOpPower (line 265) | class BinOpPower(ConcreteTemplate): class PowerBuiltin (line 279) | class PowerBuiltin(BinOpPower): class BitwiseShiftOperation (line 284) | class BitwiseShiftOperation(ConcreteTemplate): class BitwiseLeftShift (line 304) | class BitwiseLeftShift(BitwiseShiftOperation): class BitwiseLeftShift (line 308) | class BitwiseLeftShift(BitwiseShiftOperation): class BitwiseRightShift (line 313) | class BitwiseRightShift(BitwiseShiftOperation): class BitwiseRightShift (line 318) | class BitwiseRightShift(BitwiseShiftOperation): class BitwiseLogicOperation (line 322) | class BitwiseLogicOperation(BinOp): class BitwiseAnd (line 329) | class BitwiseAnd(BitwiseLogicOperation): class BitwiseAnd (line 334) | class BitwiseAnd(BitwiseLogicOperation): class BitwiseOr (line 339) | class BitwiseOr(BitwiseLogicOperation): class BitwiseOr (line 344) | class BitwiseOr(BitwiseLogicOperation): class BitwiseXor (line 349) | class BitwiseXor(BitwiseLogicOperation): class BitwiseXor (line 354) | class BitwiseXor(BitwiseLogicOperation): class BitwiseInvert (line 363) | class BitwiseInvert(ConcreteTemplate): class UnaryOp (line 374) | class UnaryOp(ConcreteTemplate): class UnaryNegate (line 383) | class UnaryNegate(UnaryOp): class UnaryPositive (line 388) | class UnaryPositive(UnaryOp): class UnaryNot (line 393) | class UnaryNot(ConcreteTemplate): class OrderedCmpOp (line 401) | class OrderedCmpOp(ConcreteTemplate): class UnorderedCmpOp (line 408) | class UnorderedCmpOp(ConcreteTemplate): class CmpOpLt (line 414) | class CmpOpLt(OrderedCmpOp): class CmpOpLe (line 419) | class CmpOpLe(OrderedCmpOp): class CmpOpGt (line 424) | class CmpOpGt(OrderedCmpOp): class CmpOpGe (line 429) | class CmpOpGe(OrderedCmpOp): class ConstOpEq (line 435) | class ConstOpEq(AbstractTemplate): method generic (line 436) | def generic(self, args, kws): class ConstOpNotEq (line 444) | class ConstOpNotEq(ConstOpEq): class CmpOpEq (line 449) | class CmpOpEq(UnorderedCmpOp): class CmpOpNe (line 454) | class CmpOpNe(UnorderedCmpOp): class TupleCompare (line 458) | class TupleCompare(AbstractTemplate): method generic (line 459) | def generic(self, args, kws): class TupleEq (line 472) | class TupleEq(TupleCompare): class TupleNe (line 477) | class TupleNe(TupleCompare): class TupleGe (line 482) | class TupleGe(TupleCompare): class TupleGt (line 487) | class TupleGt(TupleCompare): class TupleLe (line 492) | class TupleLe(TupleCompare): class TupleLt (line 497) | class TupleLt(TupleCompare): class TupleAdd (line 502) | class TupleAdd(AbstractTemplate): method generic (line 503) | def generic(self, args, kws): class CmpOpIdentity (line 513) | class CmpOpIdentity(AbstractTemplate): method generic (line 514) | def generic(self, args, kws): class CmpOpIs (line 520) | class CmpOpIs(CmpOpIdentity): class CmpOpIsNot (line 525) | class CmpOpIsNot(CmpOpIdentity): function normalize_1d_index (line 529) | def normalize_1d_index(index): class GetItemCPointer (line 542) | class GetItemCPointer(AbstractTemplate): method generic (line 543) | def generic(self, args, kws): class SetItemCPointer (line 551) | class SetItemCPointer(AbstractTemplate): method generic (line 552) | def generic(self, args, kws): class Len (line 560) | class Len(AbstractTemplate): method generic (line 561) | def generic(self, args, kws): class TupleConstructor (line 570) | class TupleConstructor(AbstractTemplate): method generic (line 571) | def generic(self, args, kws): class Contains (line 583) | class Contains(AbstractTemplate): method generic (line 584) | def generic(self, args, kws): class TupleBool (line 592) | class TupleBool(AbstractTemplate): method generic (line 593) | def generic(self, args, kws): class StaticGetItemTuple (line 601) | class StaticGetItemTuple(AbstractTemplate): method generic (line 604) | def generic(self, args, kws): class StaticGetItemLiteralList (line 622) | class StaticGetItemLiteralList(AbstractTemplate): method generic (line 625) | def generic(self, args, kws): class StaticGetItemLiteralStrKeyDict (line 638) | class StaticGetItemLiteralStrKeyDict(AbstractTemplate): method generic (line 641) | def generic(self, args, kws): class StaticGetItemClass (line 657) | class StaticGetItemClass(AbstractTemplate): method generic (line 665) | def generic(self, args, kws): class GenericNotIn (line 677) | class GenericNotIn(AbstractTemplate): method generic (line 680) | def generic(self, args, kws): class MemoryViewAttribute (line 689) | class MemoryViewAttribute(AttributeTemplate): method resolve_contiguous (line 692) | def resolve_contiguous(self, buf): method resolve_c_contiguous (line 695) | def resolve_c_contiguous(self, buf): method resolve_f_contiguous (line 698) | def resolve_f_contiguous(self, buf): method resolve_itemsize (line 701) | def resolve_itemsize(self, buf): method resolve_nbytes (line 704) | def resolve_nbytes(self, buf): method resolve_readonly (line 707) | def resolve_readonly(self, buf): method resolve_shape (line 710) | def resolve_shape(self, buf): method resolve_strides (line 713) | def resolve_strides(self, buf): method resolve_ndim (line 716) | def resolve_ndim(self, buf): class BooleanAttribute (line 724) | class BooleanAttribute(AttributeTemplate): method resolve___class__ (line 727) | def resolve___class__(self, ty): method resolve_item (line 731) | def resolve_item(self, ty, args, kws): class NumberAttribute (line 738) | class NumberAttribute(AttributeTemplate): method resolve___class__ (line 741) | def resolve___class__(self, ty): method resolve_real (line 744) | def resolve_real(self, ty): method resolve_imag (line 747) | def resolve_imag(self, ty): method resolve_conjugate (line 751) | def resolve_conjugate(self, ty, args, kws): method resolve_item (line 757) | def resolve_item(self, ty, args, kws): class NPTimedeltaAttribute (line 764) | class NPTimedeltaAttribute(AttributeTemplate): method resolve___class__ (line 767) | def resolve___class__(self, ty): class NPDatetimeAttribute (line 772) | class NPDatetimeAttribute(AttributeTemplate): method resolve___class__ (line 775) | def resolve___class__(self, ty): class SliceAttribute (line 780) | class SliceAttribute(AttributeTemplate): method resolve_start (line 783) | def resolve_start(self, ty): method resolve_stop (line 786) | def resolve_stop(self, ty): method resolve_step (line 789) | def resolve_step(self, ty): method resolve_indices (line 793) | def resolve_indices(self, ty, args, kws): class NumberClassAttribute (line 811) | class NumberClassAttribute(AttributeTemplate): method resolve___call__ (line 814) | def resolve___call__(self, classty): class TypeRefAttribute (line 856) | class TypeRefAttribute(AttributeTemplate): method resolve___call__ (line 859) | def resolve___call__(self, classty): class MinMaxBase (line 897) | class MinMaxBase(AbstractTemplate): method _unify_minmax (line 899) | def _unify_minmax(self, tys): method generic (line 905) | def generic(self, args, kws): class Max (line 931) | class Max(MinMaxBase): class Min (line 936) | class Min(MinMaxBase): class Round (line 941) | class Round(ConcreteTemplate): class Bool (line 954) | class Bool(AbstractTemplate): method generic (line 956) | def generic(self, args, kws): class Int (line 968) | class Int(AbstractTemplate): method generic (line 970) | def generic(self, args, kws): class Float (line 990) | class Float(AbstractTemplate): method generic (line 992) | def generic(self, args, kws): class Complex (line 1018) | class Complex(AbstractTemplate): method generic (line 1020) | def generic(self, args, kws): class Enumerate (line 1046) | class Enumerate(AbstractTemplate): method generic (line 1048) | def generic(self, args, kws): class Zip (line 1064) | class Zip(AbstractTemplate): method generic (line 1066) | def generic(self, args, kws): class Iter (line 1074) | class Iter(AbstractTemplate): method generic (line 1076) | def generic(self, args, kws): class Next (line 1085) | class Next(AbstractTemplate): method generic (line 1087) | def generic(self, args, kws): class TypeBuiltin (line 1098) | class TypeBuiltin(AbstractTemplate): method generic (line 1100) | def generic(self, args, kws): class OptionalAttribute (line 1114) | class OptionalAttribute(AttributeTemplate): method generic_resolve (line 1117) | def generic_resolve(self, optional, attr): class DeferredAttribute (line 1123) | class DeferredAttribute(AttributeTemplate): method generic_resolve (line 1126) | def generic_resolve(self, deferred, attr): class IndexValue (line 1133) | class IndexValue(object): method __init__ (line 1137) | def __init__(self, ind, val): method __repr__ (line 1141) | def __repr__(self): class IndexValueType (line 1145) | class IndexValueType(types.Type): method __init__ (line 1146) | def __init__(self, val_typ): function typeof_index (line 1153) | def typeof_index(val, c): function type_index_value (line 1159) | def type_index_value(context): class IndexValueModel (line 1167) | class IndexValueModel(models.StructModel): method __init__ (line 1168) | def __init__(self, dmm, fe_type): FILE: numba/core/typing/cffi_utils.py function is_ffi_instance (line 29) | def is_ffi_instance(obj): function is_cffi_func (line 39) | def is_cffi_func(obj): function get_pointer (line 49) | def get_pointer(cffi_func): function _type_map (line 61) | def _type_map(): function map_type (line 97) | def map_type(cffi_type, use_record_dtype=False): function map_struct_to_record_dtype (line 138) | def map_struct_to_record_dtype(cffi_type): function make_function_type (line 171) | def make_function_type(cffi_func, use_record_dtype=False): class FFI_from_buffer (line 185) | class FFI_from_buffer(templates.AbstractTemplate): method generic (line 188) | def generic(self, args, kws): class FFIAttribute (line 205) | class FFIAttribute(templates.AttributeTemplate): method resolve_from_buffer (line 208) | def resolve_from_buffer(self, ffi): function register_module (line 212) | def register_module(mod): function register_type (line 224) | def register_type(cffi_type, numba_type): FILE: numba/core/typing/cmathdecl.py class CMath_unary (line 23) | class CMath_unary(ConcreteTemplate): class CMath_predicate (line 29) | class CMath_predicate(ConcreteTemplate): class CMath_isfinite (line 35) | class CMath_isfinite(CMath_predicate): class Cmath_log (line 40) | class Cmath_log(ConcreteTemplate): FILE: numba/core/typing/collections.py class InContainer (line 10) | class InContainer(AbstractTemplate): method generic (line 13) | def generic(self, args, kws): class ContainerLen (line 19) | class ContainerLen(AbstractTemplate): method generic (line 21) | def generic(self, args, kws): class SequenceBool (line 29) | class SequenceBool(AbstractTemplate): method generic (line 32) | def generic(self, args, kws): class GetItemSequence (line 40) | class GetItemSequence(AbstractTemplate): method generic (line 43) | def generic(self, args, kws): class SetItemSequence (line 55) | class SetItemSequence(AbstractTemplate): method generic (line 56) | def generic(self, args, kws): class DelItemSequence (line 70) | class DelItemSequence(AbstractTemplate): method generic (line 71) | def generic(self, args, kws): class NamedTupleAttribute (line 82) | class NamedTupleAttribute(AttributeTemplate): method resolve___class__ (line 85) | def resolve___class__(self, tup): method generic_resolve (line 88) | def generic_resolve(self, tup, attr): class NamedTupleClassAttribute (line 98) | class NamedTupleClassAttribute(AttributeTemplate): method resolve___call__ (line 101) | def resolve___call__(self, classty): FILE: numba/core/typing/context.py class Rating (line 19) | class Rating(object): method __init__ (line 22) | def __init__(self): method astuple (line 27) | def astuple(self): method __add__ (line 33) | def __add__(self, other): class CallStack (line 43) | class CallStack(Sequence): method __init__ (line 48) | def __init__(self): method __getitem__ (line 54) | def __getitem__(self, index): method __len__ (line 61) | def __len__(self): method register (line 65) | def register(self, target, typeinfer, func_id, args): method finditer (line 95) | def finditer(self, py_func): method findfirst (line 104) | def findfirst(self, py_func): method match (line 113) | def match(self, py_func, args): method lookup_resolve_cache (line 122) | def lookup_resolve_cache(self, func, args, kws) -> "_ResolveCache": class _ResolveCache (line 149) | class _ResolveCache(object): method __init__ (line 157) | def __init__(self): method mark_error (line 161) | def mark_error(self, exc) -> None: method mark_failed (line 166) | def mark_failed(self) -> None: method replay_failure (line 170) | def replay_failure(self) -> None: method has_failed_previously (line 178) | def has_failed_previously(self) -> bool: class CallFrame (line 183) | class CallFrame(object): method __init__ (line 187) | def __init__(self, target, typeinfer, func_id, args): method __repr__ (line 194) | def __repr__(self): method add_return_type (line 197) | def add_return_type(self, return_type): class BaseContext (line 210) | class BaseContext(object): method __init__ (line 214) | def __init__(self): method init (line 227) | def init(self): method refresh (line 232) | def refresh(self): method explain_function_type (line 241) | def explain_function_type(self, func): method resolve_function_type (line 268) | def resolve_function_type(self, func, args, kws): method _resolve_builtin_function_type (line 304) | def _resolve_builtin_function_type(self, func, args, kws): method _resolve_user_function_type (line 320) | def _resolve_user_function_type(self, func, args, kws, literals=None): method _get_attribute_templates (line 337) | def _get_attribute_templates(self, typ): method resolve_getattr (line 350) | def resolve_getattr(self, typ, attr): method find_matching_getattr_template (line 374) | def find_matching_getattr_template(self, typ, attr): method resolve_setattr (line 391) | def resolve_setattr(self, target, attr, value): method resolve_static_getitem (line 404) | def resolve_static_getitem(self, value, index): method resolve_static_setitem (line 410) | def resolve_static_setitem(self, target, index, value): method resolve_setitem (line 416) | def resolve_setitem(self, target, index, value): method resolve_delitem (line 422) | def resolve_delitem(self, target, index): method resolve_module_constants (line 429) | def resolve_module_constants(self, typ, attr): method resolve_value_type (line 441) | def resolve_value_type(self, val): method resolve_value_type_prefer_literal (line 466) | def resolve_value_type_prefer_literal(self, value): method _get_global_type (line 475) | def _get_global_type(self, gv): method _load_builtins (line 482) | def _load_builtins(self): method load_additional_registries (line 490) | def load_additional_registries(self): method install_registry (line 495) | def install_registry(self, registry): method _lookup_global (line 566) | def _lookup_global(self, gv): method _insert_global (line 580) | def _insert_global(self, gv, gty): method _remove_global (line 595) | def _remove_global(self, gv): method insert_global (line 605) | def insert_global(self, gv, gty): method insert_attributes (line 608) | def insert_attributes(self, at): method insert_function (line 612) | def insert_function(self, ft): method insert_user_function (line 616) | def insert_user_function(self, fn, ft): method can_convert (line 628) | def can_convert(self, fromty, toty): method _rate_arguments (line 653) | def _rate_arguments(self, actualargs, formalargs, unsafe_casting=True, method install_possible_conversions (line 684) | def install_possible_conversions(self, actualargs, formalargs): method resolve_overload (line 703) | def resolve_overload(self, key, cases, args, kws, method unify_types (line 750) | def unify_types(self, *typelist): method unify_pairs (line 766) | def unify_pairs(self, first, second): class Context (line 809) | class Context(BaseContext): method load_additional_registries (line 811) | def load_additional_registries(self): FILE: numba/core/typing/ctypes_utils.py function from_ctypes (line 37) | def from_ctypes(ctypeobj): function to_ctypes (line 62) | def to_ctypes(ty): function is_ctypes_funcptr (line 85) | def is_ctypes_funcptr(obj): function get_pointer (line 96) | def get_pointer(ctypes_func): function make_function_type (line 104) | def make_function_type(cfnptr): FILE: numba/core/typing/dictdecl.py class DictBuiltin (line 25) | class DictBuiltin(AbstractTemplate): method generic (line 26) | def generic(self, args, kws): FILE: numba/core/typing/enumdecl.py class EnumAttribute (line 16) | class EnumAttribute(AttributeTemplate): method resolve_value (line 19) | def resolve_value(self, ty): class EnumClassAttribute (line 24) | class EnumClassAttribute(AttributeTemplate): method generic_resolve (line 27) | def generic_resolve(self, ty, attr): class EnumClassStaticGetItem (line 36) | class EnumClassStaticGetItem(AbstractTemplate): method generic (line 39) | def generic(self, args, kws): class EnumCompare (line 46) | class EnumCompare(AbstractTemplate): method generic (line 48) | def generic(self, args, kws): class EnumEq (line 57) | class EnumEq(EnumCompare): class EnumNe (line 63) | class EnumNe(EnumCompare): FILE: numba/core/typing/listdecl.py class ListBuiltin (line 17) | class ListBuiltin(AbstractTemplate): method generic (line 19) | def generic(self, args, kws): class ListAttribute (line 31) | class ListAttribute(AttributeTemplate): method resolve_append (line 37) | def resolve_append(self, list, args, kws): method resolve_clear (line 47) | def resolve_clear(self, list, args, kws): method resolve_extend (line 53) | def resolve_extend(self, list, args, kws): method resolve_insert (line 67) | def resolve_insert(self, list, args, kws): method resolve_pop (line 78) | def resolve_pop(self, list, args, kws): class AddList (line 88) | class AddList(AbstractTemplate): method generic (line 90) | def generic(self, args, kws): class InplaceAddList (line 100) | class InplaceAddList(AbstractTemplate): method generic (line 102) | def generic(self, args, kws): class MulList (line 111) | class MulList(AbstractTemplate): method generic (line 114) | def generic(self, args, kws): class InplaceMulList (line 123) | class InplaceMulList(MulList): pass class ListCompare (line 127) | class ListCompare(AbstractTemplate): method generic (line 129) | def generic(self, args, kws): class ListEq (line 139) | class ListEq(ListCompare): pass FILE: numba/core/typing/mathdecl.py class Math_unary (line 37) | class Math_unary(ConcreteTemplate): class Math_atan2 (line 48) | class Math_atan2(ConcreteTemplate): class Math_converter (line 58) | class Math_converter(ConcreteTemplate): class Math_floor_ceil (line 70) | class Math_floor_ceil(Math_converter): class Math_copysign (line 75) | class Math_copysign(ConcreteTemplate): class Math_hypot (line 83) | class Math_hypot(ConcreteTemplate): class Math_nextafter (line 93) | class Math_nextafter(ConcreteTemplate): class Math_predicate (line 102) | class Math_predicate(ConcreteTemplate): class Math_isfinite (line 112) | class Math_isfinite(Math_predicate): class Math_pow (line 117) | class Math_pow(ConcreteTemplate): class Math_gcd (line 127) | class Math_gcd(ConcreteTemplate): class Math_frexp (line 141) | class Math_frexp(ConcreteTemplate): class Math_ldexp (line 148) | class Math_ldexp(ConcreteTemplate): FILE: numba/core/typing/npdatetime.py class TimedeltaUnaryOp (line 19) | class TimedeltaUnaryOp(AbstractTemplate): method generic (line 21) | def generic(self, args, kws): class TimedeltaBinOp (line 31) | class TimedeltaBinOp(AbstractTemplate): method generic (line 33) | def generic(self, args, kws): class TimedeltaCmpOp (line 46) | class TimedeltaCmpOp(AbstractTemplate): method generic (line 48) | def generic(self, args, kws): class TimedeltaOrderedCmpOp (line 56) | class TimedeltaOrderedCmpOp(AbstractTemplate): method generic (line 58) | def generic(self, args, kws): class TimedeltaMixOp (line 68) | class TimedeltaMixOp(AbstractTemplate): method generic (line 70) | def generic(self, args, kws): class TimedeltaDivOp (line 93) | class TimedeltaDivOp(AbstractTemplate): method generic (line 95) | def generic(self, args, kws): class TimedeltaUnaryPos (line 116) | class TimedeltaUnaryPos(TimedeltaUnaryOp): class TimedeltaUnaryNeg (line 120) | class TimedeltaUnaryNeg(TimedeltaUnaryOp): class TimedeltaBinAdd (line 125) | class TimedeltaBinAdd(TimedeltaBinOp): class TimedeltaBinSub (line 130) | class TimedeltaBinSub(TimedeltaBinOp): class TimedeltaBinMult (line 135) | class TimedeltaBinMult(TimedeltaMixOp): class TimedeltaTrueDiv (line 140) | class TimedeltaTrueDiv(TimedeltaDivOp): class TimedeltaFloorDiv (line 145) | class TimedeltaFloorDiv(TimedeltaDivOp): class TimedeltaCmpEq (line 150) | class TimedeltaCmpEq(TimedeltaOrderedCmpOp): class TimedeltaCmpNe (line 154) | class TimedeltaCmpNe(TimedeltaOrderedCmpOp): class TimedeltaCmpEq (line 158) | class TimedeltaCmpEq(TimedeltaCmpOp): class TimedeltaCmpNe (line 162) | class TimedeltaCmpNe(TimedeltaCmpOp): class TimedeltaCmpLt (line 166) | class TimedeltaCmpLt(TimedeltaOrderedCmpOp): class TimedeltaCmpLE (line 170) | class TimedeltaCmpLE(TimedeltaOrderedCmpOp): class TimedeltaCmpGt (line 174) | class TimedeltaCmpGt(TimedeltaOrderedCmpOp): class TimedeltaCmpGE (line 178) | class TimedeltaCmpGE(TimedeltaOrderedCmpOp): class TimedeltaAbs (line 183) | class TimedeltaAbs(TimedeltaUnaryOp): class DatetimePlusTimedelta (line 191) | class DatetimePlusTimedelta(AbstractTemplate): method generic (line 194) | def generic(self, args, kws): class DatetimeMinusTimedelta (line 215) | class DatetimeMinusTimedelta(AbstractTemplate): method generic (line 218) | def generic(self, args, kws): class DatetimeMinusDatetime (line 231) | class DatetimeMinusDatetime(AbstractTemplate): method generic (line 234) | def generic(self, args, kws): class DatetimeCmpOp (line 245) | class DatetimeCmpOp(AbstractTemplate): method generic (line 247) | def generic(self, args, kws): class DatetimeCmpEq (line 256) | class DatetimeCmpEq(DatetimeCmpOp): class DatetimeCmpNe (line 260) | class DatetimeCmpNe(DatetimeCmpOp): class DatetimeCmpLt (line 264) | class DatetimeCmpLt(DatetimeCmpOp): class DatetimeCmpLE (line 268) | class DatetimeCmpLE(DatetimeCmpOp): class DatetimeCmpGt (line 272) | class DatetimeCmpGt(DatetimeCmpOp): class DatetimeCmpGE (line 276) | class DatetimeCmpGE(DatetimeCmpOp): class DatetimeMinMax (line 282) | class DatetimeMinMax(AbstractTemplate): method generic (line 283) | def generic(self, args, kws): FILE: numba/core/typing/npydecl.py class Numpy_rules_ufunc (line 24) | class Numpy_rules_ufunc(AbstractTemplate): method _handle_inputs (line 26) | def _handle_inputs(cls, ufunc, args, kws): method ufunc (line 89) | def ufunc(self): method generic (line 92) | def generic(self, args, kws): class NumpyRulesArrayOperator (line 163) | class NumpyRulesArrayOperator(Numpy_rules_ufunc): method ufunc (line 186) | def ufunc(self): method install_operations (line 190) | def install_operations(cls): method generic (line 196) | def generic(self, args, kws): class NumpyRulesInplaceArrayOperator (line 222) | class NumpyRulesInplaceArrayOperator(NumpyRulesArrayOperator): method generic (line 238) | def generic(self, args, kws): class NumpyRulesUnaryArrayOperator (line 254) | class NumpyRulesUnaryArrayOperator(NumpyRulesArrayOperator): method generic (line 261) | def generic(self, args, kws): function register_numpy_ufunc (line 314) | def register_numpy_ufunc(name, register_global=infer_global): class Numpy_method_redirection (line 358) | class Numpy_method_redirection(AbstractTemplate): method generic (line 368) | def generic(self, args, kws): function _numpy_redirect (line 402) | def _numpy_redirect(fname): function register_number_classes (line 426) | def register_number_classes(register_global): function parse_shape (line 439) | def parse_shape(shape): function parse_dtype (line 452) | def parse_dtype(dtype): function _parse_nested_sequence (line 470) | def _parse_nested_sequence(context, typ): function _infer_dtype_from_inputs (line 503) | def _infer_dtype_from_inputs(inputs): function _homogeneous_dims (line 507) | def _homogeneous_dims(context, func_name, arrays): function _sequence_of_arrays (line 516) | def _sequence_of_arrays(context, func_name, arrays, function _choose_concatenation_layout (line 533) | def _choose_concatenation_layout(arrays): class MatMulTyperMixin (line 546) | class MatMulTyperMixin(object): method matmul_typer (line 548) | def matmul_typer(self, a, b, out=None): function _check_linalg_matrix (line 602) | def _check_linalg_matrix(a, func_name): class NdEnumerate (line 616) | class NdEnumerate(AbstractTemplate): method generic (line 618) | def generic(self, args, kws): class NdIter (line 628) | class NdIter(AbstractTemplate): method generic (line 630) | def generic(self, args, kws): class NdIndex (line 648) | class NdIndex(AbstractTemplate): method generic (line 650) | def generic(self, args, kws): class DtypeEq (line 669) | class DtypeEq(AbstractTemplate): method generic (line 670) | def generic(self, args, kws): FILE: numba/core/typing/setdecl.py class SetBuiltin (line 18) | class SetBuiltin(AbstractTemplate): method generic (line 20) | def generic(self, args, kws): class SetAttribute (line 35) | class SetAttribute(AttributeTemplate): method resolve_add (line 39) | def resolve_add(self, set, args, kws): method resolve_update (line 49) | def resolve_update(self, set, args, kws): method _resolve_operator (line 62) | def _resolve_operator(self, set, args, kws): method _resolve_comparator (line 70) | def _resolve_comparator(self, set, args, kws): class SetOperator (line 77) | class SetOperator(AbstractTemplate): method generic (line 79) | def generic(self, args, kws): class SetComparison (line 88) | class SetComparison(AbstractTemplate): method generic (line 90) | def generic(self, args, kws): class ConcreteSetOperator (line 100) | class ConcreteSetOperator(SetOperator): class ConcreteInplaceSetOperator (line 106) | class ConcreteInplaceSetOperator(SetOperator): FILE: numba/core/typing/templates.py class Signature (line 27) | class Signature(object): method __init__ (line 37) | def __init__(self, return_type, args, recvr, pysig=None): method return_type (line 46) | def return_type(self): method args (line 50) | def args(self): method recvr (line 54) | def recvr(self): method pysig (line 58) | def pysig(self): method replace (line 61) | def replace(self, **kwargs): method __getstate__ (line 72) | def __getstate__(self): method __setstate__ (line 78) | def __setstate__(self, state): method __hash__ (line 84) | def __hash__(self): method __eq__ (line 87) | def __eq__(self, other): method __ne__ (line 94) | def __ne__(self, other): method __repr__ (line 97) | def __repr__(self): method is_method (line 101) | def is_method(self): method as_method (line 108) | def as_method(self): method as_function (line 127) | def as_function(self): method as_type (line 136) | def as_type(self): method __unliteral__ (line 142) | def __unliteral__(self): method dump (line 146) | def dump(self, tab=''): method is_precise (line 156) | def is_precise(self): function make_concrete_template (line 163) | def make_concrete_template(name, key, signatures): function make_callable_template (line 169) | def make_callable_template(key, typer, recvr=None): function signature (line 182) | def signature(return_type, *args, **kws): function fold_arguments (line 188) | def fold_arguments(pysig, args, kws, normal_handler, default_handler, class FunctionTemplate (line 261) | class FunctionTemplate(ABC): method __init__ (line 276) | def __init__(self, context): method _select (line 279) | def _select(self, cases, args, kws): method get_impl_key (line 288) | def get_impl_key(self, sig): method get_source_code_info (line 302) | def get_source_code_info(cls, impl): method get_template_info (line 324) | def get_template_info(self): method __str__ (line 341) | def __str__(self): class AbstractTemplate (line 349) | class AbstractTemplate(FunctionTemplate): method apply (line 356) | def apply(self, args, kws): method get_template_info (line 381) | def get_template_info(self): class CallableTemplate (line 398) | class CallableTemplate(FunctionTemplate): method apply (line 409) | def apply(self, args, kws): method get_template_info (line 465) | def get_template_info(self): class ConcreteTemplate (line 482) | class ConcreteTemplate(FunctionTemplate): method apply (line 488) | def apply(self, args, kws): method get_template_info (line 492) | def get_template_info(self): class _EmptyImplementationEntry (line 512) | class _EmptyImplementationEntry(InternalError): method __init__ (line 513) | def __init__(self, reason): class _OverloadFunctionTemplate (line 519) | class _OverloadFunctionTemplate(AbstractTemplate): method _validate_sigs (line 524) | def _validate_sigs(self, typing_func, impl_func): method generic (line 614) | def generic(self, args, kws): method _get_impl (line 705) | def _get_impl(self, args, kws): method _get_jit_decorator (line 723) | def _get_jit_decorator(self): method _build_impl (line 756) | def _build_impl(self, cache_key, args, kws): method get_impl_key (line 829) | def get_impl_key(self, sig): method get_source_info (line 837) | def get_source_info(cls): method get_template_info (line 871) | def get_template_info(self): function make_overload_template (line 887) | def make_overload_template(func, overload_func, jit_options, strict, class _TemplateTargetHelperMixin (line 904) | class _TemplateTargetHelperMixin(object): method _get_target_registry (line 907) | def _get_target_registry(self, reason): class _IntrinsicTemplate (line 957) | class _IntrinsicTemplate(_TemplateTargetHelperMixin, AbstractTemplate): method generic (line 962) | def generic(self, args, kws): method get_impl_key (line 986) | def get_impl_key(self, sig): method get_template_info (line 993) | def get_template_info(self): function make_intrinsic_template (line 1009) | def make_intrinsic_template(handle, defn, name, *, prefer_literal=False, class AttributeTemplate (line 1024) | class AttributeTemplate(object): method __init__ (line 1025) | def __init__(self, context): method resolve (line 1028) | def resolve(self, value, attr): method _resolve (line 1031) | def _resolve(self, value, attr): class _OverloadAttributeTemplate (line 1048) | class _OverloadAttributeTemplate(_TemplateTargetHelperMixin, AttributeTe... method __init__ (line 1054) | def __init__(self, context): method _init_once (line 1059) | def _init_once(self): method _resolve (line 1073) | def _resolve(self, typ, attr): method _get_signature (line 1084) | def _get_signature(cls, typingctx, fnty, args, kws): method _get_function_type (line 1090) | def _get_function_type(cls, typingctx, typ): class _OverloadMethodTemplate (line 1094) | class _OverloadMethodTemplate(_OverloadAttributeTemplate): method _init_once (line 1100) | def _init_once(self): method _resolve (line 1119) | def _resolve(self, typ, attr): function make_overload_attribute_template (line 1166) | def make_overload_attribute_template(typ, attr, overload_func, inline='n... function make_overload_method_template (line 1188) | def make_overload_method_template(typ, attr, overload_func, inline, function bound_function (line 1201) | def bound_function(template_key): class Registry (line 1237) | class Registry(object): method __init__ (line 1243) | def __init__(self): method register (line 1248) | def register(self, item): method register_attr (line 1253) | def register_attr(self, item): method register_global (line 1258) | def register_global(self, val=None, typ=None, **kwargs): class BaseRegistryLoader (line 1302) | class BaseRegistryLoader(object): method __init__ (line 1317) | def __init__(self, registry): method new_registrations (line 1322) | def new_registrations(self, name): class RegistryLoader (line 1327) | class RegistryLoader(BaseRegistryLoader): FILE: numba/core/typing/typeof.py class Purpose (line 17) | class Purpose(enum.Enum): function typeof (line 27) | def typeof(val, purpose=Purpose.argument): function typeof_impl (line 42) | def typeof_impl(val, c): function _typeof_buffer (line 66) | def _typeof_buffer(val, c): function _typeof_ctypes_function (line 84) | def _typeof_ctypes_function(val, c): function _typeof_type (line 91) | def _typeof_type(val, c): function _typeof_bool (line 116) | def _typeof_bool(val, c): function _typeof_float (line 121) | def _typeof_float(val, c): function _typeof_complex (line 126) | def _typeof_complex(val, c): function _typeof_int (line 131) | def _typeof_int(val, c): function _typeof_numpy_scalar (line 146) | def _typeof_numpy_scalar(val, c): function _typeof_str (line 156) | def _typeof_str(val, c): function _typeof_code (line 161) | def _typeof_code(val, c): function _typeof_none (line 166) | def _typeof_none(val, c): function _typeof_ellipsis (line 171) | def _typeof_ellipsis(val, c): function _typeof_tuple (line 176) | def _typeof_tuple(val, c): function _typeof_list (line 184) | def _typeof_list(val, c): function _typeof_set (line 195) | def _typeof_set(val, c): function _typeof_slice (line 207) | def _typeof_slice(val, c): function _typeof_enum (line 213) | def _typeof_enum(val, c): function _typeof_enum_class (line 219) | def _typeof_enum_class(val, c): function _typeof_dtype (line 237) | def _typeof_dtype(val, c): function _typeof_ndarray (line 243) | def _typeof_ndarray(val, c): function _typeof_number_class (line 257) | def _typeof_number_class(val, c): function _typeof_literal (line 262) | def _typeof_literal(val, c): function _typeof_typeref (line 267) | def _typeof_typeref(val, c): function _typeof_nb_type (line 272) | def _typeof_nb_type(val, c): function typeof_numpy_random_bitgen (line 282) | def typeof_numpy_random_bitgen(val, c): function typeof_random_generator (line 287) | def typeof_random_generator(val, c): function typeof_numpy_polynomial (line 292) | def typeof_numpy_polynomial(val, c): FILE: numba/core/unsafe/bytes.py function grab_byte (line 12) | def grab_byte(typingctx, data, offset): function grab_uint64_t (line 25) | def grab_uint64_t(typingctx, data, offset): function memcpy_region (line 37) | def memcpy_region(typingctx, dst, dst_offset, src, src_offset, nbytes, a... FILE: numba/core/unsafe/eh.py function exception_check (line 10) | def exception_check(typingctx): function mark_try_block (line 22) | def mark_try_block(typingctx): function end_try_block (line 35) | def end_try_block(typingctx): function exception_match (line 48) | def exception_match(typingctx, exc_value, exc_class): FILE: numba/core/unsafe/nrt.py function NRT_get_api (line 11) | def NRT_get_api(tyctx): FILE: numba/core/unsafe/refcount.py function dump_refcount (line 13) | def dump_refcount(typingctx, obj): function get_refcount (line 56) | def get_refcount(typingctx, obj): FILE: numba/core/untyped_passes.py function fallback_context (line 27) | def fallback_context(state, msg): class ExtractByteCode (line 53) | class ExtractByteCode(FunctionPass): method __init__ (line 56) | def __init__(self): method run_pass (line 59) | def run_pass(self, state): class TranslateByteCode (line 73) | class TranslateByteCode(FunctionPass): method __init__ (line 76) | def __init__(self): method run_pass (line 79) | def run_pass(self, state): class FixupArgs (line 92) | class FixupArgs(FunctionPass): method __init__ (line 95) | def __init__(self): method run_pass (line 98) | def run_pass(self, state): class IRProcessing (line 112) | class IRProcessing(FunctionPass): method __init__ (line 115) | def __init__(self): method run_pass (line 118) | def run_pass(self, state): class RewriteSemanticConstants (line 134) | class RewriteSemanticConstants(FunctionPass): method __init__ (line 137) | def __init__(self): method run_pass (line 140) | def run_pass(self, state): class DeadBranchPrune (line 156) | class DeadBranchPrune(SSACompliantMixin, FunctionPass): method __init__ (line 159) | def __init__(self): method run_pass (line 162) | def run_pass(self, state): method get_analysis_usage (line 181) | def get_analysis_usage(self, AU): class InlineClosureLikes (line 186) | class InlineClosureLikes(FunctionPass): method __init__ (line 189) | def __init__(self): method run_pass (line 192) | def run_pass(self, state): class GenericRewrites (line 218) | class GenericRewrites(FunctionPass): method __init__ (line 221) | def __init__(self): method run_pass (line 224) | def run_pass(self, state): class WithLifting (line 239) | class WithLifting(FunctionPass): method __init__ (line 242) | def __init__(self): method run_pass (line 245) | def run_pass(self, state): class InlineInlinables (line 268) | class InlineInlinables(FunctionPass): method __init__ (line 281) | def __init__(self): method run_pass (line 284) | def run_pass(self, state): method _do_work (line 332) | def _do_work(self, state, work_list, block, i, expr, inline_worker): class PreserveIR (line 400) | class PreserveIR(AnalysisPass): method __init__ (line 407) | def __init__(self): method run_pass (line 410) | def run_pass(self, state): class FindLiterallyCalls (line 416) | class FindLiterallyCalls(FunctionPass): method __init__ (line 422) | def __init__(self): method run_pass (line 425) | def run_pass(self, state): class CanonicalizeLoopExit (line 431) | class CanonicalizeLoopExit(FunctionPass): method __init__ (line 436) | def __init__(self): method run_pass (line 439) | def run_pass(self, state): method _split_exit_block (line 455) | def _split_exit_block(self, fir, cfg, exit_label): class CanonicalizeLoopEntry (line 468) | class CanonicalizeLoopEntry(FunctionPass): method __init__ (line 476) | def __init__(self): method run_pass (line 479) | def run_pass(self, state): method _split_entry_block (line 495) | def _split_entry_block(self, fir, cfg, loop, entry_label): class PrintIRCFG (line 545) | class PrintIRCFG(FunctionPass): method __init__ (line 548) | def __init__(self): method run_pass (line 552) | def run_pass(self, state): class MakeFunctionToJitFunction (line 560) | class MakeFunctionToJitFunction(FunctionPass): method __init__ (line 568) | def __init__(self): method run_pass (line 571) | def run_pass(self, state): class TransformLiteralUnrollConstListToTuple (line 614) | class TransformLiteralUnrollConstListToTuple(FunctionPass): method __init__ (line 622) | def __init__(self): method run_pass (line 625) | def run_pass(self, state): class MixedContainerUnroller (line 738) | class MixedContainerUnroller(FunctionPass): method __init__ (line 745) | def __init__(self): method analyse_tuple (line 748) | def analyse_tuple(self, tup): method add_offset_to_labels_w_ignore (line 757) | def add_offset_to_labels_w_ignore(self, blocks, offset, ignore=None): method inject_loop_body (line 787) | def inject_loop_body(self, switch_ir, loop_ir, caller_max_label, method gen_switch (line 937) | def gen_switch(self, data, index): method apply_transform (line 1023) | def apply_transform(self, state): method unroll_loop (line 1203) | def unroll_loop(self, state, loop_info): method run_pass (line 1309) | def run_pass(self, state): class IterLoopCanonicalization (line 1340) | class IterLoopCanonicalization(FunctionPass): method __init__ (line 1353) | def __init__(self): method assess_loop (line 1356) | def assess_loop(self, loop, func_ir, partial_typemap=None): method transform (line 1399) | def transform(self, loop, func_ir, cfg): method run_pass (line 1484) | def run_pass(self, state): class PropagateLiterals (line 1506) | class PropagateLiterals(FunctionPass): method __init__ (line 1510) | def __init__(self): method get_analysis_usage (line 1513) | def get_analysis_usage(self, AU): method run_pass (line 1516) | def run_pass(self, state): class LiteralPropagationSubPipelinePass (line 1621) | class LiteralPropagationSubPipelinePass(FunctionPass): method __init__ (line 1625) | def __init__(self): method run_pass (line 1628) | def run_pass(self, state): method get_analysis_usage (line 1662) | def get_analysis_usage(self, AU): class LiteralUnroll (line 1667) | class LiteralUnroll(FunctionPass): method __init__ (line 1671) | def __init__(self): method run_pass (line 1674) | def run_pass(self, state): class SimplifyCFG (line 1718) | class SimplifyCFG(FunctionPass): method __init__ (line 1722) | def __init__(self): method run_pass (line 1725) | def run_pass(self, state): class ReconstructSSA (line 1734) | class ReconstructSSA(FunctionPass): method __init__ (line 1741) | def __init__(self): method run_pass (line 1744) | def run_pass(self, state): method _patch_locals (line 1763) | def _patch_locals(self, state): class RewriteDynamicRaises (line 1779) | class RewriteDynamicRaises(FunctionPass): method __init__ (line 1784) | def __init__(self): method run_pass (line 1787) | def run_pass(self, state): FILE: numba/core/utils.py function erase_traceback (line 35) | def erase_traceback(exc_value): function safe_relpath (line 44) | def safe_relpath(path, start=os.curdir): function _at_shutdown (line 166) | def _at_shutdown(): function shutting_down (line 171) | def shutting_down(globals=globals): class ThreadLocalStack (line 193) | class ThreadLocalStack: method __init_subclass__ (line 202) | def __init_subclass__(cls, *, stack_name, **kwargs): method __init__ (line 210) | def __init__(self): method push (line 223) | def push(self, state): method pop (line 228) | def pop(self): method top (line 233) | def top(self): method __len__ (line 241) | def __len__(self): method enter (line 245) | def enter(self, state): class ConfigOptions (line 256) | class ConfigOptions(object): method __init__ (line 259) | def __init__(self): method set (line 262) | def set(self, name, value=True): method unset (line 267) | def unset(self, name): method _check_attr (line 270) | def _check_attr(self, name): method __getattr__ (line 274) | def __getattr__(self, name): method __setattr__ (line 278) | def __setattr__(self, name, value): method __repr__ (line 285) | def __repr__(self): method copy (line 290) | def copy(self): method __eq__ (line 295) | def __eq__(self, other): method __ne__ (line 299) | def __ne__(self, other): method __hash__ (line 302) | def __hash__(self): function order_by_target_specificity (line 306) | def order_by_target_specificity(target, templates, fnkey=''): class OrderedSet (line 348) | class OrderedSet(MutableSet[T]): method __init__ (line 350) | def __init__(self, iterable: _tp.Iterable[T] = ()): method __contains__ (line 354) | def __contains__(self, key): method __iter__ (line 357) | def __iter__(self): method __len__ (line 360) | def __len__(self): method add (line 363) | def add(self, item): method discard (line 366) | def discard(self, item): class MutableSortedSet (line 370) | class MutableSortedSet(MutableSet[T], _tp.Generic[T]): method __init__ (line 374) | def __init__(self, values: _tp.Iterable[T] = ()): method __len__ (line 377) | def __len__(self): method __iter__ (line 380) | def __iter__(self): method __contains__ (line 383) | def __contains__(self, x: T) -> bool: method add (line 386) | def add(self, x: T): method discard (line 389) | def discard(self, value: T): method update (line 392) | def update(self, values): class SortedMap (line 400) | class SortedMap(Mapping[Tk, Tv], _tp.Generic[Tk, Tv]): method __init__ (line 404) | def __init__(self, seq): method __getitem__ (line 411) | def __getitem__(self, k): method __len__ (line 415) | def __len__(self): method __iter__ (line 418) | def __iter__(self): class MutableSortedMap (line 422) | class MutableSortedMap(MutableMapping[Tk, Tv], _tp.Generic[Tk, Tv]): method __init__ (line 423) | def __init__(self, dct=None): method __getitem__ (line 428) | def __getitem__(self, k: Tk) -> Tv: method __setitem__ (line 431) | def __setitem__(self, k: Tk, v: Tv): method __delitem__ (line 434) | def __delitem__(self, k: Tk): method __len__ (line 437) | def __len__(self) -> int: method __iter__ (line 440) | def __iter__(self) -> int: class UniqueDict (line 444) | class UniqueDict(dict): method __setitem__ (line 445) | def __setitem__(self, key, value): function runonce (line 451) | def runonce(fn): function bit_length (line 464) | def bit_length(intval): function stream_list (line 475) | def stream_list(lst): class BenchmarkResult (line 494) | class BenchmarkResult(object): method __init__ (line 495) | def __init__(self, func, records, loop): method __repr__ (line 501) | def __repr__(self): function format_time (line 507) | def format_time(tm): function benchmark (line 519) | def benchmark(func, maxsec=1): function chain_exception (line 545) | def chain_exception(new_exc, old_exc): function get_nargs_range (line 554) | def get_nargs_range(pyfunc): function unify_function_types (line 568) | def unify_function_types(numba_types): function unified_function_type (line 588) | def unified_function_type(numba_types, require_precise=True): class _RedirectSubpackage (line 674) | class _RedirectSubpackage(ModuleType): method __init__ (line 687) | def __init__(self, old_module_locals, new_module): method __reduce__ (line 713) | def __reduce__(self): function get_hashable_key (line 718) | def get_hashable_key(value): class threadsafe_cached_property (line 734) | class threadsafe_cached_property(functools.cached_property): method __init__ (line 735) | def __init__(self, *args, **kwargs): method __get__ (line 739) | def __get__(self, *args, **kwargs): function dump_llvm (line 744) | def dump_llvm(fndesc, module): class _lazy_pformat (line 762) | class _lazy_pformat(object): method __init__ (line 767) | def __init__(self, *args, **kwargs): method __str__ (line 775) | def __str__(self): class _LazyJSONEncoder (line 779) | class _LazyJSONEncoder(json.JSONEncoder): method default (line 780) | def default(self, obj): FILE: numba/core/withcontexts.py class WithContext (line 8) | class WithContext(object): method __enter__ (line 15) | def __enter__(self): method __exit__ (line 18) | def __exit__(self, typ, val, tb): method mutate_with_body (line 21) | def mutate_with_body( function typeof_contextmanager (line 48) | def typeof_contextmanager(val, c): function _get_var_parent (line 52) | def _get_var_parent(name): function _clear_blocks (line 62) | def _clear_blocks(blocks, to_clear): class _ByPassContextType (line 68) | class _ByPassContextType(WithContext): method mutate_with_body (line 73) | def mutate_with_body( class _CallContextType (line 97) | class _CallContextType(WithContext): method mutate_with_body (line 102) | def mutate_with_body( class _ObjModeContextType (line 155) | class _ObjModeContextType(WithContext): method _legalize_args (line 218) | def _legalize_args( method _legalize_arg_type (line 302) | def _legalize_arg_type(self, name, typ, loc): method mutate_with_body (line 323) | def mutate_with_body( method __call__ (line 437) | def __call__(self, *args, **kwargs): function _bypass_with_context (line 445) | def _bypass_with_context(blocks, blk_start, blk_end, forwardvars): function _mutate_with_block_caller (line 465) | def _mutate_with_block_caller( function _mutate_with_block_callee (line 496) | def _mutate_with_block_callee(blocks, blk_start, blk_end, inputs, outputs): class _ParallelChunksize (line 527) | class _ParallelChunksize(WithContext): method mutate_with_body (line 536) | def mutate_with_body( method __call__ (line 585) | def __call__(self, *args, **kwargs): method __enter__ (line 597) | def __enter__(self): method __exit__ (line 601) | def __exit__(self, typ, val, tb): FILE: numba/cpython/builtins.py function ol_truth (line 30) | def ol_truth(val): function generic_is_not (line 38) | def generic_is_not(context, builder, sig, args): function generic_is (line 47) | def generic_is(context, builder, sig, args): function opaque_is (line 73) | def opaque_is(context, builder, sig, args): function bool_is_impl (line 89) | def bool_is_impl(context, builder, sig, args): function const_eq_impl (line 109) | def const_eq_impl(context, builder, sig, args): function const_ne_impl (line 121) | def const_ne_impl(context, builder, sig, args): function gen_non_eq (line 130) | def gen_non_eq(val): function deferred_getattr (line 170) | def deferred_getattr(context, builder, typ, value, attr): function any_to_deferred (line 182) | def any_to_deferred(context, builder, fromty, toty, val): function deferred_to_any (line 190) | def deferred_to_any(context, builder, fromty, toty, val): function getitem_cpointer (line 199) | def getitem_cpointer(context, builder, sig, args): function setitem_cpointer (line 207) | def setitem_cpointer(context, builder, sig, args): function do_minmax (line 215) | def do_minmax(context, builder, argtys, args, cmpop): function max_iterable (line 240) | def max_iterable(context, builder, sig, args): function max_vararg (line 246) | def max_vararg(context, builder, sig, args): function min_iterable (line 250) | def min_iterable(context, builder, sig, args): function min_vararg (line 256) | def min_vararg(context, builder, sig, args): function _round_intrinsic (line 260) | def _round_intrinsic(tp): function round_impl_unary (line 265) | def round_impl_unary(context, builder, sig, args): function round_impl_binary (line 277) | def round_impl_binary(context, builder, sig, args): function int_impl (line 316) | def int_impl(context, builder, sig, args): function float_literal_impl (line 324) | def float_literal_impl(context, builder, sig, args): function complex_impl (line 331) | def complex_impl(context, builder, sig, args): function number_constructor (line 359) | def number_constructor(context, builder, sig, args): function constant_dummy (line 381) | def constant_dummy(context, builder, ty, pyval): function constant_function_pointer (line 386) | def constant_function_pointer(context, builder, ty, pyval): function constant_optional (line 394) | def constant_optional(context, builder, ty, pyval): function type_impl (line 404) | def type_impl(context, builder, sig, args): function iter_impl (line 412) | def iter_impl(context, builder, sig, args): function next_impl (line 420) | def next_impl(context, builder, sig, args): function not_in (line 435) | def not_in(context, builder, sig, args): function constsized_len (line 446) | def constsized_len(context, builder, sig, args): function sized_bool (line 454) | def sized_bool(context, builder, sig, args): function lower_empty_tuple (line 462) | def lower_empty_tuple(context, builder, sig, args): function lower_tuple (line 468) | def lower_tuple(context, builder, sig, args): function bool_sequence (line 473) | def bool_sequence(x): function bool_none (line 489) | def bool_none(x): function get_type_max_value (line 495) | def get_type_max_value(typ): function get_type_min_value (line 502) | def get_type_min_value(typ): class MinValInfer (line 511) | class MinValInfer(AbstractTemplate): method generic (line 512) | def generic(self, args, kws): function lower_get_type_min_value (line 520) | def lower_get_type_min_value(context, builder, sig, args): function lower_get_type_max_value (line 547) | def lower_get_type_max_value(context, builder, sig, args): function impl_index_value (line 579) | def impl_index_value(context, builder, sig, args): function indval_min (line 589) | def indval_min(indval1, indval2): function boolval_min (line 618) | def boolval_min(val1, val2): function indval_max (line 627) | def indval_max(indval1, indval2): function boolval_max (line 656) | def boolval_max(val1, val2): function min_max_impl (line 669) | def min_max_impl(iterable, op): function iterable_min (line 682) | def iterable_min(iterable): function iterable_max (line 687) | def iterable_max(iterable): function redirect_type_ctor (line 692) | def redirect_type_ctor(context, builder, sig, args): function ol_sum (line 724) | def ol_sum(iterable, start=0): function ol_map (line 764) | def ol_map(func, iterable, *args): function ol_filter (line 772) | def ol_filter(func, iterable): function ol_isinstance (line 787) | def ol_isinstance(var, typs): function _getattr_raise_attr_exc (line 889) | def _getattr_raise_attr_exc(obj, name): function ol__getattr_raise_attr_exc (line 896) | def ol__getattr_raise_attr_exc(obj, name): function resolve_getattr (line 908) | def resolve_getattr(tyctx, obj, name, default): function ol_getattr_2 (line 973) | def ol_getattr_2(obj, name): function ol_getattr_3 (line 984) | def ol_getattr_3(obj, name, default): function resolve_hasattr (line 991) | def resolve_hasattr(tyctx, obj, name): function ol_hasattr (line 1017) | def ol_hasattr(obj, name): function ol_repr_generic (line 1024) | def ol_repr_generic(obj): function ol_str_generic (line 1038) | def ol_str_generic(object=''): FILE: numba/cpython/charseq.py function make_deref_codegen (line 36) | def make_deref_codegen(bitsize): function deref_uint8 (line 47) | def deref_uint8(typingctx, data, offset): function deref_uint16 (line 53) | def deref_uint16(typingctx, data, offset): function deref_uint32 (line 59) | def deref_uint32(typingctx, data, offset): function charseq_get_code (line 65) | def charseq_get_code(a, i): function charseq_get_value (line 72) | def charseq_get_value(a, i): function unicode_charseq_get_code (line 84) | def unicode_charseq_get_code(a, i): function unicode_get_code (line 99) | def unicode_get_code(a, i): function bytes_get_code (line 106) | def bytes_get_code(a, i): function _get_code_impl (line 112) | def _get_code_impl(a): function _same_kind (line 123) | def _same_kind(a, b): function _is_bytes (line 131) | def _is_bytes(a): function is_default (line 135) | def is_default(x, default): function unicode_charseq_get_value (line 140) | def unicode_charseq_get_value(a, i): function bytes_to_charseq (line 169) | def bytes_to_charseq(context, builder, fromty, toty, val): function _make_constant_bytes (line 195) | def _make_constant_bytes(context, builder, nbytes): function charseq_to_bytes (line 214) | def charseq_to_bytes(context, builder, fromty, toty, val): function unicode_to_bytes_cast (line 223) | def unicode_to_bytes_cast(context, builder, fromty, toty, val): function _unicode_to_bytes (line 241) | def _unicode_to_bytes(typingctx, s): function unicode_to_unicode_charseq (line 253) | def unicode_to_unicode_charseq(context, builder, fromty, toty, val): function charseq_getitem (line 330) | def charseq_getitem(s, i): function charseq_len (line 349) | def charseq_len(s): function charseq_concat (line 374) | def charseq_concat(a, b): function charseq_repeat (line 400) | def charseq_repeat(a, b): function charseq_not (line 420) | def charseq_not(a): function charseq_eq (line 428) | def charseq_eq(a, b): function charseq_ne (line 446) | def charseq_ne(a, b): function charseq_lt (line 458) | def charseq_lt(a, b): function charseq_gt (line 477) | def charseq_gt(a, b): function charseq_le (line 489) | def charseq_le(a, b): function charseq_ge (line 501) | def charseq_ge(a, b): function charseq_contains (line 513) | def charseq_contains(a, b): function charseq_isascii (line 535) | def charseq_isascii(s): function charseq_get_kind (line 548) | def charseq_get_kind(s): function unicode_to_bytes_mth (line 566) | def unicode_to_bytes_mth(s): function charseq_to_str_mth (line 580) | def charseq_to_str_mth(s): function charseq_str (line 601) | def charseq_str(s): function charseq_bytes (line 618) | def charseq_bytes(s): function unicode_charseq_hash (line 624) | def unicode_charseq_hash(s): function charseq_hash (line 631) | def charseq_hash(s): function unicode_charseq_isupper (line 643) | def unicode_charseq_isupper(s): function charseq_isupper (line 651) | def charseq_isupper(s): function unicode_charseq_upper (line 659) | def unicode_charseq_upper(s): function charseq_upper (line 666) | def charseq_upper(s): function unicode_charseq_find (line 676) | def unicode_charseq_find(a, b): function unicode_charseq_rfind (line 706) | def unicode_charseq_rfind(a, b): function unicode_charseq_startswith (line 736) | def unicode_charseq_startswith(a, b): function unicode_charseq_endswith (line 756) | def unicode_charseq_endswith(a, b): function _map_bytes (line 774) | def _map_bytes(seq): function unicode_charseq_split (line 781) | def unicode_charseq_split(a, sep=None, maxsplit=-1): function unicode_charseq_ljust (line 824) | def unicode_charseq_ljust(a, width, fillchar=' '): function unicode_charseq_rjust (line 852) | def unicode_charseq_rjust(a, width, fillchar=' '): function unicode_charseq_center (line 880) | def unicode_charseq_center(a, width, fillchar=' '): function unicode_charseq_zfill (line 908) | def unicode_charseq_zfill(a, width): function unicode_charseq_lstrip (line 922) | def unicode_charseq_lstrip(a, chars=None): function unicode_charseq_rstrip (line 950) | def unicode_charseq_rstrip(a, chars=None): function unicode_charseq_strip (line 978) | def unicode_charseq_strip(a, chars=None): function unicode_charseq_join (line 1006) | def unicode_charseq_join(a, parts): FILE: numba/cpython/cmathimpl.py function is_nan (line 19) | def is_nan(builder, z): function is_inf (line 22) | def is_inf(builder, z): function is_finite (line 26) | def is_finite(builder, z): function isnan_float_impl (line 32) | def isnan_float_impl(context, builder, sig, args): function isinf_float_impl (line 40) | def isinf_float_impl(context, builder, sig, args): function isfinite_float_impl (line 49) | def isfinite_float_impl(context, builder, sig, args): function impl_cmath_rect (line 58) | def impl_cmath_rect(r, phi): function intrinsic_complex_unary (line 84) | def intrinsic_complex_unary(inner_func): function exp_impl (line 108) | def exp_impl(x, y, x_is_finite, y_is_finite): function log_impl (line 150) | def log_impl(x, y, x_is_finite, y_is_finite): function log_base_impl (line 158) | def log_base_impl(context, builder, sig, args): function impl_cmath_log10 (line 170) | def impl_cmath_log10(z): function phase_impl (line 187) | def phase_impl(x): function polar_impl (line 199) | def polar_impl(x): function sqrt_impl (line 210) | def sqrt_impl(context, builder, sig, args): function cos_impl (line 271) | def cos_impl(context, builder, sig, args): function impl_cmath_cosh (line 280) | def impl_cmath_cosh(z): function sin_impl (line 310) | def sin_impl(context, builder, sig, args): function impl_cmath_sinh (line 320) | def impl_cmath_sinh(z): function tan_impl (line 347) | def tan_impl(context, builder, sig, args): function impl_cmath_tanh (line 358) | def impl_cmath_tanh(z): function acos_impl (line 388) | def acos_impl(context, builder, sig, args): function impl_cmath_acosh (line 414) | def impl_cmath_acosh(z): function asinh_impl (line 443) | def asinh_impl(context, builder, sig, args): function asin_impl (line 467) | def asin_impl(context, builder, sig, args): function atan_impl (line 477) | def atan_impl(context, builder, sig, args): function atanh_impl (line 491) | def atanh_impl(context, builder, sig, args): FILE: numba/cpython/enumimpl.py function enum_eq (line 14) | def enum_eq(context, builder, sig, args): function enum_is (line 23) | def enum_is(context, builder, sig, args): function enum_ne (line 35) | def enum_ne(context, builder, sig, args): function enum_value (line 44) | def enum_value(context, builder, ty, val): function int_enum_to_int (line 49) | def int_enum_to_int(context, builder, fromty, toty, val): function enum_constant (line 57) | def enum_constant(context, builder, ty, pyval): function enum_class_getattr (line 65) | def enum_class_getattr(context, builder, ty, val, attr): function enum_class_getitem (line 74) | def enum_class_getitem(context, builder, sig, args): function intenum_hash (line 85) | def intenum_hash(val): FILE: numba/cpython/hashing.py function _defer_hash (line 47) | def _defer_hash(hash_func): function ol_defer_hash (line 52) | def ol_defer_hash(obj, hash_func): function hash_overload (line 65) | def hash_overload(obj): function process_return (line 80) | def process_return(val): function _Py_HashDouble (line 101) | def _Py_HashDouble(v): function _fpext (line 148) | def _fpext(tyctx, val): function _prng_random_hash (line 157) | def _prng_random_hash(tyctx): function _long_impl (line 196) | def _long_impl(val): function int_hash (line 227) | def int_hash(val): function float_hash (line 272) | def float_hash(val): function complex_hash (line 290) | def complex_hash(val): function _PyHASH_XXROTATE (line 316) | def _PyHASH_XXROTATE(x): function _PyHASH_XXROTATE (line 325) | def _PyHASH_XXROTATE(x): function _tuple_hash (line 334) | def _tuple_hash(tup): function tuple_hash (line 354) | def tuple_hash(val): class FNV (line 384) | class FNV(Structure): class SIPHASH (line 391) | class SIPHASH(Structure): class DJBX33A (line 398) | class DJBX33A(Structure): class EXPAT (line 405) | class EXPAT(Structure): class _Py_HashSecret_t (line 412) | class _Py_HashSecret_t(Union): function _build_hashsecret (line 430) | def _build_hashsecret(): function _ROTATE (line 526) | def _ROTATE(x, b): function _HALF_ROUND (line 535) | def _HALF_ROUND(a, b, c, d, s, t): function _SINGLE_ROUND (line 547) | def _SINGLE_ROUND(v0, v1, v2, v3): function _DOUBLE_ROUND (line 556) | def _DOUBLE_ROUND(v0, v1, v2, v3): function _gen_siphash (line 561) | def _gen_siphash(alg): function _inject_hashsecret_read (line 663) | def _inject_hashsecret_read(tyctx, name): function _load_hashsecret (line 687) | def _load_hashsecret(name): function _impl_load_hashsecret (line 692) | def _impl_load_hashsecret(name): function _Py_HashBytes (line 703) | def _Py_HashBytes(val, _len): function unicode_hash (line 728) | def unicode_hash(val): FILE: numba/cpython/heapq.py function _siftdown (line 12) | def _siftdown(heap, startpos, pos): function _siftup (line 28) | def _siftup(heap, pos): function _siftdown_max (line 49) | def _siftdown_max(heap, startpos, pos): function _siftup_max (line 64) | def _siftup_max(heap, pos): function reversed_range (line 85) | def reversed_range(x): function _heapify_max (line 91) | def _heapify_max(x): function _heapreplace_max (line 99) | def _heapreplace_max(heap, item): function assert_heap_type (line 106) | def assert_heap_type(heap): function assert_item_type_consistent_with_heap_type (line 117) | def assert_item_type_consistent_with_heap_type(heap, item): function hq_heapify (line 123) | def hq_heapify(x): function hq_heappop (line 135) | def hq_heappop(heap): function heappush (line 151) | def heappush(heap, item): function heapreplace (line 163) | def heapreplace(heap, item): function heappushpop (line 177) | def heappushpop(heap, item): function check_input_types (line 190) | def check_input_types(n, iterable): function nsmallest (line 202) | def nsmallest(n, iterable): function nlargest (line 236) | def nlargest(n, iterable): FILE: numba/cpython/iterators.py function iterator_getiter (line 13) | def iterator_getiter(context, builder, sig, args): function make_enumerate_object (line 22) | def make_enumerate_object(context, builder, sig, args): function iternext_enumerate (line 48) | def iternext_enumerate(context, builder, sig, args, result): function make_zip_object (line 72) | def make_zip_object(context, builder, sig, args): function iternext_zip (line 87) | def iternext_zip(context, builder, sig, args, result): function iternext_zip (line 125) | def iternext_zip(context, builder, sig, args, result): FILE: numba/cpython/listobj.py function get_list_payload (line 22) | def get_list_payload(context, builder, list_type, value): function get_itemsize (line 34) | def get_itemsize(context, list_type): class _ListPayloadMixin (line 42) | class _ListPayloadMixin(object): method size (line 45) | def size(self): method size (line 49) | def size(self, value): method dirty (line 53) | def dirty(self): method data (line 57) | def data(self): method _gep (line 60) | def _gep(self, idx): method getitem (line 63) | def getitem(self, idx): method fix_index (line 68) | def fix_index(self, idx): method is_out_of_bounds (line 78) | def is_out_of_bounds(self, idx): method clamp_index (line 87) | def clamp_index(self, idx): method guard_index (line 106) | def guard_index(self, idx, msg): method fix_slice (line 114) | def fix_slice(self, slice): method incref_value (line 121) | def incref_value(self, val): method decref_value (line 125) | def decref_value(self, val): class ListPayloadAccessor (line 130) | class ListPayloadAccessor(_ListPayloadMixin): method __init__ (line 135) | def __init__(self, context, builder, list_type, payload_ptr): class ListInstance (line 148) | class ListInstance(_ListPayloadMixin): method __init__ (line 150) | def __init__(self, context, builder, list_type, list_val): method dtype (line 159) | def dtype(self): method _payload (line 163) | def _payload(self): method parent (line 168) | def parent(self): method parent (line 172) | def parent(self, value): method value (line 176) | def value(self): method meminfo (line 180) | def meminfo(self): method set_dirty (line 183) | def set_dirty(self, val): method clear_value (line 187) | def clear_value(self, idx): method setitem (line 194) | def setitem(self, idx, val, incref, decref_old_value=True): method inititem (line 207) | def inititem(self, idx, val, incref=True): method zfill (line 214) | def zfill(self, start, stop): method allocate_ex (line 228) | def allocate_ex(cls, context, builder, list_type, nitems): method define_dtor (line 275) | def define_dtor(self): method get_dtor (line 305) | def get_dtor(self): method allocate (line 316) | def allocate(cls, context, builder, list_type, nitems): method from_meminfo (line 330) | def from_meminfo(cls, context, builder, list_type, meminfo): method resize (line 343) | def resize(self, new_size): method move (line 400) | def move(self, dest_idx, src_idx, count): class ListIterInstance (line 411) | class ListIterInstance(_ListPayloadMixin): method __init__ (line 413) | def __init__(self, context, builder, iter_type, iter_val): method from_list (line 421) | def from_list(cls, context, builder, iter_type, list_val): method _payload (line 430) | def _payload(self): method value (line 436) | def value(self): method index (line 440) | def index(self): method index (line 444) | def index(self, value): function build_list (line 451) | def build_list(context, builder, list_type, items): function list_constructor (line 466) | def list_constructor(context, builder, sig, args): function list_constructor (line 476) | def list_constructor(context, builder, sig, args): function list_len (line 486) | def list_len(context, builder, sig, args): function getiter_list (line 491) | def getiter_list(context, builder, sig, args): function iternext_listiter (line 497) | def iternext_listiter(context, builder, sig, args, result): function getitem_list (line 511) | def getitem_list(context, builder, sig, args): function setitem_list (line 522) | def setitem_list(context, builder, sig, args): function getslice_list (line 534) | def getslice_list(context, builder, sig, args): function setitem_list (line 557) | def setitem_list(context, builder, sig, args): function delitem_list_index (line 618) | def delitem_list_index(context, builder, sig, args): function delitem_list (line 627) | def delitem_list(context, builder, sig, args): function in_seq (line 662) | def in_seq(context, builder, sig, args): function sequence_bool (line 672) | def sequence_bool(context, builder, sig, args): function sequence_truth (line 680) | def sequence_truth(seq): function list_add (line 688) | def list_add(context, builder, sig, args): function list_add_inplace (line 710) | def list_add_inplace(context, builder, sig, args): function list_mul (line 719) | def list_mul(context, builder, sig, args): function list_mul_inplace (line 743) | def list_mul_inplace(context, builder, sig, args): function list_is (line 766) | def list_is(context, builder, sig, args): function list_eq (line 774) | def list_eq(context, builder, sig, args): function all_list (line 798) | def all_list(*args): function impl_list_ne (line 802) | def impl_list_ne(a, b): function impl_list_le (line 812) | def impl_list_le(a, b): function impl_list_lt (line 829) | def impl_list_lt(a, b): function impl_list_ge (line 846) | def impl_list_ge(a, b): function impl_list_gt (line 856) | def impl_list_gt(a, b): function list_append (line 869) | def list_append(context, builder, sig, args): function list_clear (line 881) | def list_clear(context, builder, sig, args): function list_copy (line 889) | def list_copy(lst): function list_count (line 897) | def list_count(lst, value): function _list_extend_list (line 909) | def _list_extend_list(context, builder, sig, args): function list_extend (line 927) | def list_extend(context, builder, sig, args): function list_index (line 946) | def list_index(lst, value, start=0, stop=intp_max): function list_insert (line 973) | def list_insert(context, builder, sig, args): function list_pop (line 989) | def list_pop(context, builder, sig, args): function list_pop (line 1003) | def list_pop(context, builder, sig, args): function list_remove (line 1021) | def list_remove(lst, value): function list_reverse (line 1034) | def list_reverse(lst): function gt (line 1046) | def gt(a, b): function _sort_check_reverse (line 1058) | def _sort_check_reverse(reverse): function _sort_check_key (line 1071) | def _sort_check_key(key): function ol_list_sort (line 1082) | def ol_list_sort(lst, key=None, reverse=False): function ol_sorted (line 1111) | def ol_sorted(iterable, key=None, reverse=False): function list_to_list (line 1129) | def list_to_list(context, builder, fromty, toty, val): function literal_list_banned_append (line 1143) | def literal_list_banned_append(lst, obj): function literal_list_banned_extend (line 1148) | def literal_list_banned_extend(lst, iterable): function literal_list_banned_insert (line 1153) | def literal_list_banned_insert(lst, index, obj): function literal_list_banned_remove (line 1158) | def literal_list_banned_remove(lst, value): function literal_list_banned_pop (line 1163) | def literal_list_banned_pop(lst, index=-1): function literal_list_banned_clear (line 1168) | def literal_list_banned_clear(lst): function literal_list_banned_sort (line 1173) | def literal_list_banned_sort(lst, key=None, reverse=False): function literal_list_banned_reverse (line 1178) | def literal_list_banned_reverse(lst): function literal_list_index (line 1184) | def literal_list_index(lst, x, start=0, end=_index_end): function literal_list_count (line 1193) | def literal_list_count(lst, x): function literal_list_count (line 1204) | def literal_list_count(lst): function literal_list_delitem (line 1211) | def literal_list_delitem(lst, index): function literal_list_setitem (line 1216) | def literal_list_setitem(lst, index, value): function literal_list_getitem (line 1221) | def literal_list_getitem(lst, *args): function literal_list_len (line 1229) | def literal_list_len(lst): function literal_list_contains (line 1236) | def literal_list_contains(lst, item): function literallist_to_literallist (line 1246) | def literallist_to_literallist(context, builder, fromty, toty, val): FILE: numba/cpython/mathimpl.py function is_nan (line 40) | def is_nan(builder, val): function is_inf (line 46) | def is_inf(builder, val): function is_finite (line 56) | def is_finite(builder, val): function f64_as_int64 (line 64) | def f64_as_int64(builder, val): function int64_as_f64 (line 71) | def int64_as_f64(builder, val): function f32_as_int32 (line 78) | def f32_as_int32(builder, val): function int32_as_f32 (line 85) | def int32_as_f32(builder, val): function negate_real (line 92) | def negate_real(builder, val): function call_fp_intrinsic (line 99) | def call_fp_intrinsic(builder, name, args): function _unary_int_input_wrapper_impl (line 108) | def _unary_int_input_wrapper_impl(wrapped_impl): function unary_math_int_impl (line 123) | def unary_math_int_impl(fn, float_impl): function unary_math_intr (line 127) | def unary_math_intr(fn, intrcode): function unary_math_extern (line 139) | def unary_math_extern(fn, f32extern, f64extern, int_restype=False): function isnan_float_impl (line 213) | def isnan_float_impl(context, builder, sig, args): function isnan_int_impl (line 219) | def isnan_int_impl(context, builder, sig, args): function isinf_float_impl (line 225) | def isinf_float_impl(context, builder, sig, args): function isinf_int_impl (line 231) | def isinf_int_impl(context, builder, sig, args): function isfinite_float_impl (line 237) | def isfinite_float_impl(context, builder, sig, args): function isfinite_int_impl (line 244) | def isfinite_int_impl(context, builder, sig, args): function copysign_float_impl (line 250) | def copysign_float_impl(context, builder, sig, args): function frexp_impl (line 263) | def frexp_impl(context, builder, sig, args): function ldexp_impl (line 280) | def ldexp_impl(context, builder, sig, args): function atan2_s64_impl (line 297) | def atan2_s64_impl(context, builder, sig, args): function atan2_u64_impl (line 305) | def atan2_u64_impl(context, builder, sig, args): function atan2_float_impl (line 313) | def atan2_float_impl(context, builder, sig, args): function hypot_s64_impl (line 332) | def hypot_s64_impl(context, builder, sig, args): function hypot_u64_impl (line 342) | def hypot_u64_impl(context, builder, sig, args): function hypot_float_impl (line 352) | def hypot_float_impl(context, builder, sig, args): function radians_float_impl (line 383) | def radians_float_impl(context, builder, sig, args): function degrees_float_impl (line 394) | def degrees_float_impl(context, builder, sig, args): function pow_impl (line 406) | def pow_impl(context, builder, sig, args): function nextafter_impl (line 413) | def nextafter_impl(context, builder, sig, args): function _unsigned (line 428) | def _unsigned(T): function _unsigned_impl (line 433) | def _unsigned_impl(T): function gcd_impl (line 441) | def gcd_impl(context, builder, sig, args): FILE: numba/cpython/numbers.py function _int_arith_flags (line 18) | def _int_arith_flags(rettype): function int_add_impl (line 35) | def int_add_impl(context, builder, sig, args): function int_sub_impl (line 44) | def int_sub_impl(context, builder, sig, args): function int_mul_impl (line 53) | def int_mul_impl(context, builder, sig, args): function int_divmod_signed (line 62) | def int_divmod_signed(context, builder, ty, x, y): function int_divmod (line 119) | def int_divmod(context, builder, ty, x, y): function _int_divmod_impl (line 129) | def _int_divmod_impl(context, builder, sig, args, zerodiv_message): function int_divmod_impl (line 160) | def int_divmod_impl(context, builder, sig, args): function int_floordiv_impl (line 170) | def int_floordiv_impl(context, builder, sig, args): function int_truediv_impl (line 178) | def int_truediv_impl(context, builder, sig, args): function int_rem_impl (line 191) | def int_rem_impl(context, builder, sig, args): function _get_power_zerodiv_return (line 197) | def _get_power_zerodiv_return(context, return_type): function int_power_impl (line 206) | def int_power_impl(context, builder, sig, args): function static_power_impl (line 255) | def static_power_impl(context, builder, sig, args): function int_slt_impl (line 316) | def int_slt_impl(context, builder, sig, args): function int_sle_impl (line 321) | def int_sle_impl(context, builder, sig, args): function int_sgt_impl (line 326) | def int_sgt_impl(context, builder, sig, args): function int_sge_impl (line 331) | def int_sge_impl(context, builder, sig, args): function int_ult_impl (line 336) | def int_ult_impl(context, builder, sig, args): function int_ule_impl (line 341) | def int_ule_impl(context, builder, sig, args): function int_ugt_impl (line 346) | def int_ugt_impl(context, builder, sig, args): function int_uge_impl (line 351) | def int_uge_impl(context, builder, sig, args): function int_eq_impl (line 356) | def int_eq_impl(context, builder, sig, args): function int_ne_impl (line 361) | def int_ne_impl(context, builder, sig, args): function int_signed_unsigned_cmp (line 366) | def int_signed_unsigned_cmp(op): function int_unsigned_signed_cmp (line 386) | def int_unsigned_signed_cmp(op): function int_abs_impl (line 398) | def int_abs_impl(context, builder, sig, args): function uint_abs_impl (line 407) | def uint_abs_impl(context, builder, sig, args): function int_shl_impl (line 412) | def int_shl_impl(context, builder, sig, args): function int_shr_impl (line 421) | def int_shr_impl(context, builder, sig, args): function int_and_impl (line 433) | def int_and_impl(context, builder, sig, args): function int_or_impl (line 442) | def int_or_impl(context, builder, sig, args): function int_xor_impl (line 451) | def int_xor_impl(context, builder, sig, args): function int_negate_impl (line 460) | def int_negate_impl(context, builder, sig, args): function int_positive_impl (line 469) | def int_positive_impl(context, builder, sig, args): function int_invert_impl (line 476) | def int_invert_impl(context, builder, sig, args): function int_sign_impl (line 485) | def int_sign_impl(context, builder, sig, args): function bool_negate_impl (line 527) | def bool_negate_impl(context, builder, sig, args): function bool_unary_positive_impl (line 535) | def bool_unary_positive_impl(context, builder, sig, args): function _implement_integer_operators (line 552) | def _implement_integer_operators(): function _implement_bitwise_operators (line 600) | def _implement_bitwise_operators(): function real_add_impl (line 616) | def real_add_impl(context, builder, sig, args): function real_sub_impl (line 621) | def real_sub_impl(context, builder, sig, args): function real_mul_impl (line 626) | def real_mul_impl(context, builder, sig, args): function real_div_impl (line 631) | def real_div_impl(context, builder, sig, args): function real_divmod (line 638) | def real_divmod(context, builder, x, y): function real_divmod_func_body (line 660) | def real_divmod_func_body(context, builder, vx, wx): function real_divmod_impl (line 769) | def real_divmod_impl(context, builder, sig, args, loc=None): function real_mod_impl (line 794) | def real_mod_impl(context, builder, sig, args, loc=None): function real_floordiv_impl (line 813) | def real_floordiv_impl(context, builder, sig, args, loc=None): function real_power_impl (line 832) | def real_power_impl(context, builder, sig, args): function real_lt_impl (line 844) | def real_lt_impl(context, builder, sig, args): function real_le_impl (line 849) | def real_le_impl(context, builder, sig, args): function real_gt_impl (line 854) | def real_gt_impl(context, builder, sig, args): function real_ge_impl (line 859) | def real_ge_impl(context, builder, sig, args): function real_eq_impl (line 864) | def real_eq_impl(context, builder, sig, args): function real_ne_impl (line 869) | def real_ne_impl(context, builder, sig, args): function real_abs_impl (line 874) | def real_abs_impl(context, builder, sig, args): function real_negate_impl (line 881) | def real_negate_impl(context, builder, sig, args): function real_positive_impl (line 887) | def real_positive_impl(context, builder, sig, args): function real_sign_impl (line 894) | def real_sign_impl(context, builder, sig, args): function complex_real_impl (line 958) | def complex_real_impl(context, builder, typ, value): function complex_imag_impl (line 964) | def complex_imag_impl(context, builder, typ, value): function complex_conjugate_impl (line 970) | def complex_conjugate_impl(context, builder, sig, args): function real_real_impl (line 977) | def real_real_impl(context, builder, typ, value): function real_imag_impl (line 980) | def real_imag_impl(context, builder, typ, value): function real_conjugate_impl (line 984) | def real_conjugate_impl(context, builder, sig, args): function complex_power_impl (line 996) | def complex_power_impl(context, builder, sig, args): function complex_add_impl (line 1037) | def complex_add_impl(context, builder, sig, args): function complex_sub_impl (line 1053) | def complex_sub_impl(context, builder, sig, args): function complex_mul_impl (line 1069) | def complex_mul_impl(context, builder, sig, args): function complex_div_impl (line 1094) | def complex_div_impl(context, builder, sig, args): function complex_negate_impl (line 1126) | def complex_negate_impl(context, builder, sig, args): function complex_positive_impl (line 1138) | def complex_positive_impl(context, builder, sig, args): function complex_eq_impl (line 1143) | def complex_eq_impl(context, builder, sig, args): function complex_ne_impl (line 1155) | def complex_ne_impl(context, builder, sig, args): function complex_abs_impl (line 1167) | def complex_abs_impl(context, builder, sig, args): function number_item_impl (line 1202) | def number_item_impl(context, builder, sig, args): function number_not_impl (line 1212) | def number_not_impl(context, builder, sig, args): function bool_as_bool (line 1220) | def bool_as_bool(context, builder, sig, args): function int_as_bool (line 1225) | def int_as_bool(context, builder, sig, args): function float_as_bool (line 1230) | def float_as_bool(context, builder, sig, args): function complex_as_bool (line 1235) | def complex_as_bool(context, builder, sig, args): function literal_int_to_number (line 1261) | def literal_int_to_number(context, builder, fromty, toty, val): function integer_to_integer (line 1271) | def integer_to_integer(context, builder, fromty, toty, val): function integer_to_voidptr (line 1286) | def integer_to_voidptr(context, builder, fromty, toty, val): function float_to_float (line 1290) | def float_to_float(context, builder, fromty, toty, val): function integer_to_float (line 1298) | def integer_to_float(context, builder, fromty, toty, val): function float_to_integer (line 1306) | def float_to_integer(context, builder, fromty, toty, val): function non_complex_to_complex (line 1315) | def non_complex_to_complex(context, builder, fromty, toty, val): function complex_to_complex (line 1325) | def complex_to_complex(context, builder, fromty, toty, val): function any_to_boolean (line 1336) | def any_to_boolean(context, builder, fromty, toty, val): function boolean_to_any (line 1340) | def boolean_to_any(context, builder, fromty, toty, val): function literal_int_to_boolean (line 1347) | def literal_int_to_boolean(context, builder, fromty, toty, val): function constant_complex (line 1359) | def constant_complex(context, builder, ty, pyval): function constant_integer (line 1368) | def constant_integer(context, builder, ty, pyval): function scalar_view (line 1382) | def scalar_view(scalar, viewty): FILE: numba/cpython/printimpl.py function print_item_impl (line 16) | def print_item_impl(context, builder, sig, args): function print_item_impl (line 34) | def print_item_impl(context, builder, sig, args): function print_varargs_impl (line 65) | def print_varargs_impl(context, builder, sig, args): FILE: numba/cpython/randomimpl.py function const_int (line 26) | def const_int(x): function get_state_ptr (line 50) | def get_state_ptr(context, builder, name): function get_py_state_ptr (line 67) | def get_py_state_ptr(context, builder): function get_np_state_ptr (line 73) | def get_np_state_ptr(context, builder): function get_internal_state_ptr (line 79) | def get_internal_state_ptr(context, builder): function get_index_ptr (line 86) | def get_index_ptr(builder, state_ptr): function get_array_ptr (line 89) | def get_array_ptr(builder, state_ptr): function get_has_gauss_ptr (line 92) | def get_has_gauss_ptr(builder, state_ptr): function get_gauss_ptr (line 95) | def get_gauss_ptr(builder, state_ptr): function get_rnd_shuffle (line 98) | def get_rnd_shuffle(builder): function get_next_int32 (line 109) | def get_next_int32(context, builder, state_ptr): function get_next_double (line 134) | def get_next_double(context, builder, state_ptr): function get_next_int (line 149) | def get_next_int(context, builder, state_ptr, nbits, is_numpy): function seed_impl (line 199) | def seed_impl(a): function seed_impl (line 208) | def seed_impl(seed): function _seed_impl (line 213) | def _seed_impl(state_type): function random_impl (line 229) | def random_impl(): function random_impl0 (line 243) | def random_impl0(): function random_impl1 (line 257) | def random_impl1(size=None): function gauss_impl (line 277) | def gauss_impl(mu, sigma): function np_gauss_impl0 (line 291) | def np_gauss_impl0(): function np_gauss_impl1 (line 296) | def np_gauss_impl1(loc): function np_gauss_impl2 (line 302) | def np_gauss_impl2(loc, scale): function standard_normal_impl1 (line 315) | def standard_normal_impl1(size): function np_gauss_impl3 (line 334) | def np_gauss_impl3(loc, scale, size): function _gauss_pair_impl (line 358) | def _gauss_pair_impl(_random): function _gauss_impl (line 376) | def _gauss_impl(state, loc_preprocessor, scale_preprocessor): function _double_preprocessor (line 416) | def _double_preprocessor(value): function getrandbits_impl (line 434) | def getrandbits_impl(k): function _randrange_impl (line 454) | def _randrange_impl(context, builder, start, stop, step, ty, signed, sta... function randrange_impl_1 (line 525) | def randrange_impl_1(start): function randrange_impl_2 (line 531) | def randrange_impl_2(start, stop): function _randrange_preprocessor (line 536) | def _randrange_preprocessor(bitwidth, ty): function randrange_impl_3 (line 545) | def randrange_impl_3(start, stop, step): function randint_impl_1 (line 572) | def randint_impl_1(a, b): function np_randint_impl_1 (line 578) | def np_randint_impl_1(low): function np_randint_impl_2 (line 584) | def np_randint_impl_2(low, high): function np_randint_impl_3 (line 609) | def np_randint_impl_3(low, high, size): function np_uniform_impl0 (line 634) | def np_uniform_impl0(): function uniform_impl2 (line 639) | def uniform_impl2(a, b): function np_uniform_impl2 (line 652) | def np_uniform_impl2(low, high): function uniform_impl (line 664) | def uniform_impl(state, a_preprocessor, b_preprocessor): function np_uniform_impl3 (line 677) | def np_uniform_impl3(low, high, size): function triangular_impl_2 (line 703) | def triangular_impl_2(low, high): function triangular_impl_3 (line 718) | def triangular_impl_3(low, high, mode): function triangular_impl_3 (line 737) | def triangular_impl_3(left, mode, right): function triangular_impl (line 756) | def triangular_impl(left, mode, right, size=None): function gammavariate_impl (line 779) | def gammavariate_impl(alpha, beta): function ol_np_random_gamma1 (line 787) | def ol_np_random_gamma1(shape): function ol_np_random_gamma2 (line 793) | def ol_np_random_gamma2(shape, scale): function _gammavariate_impl (line 802) | def _gammavariate_impl(_random): function gamma_impl (line 862) | def gamma_impl(shape, scale, size): function standard_gamma_impl (line 881) | def standard_gamma_impl(shape, size): function betavariate_impl (line 900) | def betavariate_impl(alpha, beta): function ol_np_random_beta (line 907) | def ol_np_random_beta(a, b): function _betavariate_impl (line 916) | def _betavariate_impl(gamma): function beta_impl (line 931) | def beta_impl(a, b, size): function expovariate_impl (line 951) | def expovariate_impl(lambd): function exponential_impl (line 967) | def exponential_impl(scale): function exponential_impl (line 975) | def exponential_impl(scale, size): function exponential_impl (line 995) | def exponential_impl(): function standard_exponential_impl (line 1002) | def standard_exponential_impl(size): function np_lognormal_impl0 (line 1022) | def np_lognormal_impl0(): function np_log_normal_impl1 (line 1027) | def np_log_normal_impl1(mean): function np_log_normal_impl2 (line 1033) | def np_log_normal_impl2(mean, sigma): function lognormal_impl (line 1041) | def lognormal_impl(mean, sigma, size): function lognormvariate_impl (line 1060) | def lognormvariate_impl(mu, sigma): function _lognormvariate_impl (line 1066) | def _lognormvariate_impl(_gauss): function paretovariate_impl (line 1071) | def paretovariate_impl(alpha): function pareto_impl (line 1083) | def pareto_impl(a): function pareto_impl (line 1094) | def pareto_impl(a, size): function weibullvariate_impl (line 1113) | def weibullvariate_impl(alpha, beta): function weibull_impl (line 1126) | def weibull_impl(a): function weibull_impl2 (line 1137) | def weibull_impl2(a, size): function vonmisesvariate_impl (line 1156) | def vonmisesvariate_impl(mu, kappa): function vonmisesvariate_impl (line 1162) | def vonmisesvariate_impl(mu, kappa): function _vonmisesvariate_impl (line 1167) | def _vonmisesvariate_impl(_random): function vonmises_impl (line 1212) | def vonmises_impl(mu, kappa, size): function binomial_impl (line 1231) | def binomial_impl(n, p): function binomial_impl (line 1287) | def binomial_impl(n, p, size): function chisquare_impl (line 1307) | def chisquare_impl(df): function chisquare_impl2 (line 1316) | def chisquare_impl2(df, size): function f_impl (line 1334) | def f_impl(dfnum, dfden): function f_impl (line 1345) | def f_impl(dfnum, dfden, size): function geometric_impl (line 1368) | def geometric_impl(p): function geometric_impl (line 1392) | def geometric_impl(p, size): function gumbel_impl (line 1411) | def gumbel_impl(loc, scale): function gumbel_impl3 (line 1422) | def gumbel_impl3(loc, scale, size): function hypergeometric_impl (line 1441) | def hypergeometric_impl(ngood, nbad, nsample): function hypergeometric_impl (line 1465) | def hypergeometric_impl(ngood, nbad, nsample, size): function laplace_impl0 (line 1486) | def laplace_impl0(): function laplace_impl1 (line 1491) | def laplace_impl1(loc): function laplace_impl2 (line 1497) | def laplace_impl2(loc, scale): function laplace_impl3 (line 1504) | def laplace_impl3(loc, scale, size): function laplace_impl (line 1522) | def laplace_impl(loc, scale): function logistic_impl0 (line 1531) | def logistic_impl0(): function logistic_impl1 (line 1536) | def logistic_impl1(loc): function logistic_impl2 (line 1542) | def logistic_impl2(loc, scale): function logistic_impl3 (line 1549) | def logistic_impl3(loc, scale, size): function logistic_impl (line 1567) | def logistic_impl(loc, scale): function _logseries_impl (line 1572) | def _logseries_impl(p): function logseries_impl (line 1594) | def logseries_impl(p): function logseries_impl (line 1600) | def logseries_impl(p, size): function negative_binomial_impl (line 1618) | def negative_binomial_impl(n, p): function poisson_impl0 (line 1633) | def poisson_impl0(): function poisson_impl1 (line 1638) | def poisson_impl1(lam): function poisson_impl2 (line 1704) | def poisson_impl2(lam, size): function power_impl (line 1725) | def power_impl(a): function power_impl (line 1737) | def power_impl(a, size): function rayleigh_impl0 (line 1756) | def rayleigh_impl0(): function rayleigh_impl1 (line 1761) | def rayleigh_impl1(scale): function rayleigh_impl2 (line 1773) | def rayleigh_impl2(scale, size): function cauchy_impl (line 1792) | def cauchy_impl(): function standard_cauchy_impl (line 1800) | def standard_cauchy_impl(size): function standard_t_impl (line 1819) | def standard_t_impl(df): function standard_t_impl2 (line 1831) | def standard_t_impl2(df, size): function wald_impl (line 1849) | def wald_impl(mean, scale): function wald_impl2 (line 1870) | def wald_impl2(mean, scale, size): function zipf_impl (line 1889) | def zipf_impl(a): function zipf_impl (line 1912) | def zipf_impl(a, size): function do_shuffle_impl (line 1929) | def do_shuffle_impl(x, rng): function shuffle_impl (line 1959) | def shuffle_impl(x): function shuffle_impl (line 1964) | def shuffle_impl(x): function permutation_impl (line 1969) | def permutation_impl(x): function rand (line 1989) | def rand(*size): function randn (line 2004) | def randn(*size): function choice (line 2022) | def choice(a, size=None, replace=True): function multinomial (line 2109) | def multinomial(n, pvals, size=None): function dirichlet (line 2190) | def dirichlet(alpha): function dirichlet (line 2200) | def dirichlet(alpha, size=None): function dirichlet_arr (line 2244) | def dirichlet_arr(alpha, out): function noncentral_chisquare (line 2270) | def noncentral_chisquare(df, nonc): function noncentral_chisquare (line 2281) | def noncentral_chisquare(df, nonc, size=None): function noncentral_chisquare_single (line 2313) | def noncentral_chisquare_single(df, nonc): function validate_noncentral_chisquare_input (line 2331) | def validate_noncentral_chisquare_input(df, nonc): FILE: numba/cpython/rangeobj.py function make_range_iterator (line 15) | def make_range_iterator(typ): function make_range_impl (line 23) | def make_range_impl(int_type, range_state_type, range_iter_type): function range_to_range (line 172) | def range_to_range(context, builder, fromty, toty, val): function make_range_attr (line 179) | def make_range_attr(index, attribute): function impl_contains_helper (line 198) | def impl_contains_helper(robj, val): function impl_contains (line 208) | def impl_contains(robj, val): FILE: numba/cpython/setobj.py function get_payload_struct (line 24) | def get_payload_struct(context, builder, set_type, ptr): function get_entry_size (line 35) | def get_entry_size(context, set_type): function get_hash_value (line 59) | def get_hash_value(context, builder, typ, value): function _get_hash_value_intrinsic (line 75) | def _get_hash_value_intrinsic(typingctx, value): function is_hash_empty (line 83) | def is_hash_empty(context, builder, h): function is_hash_deleted (line 90) | def is_hash_deleted(context, builder, h): function is_hash_used (line 97) | def is_hash_used(context, builder, h): function check_all_set (line 106) | def check_all_set(*args): class _SetPayload (line 117) | class _SetPayload(object): method __init__ (line 119) | def __init__(self, context, builder, set_type, ptr): method mask (line 129) | def mask(self): method mask (line 133) | def mask(self, value): method used (line 138) | def used(self): method used (line 142) | def used(self, value): method fill (line 146) | def fill(self): method fill (line 150) | def fill(self, value): method finger (line 154) | def finger(self): method finger (line 158) | def finger(self, value): method dirty (line 162) | def dirty(self): method dirty (line 166) | def dirty(self, value): method entries (line 170) | def entries(self): method ptr (line 177) | def ptr(self): method get_entry (line 183) | def get_entry(self, idx): method _lookup (line 193) | def _lookup(self, item, h, for_insert=False): method _iterate (line 312) | def _iterate(self, start=None): method _next_entry (line 332) | def _next_entry(self): class SetInstance (line 372) | class SetInstance(object): method __init__ (line 374) | def __init__(self, context, builder, set_type, set_val): method dtype (line 382) | def dtype(self): method payload (line 386) | def payload(self): method value (line 398) | def value(self): method meminfo (line 402) | def meminfo(self): method parent (line 406) | def parent(self): method parent (line 410) | def parent(self, value): method get_size (line 413) | def get_size(self): method set_dirty (line 419) | def set_dirty(self, val): method _add_entry (line 423) | def _add_entry(self, payload, entry, item, h, do_resize=True): method _add_key (line 444) | def _add_key(self, payload, item, h, do_resize=True, do_incref=True): method _remove_entry (line 472) | def _remove_entry(self, payload, entry, do_resize=True, do_decref=True): method _remove_key (line 486) | def _remove_key(self, payload, item, h, do_resize=True): method add (line 498) | def add(self, item, do_resize=True): method add_pyapi (line 506) | def add_pyapi(self, pyapi, item, do_resize=True): method _pyapi_get_hash_value (line 517) | def _pyapi_get_hash_value(self, pyapi, context, builder, item): method contains (line 535) | def contains(self, item): method discard (line 544) | def discard(self, item): method pop (line 553) | def pop(self): method clear (line 568) | def clear(self): method copy (line 577) | def copy(self): method intersect (line 616) | def intersect(self, other): method difference (line 634) | def difference(self, other): method symmetric_difference (line 650) | def symmetric_difference(self, other): method issubset (line 674) | def issubset(self, other, strict=False): method isdisjoint (line 700) | def isdisjoint(self, other): method equals (line 731) | def equals(self, other): method allocate_ex (line 756) | def allocate_ex(cls, context, builder, set_type, nitems=None): method allocate (line 777) | def allocate(cls, context, builder, set_type, nitems=None): method from_meminfo (line 791) | def from_meminfo(cls, context, builder, set_type, meminfo): method choose_alloc_size (line 805) | def choose_alloc_size(cls, context, builder, nitems): method upsize (line 835) | def upsize(self, nitems): method downsize (line 881) | def downsize(self, nitems): method _resize (line 941) | def _resize(self, payload, nentries, errmsg): method _replace_payload (line 968) | def _replace_payload(self, nentries): method _allocate_payload (line 991) | def _allocate_payload(self, nentries, realloc=False): method _free_payload (line 1058) | def _free_payload(self, ptr): method _copy_payload (line 1064) | def _copy_payload(self, src_payload): method _imp_dtor (line 1129) | def _imp_dtor(self, context, module): method incref_value (line 1157) | def incref_value(self, val): method decref_value (line 1162) | def decref_value(self, val): class SetIterInstance (line 1168) | class SetIterInstance(object): method __init__ (line 1170) | def __init__(self, context, builder, iter_type, iter_val): method from_set (line 1179) | def from_set(cls, context, builder, iter_type, set_val): method value (line 1188) | def value(self): method meminfo (line 1192) | def meminfo(self): method index (line 1196) | def index(self): method index (line 1200) | def index(self, value): method iternext (line 1203) | def iternext(self, result): function build_set (line 1222) | def build_set(context, builder, set_type, items): function set_empty_constructor (line 1245) | def set_empty_constructor(context, builder, sig, args): function set_constructor (line 1251) | def set_constructor(context, builder, sig, args): function set_len (line 1275) | def set_len(context, builder, sig, args): function in_set (line 1280) | def in_set(context, builder, sig, args): function getiter_set (line 1285) | def getiter_set(context, builder, sig, args): function iternext_listiter (line 1291) | def iternext_listiter(context, builder, sig, args, result): function set_add (line 1302) | def set_add(context, builder, sig, args): function _set_discard (line 1311) | def _set_discard(typingctx, s, item): function ol_set_discard (line 1325) | def ol_set_discard(s, item): function _set_pop (line 1330) | def _set_pop(typingctx, s): function ol_set_pop (line 1346) | def ol_set_pop(s): function _set_remove (line 1351) | def _set_remove(typingctx, s, item): function ol_set_remove (line 1368) | def ol_set_remove(s, item): function _set_clear (line 1376) | def _set_clear(typingctx, s): function ol_set_clear (line 1388) | def ol_set_clear(s): function _set_copy (line 1393) | def _set_copy(typingctx, s): function ol_set_copy (line 1405) | def ol_set_copy(s): function set_difference_update (line 1409) | def set_difference_update(context, builder, sig, args): function _set_difference_update (line 1419) | def _set_difference_update(typingctx, a, b): function set_difference_update_impl (line 1425) | def set_difference_update_impl(a, b): function set_intersection_update (line 1430) | def set_intersection_update(context, builder, sig, args): function _set_intersection_update (line 1438) | def _set_intersection_update(typingctx, a, b): function set_intersection_update_impl (line 1444) | def set_intersection_update_impl(a, b): function set_symmetric_difference_update (line 1449) | def set_symmetric_difference_update(context, builder, sig, args): function _set_symmetric_difference_update (line 1457) | def _set_symmetric_difference_update(typingctx, a, b): function set_symmetric_difference_update_impl (line 1463) | def set_symmetric_difference_update_impl(a, b): function set_update (line 1469) | def set_update(context, builder, sig, args): function gen_operator_impl (line 1498) | def gen_operator_impl(op, impl): function impl_set_difference (line 1527) | def impl_set_difference(a, b): function set_intersection (line 1539) | def set_intersection(a, b): function set_symmetric_difference (line 1556) | def set_symmetric_difference(a, b): function set_union (line 1573) | def set_union(a, b): function _set_isdisjoint (line 1592) | def _set_isdisjoint(typingctx, a, b): function set_isdisjoint (line 1605) | def set_isdisjoint(a, b): function _set_issubset (line 1612) | def _set_issubset(typingctx, a, b): function set_issubset (line 1625) | def set_issubset(a, b): function set_issuperset (line 1633) | def set_issuperset(a, b): function _set_eq (line 1642) | def _set_eq(typingctx, a, b): function set_eq (line 1654) | def set_eq(a, b): function set_ne (line 1660) | def set_ne(a, b): function _set_lt (line 1669) | def _set_lt(typingctx, a, b): function set_lt (line 1681) | def set_lt(a, b): function set_gt (line 1687) | def set_gt(a, b): function set_is (line 1696) | def set_is(context, builder, sig, args): function set_to_set (line 1708) | def set_to_set(context, builder, fromty, toty, val): FILE: numba/cpython/slicing.py function fix_index (line 15) | def fix_index(builder, idx, size): function fix_slice (line 25) | def fix_slice(builder, slice, size): function get_slice_length (line 61) | def get_slice_length(builder, slicestruct): function get_slice_bounds (line 105) | def get_slice_bounds(builder, slicestruct): function fix_stride (line 123) | def fix_stride(builder, slice, stride): function guard_invalid_slice (line 129) | def guard_invalid_slice(context, builder, typ, slicestruct): function get_defaults (line 138) | def get_defaults(context): function slice_constructor_impl (line 152) | def slice_constructor_impl(context, builder, sig, args): function slice_start_impl (line 200) | def slice_start_impl(context, builder, typ, value): function slice_stop_impl (line 205) | def slice_stop_impl(context, builder, typ, value): function slice_step_impl (line 210) | def slice_step_impl(context, builder, typ, value): function slice_indices (line 219) | def slice_indices(context, builder, sig, args): function make_slice_from_constant (line 243) | def make_slice_from_constant(context, builder, ty, pyval): function constant_slice (line 289) | def constant_slice(context, builder, ty, pyval): function cast_from_literal (line 299) | def cast_from_literal(context, builder, fromty, toty, val): FILE: numba/cpython/tupleobj.py function namedtuple_constructor (line 16) | def namedtuple_constructor(context, builder, sig, args): function tuple_add (line 30) | def tuple_add(context, builder, sig, args): function tuple_cmp_ordered (line 36) | def tuple_cmp_ordered(context, builder, op, sig, args): function tuple_eq (line 59) | def tuple_eq(context, builder, sig, args): function tuple_ne (line 74) | def tuple_ne(context, builder, sig, args): function tuple_lt (line 79) | def tuple_lt(context, builder, sig, args): function tuple_le (line 84) | def tuple_le(context, builder, sig, args): function tuple_gt (line 89) | def tuple_gt(context, builder, sig, args): function tuple_ge (line 94) | def tuple_ge(context, builder, sig, args): function namedtuple_getattr (line 101) | def namedtuple_getattr(context, builder, typ, value, attr): function unituple_constant (line 112) | def unituple_constant(context, builder, ty, pyval): function unituple_constant (line 124) | def unituple_constant(context, builder, ty, pyval): function getiter_unituple (line 140) | def getiter_unituple(context, builder, sig, args): function iternext_unituple (line 159) | def iternext_unituple(context, builder, sig, args, result): function getitem_literal_idx (line 189) | def getitem_literal_idx(tup, idx): function getitem_typed (line 207) | def getitem_typed(context, builder, sig, args): function getitem_unituple (line 295) | def getitem_unituple(context, builder, sig, args): function static_getitem_tuple (line 351) | def static_getitem_tuple(context, builder, sig, args): function tuple_to_tuple (line 378) | def tuple_to_tuple(context, builder, fromty, toty, val): function tuple_index (line 398) | def tuple_index(tup, value): function in_seq_empty_tuple (line 410) | def in_seq_empty_tuple(x, y): FILE: numba/cpython/unicode.py class UnicodeModel (line 80) | class UnicodeModel(models.StructModel): method __init__ (line 81) | def __init__(self, dmm, fe_type): class UnicodeIteratorModel (line 103) | class UnicodeIteratorModel(StructModel): method __init__ (line 104) | def __init__(self, dmm, fe_type): function compile_time_get_string_data (line 112) | def compile_time_get_string_data(obj): function make_string_from_constant (line 140) | def make_string_from_constant(context, builder, typ, literal_string): function cast_from_literal (line 161) | def cast_from_literal(context, builder, fromty, toty, val): function constant_unicode (line 170) | def constant_unicode(context, builder, typ, pyval): function unbox_unicode_str (line 178) | def unbox_unicode_str(typ, obj, c): function box_unicode_str (line 201) | def box_unicode_str(typ, val, c): function make_deref_codegen (line 219) | def make_deref_codegen(bitsize): function deref_uint8 (line 230) | def deref_uint8(typingctx, data, offset): function deref_uint16 (line 236) | def deref_uint16(typingctx, data, offset): function deref_uint32 (line 242) | def deref_uint32(typingctx, data, offset): function _malloc_string (line 248) | def _malloc_string(typingctx, kind, char_bytes, length, is_ascii): function _empty_string (line 279) | def _empty_string(kind, length, is_ascii=0): function _get_code_point (line 288) | def _get_code_point(a, i): function make_set_codegen (line 303) | def make_set_codegen(bitsize): function set_uint8 (line 316) | def set_uint8(typingctx, data, idx, ch): function set_uint16 (line 322) | def set_uint16(typingctx, data, idx, ch): function set_uint32 (line 328) | def set_uint32(typingctx, data, idx, ch): function _set_code_point (line 334) | def _set_code_point(a, i, ch): function _pick_kind (line 354) | def _pick_kind(kind1, kind2): function _pick_kind (line 369) | def _pick_kind(kind1, kind2): function _pick_ascii (line 390) | def _pick_ascii(is_ascii1, is_ascii2): function _kind_to_byte_width (line 398) | def _kind_to_byte_width(kind): function _kind_to_byte_width (line 409) | def _kind_to_byte_width(kind): function _cmp_region (line 425) | def _cmp_region(a, a_offset, b, b_offset, n): function _codepoint_to_kind (line 445) | def _codepoint_to_kind(cp): function _codepoint_is_ascii (line 463) | def _codepoint_is_ascii(ch): function unicode_len (line 474) | def unicode_len(s): function unicode_eq (line 482) | def unicode_eq(a, b): function unicode_ne (line 521) | def unicode_ne(a, b): function unicode_lt (line 539) | def unicode_lt(a, b): function unicode_gt (line 555) | def unicode_gt(a, b): function unicode_le (line 571) | def unicode_le(a, b): function unicode_ge (line 581) | def unicode_ge(a, b): function unicode_contains (line 591) | def unicode_contains(a, b): function unicode_idx_check_type (line 599) | def unicode_idx_check_type(ty, name): function unicode_sub_check_type (line 619) | def unicode_sub_check_type(ty, name): function _bloom_add (line 629) | def _bloom_add(mask, ch): function _bloom_check (line 635) | def _bloom_check(mask, ch): function _default_find (line 641) | def _default_find(data, substr, start, end): function _default_rfind (line 688) | def _default_rfind(data, substr, start, end): function generate_finder (line 736) | def generate_finder(find_func): function unicode_find (line 760) | def unicode_find(data, substr, start=None, end=None): function unicode_rfind (line 775) | def unicode_rfind(data, substr, start=None, end=None): function unicode_rindex (line 791) | def unicode_rindex(s, sub, start=None, end=None): function unicode_index (line 809) | def unicode_index(s, sub, start=None, end=None): function unicode_partition (line 827) | def unicode_partition(data, sep): function unicode_count (line 863) | def unicode_count(src, sub, start=None, end=None): function unicode_rpartition (line 900) | def unicode_rpartition(data, sep): function _adjust_indices (line 937) | def _adjust_indices(length, start, end): function unicode_startswith (line 953) | def unicode_startswith(s, prefix, start=None, end=None): function unicode_endswith (line 1006) | def unicode_endswith(s, substr, start=None, end=None): function unicode_expandtabs (line 1056) | def unicode_expandtabs(data, tabsize=8): function unicode_split (line 1121) | def unicode_split(a, sep=None, maxsplit=-1): function generate_rsplit_whitespace_impl (line 1205) | def generate_rsplit_whitespace_impl(isspace_func): function unicode_rsplit (line 1257) | def unicode_rsplit(data, sep=None, maxsplit=-1): function unicode_center (line 1339) | def unicode_center(string, width, fillchar=' '): function gen_unicode_Xjust (line 1376) | def gen_unicode_Xjust(STRING_FIRST): function generate_splitlines_func (line 1421) | def generate_splitlines_func(is_line_break_func): function unicode_splitlines (line 1463) | def unicode_splitlines(data, keepends=False): function join_list (line 1488) | def join_list(sep, parts): function unicode_join (line 1520) | def unicode_join(sep, parts): function unicode_zfill (line 1548) | def unicode_zfill(string, width): function unicode_strip_left_bound (line 1576) | def unicode_strip_left_bound(string, chars): function unicode_strip_right_bound (line 1593) | def unicode_strip_right_bound(string, chars): function unicode_strip_types_check (line 1610) | def unicode_strip_types_check(chars): function _count_args_types_check (line 1619) | def _count_args_types_check(arg): function unicode_lstrip (line 1629) | def unicode_lstrip(string, chars=None): function unicode_rstrip (line 1644) | def unicode_rstrip(string, chars=None): function unicode_strip (line 1659) | def unicode_strip(string, chars=None): function normalize_str_idx (line 1680) | def normalize_str_idx(idx, length, is_start=True): function _normalize_slice_idx_count (line 1711) | def _normalize_slice_idx_count(arg, slice_len, default): function _normalize_slice (line 1732) | def _normalize_slice(typingctx, sliceobj, length): function _slice_span (line 1749) | def _slice_span(typingctx, sliceobj): function _strncpy (line 1765) | def _strncpy(dst, dst_offset, src, src_offset, n): function _get_str_slice_view (line 1780) | def _get_str_slice_view(typingctx, src_t, start_t, length_t): function unicode_getitem (line 1818) | def unicode_getitem(s, idx): function unicode_concat (line 1880) | def unicode_concat(a, b): function _repeat_impl (line 1901) | def _repeat_impl(str_arg, mult_arg): function unicode_repeat (line 1928) | def unicode_repeat(a, b): function unicode_not (line 1940) | def unicode_not(a): function unicode_replace (line 1948) | def unicode_replace(s, old_str, new_str, count=-1): function gen_isAlX (line 1997) | def gen_isAlX(ascii_func, unicode_func): function _is_upper (line 2042) | def _is_upper(is_lower, is_upper, is_title): function unicode_isupper (line 2073) | def unicode_isupper(a): function unicode_isascii (line 2086) | def unicode_isascii(data): function unicode_istitle (line 2095) | def unicode_istitle(data): function unicode_islower (line 2133) | def unicode_islower(data): function unicode_isidentifier (line 2161) | def unicode_isidentifier(data): function gen_isX (line 2184) | def gen_isX(_PyUnicode_IS_func, empty_is_false=True): function case_operation (line 2228) | def case_operation(ascii_func, unicode_func): function _handle_capital_sigma (line 2258) | def _handle_capital_sigma(data, length, idx): function _lower_ucs4 (line 2282) | def _lower_ucs4(code_point, data, length, idx, mapped): function _gen_unicode_upper_or_lower (line 2291) | def _gen_unicode_upper_or_lower(lower): function _gen_ascii_upper_or_lower (line 2314) | def _gen_ascii_upper_or_lower(func): function unicode_lower (line 2327) | def unicode_lower(data): function unicode_upper (line 2333) | def unicode_upper(data): function _unicode_casefold (line 2340) | def _unicode_casefold(data, length, res, maxchars): function _ascii_casefold (line 2357) | def _ascii_casefold(data, res): function unicode_casefold (line 2364) | def unicode_casefold(data): function _unicode_capitalize (line 2371) | def _unicode_capitalize(data, length, res, maxchars): function _ascii_capitalize (line 2397) | def _ascii_capitalize(data, res): function unicode_capitalize (line 2407) | def unicode_capitalize(data): function _unicode_title (line 2413) | def _unicode_title(data, length, res, maxchars): function _ascii_title (line 2436) | def _ascii_title(data, res): function unicode_title (line 2456) | def unicode_title(data): function _ascii_swapcase (line 2464) | def _ascii_swapcase(data, res): function _unicode_swapcase (line 2476) | def _unicode_swapcase(data, length, res, maxchars): function unicode_swapcase (line 2499) | def unicode_swapcase(data): function ol_ord (line 2505) | def ol_ord(c): function _unicode_char (line 2523) | def _unicode_char(ch): function _PyUnicode_FromOrdinal (line 2536) | def _PyUnicode_FromOrdinal(ordinal): function ol_chr (line 2545) | def ol_chr(i): function unicode_str (line 2553) | def unicode_str(s): function unicode_repr (line 2558) | def unicode_repr(s): function integer_str (line 2565) | def integer_str(n): function integer_repr (line 2593) | def integer_repr(n): function boolean_str (line 2599) | def boolean_str(b): function getiter_unicode (line 2609) | def getiter_unicode(context, builder, sig, args): function iternext_unicode (line 2635) | def iternext_unicode(context, builder, sig, args, result): FILE: numba/cpython/unicode_support.py class _PyUnicode_TyperecordMasks (line 59) | class _PyUnicode_TyperecordMasks(IntEnum): function _PyUnicode_gettyperecord (line 77) | def _PyUnicode_gettyperecord(a): function _gettyperecord_impl (line 82) | def _gettyperecord_impl(typingctx, codepoint): function gettyperecord_impl (line 134) | def gettyperecord_impl(a): function _PyUnicode_ExtendedCase (line 157) | def _PyUnicode_ExtendedCase(typingctx, index): function _PyUnicode_ToTitlecase (line 183) | def _PyUnicode_ToTitlecase(ch): function _PyUnicode_IsTitlecase (line 192) | def _PyUnicode_IsTitlecase(ch): function _PyUnicode_IsXidStart (line 199) | def _PyUnicode_IsXidStart(ch): function _PyUnicode_IsXidContinue (line 206) | def _PyUnicode_IsXidContinue(ch): function _PyUnicode_ToDecimalDigit (line 212) | def _PyUnicode_ToDecimalDigit(ch): function _PyUnicode_ToDigit (line 221) | def _PyUnicode_ToDigit(ch): function _PyUnicode_IsNumeric (line 230) | def _PyUnicode_IsNumeric(ch): function _PyUnicode_IsPrintable (line 237) | def _PyUnicode_IsPrintable(ch): function _PyUnicode_IsLowercase (line 244) | def _PyUnicode_IsLowercase(ch): function _PyUnicode_IsUppercase (line 251) | def _PyUnicode_IsUppercase(ch): function _PyUnicode_IsLineBreak (line 257) | def _PyUnicode_IsLineBreak(ch): function _PyUnicode_ToUppercase (line 263) | def _PyUnicode_ToUppercase(ch): function _PyUnicode_ToLowercase (line 268) | def _PyUnicode_ToLowercase(ch): function _PyUnicode_ToLowerFull (line 274) | def _PyUnicode_ToLowerFull(ch, res): function _PyUnicode_ToTitleFull (line 288) | def _PyUnicode_ToTitleFull(ch, res): function _PyUnicode_ToUpperFull (line 302) | def _PyUnicode_ToUpperFull(ch, res): function _PyUnicode_ToFoldedFull (line 317) | def _PyUnicode_ToFoldedFull(ch, res): function _PyUnicode_IsCased (line 331) | def _PyUnicode_IsCased(ch): function _PyUnicode_IsCaseIgnorable (line 338) | def _PyUnicode_IsCaseIgnorable(ch): function _PyUnicode_IsDigit (line 345) | def _PyUnicode_IsDigit(ch): function _PyUnicode_IsDecimalDigit (line 353) | def _PyUnicode_IsDecimalDigit(ch): function _PyUnicode_IsSpace (line 361) | def _PyUnicode_IsSpace(ch): function _PyUnicode_IsAlpha (line 367) | def _PyUnicode_IsAlpha(ch): class _PY_CTF (line 381) | class _PY_CTF(IntEnum): class _PY_CTF_LB (line 609) | class _PY_CTF_LB(IntEnum): function _Py_CHARMASK (line 646) | def _Py_CHARMASK(ch): function _Py_TOUPPER (line 657) | def _Py_TOUPPER(ch): function _Py_TOLOWER (line 668) | def _Py_TOLOWER(ch): function _Py_ISLOWER (line 679) | def _Py_ISLOWER(ch): function _Py_ISUPPER (line 689) | def _Py_ISUPPER(ch): function _Py_ISALPHA (line 699) | def _Py_ISALPHA(ch): function _Py_ISDIGIT (line 709) | def _Py_ISDIGIT(ch): function _Py_ISXDIGIT (line 719) | def _Py_ISXDIGIT(ch): function _Py_ISALNUM (line 729) | def _Py_ISALNUM(ch): function _Py_ISSPACE (line 739) | def _Py_ISSPACE(ch): function _Py_ISLINEBREAK (line 747) | def _Py_ISLINEBREAK(ch): function _Py_ISLINEFEED (line 753) | def _Py_ISLINEFEED(ch): function _Py_ISCARRIAGERETURN (line 759) | def _Py_ISCARRIAGERETURN(ch): FILE: numba/cpython/unsafe/numbers.py function viewer (line 10) | def viewer(tyctx, val, viewty): function trailing_zeros (line 29) | def trailing_zeros(typeingctx, src): function leading_zeros (line 43) | def leading_zeros(typeingctx, src): FILE: numba/cpython/unsafe/tuple.py function tuple_setitem (line 12) | def tuple_setitem(typingctx, tup, idx, val): function build_full_slice_tuple (line 37) | def build_full_slice_tuple(tyctx, sz): function unpack_single_tuple (line 67) | def unpack_single_tuple(tyctx, tup): FILE: numba/cuda/__init__.py function test (line 18) | def test(*args, **kwargs): FILE: numba/cuda/api.py function from_cuda_array_interface (line 23) | def from_cuda_array_interface(desc, owner=None, sync=True): function as_cuda_array (line 63) | def as_cuda_array(obj, sync=True): function is_cuda_array (line 80) | def is_cuda_array(obj): function is_float16_supported (line 88) | def is_float16_supported(): function to_device (line 97) | def to_device(obj, stream=0, copy=True, to=None): function device_array (line 137) | def device_array(shape, dtype=np.float64, strides=None, order='C', strea... function managed_array (line 149) | def managed_array(shape, dtype=np.float64, strides=None, order='C', stre... function pinned_array (line 179) | def pinned_array(shape, dtype=np.float64, strides=None, order='C'): function mapped_array (line 195) | def mapped_array(shape, dtype=np.float64, strides=None, order='C', strea... function open_ipc_array (line 222) | def open_ipc_array(handle, shape, dtype, strides=None, offset=0): function synchronize (line 250) | def synchronize(): function _contiguous_strides_like_array (line 255) | def _contiguous_strides_like_array(ary): function _order_like_array (line 284) | def _order_like_array(ary): function device_array_like (line 291) | def device_array_like(ary, stream=0): function mapped_array_like (line 302) | def mapped_array_like(ary, stream=0, portable=False, wc=False): function pinned_array_like (line 313) | def pinned_array_like(ary): function stream (line 326) | def stream(): function default_stream (line 334) | def default_stream(): function legacy_default_stream (line 346) | def legacy_default_stream(): function per_thread_default_stream (line 354) | def per_thread_default_stream(): function external_stream (line 362) | def external_stream(ptr): function pinned (line 374) | def pinned(*arylist): function mapped (line 388) | def mapped(*arylist, **kws): function event (line 415) | def event(timing=True): function select_device (line 429) | def select_device(device_id): function get_current_device (line 441) | def get_current_device(): function list_devices (line 446) | def list_devices(): function close (line 451) | def close(): function _auto_device (line 459) | def _auto_device(ary, stream=0, copy=True): function detect (line 463) | def detect(): function defer_cleanup (line 505) | def defer_cleanup(): FILE: numba/cuda/api_util.py function prepare_shape_strides_dtype (line 4) | def prepare_shape_strides_dtype(shape, strides, dtype, order): function _fill_stride_by_order (line 15) | def _fill_stride_by_order(shape, dtype, order): FILE: numba/cuda/args.py class ArgHint (line 10) | class ArgHint(metaclass=abc.ABCMeta): method __init__ (line 11) | def __init__(self, value): method to_device (line 15) | def to_device(self, retr, stream=0): method _numba_type_ (line 27) | def _numba_type_(self): class In (line 31) | class In(ArgHint): method to_device (line 32) | def to_device(self, retr, stream=0): class Out (line 43) | class Out(ArgHint): method to_device (line 44) | def to_device(self, retr, stream=0): class InOut (line 55) | class InOut(ArgHint): method to_device (line 56) | def to_device(self, retr, stream=0): function wrap_arg (line 66) | def wrap_arg(value, default=InOut): FILE: numba/cuda/cg.py class GridGroup (line 9) | class GridGroup: method sync (line 12) | def sync() -> None: function this_grid (line 16) | def this_grid() -> GridGroup: function _this_grid (line 22) | def _this_grid(typingctx): function _ol_this_grid (line 36) | def _ol_this_grid(): function _grid_group_sync (line 44) | def _grid_group_sync(typingctx, group): function _ol_grid_group_sync (line 58) | def _ol_grid_group_sync(group): FILE: numba/cuda/codegen.py function run_nvdisasm (line 16) | def run_nvdisasm(cubin, flags): function disassemble_cubin (line 43) | def disassemble_cubin(cubin): function disassemble_cubin_for_cfg (line 49) | def disassemble_cubin_for_cfg(cubin): class CUDACodeLibrary (line 55) | class CUDACodeLibrary(serialize.ReduceMixin, CodeLibrary): method __init__ (line 62) | def __init__(self, codegen, name, entry_name=None, max_registers=None, method llvm_strs (line 112) | def llvm_strs(self): method get_llvm_str (line 117) | def get_llvm_str(self): method _ensure_cc (line 120) | def _ensure_cc(self, cc): method get_asm_str (line 127) | def get_asm_str(self, cc=None): method get_ltoir (line 156) | def get_ltoir(self, cc=None): method get_cubin (line 174) | def get_cubin(self, cc=None): method get_cufunc (line 201) | def get_cufunc(self): method get_linkerinfo (line 225) | def get_linkerinfo(self, cc): method get_sass (line 231) | def get_sass(self, cc=None): method get_sass_cfg (line 234) | def get_sass_cfg(self, cc=None): method add_ir_module (line 237) | def add_ir_module(self, mod): method add_linking_library (line 243) | def add_linking_library(self, library): method add_linking_file (line 253) | def add_linking_file(self, filepath): method get_function (line 256) | def get_function(self, name): method modules (line 263) | def modules(self): method linking_libraries (line 268) | def linking_libraries(self): method finalize (line 278) | def finalize(self): method _reduce_states (line 304) | def _reduce_states(self): method _rebuild (line 329) | def _rebuild(cls, codegen, name, entry_name, llvm_strs, ptx_cache, class JITCUDACodegen (line 351) | class JITCUDACodegen(Codegen): method __init__ (line 359) | def __init__(self, module_name): method _create_empty_module (line 362) | def _create_empty_module(self, name): method _add_module (line 369) | def _add_module(self, module): method magic_tuple (line 372) | def magic_tuple(self): FILE: numba/cuda/compiler.py function _nvvm_options_type (line 18) | def _nvvm_options_type(x): class CUDAFlags (line 27) | class CUDAFlags(Flags): class CUDACompileResult (line 56) | class CUDACompileResult(CompileResult): method entry_point (line 58) | def entry_point(self): function cuda_compile_result (line 62) | def cuda_compile_result(**entries): class CUDABackend (line 68) | class CUDABackend(LoweringPass): method __init__ (line 72) | def __init__(self): method run_pass (line 75) | def run_pass(self, state): class CreateLibrary (line 96) | class CreateLibrary(LoweringPass): method __init__ (line 105) | def __init__(self): method run_pass (line 108) | def run_pass(self, state): class CUDACompiler (line 119) | class CUDACompiler(CompilerBase): method define_pipelines (line 120) | def define_pipelines(self): method define_cuda_lowering_pipeline (line 136) | def define_cuda_lowering_pipeline(self, state): function compile_cuda (line 153) | def compile_cuda(pyfunc, return_type, args, debug=False, lineinfo=False, function cabi_wrap_function (line 211) | def cabi_wrap_function(context, lib, fndesc, wrapper_function_name, function compile (line 256) | def compile(pyfunc, sig, debug=False, lineinfo=False, device=True, function compile_for_current_device (line 362) | def compile_for_current_device(pyfunc, sig, debug=False, lineinfo=False, function compile_ptx (line 374) | def compile_ptx(pyfunc, sig, debug=False, lineinfo=False, device=False, function compile_ptx_for_current_device (line 385) | def compile_ptx_for_current_device(pyfunc, sig, debug=False, lineinfo=Fa... function declare_device_function (line 396) | def declare_device_function(name, restype, argtypes): function declare_device_function_template (line 400) | def declare_device_function_template(name, restype, argtypes): class ExternFunction (line 419) | class ExternFunction(object): method __init__ (line 420) | def __init__(self, name, sig): FILE: numba/cuda/cuda_fp16.h type __half (line 131) | struct __half type __half2 (line 144) | struct __half2 FILE: numba/cuda/cuda_fp16.hpp type __CUDA_ALIGN__ (line 151) | struct __CUDA_ALIGN__ type __CUDA_ALIGN__ (line 155) | struct __CUDA_ALIGN__ type __CUDA_ALIGN__ (line 179) | struct __CUDA_ALIGN__ function __CUDA_HOSTDEVICE__ (line 187) | __CUDA_HOSTDEVICE__ __half() { } function __CUDA_HOSTDEVICE__ (line 192) | __CUDA_HOSTDEVICE__ __half &operator=(const __half_raw &hr) { __x = hr.x... function __CUDA_HOSTDEVICE__ (line 193) | __CUDA_HOSTDEVICE__ volatile __half &operator=(const __half_raw &hr) vol... function __CUDA_HOSTDEVICE__ (line 194) | __CUDA_HOSTDEVICE__ volatile __half &operator=(const volatile __half_raw... function __CUDA_HOSTDEVICE__ (line 195) | __CUDA_HOSTDEVICE__ operator __half_raw() const { __half_raw ret; ret.x ... function __CUDA_HOSTDEVICE__ (line 196) | __CUDA_HOSTDEVICE__ operator __half_raw() const volatile { __half_raw re... function __CUDA_HOSTDEVICE__ (line 201) | __CUDA_HOSTDEVICE__ __half(const float f) { __x = __float2half(f).__x; } function __CUDA_HOSTDEVICE__ (line 202) | __CUDA_HOSTDEVICE__ __half(const double f) { __x = __double2half(f).__x; } function __CUDA_HOSTDEVICE__ (line 204) | __CUDA_HOSTDEVICE__ operator float() const { return __half2float(*this); } function __CUDA_HOSTDEVICE__ (line 205) | __CUDA_HOSTDEVICE__ __half &operator=(const float f) { __x = __float2hal... function __CUDA_HOSTDEVICE__ (line 208) | __CUDA_HOSTDEVICE__ __half &operator=(const double f) { __x = __double2h... function __CUDA_HOSTDEVICE__ (line 214) | __CUDA_HOSTDEVICE__ __half(const short val) { __x = __short2half_rn(val)... function __CUDA_HOSTDEVICE__ (line 215) | __CUDA_HOSTDEVICE__ __half(const unsigned short val) { __x = __ushort2ha... function __CUDA_HOSTDEVICE__ (line 216) | __CUDA_HOSTDEVICE__ __half(const int val) { __x = __int2half_rn(val).__x... function __CUDA_HOSTDEVICE__ (line 217) | __CUDA_HOSTDEVICE__ __half(const unsigned int val) { __x = __uint2half_r... function __CUDA_HOSTDEVICE__ (line 218) | __CUDA_HOSTDEVICE__ __half(const long long val) { __x = __ll2half_rn(val... function __CUDA_HOSTDEVICE__ (line 219) | __CUDA_HOSTDEVICE__ __half(const unsigned long long val) { __x = __ull2h... function __CUDA_HOSTDEVICE__ (line 222) | __CUDA_HOSTDEVICE__ operator short() const { return __half2short_rz(*thi... function __CUDA_HOSTDEVICE__ (line 223) | __CUDA_HOSTDEVICE__ __half &operator=(const short val) { __x = __short2h... function __CUDA_HOSTDEVICE__ (line 226) | __CUDA_HOSTDEVICE__ __half &operator=(const unsigned short val) { __x = ... function __CUDA_HOSTDEVICE__ (line 228) | __CUDA_HOSTDEVICE__ operator int() const { return __half2int_rz(*this); } function __CUDA_HOSTDEVICE__ (line 229) | __CUDA_HOSTDEVICE__ __half &operator=(const int val) { __x = __int2half_... function __CUDA_HOSTDEVICE__ (line 232) | __CUDA_HOSTDEVICE__ __half &operator=(const unsigned int val) { __x = __... function __CUDA_HOSTDEVICE__ (line 235) | __CUDA_HOSTDEVICE__ __half &operator=(const long long val) { __x = __ll2... function __CUDA_HOSTDEVICE__ (line 238) | __CUDA_HOSTDEVICE__ __half &operator=(const unsigned long long val) { __... function __CUDA_HOSTDEVICE__ (line 241) | __CUDA_HOSTDEVICE__ operator bool() const { return (__x & 0x7FFFU) != 0U; } function __device__ (line 253) | __device__ __forceinline__ __half operator+(const __half &lh, const __ha... function __device__ (line 254) | __device__ __forceinline__ __half operator-(const __half &lh, const __ha... function __device__ (line 255) | __device__ __forceinline__ __half operator*(const __half &lh, const __ha... function __device__ (line 256) | __device__ __forceinline__ __half operator/(const __half &lh, const __ha... function __device__ (line 258) | __device__ __forceinline__ __half &operator+=(__half &lh, const __half &... function __device__ (line 259) | __device__ __forceinline__ __half &operator-=(__half &lh, const __half &... function __device__ (line 260) | __device__ __forceinline__ __half &operator*=(__half &lh, const __half &... function __device__ (line 261) | __device__ __forceinline__ __half &operator/=(__half &lh, const __half &... function __device__ (line 264) | __device__ __forceinline__ __half &operator++(__half &h) { __half_r... function __device__ (line 265) | __device__ __forceinline__ __half &operator--(__half &h) { __half_r... function __device__ (line 266) | __device__ __forceinline__ __half operator++(__half &h, const int ignor... function __device__ (line 267) | __device__ __forceinline__ __half operator--(__half &h, const int ignor... function __device__ (line 270) | __device__ __forceinline__ __half operator+(const __half &h) { return h; } function __device__ (line 271) | __device__ __forceinline__ __half operator-(const __half &h) { return __... function __device__ (line 274) | __device__ __forceinline__ bool operator==(const __half &lh, const __hal... function __device__ (line 275) | __device__ __forceinline__ bool operator!=(const __half &lh, const __hal... function __device__ (line 276) | __device__ __forceinline__ bool operator> (const __half &lh, const __hal... function __device__ (line 277) | __device__ __forceinline__ bool operator< (const __half &lh, const __hal... function __device__ (line 278) | __device__ __forceinline__ bool operator>=(const __half &lh, const __hal... function __device__ (line 279) | __device__ __forceinline__ bool operator<=(const __half &lh, const __hal... type __CUDA_ALIGN__ (line 285) | struct __CUDA_ALIGN__ function __CUDA_HOSTDEVICE__ (line 293) | __CUDA_HOSTDEVICE__ __half2(const __half2 &&src) { __HALF2_TO_UI(*this) ... function __CUDA_HOSTDEVICE__ (line 294) | __CUDA_HOSTDEVICE__ __half2 &operator=(const __half2 &&src) { __HALF2_TO... function __CUDA_HOSTDEVICE__ (line 296) | __CUDA_HOSTDEVICE__ __half2() { } function __CUDA_HOSTDEVICE__ (line 298) | __CUDA_HOSTDEVICE__ __half2(const __half &a, const __half &b) : x(a), y(... function __CUDA_HOSTDEVICE__ (line 300) | __CUDA_HOSTDEVICE__ __half2 &operator=(const __half2 &src) { __HALF2_TO_... function __CUDA_HOSTDEVICE__ (line 303) | __CUDA_HOSTDEVICE__ __half2(const __half2_raw &h2r ) { __HALF2_TO_UI(*th... function __CUDA_HOSTDEVICE__ (line 304) | __CUDA_HOSTDEVICE__ __half2 &operator=(const __half2_raw &h2r) { __HALF2... function __CUDA_HOSTDEVICE__ (line 305) | __CUDA_HOSTDEVICE__ operator __half2_raw() const { __half2_raw ret; ret.... function __device__ (line 314) | __device__ __forceinline__ __half2 operator+(const __half2 &lh, const __... function __device__ (line 315) | __device__ __forceinline__ __half2 operator-(const __half2 &lh, const __... function __device__ (line 316) | __device__ __forceinline__ __half2 operator*(const __half2 &lh, const __... function __device__ (line 317) | __device__ __forceinline__ __half2 operator/(const __half2 &lh, const __... function __device__ (line 319) | __device__ __forceinline__ __half2& operator+=(__half2 &lh, const __half... function __device__ (line 320) | __device__ __forceinline__ __half2& operator-=(__half2 &lh, const __half... function __device__ (line 321) | __device__ __forceinline__ __half2& operator*=(__half2 &lh, const __half... function __device__ (line 322) | __device__ __forceinline__ __half2& operator/=(__half2 &lh, const __half... function __device__ (line 324) | __device__ __forceinline__ __half2 &operator++(__half2 &h) { __half... function __device__ (line 325) | __device__ __forceinline__ __half2 &operator--(__half2 &h) { __half... function __device__ (line 326) | __device__ __forceinline__ __half2 operator++(__half2 &h, const int ign... function __device__ (line 327) | __device__ __forceinline__ __half2 operator--(__half2 &h, const int ign... function __device__ (line 329) | __device__ __forceinline__ __half2 operator+(const __half2 &h) { return ... function __device__ (line 330) | __device__ __forceinline__ __half2 operator-(const __half2 &h) { return ... function __device__ (line 332) | __device__ __forceinline__ bool operator==(const __half2 &lh, const __ha... function __device__ (line 333) | __device__ __forceinline__ bool operator!=(const __half2 &lh, const __ha... function __device__ (line 334) | __device__ __forceinline__ bool operator>(const __half2 &lh, const __hal... function __device__ (line 335) | __device__ __forceinline__ bool operator<(const __half2 &lh, const __hal... function __device__ (line 336) | __device__ __forceinline__ bool operator>=(const __half2 &lh, const __ha... function __device__ (line 337) | __device__ __forceinline__ bool operator<=(const __half2 &lh, const __ha... function __internal_float2half (line 358) | static inline unsigned short __internal_float2half(const float f, unsign... function __CUDA_HOSTDEVICE_FP16_DECL__ (line 396) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __double2half(const double a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 480) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __float2half(const float a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 497) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __float2half_rn(const float a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 514) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __float2half_rz(const float a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 528) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __float2half_rd(const float a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 545) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __float2half_ru(const float a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 562) | __CUDA_HOSTDEVICE_FP16_DECL__ __half2 __float2half2_rn(const float a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 574) | __CUDA_HOSTDEVICE_FP16_DECL__ __half2 __floats2half2_rn(const float a, c... function __internal_half2float (line 589) | static inline float __internal_half2float(const unsigned short h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 624) | __CUDA_HOSTDEVICE_FP16_DECL__ float __half2float(const __half a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 634) | __CUDA_HOSTDEVICE_FP16_DECL__ float __low2float(const __half2 a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 646) | __CUDA_HOSTDEVICE_FP16_DECL__ float __high2float(const __half2 a) function __VECTOR_FUNCTIONS_DECL__ (line 663) | __VECTOR_FUNCTIONS_DECL__ __half2 make_half2(const __half x, const __hal... function __CUDA_HOSTDEVICE_FP16_DECL__ (line 671) | __CUDA_HOSTDEVICE_FP16_DECL__ __half2 __float22half2_rn(const float2 a) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 676) | __CUDA_HOSTDEVICE_FP16_DECL__ float2 __half22float2(const __half2 a) function __CUDA_FP16_DECL__ (line 694) | __CUDA_FP16_DECL__ int __half2int_rn(const __half h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 700) | __CUDA_HOSTDEVICE_FP16_DECL__ int __half2int_rz(const __half h) function __CUDA_FP16_DECL__ (line 724) | __CUDA_FP16_DECL__ int __half2int_rd(const __half h) function __CUDA_FP16_DECL__ (line 730) | __CUDA_FP16_DECL__ int __half2int_ru(const __half h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 736) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __int2half_rn(const int i) function __CUDA_FP16_DECL__ (line 751) | __CUDA_FP16_DECL__ __half __int2half_rz(const int i) function __CUDA_FP16_DECL__ (line 757) | __CUDA_FP16_DECL__ __half __int2half_rd(const int i) function __CUDA_FP16_DECL__ (line 763) | __CUDA_FP16_DECL__ __half __int2half_ru(const int i) function __half2short_rn (line 770) | __CUDA_FP16_DECL__ short int __half2short_rn(const __half h) function __half2short_rz (line 776) | __CUDA_HOSTDEVICE_FP16_DECL__ short int __half2short_rz(const __half h) function __half2short_rd (line 800) | __CUDA_FP16_DECL__ short int __half2short_rd(const __half h) function __half2short_ru (line 806) | __CUDA_FP16_DECL__ short int __half2short_ru(const __half h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 812) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __short2half_rn(const short int i) function __CUDA_FP16_DECL__ (line 823) | __CUDA_FP16_DECL__ __half __short2half_rz(const short int i) function __CUDA_FP16_DECL__ (line 829) | __CUDA_FP16_DECL__ __half __short2half_rd(const short int i) function __CUDA_FP16_DECL__ (line 835) | __CUDA_FP16_DECL__ __half __short2half_ru(const short int i) function __half2uint_rn (line 842) | __CUDA_FP16_DECL__ unsigned int __half2uint_rn(const __half h) function __half2uint_rz (line 848) | __CUDA_HOSTDEVICE_FP16_DECL__ unsigned int __half2uint_rz(const __half h) function __half2uint_rd (line 872) | __CUDA_FP16_DECL__ unsigned int __half2uint_rd(const __half h) function __half2uint_ru (line 878) | __CUDA_FP16_DECL__ unsigned int __half2uint_ru(const __half h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 884) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __uint2half_rn(const unsigned int i) function __CUDA_FP16_DECL__ (line 899) | __CUDA_FP16_DECL__ __half __uint2half_rz(const unsigned int i) function __CUDA_FP16_DECL__ (line 905) | __CUDA_FP16_DECL__ __half __uint2half_rd(const unsigned int i) function __CUDA_FP16_DECL__ (line 911) | __CUDA_FP16_DECL__ __half __uint2half_ru(const unsigned int i) function __half2ushort_rn (line 918) | __CUDA_FP16_DECL__ unsigned short int __half2ushort_rn(const __half h) function __half2ushort_rz (line 924) | __CUDA_HOSTDEVICE_FP16_DECL__ unsigned short int __half2ushort_rz(const ... function __half2ushort_rd (line 948) | __CUDA_FP16_DECL__ unsigned short int __half2ushort_rd(const __half h) function __half2ushort_ru (line 954) | __CUDA_FP16_DECL__ unsigned short int __half2ushort_ru(const __half h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 960) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __ushort2half_rn(const unsigned sho... function __CUDA_FP16_DECL__ (line 971) | __CUDA_FP16_DECL__ __half __ushort2half_rz(const unsigned short int i) function __CUDA_FP16_DECL__ (line 977) | __CUDA_FP16_DECL__ __half __ushort2half_rd(const unsigned short int i) function __CUDA_FP16_DECL__ (line 983) | __CUDA_FP16_DECL__ __half __ushort2half_ru(const unsigned short int i) function __half2ull_rn (line 990) | __CUDA_FP16_DECL__ unsigned long long int __half2ull_rn(const __half h) function __half2ull_rz (line 996) | __CUDA_HOSTDEVICE_FP16_DECL__ unsigned long long int __half2ull_rz(const... function __half2ull_rd (line 1020) | __CUDA_FP16_DECL__ unsigned long long int __half2ull_rd(const __half h) function __half2ull_ru (line 1026) | __CUDA_FP16_DECL__ unsigned long long int __half2ull_ru(const __half h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 1032) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __ull2half_rn(const unsigned long l... function __CUDA_FP16_DECL__ (line 1047) | __CUDA_FP16_DECL__ __half __ull2half_rz(const unsigned long long int i) function __CUDA_FP16_DECL__ (line 1053) | __CUDA_FP16_DECL__ __half __ull2half_rd(const unsigned long long int i) function __CUDA_FP16_DECL__ (line 1059) | __CUDA_FP16_DECL__ __half __ull2half_ru(const unsigned long long int i) function __half2ll_rn (line 1066) | __CUDA_FP16_DECL__ long long int __half2ll_rn(const __half h) function __half2ll_rz (line 1072) | __CUDA_HOSTDEVICE_FP16_DECL__ long long int __half2ll_rz(const __half h) function __half2ll_rd (line 1096) | __CUDA_FP16_DECL__ long long int __half2ll_rd(const __half h) function __half2ll_ru (line 1102) | __CUDA_FP16_DECL__ long long int __half2ll_ru(const __half h) function __CUDA_HOSTDEVICE_FP16_DECL__ (line 1108) | __CUDA_HOSTDEVICE_FP16_DECL__ __half __ll2half_rn(const long long int i) function __CUDA_FP16_DECL__ (line 1123) | __CUDA_FP16_DECL__ __half __ll2half_rz(const long long int i) function __CUDA_FP16_DECL__ (line 1129) | __CUDA_FP16_DECL__ __half __ll2half_rd(const long long int i) function __CUDA_FP16_DECL__ (line 1135) | __CUDA_FP16_DECL__ __half __ll2half_ru(const long long int i) function __CUDA_FP16_DECL__ (line 1142) | __CUDA_FP16_DECL__ __half htrunc(const __half h) function __CUDA_FP16_DECL__ (line 1148) | __CUDA_FP16_DECL__ __half hceil(const __half h) function __CUDA_FP16_DECL__ (line 1154) | __CUDA_FP16_DECL__ __half hfloor(const __half h) function __CUDA_FP16_DECL__ (line 1160) | __CUDA_FP16_DECL__ __half hrint(const __half h) function __CUDA_FP16_DECL__ (line 1167) | __CUDA_FP16_DECL__ __half2 h2trunc(const __half2 h) function __CUDA_FP16_DECL__ (line 1177) | __CUDA_FP16_DECL__ __half2 h2ceil(const __half2 h) function __CUDA_FP16_DECL__ (line 1187) | __CUDA_FP16_DECL__ __half2 h2floor(const __half2 h) function __CUDA_FP16_DECL__ (line 1197) | __CUDA_FP16_DECL__ __half2 h2rint(const __half2 h) function __CUDA_FP16_DECL__ (line 1207) | __CUDA_FP16_DECL__ __half2 __lows2half2(const __half2 a, const __half2 b) function __CUDA_FP16_DECL__ (line 1216) | __CUDA_FP16_DECL__ __half2 __highs2half2(const __half2 a, const __half2 b) function __CUDA_FP16_DECL__ (line 1225) | __CUDA_FP16_DECL__ __half __low2half(const __half2 a) function __CUDA_FP16_DECL__ (line 1233) | __CUDA_FP16_DECL__ int __hisinf(const __half a) function __CUDA_FP16_DECL__ (line 1245) | __CUDA_FP16_DECL__ __half2 __low2half2(const __half2 a) function __CUDA_FP16_DECL__ (line 1253) | __CUDA_FP16_DECL__ __half2 __high2half2(const __half2 a) function __CUDA_FP16_DECL__ (line 1261) | __CUDA_FP16_DECL__ __half __high2half(const __half2 a) function __CUDA_FP16_DECL__ (line 1269) | __CUDA_FP16_DECL__ __half2 __halves2half2(const __half a, const __half b) function __CUDA_FP16_DECL__ (line 1276) | __CUDA_FP16_DECL__ __half2 __half2half2(const __half a) function __CUDA_FP16_DECL__ (line 1283) | __CUDA_FP16_DECL__ __half2 __lowhigh2highlow(const __half2 a) function __half_as_short (line 1291) | __CUDA_FP16_DECL__ short int __half_as_short(const __half h) function __half_as_ushort (line 1295) | __CUDA_FP16_DECL__ unsigned short int __half_as_ushort(const __half h) function __CUDA_FP16_DECL__ (line 1299) | __CUDA_FP16_DECL__ __half __short_as_half(const short int i) function __CUDA_FP16_DECL__ (line 1305) | __CUDA_FP16_DECL__ __half __ushort_as_half(const unsigned short int i) function __CUDA_FP16_DECL__ (line 1332) | __CUDA_FP16_DECL__ __half2 __shfl(const __half2 var, const int delta, co... function __CUDA_FP16_DECL__ (line 1339) | __CUDA_FP16_DECL__ __half2 __shfl_up(const __half2 var, const unsigned i... function __CUDA_FP16_DECL__ (line 1346) | __CUDA_FP16_DECL__ __half2 __shfl_down(const __half2 var, const unsigned... function __CUDA_FP16_DECL__ (line 1353) | __CUDA_FP16_DECL__ __half2 __shfl_xor(const __half2 var, const int delta... function __CUDA_FP16_DECL__ (line 1363) | __CUDA_FP16_DECL__ __half2 __shfl_sync(const unsigned mask, const __half... function __CUDA_FP16_DECL__ (line 1370) | __CUDA_FP16_DECL__ __half2 __shfl_up_sync(const unsigned mask, const __h... function __CUDA_FP16_DECL__ (line 1377) | __CUDA_FP16_DECL__ __half2 __shfl_down_sync(const unsigned mask, const _... function __CUDA_FP16_DECL__ (line 1384) | __CUDA_FP16_DECL__ __half2 __shfl_xor_sync(const unsigned mask, const __... function __CUDA_FP16_DECL__ (line 1397) | __CUDA_FP16_DECL__ __half __shfl(const __half var, const int delta, cons... function __CUDA_FP16_DECL__ (line 1403) | __CUDA_FP16_DECL__ __half __shfl_up(const __half var, const unsigned int... function __CUDA_FP16_DECL__ (line 1409) | __CUDA_FP16_DECL__ __half __shfl_down(const __half var, const unsigned i... function __CUDA_FP16_DECL__ (line 1415) | __CUDA_FP16_DECL__ __half __shfl_xor(const __half var, const int delta, ... function __CUDA_FP16_DECL__ (line 1424) | __CUDA_FP16_DECL__ __half __shfl_sync(const unsigned mask, const __half ... function __CUDA_FP16_DECL__ (line 1430) | __CUDA_FP16_DECL__ __half __shfl_up_sync(const unsigned mask, const __ha... function __CUDA_FP16_DECL__ (line 1436) | __CUDA_FP16_DECL__ __half __shfl_down_sync(const unsigned mask, const __... function __CUDA_FP16_DECL__ (line 1442) | __CUDA_FP16_DECL__ __half __shfl_xor_sync(const unsigned mask, const __h... function __CUDA_FP16_DECL__ (line 1460) | __CUDA_FP16_DECL__ __half2 __ldg(const __half2 *const ptr) function __CUDA_FP16_DECL__ (line 1466) | __CUDA_FP16_DECL__ __half __ldg(const __half *const ptr) function __CUDA_FP16_DECL__ (line 1472) | __CUDA_FP16_DECL__ __half2 __ldcg(const __half2 *const ptr) function __CUDA_FP16_DECL__ (line 1478) | __CUDA_FP16_DECL__ __half __ldcg(const __half *const ptr) function __CUDA_FP16_DECL__ (line 1484) | __CUDA_FP16_DECL__ __half2 __ldca(const __half2 *const ptr) function __CUDA_FP16_DECL__ (line 1490) | __CUDA_FP16_DECL__ __half __ldca(const __half *const ptr) function __CUDA_FP16_DECL__ (line 1496) | __CUDA_FP16_DECL__ __half2 __ldcs(const __half2 *const ptr) function __CUDA_FP16_DECL__ (line 1502) | __CUDA_FP16_DECL__ __half __ldcs(const __half *const ptr) function __CUDA_FP16_DECL__ (line 1508) | __CUDA_FP16_DECL__ __half2 __ldlu(const __half2 *const ptr) function __CUDA_FP16_DECL__ (line 1514) | __CUDA_FP16_DECL__ __half __ldlu(const __half *const ptr) function __CUDA_FP16_DECL__ (line 1520) | __CUDA_FP16_DECL__ __half2 __ldcv(const __half2 *const ptr) function __CUDA_FP16_DECL__ (line 1526) | __CUDA_FP16_DECL__ __half __ldcv(const __half *const ptr) function __half (line 1945) | __half hcos(const __half a) { function __CUDA_FP16_DECL__ (line 1957) | __CUDA_FP16_DECL__ __half2 h2cos(const __half2 a) { function __device__ (line 1973) | static __device__ __forceinline__ float __internal_trig_reduction_kernel... function __device__ (line 1982) | static __device__ __forceinline__ float __internal_sin_cos_kernel(float ... function __device__ (line 2014) | static __device__ __forceinline__ float __float_simpl_sinf(float a) function __device__ (line 2025) | static __device__ __forceinline__ float __float_simpl_cosf(float a) function __CUDA_FP16_DECL__ (line 2038) | __CUDA_FP16_DECL__ __half hexp(const __half a) { function __CUDA_FP16_DECL__ (line 2056) | __CUDA_FP16_DECL__ __half2 h2exp(const __half2 a) { function __CUDA_FP16_DECL__ (line 2080) | __CUDA_FP16_DECL__ __half hexp2(const __half a) { function __CUDA_FP16_DECL__ (line 2094) | __CUDA_FP16_DECL__ __half2 h2exp2(const __half2 a) { function __CUDA_FP16_DECL__ (line 2112) | __CUDA_FP16_DECL__ __half hexp10(const __half a) { function __CUDA_FP16_DECL__ (line 2131) | __CUDA_FP16_DECL__ __half2 h2exp10(const __half2 a) { function __CUDA_FP16_DECL__ (line 2156) | __CUDA_FP16_DECL__ __half hlog2(const __half a) { function __CUDA_FP16_DECL__ (line 2170) | __CUDA_FP16_DECL__ __half2 h2log2(const __half2 a) { function __CUDA_FP16_DECL__ (line 2188) | __CUDA_FP16_DECL__ __half hlog(const __half a) { function __CUDA_FP16_DECL__ (line 2206) | __CUDA_FP16_DECL__ __half2 h2log(const __half2 a) { function __CUDA_FP16_DECL__ (line 2230) | __CUDA_FP16_DECL__ __half hlog10(const __half a) { function __CUDA_FP16_DECL__ (line 2248) | __CUDA_FP16_DECL__ __half2 h2log10(const __half2 a) { function __CUDA_FP16_DECL__ (line 2294) | __CUDA_FP16_DECL__ __half2 __hisnan2(const __half2 a) function __CUDA_FP16_DECL__ (line 2301) | __CUDA_FP16_DECL__ bool __hisnan(const __half a) function __CUDA_FP16_DECL__ (line 2308) | __CUDA_FP16_DECL__ __half2 __hneg2(const __half2 a) function __CUDA_FP16_DECL__ (line 2315) | __CUDA_FP16_DECL__ __half __hneg(const __half a) function __CUDA_FP16_DECL__ (line 2322) | __CUDA_FP16_DECL__ __half2 __habs2(const __half2 a) function __CUDA_FP16_DECL__ (line 2329) | __CUDA_FP16_DECL__ __half __habs(const __half a) function __CUDA_FP16_DECL__ (line 2337) | __CUDA_FP16_DECL__ __half2 __hcmadd(const __half2 a, const __half2 b, co... function __CUDA_FP16_DECL__ (line 2410) | __CUDA_FP16_DECL__ __half2 atomicAdd(__half2 *const address, const __ha... function __CUDA_FP16_DECL__ (line 2422) | __CUDA_FP16_DECL__ __half atomicAdd(__half *const address, const __half... FILE: numba/cuda/cuda_paths.py function _find_valid_path (line 13) | def _find_valid_path(options): function _get_libdevice_path_decision (line 25) | def _get_libdevice_path_decision(): function _nvvm_lib_dir (line 37) | def _nvvm_lib_dir(): function _get_nvvm_path_decision (line 44) | def _get_nvvm_path_decision(): function _get_libdevice_paths (line 55) | def _get_libdevice_paths(): function _cudalib_path (line 65) | def _cudalib_path(): function _cuda_home_static_cudalib_path (line 72) | def _cuda_home_static_cudalib_path(): function _get_cudalib_dir_path_decision (line 79) | def _get_cudalib_dir_path_decision(): function _get_static_cudalib_dir_path_decision (line 90) | def _get_static_cudalib_dir_path_decision(): function _get_cudalib_dir (line 101) | def _get_cudalib_dir(): function _get_static_cudalib_dir (line 106) | def _get_static_cudalib_dir(): function get_system_ctk (line 111) | def get_system_ctk(*subdirs): function get_conda_ctk (line 123) | def get_conda_ctk(): function get_nvidia_nvvm_ctk (line 137) | def get_nvidia_nvvm_ctk(): function get_nvidia_libdevice_ctk (line 164) | def get_nvidia_libdevice_ctk(): function get_nvidia_cudalib_ctk (line 174) | def get_nvidia_cudalib_ctk(): function get_nvidia_static_cudalib_ctk (line 185) | def get_nvidia_static_cudalib_ctk(): function get_cuda_home (line 203) | def get_cuda_home(*subdirs): function _get_nvvm_path (line 216) | def _get_nvvm_path(): function get_cuda_paths (line 223) | def get_cuda_paths(): function get_debian_pkg_libdevice (line 250) | def get_debian_pkg_libdevice(): FILE: numba/cuda/cudadecl.py class Cuda_array_decl (line 26) | class Cuda_array_decl(CallableTemplate): method generic (line 27) | def generic(self): class Cuda_shared_array (line 51) | class Cuda_shared_array(Cuda_array_decl): class Cuda_local_array (line 56) | class Cuda_local_array(Cuda_array_decl): class Cuda_const_array_like (line 61) | class Cuda_const_array_like(CallableTemplate): method generic (line 64) | def generic(self): class Cuda_threadfence_device (line 71) | class Cuda_threadfence_device(ConcreteTemplate): class Cuda_threadfence_block (line 77) | class Cuda_threadfence_block(ConcreteTemplate): class Cuda_threadfence_system (line 83) | class Cuda_threadfence_system(ConcreteTemplate): class Cuda_syncwarp (line 89) | class Cuda_syncwarp(ConcreteTemplate): class Cuda_shfl_sync_intrinsic (line 95) | class Cuda_shfl_sync_intrinsic(ConcreteTemplate): class Cuda_vote_sync_intrinsic (line 110) | class Cuda_vote_sync_intrinsic(ConcreteTemplate): class Cuda_match_any_sync (line 117) | class Cuda_match_any_sync(ConcreteTemplate): class Cuda_match_all_sync (line 128) | class Cuda_match_all_sync(ConcreteTemplate): class Cuda_activemask (line 139) | class Cuda_activemask(ConcreteTemplate): class Cuda_lanemask_lt (line 145) | class Cuda_lanemask_lt(ConcreteTemplate): class Cuda_popc (line 151) | class Cuda_popc(ConcreteTemplate): class Cuda_fma (line 170) | class Cuda_fma(ConcreteTemplate): class Cuda_hfma (line 183) | class Cuda_hfma(ConcreteTemplate): class Cuda_cbrt (line 191) | class Cuda_cbrt(ConcreteTemplate): class Cuda_brev (line 201) | class Cuda_brev(ConcreteTemplate): class Cuda_clz (line 210) | class Cuda_clz(ConcreteTemplate): class Cuda_ffs (line 229) | class Cuda_ffs(ConcreteTemplate): class Cuda_selp (line 248) | class Cuda_selp(AbstractTemplate): method generic (line 251) | def generic(self, args, kws): function _genfp16_unary (line 268) | def _genfp16_unary(l_key): function _genfp16_unary_operator (line 277) | def _genfp16_unary_operator(l_key): function _genfp16_binary (line 290) | def _genfp16_binary(l_key): class Float (line 300) | class Float(AbstractTemplate): method generic (line 302) | def generic(self, args, kws): function _genfp16_binary_comparison (line 311) | def _genfp16_binary_comparison(l_key): function _fp16_binary_operator (line 335) | def _fp16_binary_operator(l_key, retty): function _genfp16_comparison_operator (line 366) | def _genfp16_comparison_operator(op): function _genfp16_binary_operator (line 370) | def _genfp16_binary_operator(op): function _resolve_wrapped_unary (line 405) | def _resolve_wrapped_unary(fname): function _resolve_wrapped_binary (line 412) | def _resolve_wrapped_binary(fname): function _gen (line 438) | def _gen(l_key, supported_types): class Cuda_atomic_compare_and_swap (line 481) | class Cuda_atomic_compare_and_swap(AbstractTemplate): method generic (line 484) | def generic(self, args, kws): class Cuda_atomic_cas (line 494) | class Cuda_atomic_cas(AbstractTemplate): method generic (line 497) | def generic(self, args, kws): class Cuda_nanosleep (line 512) | class Cuda_nanosleep(ConcreteTemplate): class Dim3_attrs (line 519) | class Dim3_attrs(AttributeTemplate): method resolve_x (line 522) | def resolve_x(self, mod): method resolve_y (line 525) | def resolve_y(self, mod): method resolve_z (line 528) | def resolve_z(self, mod): class CudaSharedModuleTemplate (line 533) | class CudaSharedModuleTemplate(AttributeTemplate): method resolve_array (line 536) | def resolve_array(self, mod): class CudaConstModuleTemplate (line 541) | class CudaConstModuleTemplate(AttributeTemplate): method resolve_array_like (line 544) | def resolve_array_like(self, mod): class CudaLocalModuleTemplate (line 549) | class CudaLocalModuleTemplate(AttributeTemplate): method resolve_array (line 552) | def resolve_array(self, mod): class CudaAtomicTemplate (line 557) | class CudaAtomicTemplate(AttributeTemplate): method resolve_add (line 560) | def resolve_add(self, mod): method resolve_sub (line 563) | def resolve_sub(self, mod): method resolve_and_ (line 566) | def resolve_and_(self, mod): method resolve_or_ (line 569) | def resolve_or_(self, mod): method resolve_xor (line 572) | def resolve_xor(self, mod): method resolve_inc (line 575) | def resolve_inc(self, mod): method resolve_dec (line 578) | def resolve_dec(self, mod): method resolve_exch (line 581) | def resolve_exch(self, mod): method resolve_max (line 584) | def resolve_max(self, mod): method resolve_min (line 587) | def resolve_min(self, mod): method resolve_nanmin (line 590) | def resolve_nanmin(self, mod): method resolve_nanmax (line 593) | def resolve_nanmax(self, mod): method resolve_compare_and_swap (line 596) | def resolve_compare_and_swap(self, mod): method resolve_cas (line 599) | def resolve_cas(self, mod): class CudaFp16Template (line 604) | class CudaFp16Template(AttributeTemplate): method resolve_hadd (line 607) | def resolve_hadd(self, mod): method resolve_hsub (line 610) | def resolve_hsub(self, mod): method resolve_hmul (line 613) | def resolve_hmul(self, mod): method resolve_hdiv (line 616) | def resolve_hdiv(self, mod): method resolve_hneg (line 619) | def resolve_hneg(self, mod): method resolve_habs (line 622) | def resolve_habs(self, mod): method resolve_hfma (line 625) | def resolve_hfma(self, mod): method resolve_hsin (line 628) | def resolve_hsin(self, mod): method resolve_hcos (line 631) | def resolve_hcos(self, mod): method resolve_hlog (line 634) | def resolve_hlog(self, mod): method resolve_hlog10 (line 637) | def resolve_hlog10(self, mod): method resolve_hlog2 (line 640) | def resolve_hlog2(self, mod): method resolve_hexp (line 643) | def resolve_hexp(self, mod): method resolve_hexp10 (line 646) | def resolve_hexp10(self, mod): method resolve_hexp2 (line 649) | def resolve_hexp2(self, mod): method resolve_hfloor (line 652) | def resolve_hfloor(self, mod): method resolve_hceil (line 655) | def resolve_hceil(self, mod): method resolve_hsqrt (line 658) | def resolve_hsqrt(self, mod): method resolve_hrsqrt (line 661) | def resolve_hrsqrt(self, mod): method resolve_hrcp (line 664) | def resolve_hrcp(self, mod): method resolve_hrint (line 667) | def resolve_hrint(self, mod): method resolve_htrunc (line 670) | def resolve_htrunc(self, mod): method resolve_heq (line 673) | def resolve_heq(self, mod): method resolve_hne (line 676) | def resolve_hne(self, mod): method resolve_hge (line 679) | def resolve_hge(self, mod): method resolve_hgt (line 682) | def resolve_hgt(self, mod): method resolve_hle (line 685) | def resolve_hle(self, mod): method resolve_hlt (line 688) | def resolve_hlt(self, mod): method resolve_hmax (line 691) | def resolve_hmax(self, mod): method resolve_hmin (line 694) | def resolve_hmin(self, mod): class CudaModuleTemplate (line 699) | class CudaModuleTemplate(AttributeTemplate): method resolve_cg (line 702) | def resolve_cg(self, mod): method resolve_threadIdx (line 705) | def resolve_threadIdx(self, mod): method resolve_blockIdx (line 708) | def resolve_blockIdx(self, mod): method resolve_blockDim (line 711) | def resolve_blockDim(self, mod): method resolve_gridDim (line 714) | def resolve_gridDim(self, mod): method resolve_laneid (line 717) | def resolve_laneid(self, mod): method resolve_shared (line 720) | def resolve_shared(self, mod): method resolve_popc (line 723) | def resolve_popc(self, mod): method resolve_brev (line 726) | def resolve_brev(self, mod): method resolve_clz (line 729) | def resolve_clz(self, mod): method resolve_ffs (line 732) | def resolve_ffs(self, mod): method resolve_fma (line 735) | def resolve_fma(self, mod): method resolve_cbrt (line 738) | def resolve_cbrt(self, mod): method resolve_threadfence (line 741) | def resolve_threadfence(self, mod): method resolve_threadfence_block (line 744) | def resolve_threadfence_block(self, mod): method resolve_threadfence_system (line 747) | def resolve_threadfence_system(self, mod): method resolve_syncwarp (line 750) | def resolve_syncwarp(self, mod): method resolve_shfl_sync_intrinsic (line 753) | def resolve_shfl_sync_intrinsic(self, mod): method resolve_vote_sync_intrinsic (line 756) | def resolve_vote_sync_intrinsic(self, mod): method resolve_match_any_sync (line 759) | def resolve_match_any_sync(self, mod): method resolve_match_all_sync (line 762) | def resolve_match_all_sync(self, mod): method resolve_activemask (line 765) | def resolve_activemask(self, mod): method resolve_lanemask_lt (line 768) | def resolve_lanemask_lt(self, mod): method resolve_selp (line 771) | def resolve_selp(self, mod): method resolve_nanosleep (line 774) | def resolve_nanosleep(self, mod): method resolve_atomic (line 777) | def resolve_atomic(self, mod): method resolve_fp16 (line 780) | def resolve_fp16(self, mod): method resolve_const (line 783) | def resolve_const(self, mod): method resolve_local (line 786) | def resolve_local(self, mod): FILE: numba/cuda/cudadrv/_extras.c type CUresult (line 11) | typedef int CUresult; type CUipcMemHandle (line 14) | typedef struct CUipcMemHandle_st{ type CUresult (line 18) | typedef CUresult (*cuIpcOpenMemHandle_t)(CUdeviceptr* pdptr, CUipcMemHan... function set_cuIpcOpenMemHandle (line 23) | static function CUresult (line 29) | static function MOD_INIT (line 36) | MOD_INIT(_extras) { FILE: numba/cuda/cudadrv/devicearray.py function lru_cache (line 31) | def lru_cache(func): function is_cuda_ndarray (line 35) | def is_cuda_ndarray(obj): function verify_cuda_ndarray_interface (line 40) | def verify_cuda_ndarray_interface(obj): function require_cuda_ndarray (line 56) | def require_cuda_ndarray(obj): class DeviceNDArrayBase (line 62) | class DeviceNDArrayBase(_devicearray.DeviceArray): method __init__ (line 68) | def __init__(self, shape, strides, dtype, stream=0, gpu_data=None): method __cuda_array_interface__ (line 120) | def __cuda_array_interface__(self): method bind (line 141) | def bind(self, stream=0): method T (line 150) | def T(self): method transpose (line 153) | def transpose(self, axes=None): method _default_stream (line 165) | def _default_stream(self, stream): method _numba_type_ (line 169) | def _numba_type_(self): method device_ctypes_pointer (line 200) | def device_ctypes_pointer(self): method copy_to_device (line 212) | def copy_to_device(self, ary, stream=0): method copy_to_host (line 244) | def copy_to_host(self, ary=None, stream=0): method split (line 290) | def split(self, section, stream=0): method as_cuda_arg (line 311) | def as_cuda_arg(self): method get_ipc_handle (line 316) | def get_ipc_handle(self): method squeeze (line 327) | def squeeze(self, axis=None, stream=0): method view (line 355) | def view(self, dtype): method nbytes (line 393) | def nbytes(self): class DeviceRecord (line 400) | class DeviceRecord(DeviceNDArrayBase): method __init__ (line 404) | def __init__(self, dtype, stream=0, gpu_data=None): method flags (line 411) | def flags(self): method _numba_type_ (line 421) | def _numba_type_(self): method __getitem__ (line 429) | def __getitem__(self, item): method getitem (line 433) | def getitem(self, item, stream=0): method _do_getitem (line 438) | def _do_getitem(self, item, stream=0): method __setitem__ (line 463) | def __setitem__(self, key, value): method setitem (line 467) | def setitem(self, key, value, stream=0): method _do_setitem (line 472) | def _do_setitem(self, key, value, stream=0): function _assign_kernel (line 504) | def _assign_kernel(ndim): class DeviceNDArray (line 547) | class DeviceNDArray(DeviceNDArrayBase): method is_f_contiguous (line 551) | def is_f_contiguous(self): method flags (line 558) | def flags(self): method is_c_contiguous (line 567) | def is_c_contiguous(self): method __array__ (line 573) | def __array__(self, dtype=None): method __len__ (line 582) | def __len__(self): method reshape (line 585) | def reshape(self, *newshape, **kws): method ravel (line 609) | def ravel(self, order='C', stream=0): method __getitem__ (line 628) | def __getitem__(self, item): method getitem (line 632) | def getitem(self, item, stream=0): method _do_getitem (line 637) | def _do_getitem(self, item, stream=0): method __setitem__ (line 667) | def __setitem__(self, key, value): method setitem (line 671) | def setitem(self, key, value, stream=0): method _do_setitem (line 676) | def _do_setitem(self, key, value, stream=0): class IpcArrayHandle (line 732) | class IpcArrayHandle(object): method __init__ (line 751) | def __init__(self, ipc_handle, array_desc): method open (line 755) | def open(self): method close (line 763) | def close(self): method __enter__ (line 769) | def __enter__(self): method __exit__ (line 772) | def __exit__(self, type, value, traceback): class MappedNDArray (line 776) | class MappedNDArray(DeviceNDArrayBase, np.ndarray): method device_setup (line 781) | def device_setup(self, gpu_data, stream=0): class ManagedNDArray (line 786) | class ManagedNDArray(DeviceNDArrayBase, np.ndarray): method device_setup (line 791) | def device_setup(self, gpu_data, stream=0): function from_array_like (line 796) | def from_array_like(ary, stream=0, gpu_data=None): function from_record_like (line 802) | def from_record_like(rec, stream=0, gpu_data=None): function array_core (line 807) | def array_core(ary): function is_contiguous (line 825) | def is_contiguous(ary): function sentry_contiguous (line 847) | def sentry_contiguous(ary): function auto_device (line 853) | def auto_device(obj, stream=0, copy=True, user_explicit=False): function check_array_compatibility (line 892) | def check_array_compatibility(ary1, ary2): FILE: numba/cuda/cudadrv/devices.py class _DeviceList (line 20) | class _DeviceList(object): method __getattr__ (line 21) | def __getattr__(self, attr): method __getitem__ (line 36) | def __getitem__(self, devnum): method __str__ (line 42) | def __str__(self): method __iter__ (line 45) | def __iter__(self): method __len__ (line 48) | def __len__(self): method current (line 52) | def current(self): class _DeviceContextManager (line 61) | class _DeviceContextManager(object): method __init__ (line 73) | def __init__(self, device): method __getattr__ (line 76) | def __getattr__(self, item): method __enter__ (line 79) | def __enter__(self): method __exit__ (line 82) | def __exit__(self, exc_type, exc_val, exc_tb): method __str__ (line 86) | def __str__(self): class _Runtime (line 90) | class _Runtime(object): method __init__ (line 97) | def __init__(self): method ensure_context (line 111) | def ensure_context(self): method get_or_create_context (line 130) | def get_or_create_context(self, devnum): method _get_or_create_context_uncached (line 146) | def _get_or_create_context_uncached(self, devnum): method _activate_context_for (line 174) | def _activate_context_for(self, devnum): method _get_attached_context (line 185) | def _get_attached_context(self): method _set_attached_context (line 188) | def _set_attached_context(self, ctx): method reset (line 191) | def reset(self): method _destroy_all_contexts (line 203) | def _destroy_all_contexts(self): function get_context (line 216) | def get_context(devnum=None): function require_context (line 223) | def require_context(fn): function reset (line 237) | def reset(): FILE: numba/cuda/cudadrv/driver.py function make_logger (line 59) | def make_logger(): class DeadMemoryError (line 83) | class DeadMemoryError(RuntimeError): class LinkerError (line 87) | class LinkerError(RuntimeError): class CudaAPIError (line 91) | class CudaAPIError(CudaDriverError): method __init__ (line 92) | def __init__(self, code, msg): method __str__ (line 97) | def __str__(self): function locate_driver_and_loader (line 101) | def locate_driver_and_loader(): function load_driver (line 144) | def load_driver(dlloader, candidates): function find_driver (line 168) | def find_driver(): function _raise_driver_not_found (line 187) | def _raise_driver_not_found(): function _raise_driver_error (line 191) | def _raise_driver_error(e): function _build_reverse_error_map (line 195) | def _build_reverse_error_map(): function _getpid (line 205) | def _getpid(): class Driver (line 212) | class Driver(object): method __new__ (line 218) | def __new__(cls): method __init__ (line 227) | def __init__(self): method ensure_initialized (line 243) | def ensure_initialized(self): method _initialize_extras (line 264) | def _initialize_extras(self): method is_available (line 286) | def is_available(self): method __getattr__ (line 290) | def __getattr__(self, fname): method _ctypes_wrap_fn (line 303) | def _ctypes_wrap_fn(self, fname, libfn=None): method _cuda_python_wrap_fn (line 338) | def _cuda_python_wrap_fn(self, fname): method _find_api (line 359) | def _find_api(self, fname): method _detect_fork (line 386) | def _detect_fork(self): method _check_ctypes_error (line 392) | def _check_ctypes_error(self, fname, retcode): method _check_cuda_python_error (line 401) | def _check_cuda_python_error(self, fname, returned): method get_device (line 416) | def get_device(self, devnum=0): method get_device_count (line 423) | def get_device_count(self): method list_devices (line 431) | def list_devices(self): method reset (line 436) | def reset(self): method pop_active_context (line 442) | def pop_active_context(self): method get_active_context (line 455) | def get_active_context(self): method get_version (line 460) | def get_version(self): class _ActiveContext (line 477) | class _ActiveContext(object): method __enter__ (line 486) | def __enter__(self): method __exit__ (line 520) | def __exit__(self, exc_type, exc_val, exc_tb): method __bool__ (line 524) | def __bool__(self): function _build_reverse_device_attrs (line 535) | def _build_reverse_device_attrs(): class Device (line 547) | class Device(object): method from_identity (line 553) | def from_identity(self, identity): method __init__ (line 568) | def __init__(self, devnum): method get_device_identity (line 620) | def get_device_identity(self): method __repr__ (line 627) | def __repr__(self): method __getattr__ (line 630) | def __getattr__(self, attr): method __hash__ (line 650) | def __hash__(self): method __eq__ (line 653) | def __eq__(self, other): method __ne__ (line 658) | def __ne__(self, other): method get_primary_context (line 661) | def get_primary_context(self): method release_primary_context (line 681) | def release_primary_context(self): method reset (line 689) | def reset(self): method supports_float16 (line 699) | def supports_float16(self): function met_requirement_for_device (line 703) | def met_requirement_for_device(device): class BaseCUDAMemoryManager (line 709) | class BaseCUDAMemoryManager(object, metaclass=ABCMeta): method __init__ (line 712) | def __init__(self, *args, **kwargs): method memalloc (line 718) | def memalloc(self, size): method memhostalloc (line 729) | def memhostalloc(self, size, mapped, portable, wc): method mempin (line 750) | def mempin(self, owner, pointer, size, mapped): method initialize (line 768) | def initialize(self): method get_ipc_handle (line 777) | def get_ipc_handle(self, memory): method get_memory_info (line 788) | def get_memory_info(self): method reset (line 799) | def reset(self): method defer_cleanup (line 807) | def defer_cleanup(self): method interface_version (line 817) | def interface_version(self): class HostOnlyCUDAMemoryManager (line 825) | class HostOnlyCUDAMemoryManager(BaseCUDAMemoryManager): method __init__ (line 843) | def __init__(self, *args, **kwargs): method _attempt_allocation (line 848) | def _attempt_allocation(self, allocator): method memhostalloc (line 871) | def memhostalloc(self, size, mapped=False, portable=False, method mempin (line 919) | def mempin(self, owner, pointer, size, mapped=False): method memallocmanaged (line 961) | def memallocmanaged(self, size, attach_global): method reset (line 999) | def reset(self): method defer_cleanup (line 1009) | def defer_cleanup(self): class GetIpcHandleMixin (line 1020) | class GetIpcHandleMixin: method get_ipc_handle (line 1024) | def get_ipc_handle(self, memory): class NumbaCUDAMemoryManager (line 1045) | class NumbaCUDAMemoryManager(GetIpcHandleMixin, HostOnlyCUDAMemoryManager): method initialize (line 1049) | def initialize(self): method memalloc (line 1055) | def memalloc(self, size): method get_memory_info (line 1077) | def get_memory_info(self): method interface_version (line 1090) | def interface_version(self): function _ensure_memory_manager (line 1099) | def _ensure_memory_manager(): function set_memory_manager (line 1117) | def set_memory_manager(mm_plugin): class _SizeNotSet (line 1138) | class _SizeNotSet(int): method __new__ (line 1143) | def __new__(cls, *args, **kwargs): method __str__ (line 1146) | def __str__(self): class _PendingDeallocs (line 1153) | class _PendingDeallocs(object): method __init__ (line 1160) | def __init__(self, capacity=_SizeNotSet): method _max_pending_bytes (line 1167) | def _max_pending_bytes(self): method add_item (line 1170) | def add_item(self, dtor, handle, size=_SizeNotSet): method clear (line 1186) | def clear(self): method disable (line 1199) | def disable(self): method is_disabled (line 1212) | def is_disabled(self): method __len__ (line 1215) | def __len__(self): class Context (line 1235) | class Context(object): method __init__ (line 1242) | def __init__(self, device, handle): method reset (line 1253) | def reset(self): method get_memory_info (line 1264) | def get_memory_info(self): method get_active_blocks_per_multiprocessor (line 1269) | def get_active_blocks_per_multiprocessor(self, func, blocksize, memsize, method _cuda_python_active_blocks_per_multiprocessor (line 1282) | def _cuda_python_active_blocks_per_multiprocessor(self, func, blocksize, method _ctypes_active_blocks_per_multiprocessor (line 1292) | def _ctypes_active_blocks_per_multiprocessor(self, func, blocksize, method get_max_potential_block_size (line 1304) | def get_max_potential_block_size(self, func, b2d_func, memsize, method _ctypes_max_potential_block_size (line 1322) | def _ctypes_max_potential_block_size(self, func, b2d_func, memsize, method _cuda_python_max_potential_block_size (line 1338) | def _cuda_python_max_potential_block_size(self, func, b2d_func, memsize, method prepare_for_use (line 1351) | def prepare_for_use(self): method push (line 1357) | def push(self): method pop (line 1364) | def pop(self): method memalloc (line 1375) | def memalloc(self, bytesize): method memallocmanaged (line 1378) | def memallocmanaged(self, bytesize, attach_global=True): method memhostalloc (line 1381) | def memhostalloc(self, bytesize, mapped=False, portable=False, wc=False): method mempin (line 1384) | def mempin(self, owner, pointer, size, mapped=False): method get_ipc_handle (line 1389) | def get_ipc_handle(self, memory): method open_ipc_handle (line 1397) | def open_ipc_handle(self, handle, size): method enable_peer_access (line 1410) | def enable_peer_access(self, peer_context, flags=0): method can_access_peer (line 1416) | def can_access_peer(self, peer_device): method create_module_ptx (line 1431) | def create_module_ptx(self, ptx): method create_module_image (line 1440) | def create_module_image(self, image): method unload_module (line 1449) | def unload_module(self, module): method get_default_stream (line 1456) | def get_default_stream(self): method get_legacy_default_stream (line 1463) | def get_legacy_default_stream(self): method get_per_thread_default_stream (line 1470) | def get_per_thread_default_stream(self): method create_stream (line 1477) | def create_stream(self): method create_external_stream (line 1491) | def create_external_stream(self, ptr): method create_event (line 1501) | def create_event(self, timing=True): method synchronize (line 1513) | def synchronize(self): method defer_cleanup (line 1517) | def defer_cleanup(self): method __repr__ (line 1522) | def __repr__(self): method __eq__ (line 1525) | def __eq__(self, other): method __ne__ (line 1531) | def __ne__(self, other): function load_module_image (line 1535) | def load_module_image(context, image): function load_module_image_ctypes (line 1545) | def load_module_image_ctypes(context, image): function load_module_image_cuda_python (line 1576) | def load_module_image_cuda_python(context, image): function _alloc_finalizer (line 1611) | def _alloc_finalizer(memory_manager, ptr, alloc_key, size): function _hostalloc_finalizer (line 1623) | def _hostalloc_finalizer(memory_manager, ptr, alloc_key, size, mapped): function _pin_finalizer (line 1646) | def _pin_finalizer(memory_manager, ptr, alloc_key, mapped): function _event_finalizer (line 1669) | def _event_finalizer(deallocs, handle): function _stream_finalizer (line 1676) | def _stream_finalizer(deallocs, handle): function _module_finalizer (line 1683) | def _module_finalizer(context, handle): class _CudaIpcImpl (line 1707) | class _CudaIpcImpl(object): method __init__ (line 1711) | def __init__(self, parent): method open (line 1719) | def open(self, context): method close (line 1736) | def close(self): class _StagedIpcImpl (line 1743) | class _StagedIpcImpl(object): method __init__ (line 1747) | def __init__(self, parent, source_info): method open (line 1754) | def open(self, context): method close (line 1780) | def close(self): class IpcHandle (line 1785) | class IpcHandle(object): method __init__ (line 1802) | def __init__(self, base, handle, size, source_info=None, offset=0): method _sentry_source_info (line 1810) | def _sentry_source_info(self): method can_access_peer (line 1814) | def can_access_peer(self, context): method open_staged (line 1824) | def open_staged(self, context): method open_direct (line 1835) | def open_direct(self, context): method open (line 1845) | def open(self, context): method open_array (line 1860) | def open_array(self, context, shape, dtype, strides=None): method close (line 1874) | def close(self): method __reduce__ (line 1880) | def __reduce__(self): method _rebuild (line 1896) | def _rebuild(cls, handle_ary, size, source_info, offset): class MemoryPointer (line 1906) | class MemoryPointer(object): method __init__ (line 1939) | def __init__(self, context, pointer, size, owner=None, finalizer=None): method owner (line 1953) | def owner(self): method own (line 1956) | def own(self): method free (line 1959) | def free(self): method memset (line 1969) | def memset(self, byte, count=None, stream=0): method view (line 1977) | def view(self, start, stop=None): method device_ctypes_pointer (line 2009) | def device_ctypes_pointer(self): method device_pointer_value (line 2013) | def device_pointer_value(self): class AutoFreePointer (line 2020) | class AutoFreePointer(MemoryPointer): method __init__ (line 2028) | def __init__(self, *args, **kwargs): class MappedMemory (line 2035) | class MappedMemory(AutoFreePointer): method __init__ (line 2057) | def __init__(self, context, pointer, size, owner=None, finalizer=None): method own (line 2077) | def own(self): class PinnedMemory (line 2081) | class PinnedMemory(mviewbuf.MemAlloc): method __init__ (line 2100) | def __init__(self, context, pointer, size, owner=None, finalizer=None): method own (line 2118) | def own(self): class ManagedMemory (line 2122) | class ManagedMemory(AutoFreePointer): method __init__ (line 2144) | def __init__(self, context, pointer, size, owner=None, finalizer=None): method own (line 2156) | def own(self): class OwnedPointer (line 2160) | class OwnedPointer(object): method __init__ (line 2161) | def __init__(self, memptr, view=None): method __getattr__ (line 2185) | def __getattr__(self, fname): class MappedOwnedPointer (line 2191) | class MappedOwnedPointer(OwnedPointer, mviewbuf.MemAlloc): class ManagedOwnedPointer (line 2195) | class ManagedOwnedPointer(OwnedPointer, mviewbuf.MemAlloc): class Stream (line 2199) | class Stream(object): method __init__ (line 2200) | def __init__(self, context, handle, finalizer, external=False): method __int__ (line 2207) | def __int__(self): method __repr__ (line 2214) | def __repr__(self): method synchronize (line 2240) | def synchronize(self): method auto_synchronize (line 2248) | def auto_synchronize(self): method add_callback (line 2256) | def add_callback(self, callback, arg=None): method _stream_callback (line 2289) | def _stream_callback(handle, status, data): method async_done (line 2298) | def async_done(self) -> asyncio.futures.Future: class Event (line 2321) | class Event(object): method __init__ (line 2322) | def __init__(self, context, handle, finalizer=None): method query (line 2328) | def query(self): method record (line 2343) | def record(self, stream=0): method synchronize (line 2358) | def synchronize(self): method wait (line 2364) | def wait(self, stream=0): method elapsed_time (line 2375) | def elapsed_time(self, evtend): function event_elapsed_time (line 2379) | def event_elapsed_time(evtstart, evtend): class Module (line 2391) | class Module(metaclass=ABCMeta): method __init__ (line 2394) | def __init__(self, context, handle, info_log, finalizer=None): method unload (line 2401) | def unload(self): method get_function (line 2406) | def get_function(self, name): method get_global_symbol (line 2410) | def get_global_symbol(self, name): class CtypesModule (line 2414) | class CtypesModule(Module): method get_function (line 2416) | def get_function(self, name): method get_global_symbol (line 2422) | def get_global_symbol(self, name): class CudaPythonModule (line 2430) | class CudaPythonModule(Module): method get_function (line 2432) | def get_function(self, name): method get_global_symbol (line 2436) | def get_global_symbol(self, name): class Function (line 2445) | class Function(metaclass=ABCMeta): method __init__ (line 2451) | def __init__(self, module, handle, name): method __repr__ (line 2457) | def __repr__(self): method device (line 2461) | def device(self): method cache_config (line 2465) | def cache_config(self, prefer_equal=False, prefer_cache=False, method read_func_attr (line 2470) | def read_func_attr(self, attrid): method read_func_attr_all (line 2474) | def read_func_attr_all(self): class CtypesFunction (line 2479) | class CtypesFunction(Function): method cache_config (line 2481) | def cache_config(self, prefer_equal=False, prefer_cache=False, method read_func_attr (line 2494) | def read_func_attr(self, attrid): method read_func_attr_all (line 2499) | def read_func_attr_all(self): class CudaPythonFunction (line 2510) | class CudaPythonFunction(Function): method cache_config (line 2512) | def cache_config(self, prefer_equal=False, prefer_cache=False, method read_func_attr (line 2526) | def read_func_attr(self, attrid): method read_func_attr_all (line 2529) | def read_func_attr_all(self): function launch_kernel (line 2541) | def launch_kernel(cufunc_handle, class Linker (line 2597) | class Linker(metaclass=ABCMeta): method new (line 2601) | def new(cls, max_registers=0, lineinfo=False, cc=None): method __init__ (line 2610) | def __init__(self, max_registers, lineinfo, cc): method info_log (line 2617) | def info_log(self): method error_log (line 2622) | def error_log(self): method add_ptx (line 2626) | def add_ptx(self, ptx, name): method add_cu (line 2629) | def add_cu(self, cu, name): method add_file (line 2648) | def add_file(self, path, kind): method add_cu_file (line 2651) | def add_cu_file(self, path): method add_file_guess_ext (line 2656) | def add_file_guess_ext(self, path): method complete (line 2671) | def complete(self): class MVCLinker (line 2685) | class MVCLinker(Linker): method __init__ (line 2690) | def __init__(self, max_registers=None, lineinfo=False, cc=None): method info_log (line 2714) | def info_log(self): method error_log (line 2718) | def error_log(self): method add_ptx (line 2721) | def add_ptx(self, ptx, name=''): method add_file (line 2733) | def add_file(self, path, kind): method complete (line 2762) | def complete(self): class CtypesLinker (line 2774) | class CtypesLinker(Linker): method __init__ (line 2778) | def __init__(self, max_registers=0, lineinfo=False, cc=None): method info_log (line 2822) | def info_log(self): method error_log (line 2826) | def error_log(self): method add_ptx (line 2829) | def add_ptx(self, ptx, name=''): method add_file (line 2839) | def add_file(self, path, kind): method complete (line 2852) | def complete(self): class CudaPythonLinker (line 2870) | class CudaPythonLinker(Linker): method __init__ (line 2874) | def __init__(self, max_registers=0, lineinfo=False, cc=None): method info_log (line 2917) | def info_log(self): method error_log (line 2921) | def error_log(self): method add_ptx (line 2924) | def add_ptx(self, ptx, name=''): method add_file (line 2934) | def add_file(self, path, kind): method complete (line 2947) | def complete(self): function get_devptr_for_active_ctx (line 2963) | def get_devptr_for_active_ctx(ptr): function device_extents (line 2985) | def device_extents(devmem): function device_memory_size (line 3004) | def device_memory_size(devmem): function _is_datetime_dtype (line 3021) | def _is_datetime_dtype(obj): function _workaround_for_datetime (line 3028) | def _workaround_for_datetime(obj): function host_pointer (line 3037) | def host_pointer(obj, readonly=False): function host_memory_extents (line 3057) | def host_memory_extents(obj): function memory_size_from_info (line 3063) | def memory_size_from_info(shape, strides, itemsize): function host_memory_size (line 3073) | def host_memory_size(obj): function device_pointer (line 3080) | def device_pointer(obj): function device_ctypes_pointer (line 3088) | def device_ctypes_pointer(obj): function is_device_memory (line 3096) | def is_device_memory(obj): function require_device_memory (line 3107) | def require_device_memory(obj): function device_memory_depends (line 3114) | def device_memory_depends(devmem, *objs): function host_to_device (line 3124) | def host_to_device(dst, src, size, stream=0): function device_to_host (line 3142) | def device_to_host(dst, src, size, stream=0): function device_to_device (line 3160) | def device_to_device(dst, src, size, stream=0): function device_memset (line 3178) | def device_memset(dst, val, size, stream=0): function profile_start (line 3199) | def profile_start(): function profile_stop (line 3206) | def profile_stop(): function profiling (line 3214) | def profiling(): function get_version (line 3224) | def get_version(): FILE: numba/cuda/cudadrv/dummyarray.py class Dim (line 26) | class Dim(object): method __init__ (line 42) | def __init__(self, start, stop, size, stride, single): method __getitem__ (line 50) | def __getitem__(self, item): method get_offset (line 80) | def get_offset(self, idx): method __repr__ (line 83) | def __repr__(self): method normalize (line 87) | def normalize(self, base): method copy (line 91) | def copy(self, start=None, stop=None, size=None, stride=None, single=N... method is_contiguous (line 104) | def is_contiguous(self, itemsize): function compute_index (line 108) | def compute_index(indices, dims): class Element (line 112) | class Element(object): method __init__ (line 115) | def __init__(self, extent): method iter_contiguous_extent (line 118) | def iter_contiguous_extent(self): class Array (line 122) | class Array(object): method from_desc (line 149) | def from_desc(cls, offset, shape, strides, itemsize): method __init__ (line 158) | def __init__(self, dims, itemsize): method _compute_layout (line 168) | def _compute_layout(self): method _compute_extent (line 206) | def _compute_extent(self): method __repr__ (line 214) | def __repr__(self): method __getitem__ (line 217) | def __getitem__(self, item): method is_c_contig (line 242) | def is_c_contig(self): method is_f_contig (line 246) | def is_f_contig(self): method iter_contiguous_extent (line 249) | def iter_contiguous_extent(self): method reshape (line 275) | def reshape(self, *newdims, **kws): method squeeze (line 352) | def squeeze(self, axis=None): method ravel (line 380) | def ravel(self, order='C'): function iter_strides_f_contig (line 396) | def iter_strides_f_contig(arr, shape=None): function iter_strides_c_contig (line 408) | def iter_strides_c_contig(arr, shape=None): function is_element_indexing (line 425) | def is_element_indexing(item, ndim): function _compute_size (line 440) | def _compute_size(start, stop, step): FILE: numba/cuda/cudadrv/error.py class CudaDriverError (line 1) | class CudaDriverError(Exception): class CudaRuntimeError (line 5) | class CudaRuntimeError(Exception): class CudaSupportError (line 9) | class CudaSupportError(ImportError): class NvvmError (line 13) | class NvvmError(Exception): method __str__ (line 14) | def __str__(self): class NvvmSupportError (line 18) | class NvvmSupportError(ImportError): class NvvmWarning (line 22) | class NvvmWarning(Warning): class NvrtcError (line 26) | class NvrtcError(Exception): method __str__ (line 27) | def __str__(self): class NvrtcCompilationError (line 31) | class NvrtcCompilationError(NvrtcError): class NvrtcSupportError (line 35) | class NvrtcSupportError(ImportError): FILE: numba/cuda/cudadrv/libs.py function get_libdevice (line 34) | def get_libdevice(): function open_libdevice (line 40) | def open_libdevice(): function get_cudalib (line 45) | def get_cudalib(lib, static=False): function open_cudalib (line 63) | def open_cudalib(lib): function check_static_lib (line 68) | def check_static_lib(path): function _get_source_variable (line 73) | def _get_source_variable(lib, static=False): function test (line 83) | def test(): FILE: numba/cuda/cudadrv/ndarray.py function _calc_array_sizeof (line 5) | def _calc_array_sizeof(ndim): function ndarray_device_allocate_data (line 13) | def ndarray_device_allocate_data(ary): FILE: numba/cuda/cudadrv/nvrtc.py class NvrtcResult (line 19) | class NvrtcResult(IntEnum): class NvrtcProgram (line 37) | class NvrtcProgram: method __init__ (line 43) | def __init__(self, nvrtc, handle): method handle (line 48) | def handle(self): method __del__ (line 51) | def __del__(self): class NVRTC (line 56) | class NVRTC: method __new__ (line 103) | def __new__(cls): method get_version (line 138) | def get_version(self): method create_program (line 147) | def create_program(self, src, name): method compile_program (line 164) | def compile_program(self, program, options): method destroy_program (line 182) | def destroy_program(self, program): method get_compile_log (line 188) | def get_compile_log(self, program): method get_ptx (line 200) | def get_ptx(self, program): function compile (line 213) | def compile(src, name, cc): FILE: numba/cuda/cudadrv/nvvm.py function is_available (line 60) | def is_available(): class NVVM (line 75) | class NVVM(object): method __new__ (line 134) | def __new__(cls): method __init__ (line 155) | def __init__(self): method data_layout (line 164) | def data_layout(self): method supported_ccs (line 171) | def supported_ccs(self): method get_version (line 174) | def get_version(self): method get_ir_version (line 181) | def get_ir_version(self): method check_error (line 191) | def check_error(self, error, msg, exit=False): class CompilationUnit (line 201) | class CompilationUnit(object): method __init__ (line 202) | def __init__(self): method __del__ (line 208) | def __del__(self): method add_module (line 213) | def add_module(self, buffer): method lazy_add_module (line 223) | def lazy_add_module(self, buffer): method compile (line 233) | def compile(self, **options): method _try_error (line 293) | def _try_error(self, err, msg): method get_log (line 296) | def get_log(self): function ccs_supported_by_ctk (line 337) | def ccs_supported_by_ctk(ctk_version): function get_supported_ccs (line 350) | def get_supported_ccs(): function find_closest_arch (line 375) | def find_closest_arch(mycc): function get_arch_option (line 409) | def get_arch_option(major, minor): class LibDevice (line 431) | class LibDevice(object): method __init__ (line 434) | def __init__(self): method get (line 442) | def get(self): function ir_cas (line 547) | def ir_cas(Ti): function ir_numba_atomic_binary (line 551) | def ir_numba_atomic_binary(T, Ti, OP, FUNC): function ir_numba_atomic_minmax (line 556) | def ir_numba_atomic_minmax(T, Ti, NAN, OP, PTR_OR_VAL, FUNC): function ir_numba_atomic_inc (line 563) | def ir_numba_atomic_inc(T, Tu): function ir_numba_atomic_dec (line 567) | def ir_numba_atomic_dec(T, Tu): function llvm_replace (line 571) | def llvm_replace(llvmir): function compile_ir (line 618) | def compile_ir(llvmir, **opts): function llvm140_to_70_ir (line 644) | def llvm140_to_70_ir(ir): function set_cuda_kernel (line 662) | def set_cuda_kernel(function): function add_ir_version (line 701) | def add_ir_version(mod): FILE: numba/cuda/cudadrv/runtime.py class CudaRuntimeAPIError (line 20) | class CudaRuntimeAPIError(CudaRuntimeError): method __init__ (line 24) | def __init__(self, code, msg): method __str__ (line 29) | def __str__(self): class Runtime (line 33) | class Runtime: method __init__ (line 38) | def __init__(self): method _initialize (line 41) | def _initialize(self): method __getattr__ (line 55) | def __getattr__(self, fname): method _wrap_api_call (line 76) | def _wrap_api_call(self, fname, libfn): method _check_error (line 84) | def _check_error(self, fname, retcode): method _find_api (line 91) | def _find_api(self, fname): method get_version (line 106) | def get_version(self): method is_supported_version (line 117) | def is_supported_version(self): method supported_versions (line 125) | def supported_versions(self): function get_version (line 138) | def get_version(): FILE: numba/cuda/cudaimpl.py function initialize_dim3 (line 25) | def initialize_dim3(builder, prefix): function cuda_threadIdx (line 33) | def cuda_threadIdx(context, builder, sig, args): function cuda_blockDim (line 38) | def cuda_blockDim(context, builder, sig, args): function cuda_blockIdx (line 43) | def cuda_blockIdx(context, builder, sig, args): function cuda_gridDim (line 48) | def cuda_gridDim(context, builder, sig, args): function cuda_laneid (line 53) | def cuda_laneid(context, builder, sig, args): function dim3_x (line 58) | def dim3_x(context, builder, sig, args): function dim3_y (line 63) | def dim3_y(context, builder, sig, args): function dim3_z (line 68) | def dim3_z(context, builder, sig, args): function cuda_const_array_like (line 75) | def cuda_const_array_like(context, builder, sig, args): function _get_unique_smem_id (line 84) | def _get_unique_smem_id(name): function cuda_shared_array_integer (line 95) | def cuda_shared_array_integer(context, builder, sig, args): function cuda_shared_array_tuple (line 106) | def cuda_shared_array_tuple(context, builder, sig, args): function cuda_local_array_integer (line 116) | def cuda_local_array_integer(context, builder, sig, args): function ptx_lmem_alloc_array (line 127) | def ptx_lmem_alloc_array(context, builder, sig, args): function ptx_threadfence_block (line 137) | def ptx_threadfence_block(context, builder, sig, args): function ptx_threadfence_system (line 148) | def ptx_threadfence_system(context, builder, sig, args): function ptx_threadfence_device (line 159) | def ptx_threadfence_device(context, builder, sig, args): function ptx_syncwarp (line 170) | def ptx_syncwarp(context, builder, sig, args): function ptx_syncwarp_mask (line 177) | def ptx_syncwarp_mask(context, builder, sig, args): function ptx_shfl_sync_i32 (line 194) | def ptx_shfl_sync_i32(context, builder, sig, args): function ptx_vote_sync (line 241) | def ptx_vote_sync(context, builder, sig, args): function ptx_match_any_sync (line 255) | def ptx_match_any_sync(context, builder, sig, args): function ptx_match_all_sync (line 271) | def ptx_match_all_sync(context, builder, sig, args): function ptx_activemask (line 286) | def ptx_activemask(context, builder, sig, args): function ptx_lanemask_lt (line 293) | def ptx_lanemask_lt(context, builder, sig, args): function ptx_popc (line 301) | def ptx_popc(context, builder, sig, args): function ptx_fma (line 306) | def ptx_fma(context, builder, sig, args): function float16_float_ty_constraint (line 310) | def float16_float_ty_constraint(bitwidth): function float16_to_float_cast (line 321) | def float16_to_float_cast(context, builder, fromty, toty, val): function float_to_float16_cast (line 333) | def float_to_float16_cast(context, builder, fromty, toty, val): function float16_int_constraint (line 344) | def float16_int_constraint(bitwidth): function float16_to_integer_cast (line 355) | def float16_to_integer_cast(context, builder, fromty, toty, val): function integer_to_float16_cast (line 369) | def integer_to_float16_cast(context, builder, fromty, toty, val): function lower_fp16_binary (line 382) | def lower_fp16_binary(fn, op): function ptx_fp16_hneg (line 403) | def ptx_fp16_hneg(context, builder, sig, args): function operator_hneg (line 410) | def operator_hneg(context, builder, sig, args): function ptx_fp16_habs (line 415) | def ptx_fp16_habs(context, builder, sig, args): function operator_habs (line 422) | def operator_habs(context, builder, sig, args): function ptx_hfma (line 427) | def ptx_hfma(context, builder, sig, args): function fp16_div_impl (line 436) | def fp16_div_impl(context, builder, sig, args): function _gen_fp16_cmp (line 450) | def _gen_fp16_cmp(op): function lower_fp16_minmax (line 476) | def lower_fp16_minmax(fn, fname, op): function ptx_cbrt (line 499) | def ptx_cbrt(context, builder, sig, args): function ptx_brev_u4 (line 510) | def ptx_brev_u4(context, builder, sig, args): function ptx_brev_u8 (line 522) | def ptx_brev_u8(context, builder, sig, args): function ptx_clz (line 534) | def ptx_clz(context, builder, sig, args): function ptx_ffs_32 (line 542) | def ptx_ffs_32(context, builder, sig, args): function ptx_ffs_64 (line 552) | def ptx_ffs_64(context, builder, sig, args): function ptx_selp (line 561) | def ptx_selp(context, builder, sig, args): function ptx_max_f4 (line 567) | def ptx_max_f4(context, builder, sig, args): function ptx_max_f8 (line 580) | def ptx_max_f8(context, builder, sig, args): function ptx_min_f4 (line 595) | def ptx_min_f4(context, builder, sig, args): function ptx_min_f8 (line 608) | def ptx_min_f8(context, builder, sig, args): function ptx_round (line 624) | def ptx_round(context, builder, sig, args): function round_to_impl (line 642) | def round_to_impl(context, builder, sig, args): function gen_deg_rad (line 679) | def gen_deg_rad(const): function _normalize_indices (line 695) | def _normalize_indices(context, builder, indty, inds, aryty, valty): function _atomic_dispatcher (line 718) | def _atomic_dispatcher(dispatch_fn): function ptx_atomic_add_tuple (line 740) | def ptx_atomic_add_tuple(context, builder, dtype, ptr, val): function ptx_atomic_sub (line 757) | def ptx_atomic_sub(context, builder, dtype, ptr, val): function ptx_atomic_inc (line 774) | def ptx_atomic_inc(context, builder, dtype, ptr, val): function ptx_atomic_dec (line 788) | def ptx_atomic_dec(context, builder, dtype, ptr, val): function ptx_atomic_bitwise (line 798) | def ptx_atomic_bitwise(stub, op): function ptx_atomic_exch (line 819) | def ptx_atomic_exch(context, builder, dtype, ptr, val): function ptx_atomic_max (line 830) | def ptx_atomic_max(context, builder, dtype, ptr, val): function ptx_atomic_min (line 850) | def ptx_atomic_min(context, builder, dtype, ptr, val): function ptx_atomic_nanmax (line 870) | def ptx_atomic_nanmax(context, builder, dtype, ptr, val): function ptx_atomic_nanmin (line 890) | def ptx_atomic_nanmin(context, builder, dtype, ptr, val): function ptx_atomic_compare_and_swap (line 907) | def ptx_atomic_compare_and_swap(context, builder, sig, args): function ptx_atomic_cas (line 916) | def ptx_atomic_cas(context, builder, sig, args): function ptx_nanosleep (line 938) | def ptx_nanosleep(context, builder, sig, args): function _generic_array (line 948) | def _generic_array(context, builder, shape, dtype, symbol_name, addrspace, function cuda_dispatcher_const (line 1049) | def cuda_dispatcher_const(context, builder, ty, pyval): FILE: numba/cuda/cudamath.py class Math_unary (line 28) | class Math_unary(ConcreteTemplate): class Math_unary_with_fp16 (line 48) | class Math_unary_with_fp16(ConcreteTemplate): class Math_atan2 (line 59) | class Math_atan2(ConcreteTemplate): class Math_hypot (line 70) | class Math_hypot(ConcreteTemplate): class Math_binary (line 82) | class Math_binary(ConcreteTemplate): class Math_remainder (line 90) | class Math_remainder(ConcreteTemplate): class Math_pow (line 98) | class Math_pow(ConcreteTemplate): class Math_frexp (line 108) | class Math_frexp(ConcreteTemplate): class Math_ldexp (line 116) | class Math_ldexp(ConcreteTemplate): class Math_isnan (line 126) | class Math_isnan(ConcreteTemplate): class Math_modf (line 136) | class Math_modf(ConcreteTemplate): FILE: numba/cuda/decorators.py function jit (line 14) | def jit(func_or_sig=None, device=False, inline=False, link=None, debug=N... function declare_device (line 177) | def declare_device(name, sig): FILE: numba/cuda/descriptor.py class CUDATargetOptions (line 6) | class CUDATargetOptions(TargetOptions): class CUDATarget (line 10) | class CUDATarget(TargetDescriptor): method __init__ (line 11) | def __init__(self, name): method typing_context (line 21) | def typing_context(self): method target_context (line 27) | def target_context(self): FILE: numba/cuda/device_init.py function is_available (line 45) | def is_available(): function is_supported_version (line 64) | def is_supported_version(): function cuda_error (line 81) | def cuda_error(): FILE: numba/cuda/deviceufunc.py function _broadcast_axis (line 19) | def _broadcast_axis(a, b): function _pairwise_broadcast (line 35) | def _pairwise_broadcast(shape1, shape2): function _multi_broadcast (line 52) | def _multi_broadcast(*shapelist): class UFuncMechanism (line 71) | class UFuncMechanism(object): method __init__ (line 78) | def __init__(self, typemap, args): method _fill_arrays (line 89) | def _fill_arrays(self): method _fill_argtypes (line 102) | def _fill_argtypes(self): method _resolve_signature (line 113) | def _resolve_signature(self): method _get_actual_args (line 156) | def _get_actual_args(self): method _broadcast (line 165) | def _broadcast(self, arys): method get_arguments (line 198) | def get_arguments(self): method get_function (line 208) | def get_function(self): method is_device_array (line 213) | def is_device_array(self, obj): method as_device_array (line 219) | def as_device_array(self, obj): method broadcast_device (line 227) | def broadcast_device(self, ary, shape): method force_array_layout (line 234) | def force_array_layout(self, ary): method call (line 242) | def call(cls, typemap, args, kws): method to_device (line 331) | def to_device(self, hostary, stream): method to_host (line 337) | def to_host(self, devary, stream): method allocate_device_array (line 343) | def allocate_device_array(self, shape, dtype, stream): method launch (line 349) | def launch(self, func, count, stream, args): function to_dtype (line 356) | def to_dtype(ty): class DeviceVectorize (line 362) | class DeviceVectorize(_BaseUFuncBuilder): method __init__ (line 363) | def __init__(self, func, identity=None, cache=False, targetoptions=None): method pyfunc (line 382) | def pyfunc(self): method add (line 385) | def add(self, sig=None): method build_ufunc (line 405) | def build_ufunc(self): method _get_kernel_source (line 408) | def _get_kernel_source(self, template, sig, funcname): method _compile_core (line 415) | def _compile_core(self, sig): method _get_globals (line 418) | def _get_globals(self, corefn): method _compile_kernel (line 421) | def _compile_kernel(self, fnobj, sig): class DeviceGUFuncVectorize (line 425) | class DeviceGUFuncVectorize(_BaseUFuncBuilder): method __init__ (line 426) | def __init__( method pyfunc (line 460) | def pyfunc(self): method add (line 463) | def add(self, sig=None): method _compile_kernel (line 495) | def _compile_kernel(self, fnobj, sig): method _get_globals (line 498) | def _get_globals(self, sig): function _determine_gufunc_outer_types (line 502) | def _determine_gufunc_outer_types(argtys, dims): function expand_gufunc_template (line 512) | def expand_gufunc_template(template, indims, outdims, funcname, argtypes): function _gen_src_for_indexing (line 531) | def _gen_src_for_indexing(aref, adims, atype): function _gen_src_index (line 536) | def _gen_src_index(adims, atype): class GUFuncEngine (line 548) | class GUFuncEngine(object): method from_signature (line 554) | def from_signature(cls, signature): method __init__ (line 557) | def __init__(self, inputsig, outputsig): method schedule (line 565) | def schedule(self, ishapes): class GUFuncSchedule (line 623) | class GUFuncSchedule(object): method __init__ (line 624) | def __init__(self, parent, ishapes, oshapes, loopdims, pinned): method __str__ (line 637) | def __str__(self): class GeneralizedUFunc (line 645) | class GeneralizedUFunc(object): method __init__ (line 646) | def __init__(self, kernelmap, engine): method __call__ (line 651) | def __call__(self, *args, **kws): method _schedule (line 666) | def _schedule(self, inputs, outs): method _search_matching_signature (line 689) | def _search_matching_signature(self, idtypes): method _broadcast (line 703) | def _broadcast(self, schedule, params, retvals): method _broadcast_array (line 722) | def _broadcast_array(self, ary, newdim, innerdim): method _broadcast_add_axis (line 738) | def _broadcast_add_axis(self, ary, newshape): method _broadcast_scalar_input (line 741) | def _broadcast_scalar_input(self, ary, shape): class GUFuncCallSteps (line 745) | class GUFuncCallSteps(metaclass=ABCMeta): method launch_kernel (line 764) | def launch_kernel(self, kernel, nelem, args): method is_device_array (line 768) | def is_device_array(self, obj): method as_device_array (line 775) | def as_device_array(self, obj): method to_device (line 783) | def to_device(self, hostary): method allocate_device_array (line 789) | def allocate_device_array(self, shape, dtype): method __init__ (line 795) | def __init__(self, nin, nout, args, kwargs): method adjust_input_types (line 854) | def adjust_input_types(self, indtypes): method prepare_outputs (line 871) | def prepare_outputs(self, schedule, outdtypes): method prepare_inputs (line 888) | def prepare_inputs(self): method post_process_outputs (line 902) | def post_process_outputs(self, outputs): FILE: numba/cuda/dispatcher.py class _Kernel (line 40) | class _Kernel(serialize.ReduceMixin): method __init__ (line 47) | def __init__(self, py_func, argtypes, link=None, debug=False, method library (line 140) | def library(self): method type_annotation (line 144) | def type_annotation(self): method _find_referenced_environments (line 147) | def _find_referenced_environments(self): method codegen (line 151) | def codegen(self): method argument_types (line 155) | def argument_types(self): method _rebuild (line 159) | def _rebuild(cls, cooperative, name, signature, codelibrary, method _reduce_states (line 180) | def _reduce_states(self): method bind (line 193) | def bind(self): method regs_per_thread (line 200) | def regs_per_thread(self): method const_mem_size (line 207) | def const_mem_size(self): method shared_mem_per_block (line 214) | def shared_mem_per_block(self): method max_threads_per_block (line 221) | def max_threads_per_block(self): method local_mem_per_thread (line 228) | def local_mem_per_thread(self): method inspect_llvm (line 234) | def inspect_llvm(self): method inspect_asm (line 240) | def inspect_asm(self, cc): method inspect_sass_cfg (line 246) | def inspect_sass_cfg(self): method inspect_sass (line 254) | def inspect_sass(self): method inspect_types (line 262) | def inspect_types(self, file=None): method max_cooperative_grid_blocks (line 279) | def max_cooperative_grid_blocks(self, blockdim, dynsmemsize=0): method launch (line 301) | def launch(self, args, griddim, blockdim, stream=0, sharedmem=0): method _prepare_args (line 373) | def _prepare_args(self, ty, val, stream, retr, kernelargs): class ForAll (line 468) | class ForAll(object): method __init__ (line 469) | def __init__(self, dispatcher, ntasks, tpb, stream, sharedmem): method __call__ (line 479) | def __call__(self, *args): method _compute_thread_per_block (line 493) | def _compute_thread_per_block(self, dispatcher): class _LaunchConfiguration (line 514) | class _LaunchConfiguration: method __init__ (line 515) | def __init__(self, dispatcher, griddim, blockdim, stream, sharedmem): method __call__ (line 538) | def __call__(self, *args): class CUDACacheImpl (line 543) | class CUDACacheImpl(CacheImpl): method reduce (line 544) | def reduce(self, kernel): method rebuild (line 547) | def rebuild(self, target_context, payload): method check_cachable (line 550) | def check_cachable(self, cres): class CUDACache (line 561) | class CUDACache(Cache): method load_overload (line 567) | def load_overload(self, sig, target_context): class CUDADispatcher (line 576) | class CUDADispatcher(Dispatcher, serialize.ReduceMixin): method __init__ (line 594) | def __init__(self, py_func, targetoptions, pipeline_class=CUDACompiler): method _numba_type_ (line 611) | def _numba_type_(self): method enable_caching (line 614) | def enable_caching(self): method configure (line 618) | def configure(self, griddim, blockdim, stream=0, sharedmem=0): method __getitem__ (line 622) | def __getitem__(self, args): method forall (line 627) | def forall(self, ntasks, tpb=0, stream=0, sharedmem=0): method extensions (line 650) | def extensions(self): method __call__ (line 670) | def __call__(self, *args, **kwargs): method call (line 674) | def call(self, args, griddim, blockdim, stream, sharedmem): method _compile_for_args (line 685) | def _compile_for_args(self, *args, **kws): method typeof_pyval (line 691) | def typeof_pyval(self, val): method specialize (line 705) | def specialize(self, *args): method specialized (line 730) | def specialized(self): method get_regs_per_thread (line 736) | def get_regs_per_thread(self, signature=None): method get_const_mem_size (line 755) | def get_const_mem_size(self, signature=None): method get_shared_mem_per_block (line 775) | def get_shared_mem_per_block(self, signature=None): method get_max_threads_per_block (line 794) | def get_max_threads_per_block(self, signature=None): method get_local_mem_per_thread (line 815) | def get_local_mem_per_thread(self, signature=None): method get_call_template (line 834) | def get_call_template(self, args, kws): method compile_device (line 861) | def compile_device(self, args, return_type=None): method add_overload (line 900) | def add_overload(self, kernel, argtypes): method compile (line 905) | def compile(self, sig): method inspect_llvm (line 941) | def inspect_llvm(self, signature=None): method inspect_asm (line 964) | def inspect_asm(self, signature=None): method inspect_sass_cfg (line 988) | def inspect_sass_cfg(self, signature=None): method inspect_sass (line 1009) | def inspect_sass(self, signature=None): method inspect_types (line 1031) | def inspect_types(self, file=None): method _rebuild (line 1044) | def _rebuild(cls, py_func, targetoptions): method _reduce_states (line 1051) | def _reduce_states(self): FILE: numba/cuda/errors.py class KernelRuntimeError (line 5) | class KernelRuntimeError(RuntimeError): method __init__ (line 6) | def __init__(self, msg, tid=None, ctaid=None): class CudaLoweringError (line 16) | class CudaLoweringError(LoweringError): function normalize_kernel_dimensions (line 32) | def normalize_kernel_dimensions(griddim, blockdim): FILE: numba/cuda/initialize.py function initialize_all (line 1) | def initialize_all(): FILE: numba/cuda/intrinsic_wrapper.py function all_sync (line 6) | def all_sync(mask, predicate): function any_sync (line 15) | def any_sync(mask, predicate): function eq_sync (line 24) | def eq_sync(mask, predicate): function ballot_sync (line 33) | def ballot_sync(mask, predicate): function shfl_sync (line 42) | def shfl_sync(mask, value, src_lane): function shfl_up_sync (line 52) | def shfl_up_sync(mask, value, delta): function shfl_down_sync (line 62) | def shfl_down_sync(mask, value, delta): function shfl_xor_sync (line 72) | def shfl_xor_sync(mask, value, lane_mask): FILE: numba/cuda/intrinsics.py function _type_grid_function (line 15) | def _type_grid_function(ndim): function grid (line 28) | def grid(typingctx, ndim): function gridsize (line 61) | def gridsize(typingctx, ndim): function _warpsize (line 107) | def _warpsize(typingctx): function cuda_warpsize (line 117) | def cuda_warpsize(mod): function syncthreads (line 131) | def syncthreads(typingctx): function _syncthreads_predicate (line 151) | def _syncthreads_predicate(typingctx, predicate, fname): function syncthreads_count (line 166) | def syncthreads_count(typingctx, predicate): function syncthreads_and (line 178) | def syncthreads_and(typingctx, predicate): function syncthreads_or (line 190) | def syncthreads_or(typingctx, predicate): FILE: numba/cuda/kernels/reduction.py function _gpu_reduce_factory (line 12) | def _gpu_reduce_factory(fn, nbtype): class Reduce (line 164) | class Reduce(object): method __init__ (line 172) | def __init__(self, functor): method _compile (line 180) | def _compile(self, dtype): method __call__ (line 189) | def __call__(self, arr, size=None, res=None, init=0, stream=0): FILE: numba/cuda/kernels/transpose.py function transpose (line 7) | def transpose(a, b=None): FILE: numba/cuda/libdevice.py function abs (line 1) | def abs(x): function acos (line 11) | def acos(x): function acosf (line 21) | def acosf(x): function acosh (line 31) | def acosh(x): function acoshf (line 41) | def acoshf(x): function asin (line 51) | def asin(x): function asinf (line 61) | def asinf(x): function asinh (line 71) | def asinh(x): function asinhf (line 81) | def asinhf(x): function atan (line 91) | def atan(x): function atan2 (line 101) | def atan2(x, y): function atan2f (line 113) | def atan2f(x, y): function atanf (line 125) | def atanf(x): function atanh (line 135) | def atanh(x): function atanhf (line 145) | def atanhf(x): function brev (line 155) | def brev(x): function brevll (line 165) | def brevll(x): function byte_perm (line 175) | def byte_perm(x, y, z): function cbrt (line 189) | def cbrt(x): function cbrtf (line 199) | def cbrtf(x): function ceil (line 209) | def ceil(x): function ceilf (line 219) | def ceilf(x): function clz (line 229) | def clz(x): function clzll (line 239) | def clzll(x): function copysign (line 249) | def copysign(x, y): function copysignf (line 261) | def copysignf(x, y): function cos (line 273) | def cos(x): function cosf (line 283) | def cosf(x): function cosh (line 293) | def cosh(x): function coshf (line 303) | def coshf(x): function cospi (line 313) | def cospi(x): function cospif (line 323) | def cospif(x): function dadd_rd (line 333) | def dadd_rd(x, y): function dadd_rn (line 345) | def dadd_rn(x, y): function dadd_ru (line 357) | def dadd_ru(x, y): function dadd_rz (line 369) | def dadd_rz(x, y): function ddiv_rd (line 381) | def ddiv_rd(x, y): function ddiv_rn (line 393) | def ddiv_rn(x, y): function ddiv_ru (line 405) | def ddiv_ru(x, y): function ddiv_rz (line 417) | def ddiv_rz(x, y): function dmul_rd (line 429) | def dmul_rd(x, y): function dmul_rn (line 441) | def dmul_rn(x, y): function dmul_ru (line 453) | def dmul_ru(x, y): function dmul_rz (line 465) | def dmul_rz(x, y): function double2float_rd (line 477) | def double2float_rd(d): function double2float_rn (line 487) | def double2float_rn(d): function double2float_ru (line 497) | def double2float_ru(d): function double2float_rz (line 507) | def double2float_rz(d): function double2hiint (line 517) | def double2hiint(d): function double2int_rd (line 527) | def double2int_rd(d): function double2int_rn (line 537) | def double2int_rn(d): function double2int_ru (line 547) | def double2int_ru(d): function double2int_rz (line 557) | def double2int_rz(d): function double2ll_rd (line 567) | def double2ll_rd(f): function double2ll_rn (line 577) | def double2ll_rn(f): function double2ll_ru (line 587) | def double2ll_ru(f): function double2ll_rz (line 597) | def double2ll_rz(f): function double2loint (line 607) | def double2loint(d): function double2uint_rd (line 617) | def double2uint_rd(d): function double2uint_rn (line 627) | def double2uint_rn(d): function double2uint_ru (line 637) | def double2uint_ru(d): function double2uint_rz (line 647) | def double2uint_rz(d): function double2ull_rd (line 657) | def double2ull_rd(f): function double2ull_rn (line 667) | def double2ull_rn(f): function double2ull_ru (line 677) | def double2ull_ru(f): function double2ull_rz (line 687) | def double2ull_rz(f): function double_as_longlong (line 697) | def double_as_longlong(x): function drcp_rd (line 707) | def drcp_rd(x): function drcp_rn (line 717) | def drcp_rn(x): function drcp_ru (line 727) | def drcp_ru(x): function drcp_rz (line 737) | def drcp_rz(x): function dsqrt_rd (line 747) | def dsqrt_rd(x): function dsqrt_rn (line 757) | def dsqrt_rn(x): function dsqrt_ru (line 767) | def dsqrt_ru(x): function dsqrt_rz (line 777) | def dsqrt_rz(x): function erf (line 787) | def erf(x): function erfc (line 797) | def erfc(x): function erfcf (line 807) | def erfcf(x): function erfcinv (line 817) | def erfcinv(x): function erfcinvf (line 827) | def erfcinvf(x): function erfcx (line 837) | def erfcx(x): function erfcxf (line 847) | def erfcxf(x): function erff (line 857) | def erff(x): function erfinv (line 867) | def erfinv(x): function erfinvf (line 877) | def erfinvf(x): function exp (line 887) | def exp(x): function exp10 (line 897) | def exp10(x): function exp10f (line 907) | def exp10f(x): function exp2 (line 917) | def exp2(x): function exp2f (line 927) | def exp2f(x): function expf (line 937) | def expf(x): function expm1 (line 947) | def expm1(x): function expm1f (line 957) | def expm1f(x): function fabs (line 967) | def fabs(f): function fabsf (line 977) | def fabsf(f): function fadd_rd (line 987) | def fadd_rd(x, y): function fadd_rn (line 999) | def fadd_rn(x, y): function fadd_ru (line 1011) | def fadd_ru(x, y): function fadd_rz (line 1023) | def fadd_rz(x, y): function fast_cosf (line 1035) | def fast_cosf(x): function fast_exp10f (line 1045) | def fast_exp10f(x): function fast_expf (line 1055) | def fast_expf(x): function fast_fdividef (line 1065) | def fast_fdividef(x, y): function fast_log10f (line 1077) | def fast_log10f(x): function fast_log2f (line 1087) | def fast_log2f(x): function fast_logf (line 1097) | def fast_logf(x): function fast_powf (line 1107) | def fast_powf(x, y): function fast_sincosf (line 1119) | def fast_sincosf(x): function fast_sinf (line 1129) | def fast_sinf(x): function fast_tanf (line 1139) | def fast_tanf(x): function fdim (line 1149) | def fdim(x, y): function fdimf (line 1161) | def fdimf(x, y): function fdiv_rd (line 1173) | def fdiv_rd(x, y): function fdiv_rn (line 1185) | def fdiv_rn(x, y): function fdiv_ru (line 1197) | def fdiv_ru(x, y): function fdiv_rz (line 1209) | def fdiv_rz(x, y): function ffs (line 1221) | def ffs(x): function ffsll (line 1231) | def ffsll(x): function finitef (line 1241) | def finitef(x): function float2half_rn (line 1251) | def float2half_rn(f): function float2int_rd (line 1261) | def float2int_rd(x): function float2int_rn (line 1271) | def float2int_rn(x): function float2int_ru (line 1281) | def float2int_ru(x): function float2int_rz (line 1291) | def float2int_rz(x): function float2ll_rd (line 1301) | def float2ll_rd(f): function float2ll_rn (line 1311) | def float2ll_rn(f): function float2ll_ru (line 1321) | def float2ll_ru(f): function float2ll_rz (line 1331) | def float2ll_rz(f): function float2uint_rd (line 1341) | def float2uint_rd(x): function float2uint_rn (line 1351) | def float2uint_rn(x): function float2uint_ru (line 1361) | def float2uint_ru(x): function float2uint_rz (line 1371) | def float2uint_rz(x): function float2ull_rd (line 1381) | def float2ull_rd(f): function float2ull_rn (line 1391) | def float2ull_rn(f): function float2ull_ru (line 1401) | def float2ull_ru(f): function float2ull_rz (line 1411) | def float2ull_rz(f): function float_as_int (line 1421) | def float_as_int(x): function floor (line 1431) | def floor(f): function floorf (line 1441) | def floorf(f): function fma (line 1451) | def fma(x, y, z): function fma_rd (line 1465) | def fma_rd(x, y, z): function fma_rn (line 1479) | def fma_rn(x, y, z): function fma_ru (line 1493) | def fma_ru(x, y, z): function fma_rz (line 1507) | def fma_rz(x, y, z): function fmaf (line 1521) | def fmaf(x, y, z): function fmaf_rd (line 1535) | def fmaf_rd(x, y, z): function fmaf_rn (line 1549) | def fmaf_rn(x, y, z): function fmaf_ru (line 1563) | def fmaf_ru(x, y, z): function fmaf_rz (line 1577) | def fmaf_rz(x, y, z): function fmax (line 1591) | def fmax(x, y): function fmaxf (line 1603) | def fmaxf(x, y): function fmin (line 1615) | def fmin(x, y): function fminf (line 1627) | def fminf(x, y): function fmod (line 1639) | def fmod(x, y): function fmodf (line 1651) | def fmodf(x, y): function fmul_rd (line 1663) | def fmul_rd(x, y): function fmul_rn (line 1675) | def fmul_rn(x, y): function fmul_ru (line 1687) | def fmul_ru(x, y): function fmul_rz (line 1699) | def fmul_rz(x, y): function frcp_rd (line 1711) | def frcp_rd(x): function frcp_rn (line 1721) | def frcp_rn(x): function frcp_ru (line 1731) | def frcp_ru(x): function frcp_rz (line 1741) | def frcp_rz(x): function frexp (line 1751) | def frexp(x): function frexpf (line 1761) | def frexpf(x): function frsqrt_rn (line 1771) | def frsqrt_rn(x): function fsqrt_rd (line 1781) | def fsqrt_rd(x): function fsqrt_rn (line 1791) | def fsqrt_rn(x): function fsqrt_ru (line 1801) | def fsqrt_ru(x): function fsqrt_rz (line 1811) | def fsqrt_rz(x): function fsub_rd (line 1821) | def fsub_rd(x, y): function fsub_rn (line 1833) | def fsub_rn(x, y): function fsub_ru (line 1845) | def fsub_ru(x, y): function fsub_rz (line 1857) | def fsub_rz(x, y): function hadd (line 1869) | def hadd(x, y): function half2float (line 1881) | def half2float(h): function hiloint2double (line 1891) | def hiloint2double(x, y): function hypot (line 1903) | def hypot(x, y): function hypotf (line 1915) | def hypotf(x, y): function ilogb (line 1927) | def ilogb(x): function ilogbf (line 1937) | def ilogbf(x): function int2double_rn (line 1947) | def int2double_rn(i): function int2float_rd (line 1957) | def int2float_rd(x): function int2float_rn (line 1967) | def int2float_rn(x): function int2float_ru (line 1977) | def int2float_ru(x): function int2float_rz (line 1987) | def int2float_rz(x): function int_as_float (line 1997) | def int_as_float(x): function isfinited (line 2007) | def isfinited(x): function isinfd (line 2017) | def isinfd(x): function isinff (line 2027) | def isinff(x): function isnand (line 2037) | def isnand(x): function isnanf (line 2047) | def isnanf(x): function j0 (line 2057) | def j0(x): function j0f (line 2067) | def j0f(x): function j1 (line 2077) | def j1(x): function j1f (line 2087) | def j1f(x): function jn (line 2097) | def jn(n, x): function jnf (line 2109) | def jnf(n, x): function ldexp (line 2121) | def ldexp(x, y): function ldexpf (line 2133) | def ldexpf(x, y): function lgamma (line 2145) | def lgamma(x): function lgammaf (line 2155) | def lgammaf(x): function ll2double_rd (line 2165) | def ll2double_rd(l): function ll2double_rn (line 2175) | def ll2double_rn(l): function ll2double_ru (line 2185) | def ll2double_ru(l): function ll2double_rz (line 2195) | def ll2double_rz(l): function ll2float_rd (line 2205) | def ll2float_rd(l): function ll2float_rn (line 2215) | def ll2float_rn(l): function ll2float_ru (line 2225) | def ll2float_ru(l): function ll2float_rz (line 2235) | def ll2float_rz(l): function llabs (line 2245) | def llabs(x): function llmax (line 2255) | def llmax(x, y): function llmin (line 2267) | def llmin(x, y): function llrint (line 2279) | def llrint(x): function llrintf (line 2289) | def llrintf(x): function llround (line 2299) | def llround(x): function llroundf (line 2309) | def llroundf(x): function log (line 2319) | def log(x): function log10 (line 2329) | def log10(x): function log10f (line 2339) | def log10f(x): function log1p (line 2349) | def log1p(x): function log1pf (line 2359) | def log1pf(x): function log2 (line 2369) | def log2(x): function log2f (line 2379) | def log2f(x): function logb (line 2389) | def logb(x): function logbf (line 2399) | def logbf(x): function logf (line 2409) | def logf(x): function longlong_as_double (line 2419) | def longlong_as_double(x): function max (line 2429) | def max(x, y): function min (line 2441) | def min(x, y): function modf (line 2453) | def modf(x): function modff (line 2463) | def modff(x): function mul24 (line 2473) | def mul24(x, y): function mul64hi (line 2485) | def mul64hi(x, y): function mulhi (line 2497) | def mulhi(x, y): function nearbyint (line 2509) | def nearbyint(x): function nearbyintf (line 2519) | def nearbyintf(x): function nextafter (line 2529) | def nextafter(x, y): function nextafterf (line 2541) | def nextafterf(x, y): function normcdf (line 2553) | def normcdf(x): function normcdff (line 2563) | def normcdff(x): function normcdfinv (line 2573) | def normcdfinv(x): function normcdfinvf (line 2583) | def normcdfinvf(x): function popc (line 2593) | def popc(x): function popcll (line 2603) | def popcll(x): function pow (line 2613) | def pow(x, y): function powf (line 2625) | def powf(x, y): function powi (line 2637) | def powi(x, y): function powif (line 2649) | def powif(x, y): function rcbrt (line 2661) | def rcbrt(x): function rcbrtf (line 2671) | def rcbrtf(x): function remainder (line 2681) | def remainder(x, y): function remainderf (line 2693) | def remainderf(x, y): function remquo (line 2705) | def remquo(x, y): function remquof (line 2717) | def remquof(x, y): function rhadd (line 2729) | def rhadd(x, y): function rint (line 2741) | def rint(x): function rintf (line 2751) | def rintf(x): function round (line 2761) | def round(x): function roundf (line 2771) | def roundf(x): function rsqrt (line 2781) | def rsqrt(x): function rsqrtf (line 2791) | def rsqrtf(x): function sad (line 2801) | def sad(x, y, z): function saturatef (line 2815) | def saturatef(x): function scalbn (line 2825) | def scalbn(x, y): function scalbnf (line 2837) | def scalbnf(x, y): function signbitd (line 2849) | def signbitd(x): function signbitf (line 2859) | def signbitf(x): function sin (line 2869) | def sin(x): function sincos (line 2879) | def sincos(x): function sincosf (line 2889) | def sincosf(x): function sincospi (line 2899) | def sincospi(x): function sincospif (line 2909) | def sincospif(x): function sinf (line 2919) | def sinf(x): function sinh (line 2929) | def sinh(x): function sinhf (line 2939) | def sinhf(x): function sinpi (line 2949) | def sinpi(x): function sinpif (line 2959) | def sinpif(x): function sqrt (line 2969) | def sqrt(x): function sqrtf (line 2979) | def sqrtf(x): function tan (line 2989) | def tan(x): function tanf (line 2999) | def tanf(x): function tanh (line 3009) | def tanh(x): function tanhf (line 3019) | def tanhf(x): function tgamma (line 3029) | def tgamma(x): function tgammaf (line 3039) | def tgammaf(x): function trunc (line 3049) | def trunc(x): function truncf (line 3059) | def truncf(x): function uhadd (line 3069) | def uhadd(x, y): function uint2double_rn (line 3081) | def uint2double_rn(i): function uint2float_rd (line 3091) | def uint2float_rd(x): function uint2float_rn (line 3101) | def uint2float_rn(x): function uint2float_ru (line 3111) | def uint2float_ru(x): function uint2float_rz (line 3121) | def uint2float_rz(x): function ull2double_rd (line 3131) | def ull2double_rd(l): function ull2double_rn (line 3141) | def ull2double_rn(l): function ull2double_ru (line 3151) | def ull2double_ru(l): function ull2double_rz (line 3161) | def ull2double_rz(l): function ull2float_rd (line 3171) | def ull2float_rd(l): function ull2float_rn (line 3181) | def ull2float_rn(l): function ull2float_ru (line 3191) | def ull2float_ru(l): function ull2float_rz (line 3201) | def ull2float_rz(l): function ullmax (line 3211) | def ullmax(x, y): function ullmin (line 3223) | def ullmin(x, y): function umax (line 3235) | def umax(x, y): function umin (line 3247) | def umin(x, y): function umul24 (line 3259) | def umul24(x, y): function umul64hi (line 3271) | def umul64hi(x, y): function umulhi (line 3283) | def umulhi(x, y): function urhadd (line 3295) | def urhadd(x, y): function usad (line 3307) | def usad(x, y, z): function y0 (line 3321) | def y0(x): function y0f (line 3331) | def y0f(x): function y1 (line 3341) | def y1(x): function y1f (line 3351) | def y1f(x): function yn (line 3361) | def yn(n, x): function ynf (line 3373) | def ynf(n, x): FILE: numba/cuda/libdevicedecl.py function libdevice_declare (line 8) | def libdevice_declare(func, retty, args): FILE: numba/cuda/libdevicefuncs.py function create_signature (line 994) | def create_signature(retty, args): function generate_stubs (line 1036) | def generate_stubs(): FILE: numba/cuda/libdeviceimpl.py function libdevice_implement (line 10) | def libdevice_implement(func, retty, nbargs): function libdevice_implement_multiple_returns (line 25) | def libdevice_implement_multiple_returns(func, retty, prototype_args): FILE: numba/cuda/mathimpl.py function math_isinf_isnan_int (line 70) | def math_isinf_isnan_int(context, builder, sig, args): function maybe_fast_truediv (line 75) | def maybe_fast_truediv(context, builder, sig, args): function math_isfinite_int (line 88) | def math_isfinite_int(context, builder, sig, args): function fp16_sin_impl (line 93) | def fp16_sin_impl(context, builder, sig, args): function fp16_cos_impl (line 101) | def fp16_cos_impl(context, builder, sig, args): function fp16_log_impl (line 109) | def fp16_log_impl(context, builder, sig, args): function fp16_log10_impl (line 117) | def fp16_log10_impl(context, builder, sig, args): function fp16_log2_impl (line 125) | def fp16_log2_impl(context, builder, sig, args): function fp16_exp_impl (line 133) | def fp16_exp_impl(context, builder, sig, args): function fp16_floor_impl (line 141) | def fp16_floor_impl(context, builder, sig, args): function fp16_ceil_impl (line 149) | def fp16_ceil_impl(context, builder, sig, args): function fp16_sqrt_impl (line 157) | def fp16_sqrt_impl(context, builder, sig, args): function fp16_fabs_impl (line 165) | def fp16_fabs_impl(context, builder, sig, args): function fp16_trunc_impl (line 173) | def fp16_trunc_impl(context, builder, sig, args): function impl_boolean (line 180) | def impl_boolean(key, ty, libfunc): function get_lower_unary_impl (line 190) | def get_lower_unary_impl(key, ty, libfunc): function get_unary_impl_for_fn_and_ty (line 206) | def get_unary_impl_for_fn_and_ty(fn, ty): function impl_unary (line 224) | def impl_unary(key, ty, libfunc): function impl_unary_int (line 229) | def impl_unary_int(key, ty, libfunc): function get_lower_binary_impl (line 247) | def get_lower_binary_impl(key, ty, libfunc): function get_binary_impl_for_fn_and_ty (line 263) | def get_binary_impl_for_fn_and_ty(fn, ty): function impl_binary (line 276) | def impl_binary(key, ty, libfunc): function impl_binary_int (line 281) | def impl_binary_int(key, ty, libfunc): function impl_pow_int (line 324) | def impl_pow_int(ty, libfunc): function impl_modf (line 337) | def impl_modf(ty, libfunc): function impl_frexp (line 352) | def impl_frexp(ty, libfunc): function impl_ldexp (line 367) | def impl_ldexp(ty, libfunc): function impl_tanh (line 380) | def impl_tanh(ty, libfunc): function cpow_implement (line 420) | def cpow_implement(fty, cty): FILE: numba/cuda/models.py class Dim3Model (line 17) | class Dim3Model(models.StructModel): method __init__ (line 18) | def __init__(self, dmm, fe_type): class GridGroupModel (line 28) | class GridGroupModel(models.PrimitiveModel): method __init__ (line 29) | def __init__(self, dmm, fe_type): class FloatModel (line 35) | class FloatModel(models.PrimitiveModel): method __init__ (line 36) | def __init__(self, dmm, fe_type): FILE: numba/cuda/nvvmutils.py function declare_atomic_cas_int (line 7) | def declare_atomic_cas_int(lmod, isize): function atomic_cmpxchg (line 16) | def atomic_cmpxchg(builder, lmod, isize, ptr, cmp, val): function declare_atomic_add_float32 (line 21) | def declare_atomic_add_float32(lmod): function declare_atomic_add_float64 (line 28) | def declare_atomic_add_float64(lmod): function declare_atomic_sub_float32 (line 39) | def declare_atomic_sub_float32(lmod): function declare_atomic_sub_float64 (line 46) | def declare_atomic_sub_float64(lmod): function declare_atomic_inc_int32 (line 53) | def declare_atomic_inc_int32(lmod): function declare_atomic_inc_int64 (line 60) | def declare_atomic_inc_int64(lmod): function declare_atomic_dec_int32 (line 67) | def declare_atomic_dec_int32(lmod): function declare_atomic_dec_int64 (line 74) | def declare_atomic_dec_int64(lmod): function declare_atomic_max_float32 (line 81) | def declare_atomic_max_float32(lmod): function declare_atomic_max_float64 (line 88) | def declare_atomic_max_float64(lmod): function declare_atomic_min_float32 (line 95) | def declare_atomic_min_float32(lmod): function declare_atomic_min_float64 (line 102) | def declare_atomic_min_float64(lmod): function declare_atomic_nanmax_float32 (line 109) | def declare_atomic_nanmax_float32(lmod): function declare_atomic_nanmax_float64 (line 116) | def declare_atomic_nanmax_float64(lmod): function declare_atomic_nanmin_float32 (line 123) | def declare_atomic_nanmin_float32(lmod): function declare_atomic_nanmin_float64 (line 130) | def declare_atomic_nanmin_float64(lmod): function declare_cudaCGGetIntrinsicHandle (line 137) | def declare_cudaCGGetIntrinsicHandle(lmod): function declare_cudaCGSynchronize (line 144) | def declare_cudaCGSynchronize(lmod): function declare_string (line 151) | def declare_string(builder, value): function declare_vprint (line 163) | def declare_vprint(lmod): function call_sreg (line 196) | def call_sreg(builder, name): class SRegBuilder (line 203) | class SRegBuilder(object): method __init__ (line 204) | def __init__(self, builder): method tid (line 207) | def tid(self, xyz): method ctaid (line 210) | def ctaid(self, xyz): method ntid (line 213) | def ntid(self, xyz): method nctaid (line 216) | def nctaid(self, xyz): method getdim (line 219) | def getdim(self, xyz): function get_global_id (line 228) | def get_global_id(builder, dim): FILE: numba/cuda/printimpl.py function print_item (line 18) | def print_item(ty, context, builder, val): function int_print_impl (line 30) | def int_print_impl(ty, context, builder, val): function real_print_impl (line 42) | def real_print_impl(ty, context, builder, val): function const_print_impl (line 48) | def const_print_impl(ty, context, builder, sigval): function print_varargs (line 57) | def print_varargs(context, builder, sig, args): FILE: numba/cuda/random.py function init_xoroshiro128p_state (line 47) | def init_xoroshiro128p_state(states, index, seed): function rotl (line 73) | def rotl(x, k): function xoroshiro128p_next (line 81) | def xoroshiro128p_next(states, index): function xoroshiro128p_jump (line 103) | def xoroshiro128p_jump(states, index): function uint64_to_unit_float64 (line 130) | def uint64_to_unit_float64(x): function uint64_to_unit_float32 (line 137) | def uint64_to_unit_float32(x): function xoroshiro128p_uniform_float32 (line 144) | def xoroshiro128p_uniform_float32(states, index): function xoroshiro128p_uniform_float64 (line 158) | def xoroshiro128p_uniform_float64(states, index): function xoroshiro128p_normal_float32 (line 176) | def xoroshiro128p_normal_float32(states, index): function xoroshiro128p_normal_float64 (line 201) | def xoroshiro128p_normal_float64(states, index): function init_xoroshiro128p_states_cpu (line 226) | def init_xoroshiro128p_states_cpu(states, seed, subsequence_start): function init_xoroshiro128p_states (line 244) | def init_xoroshiro128p_states(states, seed, subsequence_start=0, stream=0): function create_xoroshiro128p_states (line 269) | def create_xoroshiro128p_states(n, seed, subsequence_start=0, stream=0): FILE: numba/cuda/simulator/api.py function select_device (line 16) | def select_device(dev=0): function is_float16_supported (line 20) | def is_float16_supported(): class stream (line 24) | class stream(object): method auto_synchronize (line 30) | def auto_synchronize(self): method synchronize (line 33) | def synchronize(self): function synchronize (line 37) | def synchronize(): function close (line 41) | def close(): function declare_device (line 45) | def declare_device(*args, **kwargs): function detect (line 49) | def detect(): function list_devices (line 55) | def list_devices(): class Event (line 61) | class Event(object): method record (line 66) | def record(self, stream=0): method wait (line 69) | def wait(self, stream=0): method synchronize (line 72) | def synchronize(self): method elapsed_time (line 75) | def elapsed_time(self, event): function jit (line 83) | def jit(func_or_sig=None, device=False, debug=False, argtypes=None, function defer_cleanup (line 108) | def defer_cleanup(): FILE: numba/cuda/simulator/cudadrv/devicearray.py class FakeShape (line 21) | class FakeShape(tuple): method __getitem__ (line 28) | def __getitem__(self, k): class FakeWithinKernelCUDAArray (line 34) | class FakeWithinKernelCUDAArray(object): method __init__ (line 43) | def __init__(self, item): method __wrap_if_fake (line 47) | def __wrap_if_fake(self, item): method __getattr__ (line 53) | def __getattr__(self, attrname): method __setattr__ (line 63) | def __setattr__(self, nm, val): method __getitem__ (line 66) | def __getitem__(self, idx): method __setitem__ (line 69) | def __setitem__(self, idx, val): method __len__ (line 72) | def __len__(self): method __array_ufunc__ (line 75) | def __array_ufunc__(self, ufunc, method, *args, **kwargs): class FakeCUDAArray (line 98) | class FakeCUDAArray(object): method __init__ (line 106) | def __init__(self, ary, stream=0): method alloc_size (line 111) | def alloc_size(self): method nbytes (line 115) | def nbytes(self): method __getattr__ (line 119) | def __getattr__(self, attrname): method bind (line 127) | def bind(self, stream=0): method T (line 131) | def T(self): method transpose (line 134) | def transpose(self, axes=None): method __getitem__ (line 137) | def __getitem__(self, idx): method __setitem__ (line 144) | def __setitem__(self, idx, val): method copy_to_host (line 147) | def copy_to_host(self, ary=None, stream=0): method copy_to_device (line 155) | def copy_to_device(self, ary, stream=0): method shape (line 178) | def shape(self): method ravel (line 181) | def ravel(self, *args, **kwargs): method reshape (line 184) | def reshape(self, *args, **kwargs): method view (line 187) | def view(self, *args, **kwargs): method is_c_contiguous (line 190) | def is_c_contiguous(self): method is_f_contiguous (line 193) | def is_f_contiguous(self): method __str__ (line 196) | def __str__(self): method __repr__ (line 199) | def __repr__(self): method __len__ (line 202) | def __len__(self): method __eq__ (line 207) | def __eq__(self, other): method __ne__ (line 210) | def __ne__(self, other): method __lt__ (line 213) | def __lt__(self, other): method __le__ (line 216) | def __le__(self, other): method __gt__ (line 219) | def __gt__(self, other): method __ge__ (line 222) | def __ge__(self, other): method __add__ (line 225) | def __add__(self, other): method __sub__ (line 228) | def __sub__(self, other): method __mul__ (line 231) | def __mul__(self, other): method __floordiv__ (line 234) | def __floordiv__(self, other): method __truediv__ (line 237) | def __truediv__(self, other): method __mod__ (line 240) | def __mod__(self, other): method __pow__ (line 243) | def __pow__(self, other): method split (line 246) | def split(self, section, stream=0): function array_core (line 253) | def array_core(ary): function is_contiguous (line 271) | def is_contiguous(ary): function sentry_contiguous (line 287) | def sentry_contiguous(ary): function check_array_compatibility (line 293) | def check_array_compatibility(ary1, ary2): function to_device (line 306) | def to_device(ary, stream=0, copy=True, to=None): function pinned (line 326) | def pinned(arg): function mapped_array (line 330) | def mapped_array(*args, **kwargs): function pinned_array (line 337) | def pinned_array(shape, dtype=np.float64, strides=None, order='C'): function managed_array (line 341) | def managed_array(shape, dtype=np.float64, strides=None, order='C'): function device_array (line 345) | def device_array(*args, **kwargs): function _contiguous_strides_like_array (line 350) | def _contiguous_strides_like_array(ary): function _order_like_array (line 379) | def _order_like_array(ary): function device_array_like (line 386) | def device_array_like(ary, stream=0): function pinned_array_like (line 393) | def pinned_array_like(ary): function auto_device (line 400) | def auto_device(ary, stream=0, copy=True): function is_cuda_ndarray (line 412) | def is_cuda_ndarray(obj): function verify_cuda_ndarray_interface (line 417) | def verify_cuda_ndarray_interface(obj): function require_cuda_ndarray (line 433) | def require_cuda_ndarray(obj): FILE: numba/cuda/simulator/cudadrv/devices.py class FakeCUDADevice (line 9) | class FakeCUDADevice: method __init__ (line 10) | def __init__(self): method compute_capability (line 14) | def compute_capability(self): class FakeCUDAContext (line 18) | class FakeCUDAContext: method __init__ (line 23) | def __init__(self, device_id): method __enter__ (line 27) | def __enter__(self): method __exit__ (line 30) | def __exit__(self, exc_type, exc_val, exc_tb): method __str__ (line 33) | def __str__(self): method id (line 37) | def id(self): method device (line 41) | def device(self): method compute_capability (line 45) | def compute_capability(self): method reset (line 48) | def reset(self): method get_memory_info (line 51) | def get_memory_info(self): method memalloc (line 59) | def memalloc(self, sz): method memhostalloc (line 67) | def memhostalloc(self, sz, mapped=False, portable=False, wc=False): class FakeDeviceList (line 72) | class FakeDeviceList: method __init__ (line 78) | def __init__(self): method __getitem__ (line 82) | def __getitem__(self, devnum): method __str__ (line 86) | def __str__(self): method __iter__ (line 89) | def __iter__(self): method __len__ (line 92) | def __len__(self): method current (line 96) | def current(self): function reset (line 105) | def reset(): function get_context (line 109) | def get_context(devnum=0): function require_context (line 113) | def require_context(func): FILE: numba/cuda/simulator/cudadrv/driver.py function device_memset (line 7) | def device_memset(dst, val, size, stream=0): function host_to_device (line 11) | def host_to_device(dst, src, size, stream=0): function device_to_host (line 15) | def device_to_host(dst, src, size, stream=0): function device_memory_size (line 19) | def device_memory_size(obj): function device_to_device (line 23) | def device_to_device(dst, src, size, stream=0): class FakeDriver (line 27) | class FakeDriver(object): method get_device_count (line 28) | def get_device_count(self): class Linker (line 35) | class Linker: method new (line 37) | def new(cls, max_registers=0, lineinfo=False, cc=None): method lto (line 41) | def lto(self): class LinkerError (line 45) | class LinkerError(RuntimeError): class NvrtcError (line 49) | class NvrtcError(RuntimeError): class CudaAPIError (line 53) | class CudaAPIError(RuntimeError): function launch_kernel (line 57) | def launch_kernel(*args, **kwargs): FILE: numba/cuda/simulator/cudadrv/error.py class CudaSupportError (line 1) | class CudaSupportError(RuntimeError): class NvrtcError (line 5) | class NvrtcError(Exception): FILE: numba/cuda/simulator/cudadrv/libs.py function check_static_lib (line 1) | def check_static_lib(lib): FILE: numba/cuda/simulator/cudadrv/nvvm.py class NvvmSupportError (line 7) | class NvvmSupportError(ImportError): class NVVM (line 11) | class NVVM(object): method __init__ (line 12) | def __init__(self): function is_available (line 24) | def is_available(): function get_supported_ccs (line 28) | def get_supported_ccs(): FILE: numba/cuda/simulator/cudadrv/runtime.py class FakeRuntime (line 7) | class FakeRuntime(object): method get_version (line 8) | def get_version(self): method is_supported_version (line 11) | def is_supported_version(self): method supported_versions (line 15) | def supported_versions(self): FILE: numba/cuda/simulator/kernel.py function _push_kernel_context (line 23) | def _push_kernel_context(mod): function _get_kernel_context (line 36) | def _get_kernel_context(): class FakeOverload (line 43) | class FakeOverload: method max_cooperative_grid_blocks (line 47) | def max_cooperative_grid_blocks(self, blockdim): class FakeOverloadDict (line 53) | class FakeOverloadDict(dict): method __getitem__ (line 54) | def __getitem__(self, key): class FakeCUDAKernel (line 60) | class FakeCUDAKernel(object): method __init__ (line 65) | def __init__( method __call__ (line 83) | def __call__(self, *args): method __getitem__ (line 132) | def __getitem__(self, configuration): method bind (line 141) | def bind(self): method specialize (line 144) | def specialize(self, *args): method forall (line 147) | def forall(self, ntasks, tpb=0, stream=0, sharedmem=0): method overloads (line 154) | def overloads(self): method py_func (line 158) | def py_func(self): class BlockThread (line 164) | class BlockThread(threading.Thread): method __init__ (line 168) | def __init__(self, f, manager, blockIdx, threadIdx, debug): method run (line 192) | def run(self): method syncthreads (line 207) | def syncthreads(self): method syncthreads_count (line 219) | def syncthreads_count(self, value): method syncthreads_and (line 227) | def syncthreads_and(self, value): method syncthreads_or (line 235) | def syncthreads_or(self, value): method __str__ (line 243) | def __str__(self): class BlockManager (line 247) | class BlockManager(object): method __init__ (line 265) | def __init__(self, f, grid_dim, block_dim, debug): method run (line 272) | def run(self, grid_point, *args): FILE: numba/cuda/simulator/kernelapi.py class Dim3 (line 18) | class Dim3(object): method __init__ (line 22) | def __init__(self, x, y, z): method __str__ (line 27) | def __str__(self): method __repr__ (line 30) | def __repr__(self): method __iter__ (line 33) | def __iter__(self): class GridGroup (line 39) | class GridGroup: method sync (line 44) | def sync(self): class FakeCUDACg (line 51) | class FakeCUDACg: method this_grid (line 55) | def this_grid(self): class FakeCUDALocal (line 59) | class FakeCUDALocal(object): method array (line 63) | def array(self, shape, dtype): class FakeCUDAConst (line 69) | class FakeCUDAConst(object): method array_like (line 73) | def array_like(self, ary): class FakeCUDAShared (line 77) | class FakeCUDAShared(object): method __init__ (line 95) | def __init__(self, dynshared_size): method array (line 100) | def array(self, shape, dtype): class FakeCUDAAtomic (line 138) | class FakeCUDAAtomic(object): method add (line 139) | def add(self, array, index, val): method sub (line 145) | def sub(self, array, index, val): method and_ (line 151) | def and_(self, array, index, val): method or_ (line 157) | def or_(self, array, index, val): method xor (line 163) | def xor(self, array, index, val): method inc (line 169) | def inc(self, array, index, val): method dec (line 178) | def dec(self, array, index, val): method exch (line 187) | def exch(self, array, index, val): method max (line 193) | def max(self, array, index, val): method min (line 199) | def min(self, array, index, val): method nanmax (line 205) | def nanmax(self, array, index, val): method nanmin (line 211) | def nanmin(self, array, index, val): method compare_and_swap (line 217) | def compare_and_swap(self, array, old, val): method cas (line 225) | def cas(self, array, index, old, val): class FakeCUDAFp16 (line 233) | class FakeCUDAFp16(object): method hadd (line 234) | def hadd(self, a, b): method hsub (line 237) | def hsub(self, a, b): method hmul (line 240) | def hmul(self, a, b): method hdiv (line 243) | def hdiv(self, a, b): method hfma (line 246) | def hfma(self, a, b, c): method hneg (line 249) | def hneg(self, a): method habs (line 252) | def habs(self, a): method hsin (line 255) | def hsin(self, x): method hcos (line 258) | def hcos(self, x): method hlog (line 261) | def hlog(self, x): method hlog2 (line 264) | def hlog2(self, x): method hlog10 (line 267) | def hlog10(self, x): method hexp (line 270) | def hexp(self, x): method hexp2 (line 273) | def hexp2(self, x): method hexp10 (line 276) | def hexp10(self, x): method hsqrt (line 279) | def hsqrt(self, x): method hrsqrt (line 282) | def hrsqrt(self, x): method hceil (line 285) | def hceil(self, x): method hfloor (line 288) | def hfloor(self, x): method hrcp (line 291) | def hrcp(self, x): method htrunc (line 294) | def htrunc(self, x): method hrint (line 297) | def hrint(self, x): method heq (line 300) | def heq(self, a, b): method hne (line 303) | def hne(self, a, b): method hge (line 306) | def hge(self, a, b): method hgt (line 309) | def hgt(self, a, b): method hle (line 312) | def hle(self, a, b): method hlt (line 315) | def hlt(self, a, b): method hmax (line 318) | def hmax(self, a, b): method hmin (line 321) | def hmin(self, a, b): class FakeCUDAModule (line 325) | class FakeCUDAModule(object): method __init__ (line 336) | def __init__(self, grid_dim, block_dim, dynshared_size): method cg (line 356) | def cg(self): method local (line 360) | def local(self): method shared (line 364) | def shared(self): method const (line 368) | def const(self): method atomic (line 372) | def atomic(self): method fp16 (line 376) | def fp16(self): method threadIdx (line 380) | def threadIdx(self): method blockIdx (line 384) | def blockIdx(self): method warpsize (line 388) | def warpsize(self): method laneid (line 392) | def laneid(self): method syncthreads (line 395) | def syncthreads(self): method threadfence (line 398) | def threadfence(self): method threadfence_block (line 402) | def threadfence_block(self): method threadfence_system (line 406) | def threadfence_system(self): method syncthreads_count (line 410) | def syncthreads_count(self, val): method syncthreads_and (line 413) | def syncthreads_and(self, val): method syncthreads_or (line 416) | def syncthreads_or(self, val): method popc (line 419) | def popc(self, val): method fma (line 422) | def fma(self, a, b, c): method cbrt (line 425) | def cbrt(self, a): method brev (line 428) | def brev(self, val): method clz (line 431) | def clz(self, val): method ffs (line 435) | def ffs(self, val): method selp (line 445) | def selp(self, a, b, c): method grid (line 448) | def grid(self, n): method gridsize (line 464) | def gridsize(self, n): function swapped_cuda_module (line 481) | def swapped_cuda_module(fn, fake_cuda_module): FILE: numba/cuda/simulator/reduction.py function Reduce (line 4) | def Reduce(func): FILE: numba/cuda/simulator/vector_types.py class SimulatedVectorType (line 5) | class SimulatedVectorType: method __init__ (line 8) | def __init__(self, *args): method name (line 26) | def name(self): method num_elements (line 30) | def num_elements(self): method as_list (line 33) | def as_list(self): function make_simulated_vector_type (line 37) | def make_simulated_vector_type(num_elements, name): function _initialize (line 49) | def _initialize(): FILE: numba/cuda/simulator_init.py function is_available (line 6) | def is_available(): function cuda_error (line 13) | def cuda_error(): FILE: numba/cuda/stubs.py class Stub (line 11) | class Stub(object): method __new__ (line 19) | def __new__(cls): method __repr__ (line 22) | def __repr__(self): function stub_function (line 26) | def stub_function(fn): class Dim3 (line 41) | class Dim3(Stub): method x (line 46) | def x(self): method y (line 50) | def y(self): method z (line 54) | def z(self): class threadIdx (line 58) | class threadIdx(Dim3): class blockIdx (line 67) | class blockIdx(Dim3): class blockDim (line 76) | class blockDim(Dim3): class gridDim (line 85) | class gridDim(Dim3): class warpsize (line 93) | class warpsize(Stub): class laneid (line 101) | class laneid(Stub): class shared (line 112) | class shared(Stub): method array (line 119) | def array(shape, dtype): class local (line 131) | class local(Stub): method array (line 138) | def array(shape, dtype): class const (line 147) | class const(Stub): method array_like (line 153) | def array_like(ndarray): class syncwarp (line 163) | class syncwarp(Stub): class shfl_sync_intrinsic (line 172) | class shfl_sync_intrinsic(Stub): class vote_sync_intrinsic (line 182) | class vote_sync_intrinsic(Stub): class match_any_sync (line 192) | class match_any_sync(Stub): class match_all_sync (line 203) | class match_all_sync(Stub): class activemask (line 216) | class activemask(Stub): class lanemask_lt (line 229) | class lanemask_lt(Stub): class threadfence_block (line 242) | class threadfence_block(Stub): class threadfence_system (line 249) | class threadfence_system(Stub): class threadfence (line 256) | class threadfence(Stub): class popc (line 266) | class popc(Stub): class brev (line 274) | class brev(Stub): class clz (line 283) | class clz(Stub): class ffs (line 291) | class ffs(Stub): class selp (line 303) | class selp(Stub): class fma (line 315) | class fma(Stub): class cbrt (line 323) | class cbrt(Stub): class atomic (line 334) | class atomic(Stub): class add (line 339) | class add(Stub): class sub (line 349) | class sub(Stub): class and_ (line 359) | class and_(Stub): class or_ (line 369) | class or_(Stub): class xor (line 379) | class xor(Stub): class inc (line 389) | class inc(Stub): class dec (line 399) | class dec(Stub): class exch (line 413) | class exch(Stub): class max (line 423) | class max(Stub): class min (line 435) | class min(Stub): class nanmax (line 447) | class nanmax(Stub): class nanmin (line 462) | class nanmin(Stub): class compare_and_swap (line 477) | class compare_and_swap(Stub): class cas (line 488) | class cas(Stub): class nanosleep (line 503) | class nanosleep(Stub): class fp16 (line 516) | class fp16(Stub): class hadd (line 521) | class hadd(Stub): class hsub (line 531) | class hsub(Stub): class hmul (line 541) | class hmul(Stub): class hdiv (line 551) | class hdiv(Stub): class hfma (line 561) | class hfma(Stub): class hneg (line 571) | class hneg(Stub): class habs (line 580) | class habs(Stub): class hsin (line 589) | class hsin(Stub): class hcos (line 599) | class hcos(Stub): class hlog (line 609) | class hlog(Stub): class hlog10 (line 619) | class hlog10(Stub): class hlog2 (line 629) | class hlog2(Stub): class hexp (line 639) | class hexp(Stub): class hexp10 (line 649) | class hexp10(Stub): class hexp2 (line 659) | class hexp2(Stub): class hfloor (line 669) | class hfloor(Stub): class hceil (line 679) | class hceil(Stub): class hsqrt (line 689) | class hsqrt(Stub): class hrsqrt (line 699) | class hrsqrt(Stub): class hrcp (line 709) | class hrcp(Stub): class hrint (line 719) | class hrint(Stub): class htrunc (line 729) | class htrunc(Stub): class heq (line 739) | class heq(Stub): class hne (line 749) | class hne(Stub): class hge (line 759) | class hge(Stub): class hgt (line 769) | class hgt(Stub): class hle (line 779) | class hle(Stub): class hlt (line 789) | class hlt(Stub): class hmax (line 799) | class hmax(Stub): class hmin (line 809) | class hmin(Stub): function make_vector_type_stubs (line 823) | def make_vector_type_stubs(): function map_vector_type_stubs_to_alias (line 868) | def map_vector_type_stubs_to_alias(vector_type_stubs): FILE: numba/cuda/target.py class CUDATypingContext (line 22) | class CUDATypingContext(typing.BaseContext): method load_additional_registries (line 23) | def load_additional_registries(self): method resolve_value_type (line 35) | def resolve_value_type(self, val): class CUDATargetContext (line 67) | class CUDATargetContext(BaseContext): method __init__ (line 71) | def __init__(self, typingctx, target='cuda'): method DIBuilder (line 78) | def DIBuilder(self): method enable_boundscheck (line 82) | def enable_boundscheck(self): method create_module (line 87) | def create_module(self, name): method init (line 90) | def init(self): method load_additional_registries (line 94) | def load_additional_registries(self): method codegen (line 118) | def codegen(self): method target_data (line 122) | def target_data(self): method nonconst_module_attrs (line 128) | def nonconst_module_attrs(self): method call_conv (line 142) | def call_conv(self): method mangler (line 145) | def mangler(self, name, argtypes, *, abi_tags=(), uid=None): method prepare_cuda_kernel (line 149) | def prepare_cuda_kernel(self, codelib, fndesc, debug, lineinfo, method generate_kernel_wrapper (line 185) | def generate_kernel_wrapper(self, library, fndesc, kernel_name, debug, method make_constant_array (line 277) | def make_constant_array(self, builder, aryty, arr): method insert_const_string (line 320) | def insert_const_string(self, mod, string): method insert_string_const_addrspace (line 342) | def insert_string_const_addrspace(self, builder, string): method optimize_function (line 354) | def optimize_function(self, func): method get_ufunc_info (line 367) | def get_ufunc_info(self, ufunc_key): class CUDACallConv (line 371) | class CUDACallConv(MinimalCallConv): class CUDACABICallConv (line 375) | class CUDACABICallConv(BaseCallConv): method _make_call_helper (line 385) | def _make_call_helper(self, builder): method return_value (line 390) | def return_value(self, builder, retval): method return_user_exc (line 393) | def return_user_exc(self, builder, exc, exc_args=None, loc=None, method return_status_propagate (line 398) | def return_status_propagate(self, builder, status): method get_function_type (line 402) | def get_function_type(self, restype, argtypes): method decorate_function (line 411) | def decorate_function(self, fn, args, fe_argtypes, noalias=False): method get_arguments (line 420) | def get_arguments(self, func): method call_function (line 426) | def call_function(self, builder, callee, resty, argtys, args): method get_return_type (line 439) | def get_return_type(self, ty): FILE: numba/cuda/testing.py class CUDATestCase (line 17) | class CUDATestCase(SerialMixin, TestCase): method setUp (line 25) | def setUp(self): method tearDown (line 34) | def tearDown(self): method skip_if_lto (line 38) | def skip_if_lto(self, reason): class ContextResettingTestCase (line 47) | class ContextResettingTestCase(CUDATestCase): method tearDown (line 55) | def tearDown(self): function ensure_supported_ccs_initialized (line 61) | def ensure_supported_ccs_initialized(): function skip_on_cudasim (line 75) | def skip_on_cudasim(reason): function skip_unless_cudasim (line 80) | def skip_unless_cudasim(reason): function skip_unless_conda_cudatoolkit (line 85) | def skip_unless_conda_cudatoolkit(reason): function skip_if_external_memmgr (line 90) | def skip_if_external_memmgr(reason): function skip_under_cuda_memcheck (line 95) | def skip_under_cuda_memcheck(reason): function skip_without_nvdisasm (line 99) | def skip_without_nvdisasm(reason): function skip_with_nvdisasm (line 104) | def skip_with_nvdisasm(reason): function skip_on_arm (line 109) | def skip_on_arm(reason): function skip_if_cuda_includes_missing (line 115) | def skip_if_cuda_includes_missing(fn): function skip_if_mvc_enabled (line 124) | def skip_if_mvc_enabled(reason): function skip_if_mvc_libraries_unavailable (line 130) | def skip_if_mvc_libraries_unavailable(fn): function cc_X_or_above (line 143) | def cc_X_or_above(major, minor): function skip_unless_cc_50 (line 151) | def skip_unless_cc_50(fn): function skip_unless_cc_53 (line 155) | def skip_unless_cc_53(fn): function skip_unless_cc_60 (line 159) | def skip_unless_cc_60(fn): function skip_unless_cc_75 (line 163) | def skip_unless_cc_75(fn): function xfail_unless_cudasim (line 167) | def xfail_unless_cudasim(fn): function skip_with_cuda_python (line 174) | def skip_with_cuda_python(reason): function cudadevrt_missing (line 178) | def cudadevrt_missing(): function skip_if_cudadevrt_missing (line 189) | def skip_if_cudadevrt_missing(fn): class ForeignArray (line 193) | class ForeignArray(object): method __init__ (line 200) | def __init__(self, arr): FILE: numba/cuda/tests/__init__.py function load_tests (line 8) | def load_tests(loader, tests, pattern): FILE: numba/cuda/tests/cudadrv/__init__.py function load_tests (line 6) | def load_tests(loader, tests, pattern): FILE: numba/cuda/tests/cudadrv/test_array_attr.py class TestArrayAttr (line 6) | class TestArrayAttr(CUDATestCase): method test_contigous_2d (line 8) | def test_contigous_2d(self): method test_contigous_3d (line 20) | def test_contigous_3d(self): method test_contigous_4d (line 32) | def test_contigous_4d(self): method test_ravel_1d (line 44) | def test_ravel_1d(self): method test_ravel_stride_1d (line 56) | def test_ravel_stride_1d(self): method test_ravel_c (line 68) | def test_ravel_c(self): method test_ravel_stride_c (line 91) | def test_ravel_stride_c(self): method test_ravel_f (line 103) | def test_ravel_f(self): method test_ravel_stride_f (line 116) | def test_ravel_stride_f(self): method test_reshape_c (line 127) | def test_reshape_c(self): method test_reshape_f (line 135) | def test_reshape_f(self): FILE: numba/cuda/tests/cudadrv/test_context_stack.py class TestContextStack (line 10) | class TestContextStack(CUDATestCase): method setUp (line 11) | def setUp(self): method test_gpus_current (line 16) | def test_gpus_current(self): method test_gpus_len (line 21) | def test_gpus_len(self): method test_gpus_iter (line 24) | def test_gpus_iter(self): class TestContextAPI (line 29) | class TestContextAPI(CUDATestCase): method tearDown (line 31) | def tearDown(self): method test_context_memory (line 35) | def test_context_memory(self): method test_forbidden_context_switch (line 51) | def test_forbidden_context_switch(self): method test_accepted_context_switch (line 65) | def test_accepted_context_switch(self): class Test3rdPartyContext (line 76) | class Test3rdPartyContext(CUDATestCase): method tearDown (line 77) | def tearDown(self): method test_attached_primary (line 81) | def test_attached_primary(self, extra_work=lambda: None): method test_attached_non_primary (line 107) | def test_attached_non_primary(self): method test_cudajit_in_attached_primary_context (line 128) | def test_cudajit_in_attached_primary_context(self): FILE: numba/cuda/tests/cudadrv/test_cuda_array_slicing.py class CudaArrayIndexing (line 10) | class CudaArrayIndexing(CUDATestCase): method test_index_1d (line 11) | def test_index_1d(self): method test_index_2d (line 22) | def test_index_2d(self): method test_index_3d (line 38) | def test_index_3d(self): class CudaArrayStridedSlice (line 60) | class CudaArrayStridedSlice(CUDATestCase): method test_strided_index_1d (line 62) | def test_strided_index_1d(self): method test_strided_index_2d (line 68) | def test_strided_index_2d(self): method test_strided_index_3d (line 77) | def test_strided_index_3d(self): class CudaArraySlicing (line 89) | class CudaArraySlicing(CUDATestCase): method test_prefix_1d (line 90) | def test_prefix_1d(self): method test_prefix_2d (line 98) | def test_prefix_2d(self): method test_select_3d_first_two_dim (line 110) | def test_select_3d_first_two_dim(self): method test_select_f (line 131) | def test_select_f(self): method test_select_c (line 147) | def test_select_c(self): method test_prefix_select (line 163) | def test_prefix_select(self): method test_negative_slicing_1d (line 169) | def test_negative_slicing_1d(self): method test_negative_slicing_2d (line 176) | def test_negative_slicing_2d(self): method test_empty_slice_1d (line 183) | def test_empty_slice_1d(self): method test_empty_slice_2d (line 196) | def test_empty_slice_2d(self): class CudaArraySetting (line 210) | class CudaArraySetting(CUDATestCase): method test_scalar (line 216) | def test_scalar(self): method test_rank (line 223) | def test_rank(self): method test_broadcast (line 230) | def test_broadcast(self): method test_array_assign_column (line 237) | def test_array_assign_column(self): method test_array_assign_row (line 245) | def test_array_assign_row(self): method test_array_assign_subarray (line 253) | def test_array_assign_subarray(self): method test_array_assign_deep_subarray (line 261) | def test_array_assign_deep_subarray(self): method test_array_assign_all (line 269) | def test_array_assign_all(self): method test_strides (line 277) | def test_strides(self): method test_incompatible_highdim (line 284) | def test_incompatible_highdim(self): method test_incompatible_shape (line 298) | def test_incompatible_shape(self): method test_sync (line 314) | def test_sync(self): method test_no_sync_default_stream (line 325) | def test_no_sync_default_stream(self): method test_no_sync_supplied_stream (line 343) | def test_no_sync_supplied_stream(self): method test_issue_6505 (line 361) | def test_issue_6505(self): FILE: numba/cuda/tests/cudadrv/test_cuda_auto_context.py class TestCudaAutoContext (line 6) | class TestCudaAutoContext(CUDATestCase): method test_auto_context (line 7) | def test_auto_context(self): FILE: numba/cuda/tests/cudadrv/test_cuda_devicerecord.py class TestCudaDeviceRecord (line 37) | class TestCudaDeviceRecord(CUDATestCase): method setUp (line 41) | def setUp(self): method _create_data (line 45) | def _create_data(self, array_ctor): method _check_device_record (line 52) | def _check_device_record(self, reference, rec): method test_device_record_interface (line 63) | def test_device_record_interface(self): method test_device_record_copy (line 68) | def test_device_record_copy(self): method test_from_record_like (line 86) | def test_from_record_like(self): method test_auto_device (line 97) | def test_auto_device(self): class TestCudaDeviceRecordWithRecord (line 110) | class TestCudaDeviceRecordWithRecord(TestCudaDeviceRecord): method setUp (line 114) | def setUp(self): class TestRecordDtypeWithStructArrays (line 120) | class TestRecordDtypeWithStructArrays(CUDATestCase): method _createSampleArrays (line 125) | def _createSampleArrays(self): method setUp (line 130) | def setUp(self): method test_structured_array1 (line 142) | def test_structured_array1(self): method test_structured_array2 (line 151) | def test_structured_array2(self): method test_structured_array3 (line 160) | def test_structured_array3(self): method test_structured_array4 (line 169) | def test_structured_array4(self): FILE: numba/cuda/tests/cudadrv/test_cuda_driver.py class TestCudaDriver (line 64) | class TestCudaDriver(CUDATestCase): method setUp (line 65) | def setUp(self): method tearDown (line 76) | def tearDown(self): method test_cuda_driver_basic (line 80) | def test_cuda_driver_basic(self): method test_cuda_driver_stream_operations (line 109) | def test_cuda_driver_stream_operations(self): method test_cuda_driver_default_stream (line 137) | def test_cuda_driver_default_stream(self): method test_cuda_driver_legacy_default_stream (line 148) | def test_cuda_driver_legacy_default_stream(self): method test_cuda_driver_per_thread_default_stream (line 156) | def test_cuda_driver_per_thread_default_stream(self): method test_cuda_driver_stream (line 164) | def test_cuda_driver_stream(self): method test_cuda_driver_external_stream (line 174) | def test_cuda_driver_external_stream(self): method test_cuda_driver_occupancy (line 194) | def test_cuda_driver_occupancy(self): class TestDevice (line 211) | class TestDevice(CUDATestCase): method test_device_get_uuid (line 212) | def test_device_get_uuid(self): FILE: numba/cuda/tests/cudadrv/test_cuda_libraries.py class TestLibraryDetection (line 8) | class TestLibraryDetection(unittest.TestCase): method test_detect (line 9) | def test_detect(self): FILE: numba/cuda/tests/cudadrv/test_cuda_memory.py class TestCudaMemory (line 11) | class TestCudaMemory(ContextResettingTestCase): method setUp (line 12) | def setUp(self): method tearDown (line 16) | def tearDown(self): method _template (line 20) | def _template(self, obj): method test_device_memory (line 30) | def test_device_memory(self): method test_device_view (line 34) | def test_device_view(self): method test_host_alloc (line 38) | def test_host_alloc(self): method test_pinned_memory (line 42) | def test_pinned_memory(self): method test_managed_memory (line 49) | def test_managed_memory(self): method test_derived_pointer (line 53) | def test_derived_pointer(self): method test_user_extension (line 84) | def test_user_extension(self): class TestCudaMemoryFunctions (line 110) | class TestCudaMemoryFunctions(ContextResettingTestCase): method setUp (line 111) | def setUp(self): method tearDown (line 115) | def tearDown(self): method test_memcpy (line 119) | def test_memcpy(self): method test_memset (line 130) | def test_memset(self): method test_d2d (line 143) | def test_d2d(self): class TestMVExtent (line 156) | class TestMVExtent(ContextResettingTestCase): method test_c_contiguous_array (line 157) | def test_c_contiguous_array(self): method test_f_contiguous_array (line 164) | def test_f_contiguous_array(self): method test_single_element_array (line 171) | def test_single_element_array(self): method test_ctypes_struct (line 178) | def test_ctypes_struct(self): method test_ctypes_double (line 186) | def test_ctypes_double(self): FILE: numba/cuda/tests/cudadrv/test_cuda_ndarray.py class TestCudaNDArray (line 9) | class TestCudaNDArray(CUDATestCase): method test_device_array_interface (line 10) | def test_device_array_interface(self): method test_device_array_from_readonly (line 23) | def test_device_array_from_readonly(self): method test_devicearray_dtype (line 33) | def test_devicearray_dtype(self): method test_devicearray_no_copy (line 37) | def test_devicearray_no_copy(self): method test_devicearray_shape (line 41) | def test_devicearray_shape(self): method test_devicearray (line 47) | def test_devicearray(self): method test_stream_bind (line 56) | def test_stream_bind(self): method test_len_1d (line 66) | def test_len_1d(self): method test_len_2d (line 71) | def test_len_2d(self): method test_len_3d (line 76) | def test_len_3d(self): method test_devicearray_partition (line 81) | def test_devicearray_partition(self): method test_devicearray_replace (line 97) | def test_devicearray_replace(self): method test_devicearray_transpose_wrongdim (line 107) | def test_devicearray_transpose_wrongdim(self): method test_devicearray_transpose_identity (line 117) | def test_devicearray_transpose_identity(self): method test_devicearray_transpose_duplicatedaxis (line 124) | def test_devicearray_transpose_duplicatedaxis(self): method test_devicearray_transpose_wrongaxis (line 137) | def test_devicearray_transpose_wrongaxis(self): method test_devicearray_view_ok (line 151) | def test_devicearray_view_ok(self): method test_devicearray_view_ok_not_c_contig (line 161) | def test_devicearray_view_ok_not_c_contig(self): method test_devicearray_view_bad_not_c_contig (line 170) | def test_devicearray_view_bad_not_c_contig(self): method test_devicearray_view_bad_itemsize (line 184) | def test_devicearray_view_bad_itemsize(self): method test_devicearray_transpose_ok (line 195) | def test_devicearray_transpose_ok(self): method test_devicearray_transpose_T (line 200) | def test_devicearray_transpose_T(self): method test_devicearray_contiguous_slice (line 205) | def test_devicearray_contiguous_slice(self): method _test_devicearray_contiguous_host_copy (line 225) | def _test_devicearray_contiguous_host_copy(self, a_c, a_f): method test_devicearray_contiguous_copy_host_3d (line 248) | def test_devicearray_contiguous_copy_host_3d(self): method test_devicearray_contiguous_copy_host_1d (line 253) | def test_devicearray_contiguous_copy_host_1d(self): method test_devicearray_contiguous_copy_device (line 258) | def test_devicearray_contiguous_copy_device(self): method test_devicearray_broadcast_host_copy (line 286) | def test_devicearray_broadcast_host_copy(self): method test_devicearray_contiguous_host_strided (line 307) | def test_devicearray_contiguous_host_strided(self): method test_devicearray_contiguous_device_strided (line 314) | def test_devicearray_contiguous_device_strided(self): method test_devicearray_relaxed_strides (line 325) | def test_devicearray_relaxed_strides(self): method test_c_f_contiguity_matches_numpy (line 339) | def test_c_f_contiguity_matches_numpy(self): method test_devicearray_typing_order_simple_c (line 354) | def test_devicearray_typing_order_simple_c(self): method test_devicearray_typing_order_simple_f (line 361) | def test_devicearray_typing_order_simple_f(self): method test_devicearray_typing_order_2d_c (line 368) | def test_devicearray_typing_order_2d_c(self): method test_devicearray_typing_order_2d_f (line 375) | def test_devicearray_typing_order_2d_f(self): method test_devicearray_typing_order_noncontig_slice_c (line 382) | def test_devicearray_typing_order_noncontig_slice_c(self): method test_devicearray_typing_order_noncontig_slice_f (line 389) | def test_devicearray_typing_order_noncontig_slice_f(self): method test_devicearray_typing_order_contig_slice_c (line 396) | def test_devicearray_typing_order_contig_slice_c(self): method test_devicearray_typing_order_contig_slice_f (line 403) | def test_devicearray_typing_order_contig_slice_f(self): method test_devicearray_typing_order_broadcasted (line 411) | def test_devicearray_typing_order_broadcasted(self): method test_bug6697 (line 417) | def test_bug6697(self): method test_issue_8477 (line 424) | def test_issue_8477(self): class TestRecarray (line 459) | class TestRecarray(CUDATestCase): method test_recarray (line 460) | def test_recarray(self): class TestCoreContiguous (line 486) | class TestCoreContiguous(CUDATestCase): method _test_against_array_core (line 487) | def _test_against_array_core(self, view): method test_device_array_like_1d (line 493) | def test_device_array_like_1d(self): method test_device_array_like_2d (line 497) | def test_device_array_like_2d(self): method test_device_array_like_2d_transpose (line 501) | def test_device_array_like_2d_transpose(self): method test_device_array_like_3d (line 505) | def test_device_array_like_3d(self): method test_device_array_like_1d_f (line 509) | def test_device_array_like_1d_f(self): method test_device_array_like_2d_f (line 513) | def test_device_array_like_2d_f(self): method test_device_array_like_2d_f_transpose (line 517) | def test_device_array_like_2d_f_transpose(self): method test_device_array_like_3d_f (line 521) | def test_device_array_like_3d_f(self): method test_1d_view (line 525) | def test_1d_view(self): method test_1d_view_f (line 530) | def test_1d_view_f(self): method test_2d_view (line 535) | def test_2d_view(self): method test_2d_view_f (line 540) | def test_2d_view_f(self): FILE: numba/cuda/tests/cudadrv/test_deallocations.py class TestDeallocation (line 14) | class TestDeallocation(CUDATestCase): method test_max_pending_count (line 15) | def test_max_pending_count(self): method test_max_pending_bytes (line 28) | def test_max_pending_bytes(self): class TestDeferCleanup (line 68) | class TestDeferCleanup(CUDATestCase): method test_basic (line 69) | def test_basic(self): method test_nested (line 87) | def test_nested(self): method test_exception (line 108) | def test_exception(self): class TestDeferCleanupAvail (line 134) | class TestDeferCleanupAvail(CUDATestCase): method test_context_manager (line 135) | def test_context_manager(self): class TestDel (line 142) | class TestDel(CUDATestCase): method check_ignored_exception (line 147) | def check_ignored_exception(self, ctx): method test_stream (line 153) | def test_stream(self): method test_event (line 159) | def test_event(self): method test_pinned_memory (line 165) | def test_pinned_memory(self): method test_mapped_memory (line 171) | def test_mapped_memory(self): method test_device_memory (line 177) | def test_device_memory(self): method test_managed_memory (line 183) | def test_managed_memory(self): method test_pinned_contextmanager (line 189) | def test_pinned_contextmanager(self): method test_mapped_contextmanager (line 218) | def test_mapped_contextmanager(self): FILE: numba/cuda/tests/cudadrv/test_detect.py class TestCudaDetect (line 11) | class TestCudaDetect(CUDATestCase): method test_cuda_detect (line 12) | def test_cuda_detect(self): class TestCUDAFindLibs (line 22) | class TestCUDAFindLibs(CUDATestCase): method run_cmd (line 24) | def run_cmd(self, cmdline, env): method run_test_in_separate_process (line 41) | def run_test_in_separate_process(self, envvar, envvar_value): method test_cuda_find_lib_errors (line 56) | def test_cuda_find_lib_errors(self): FILE: numba/cuda/tests/cudadrv/test_emm_plugins.py class DeviceOnlyEMMPlugin (line 11) | class DeviceOnlyEMMPlugin(cuda.HostOnlyCUDAMemoryManager): method __init__ (line 18) | def __init__(self, *args, **kwargs): method memalloc (line 32) | def memalloc(self, size): method initialize (line 62) | def initialize(self): method reset (line 66) | def reset(self): method get_memory_info (line 75) | def get_memory_info(self): method get_ipc_handle (line 80) | def get_ipc_handle(self, memory): method interface_version (line 88) | def interface_version(self): class BadVersionEMMPlugin (line 92) | class BadVersionEMMPlugin(DeviceOnlyEMMPlugin): method interface_version (line 96) | def interface_version(self): class TestDeviceOnlyEMMPlugin (line 101) | class TestDeviceOnlyEMMPlugin(CUDATestCase): method setUp (line 107) | def setUp(self): method tearDown (line 113) | def tearDown(self): method test_memalloc (line 119) | def test_memalloc(self): method test_initialized_in_context (line 148) | def test_initialized_in_context(self): method test_reset (line 153) | def test_reset(self): method test_get_memory_info (line 158) | def test_get_memory_info(self): method test_get_ipc_handle (line 166) | def test_get_ipc_handle(self): class TestBadEMMPluginVersion (line 179) | class TestBadEMMPluginVersion(CUDATestCase): method test_bad_plugin_version (line 185) | def test_bad_plugin_version(self): FILE: numba/cuda/tests/cudadrv/test_events.py class TestCudaEvent (line 6) | class TestCudaEvent(CUDATestCase): method test_event_elapsed (line 7) | def test_event_elapsed(self): method test_event_elapsed_stream (line 21) | def test_event_elapsed_stream(self): FILE: numba/cuda/tests/cudadrv/test_host_alloc.py class TestHostAlloc (line 7) | class TestHostAlloc(ContextResettingTestCase): method test_host_alloc_driver (line 8) | def test_host_alloc_driver(self): method test_host_alloc_pinned (line 30) | def test_host_alloc_pinned(self): method test_host_alloc_mapped (line 40) | def test_host_alloc_mapped(self): method test_host_operators (line 48) | def test_host_operators(self): FILE: numba/cuda/tests/cudadrv/test_init.py function cuInit_raising (line 11) | def cuInit_raising(arg): function cuInit_raising_test (line 20) | def cuInit_raising_test(result_queue): function initialization_error_test (line 38) | def initialization_error_test(result_queue): function cuda_disabled_test (line 55) | def cuda_disabled_test(result_queue): function cuda_disabled_error_test (line 71) | def cuda_disabled_error_test(result_queue): class TestInit (line 86) | class TestInit(CUDATestCase): method _test_init_failure (line 87) | def _test_init_failure(self, target, expected): method test_init_failure_raising (line 103) | def test_init_failure_raising(self): method test_init_failure_error (line 107) | def test_init_failure_error(self): method _test_cuda_disabled (line 111) | def _test_cuda_disabled(self, target): method test_cuda_disabled_raising (line 125) | def test_cuda_disabled_raising(self): method test_cuda_disabled_error (line 128) | def test_cuda_disabled_error(self): method test_init_success (line 131) | def test_init_success(self): FILE: numba/cuda/tests/cudadrv/test_inline_ptx.py class TestCudaInlineAsm (line 9) | class TestCudaInlineAsm(ContextResettingTestCase): method test_inline_rsqrt (line 10) | def test_inline_rsqrt(self): FILE: numba/cuda/tests/cudadrv/test_is_fp16.py class TestIsFP16Supported (line 5) | class TestIsFP16Supported(CUDATestCase): method test_is_fp16_supported (line 6) | def test_is_fp16_supported(self): method test_device_supports_float16 (line 11) | def test_device_supports_float16(self): FILE: numba/cuda/tests/cudadrv/test_linker.py function simple_const_mem (line 17) | def simple_const_mem(A): function func_with_lots_of_registers (line 24) | def func_with_lots_of_registers(x, a, b, c, d, e, f): function simple_smem (line 72) | def simple_smem(ary, dty): function coop_smem2d (line 82) | def coop_smem2d(ary): function simple_maxthreads (line 90) | def simple_maxthreads(ary): function simple_lmem (line 98) | def simple_lmem(A, B, dty): class TestLinker (line 107) | class TestLinker(CUDATestCase): method test_linker_basic (line 111) | def test_linker_basic(self): method _test_linking (line 117) | def _test_linking(self, eager): method test_linking_lazy_compile (line 140) | def test_linking_lazy_compile(self): method test_linking_eager_compile (line 143) | def test_linking_eager_compile(self): method test_linking_cu (line 146) | def test_linking_cu(self): method test_linking_cu_log_warning (line 167) | def test_linking_cu_log_warning(self): method test_linking_cu_error (line 185) | def test_linking_cu_error(self): method test_linking_unknown_filetype_error (line 203) | def test_linking_unknown_filetype_error(self): method test_linking_file_with_no_extension_error (line 210) | def test_linking_file_with_no_extension_error(self): method test_linking_cu_cuda_include (line 218) | def test_linking_cu_cuda_include(self): method test_try_to_link_nonexistent (line 227) | def test_try_to_link_nonexistent(self): method test_set_registers_no_max (line 234) | def test_set_registers_no_max(self): method test_set_registers_57 (line 243) | def test_set_registers_57(self): method test_set_registers_38 (line 248) | def test_set_registers_38(self): method test_set_registers_eager (line 253) | def test_set_registers_eager(self): method test_get_const_mem_size (line 258) | def test_get_const_mem_size(self): method test_get_no_shared_memory (line 264) | def test_get_no_shared_memory(self): method test_get_shared_mem_per_block (line 270) | def test_get_shared_mem_per_block(self): method test_get_shared_mem_per_specialized (line 276) | def test_get_shared_mem_per_specialized(self): method test_get_max_threads_per_block (line 283) | def test_get_max_threads_per_block(self): method test_max_threads_exceeded (line 288) | def test_max_threads_exceeded(self): method test_get_local_mem_per_thread (line 298) | def test_get_local_mem_per_thread(self): method test_get_local_mem_per_specialized (line 305) | def test_get_local_mem_per_specialized(self): FILE: numba/cuda/tests/cudadrv/test_managed_alloc.py class TestManagedAlloc (line 13) | class TestManagedAlloc(ContextResettingTestCase): method get_total_gpu_memory (line 15) | def get_total_gpu_memory(self): method skip_if_cc_major_lt (line 28) | def skip_if_cc_major_lt(self, min_required, reason): method test_managed_alloc_driver_undersubscribe (line 48) | def test_managed_alloc_driver_undersubscribe(self): method test_managed_alloc_driver_oversubscribe (line 62) | def test_managed_alloc_driver_oversubscribe(self): method test_managed_alloc_driver_host_attach (line 67) | def test_managed_alloc_driver_host_attach(self): method _test_managed_alloc_driver (line 74) | def _test_managed_alloc_driver(self, memory_factor, attach_global=True): method _test_managed_array (line 98) | def _test_managed_array(self, attach_global=True): method test_managed_array_attach_global (line 116) | def test_managed_array_attach_global(self): method test_managed_array_attach_host (line 119) | def test_managed_array_attach_host(self): FILE: numba/cuda/tests/cudadrv/test_mvc.py function child_test (line 9) | def child_test(): function child_test_wrapper (line 22) | def child_test_wrapper(result_queue): class TestMinorVersionCompatibility (line 38) | class TestMinorVersionCompatibility(CUDATestCase): method test_mvc (line 39) | def test_mvc(self): FILE: numba/cuda/tests/cudadrv/test_nvvm_driver.py class TestNvvmDriver (line 11) | class TestNvvmDriver(unittest.TestCase): method get_nvvmir (line 12) | def get_nvvmir(self): method test_nvvm_compile_simple (line 17) | def test_nvvm_compile_simple(self): method test_nvvm_compile_nullary_option (line 23) | def test_nvvm_compile_nullary_option(self): method test_nvvm_bad_option (line 39) | def test_nvvm_bad_option(self): method test_nvvm_from_llvm (line 46) | def test_nvvm_from_llvm(self): method test_used_list (line 61) | def test_used_list(self): method test_nvvm_ir_verify_fail (line 89) | def test_nvvm_ir_verify_fail(self): method _test_nvvm_support (line 97) | def _test_nvvm_support(self, arch): method test_nvvm_support (line 106) | def test_nvvm_support(self): method test_nvvm_warning (line 112) | def test_nvvm_warning(self): class TestArchOption (line 135) | class TestArchOption(unittest.TestCase): method test_get_arch_option (line 136) | def test_get_arch_option(self): class TestLibDevice (line 150) | class TestLibDevice(unittest.TestCase): method test_libdevice_load (line 151) | def test_libdevice_load(self): FILE: numba/cuda/tests/cudadrv/test_pinned.py class TestPinned (line 8) | class TestPinned(ContextResettingTestCase): method _run_copies (line 10) | def _run_copies(self, A): method test_pinned (line 21) | def test_pinned(self): method test_unpinned (line 31) | def test_unpinned(self): FILE: numba/cuda/tests/cudadrv/test_profiler.py class TestProfiler (line 8) | class TestProfiler(ContextResettingTestCase): method test_profiling (line 9) | def test_profiling(self): FILE: numba/cuda/tests/cudadrv/test_ptds.py function child_test (line 10) | def child_test(): function child_test_wrapper (line 93) | def child_test_wrapper(result_queue): class TestPTDS (line 110) | class TestPTDS(CUDATestCase): method test_ptds (line 112) | def test_ptds(self): FILE: numba/cuda/tests/cudadrv/test_reset_device.py class TestResetDevice (line 8) | class TestResetDevice(ContextResettingTestCase): method test_reset_device (line 9) | def test_reset_device(self): FILE: numba/cuda/tests/cudadrv/test_runtime.py function set_visible_devices_and_check (line 9) | def set_visible_devices_and_check(q): class TestRuntime (line 28) | class TestRuntime(unittest.TestCase): method test_is_supported_version_true (line 29) | def test_is_supported_version_true(self): method test_is_supported_version_false (line 35) | def test_is_supported_version_false(self): method test_supported_versions (line 42) | def test_supported_versions(self): class TestVisibleDevices (line 46) | class TestVisibleDevices(unittest.TestCase, SerialMixin): method test_visible_devices_set_after_import (line 47) | def test_visible_devices_set_after_import(self): FILE: numba/cuda/tests/cudadrv/test_select_device.py function newthread (line 12) | def newthread(exception_queue): class TestSelectDevice (line 26) | class TestSelectDevice(ContextResettingTestCase): method test_select_device (line 27) | def test_select_device(self): FILE: numba/cuda/tests/cudadrv/test_streams.py function with_asyncio_loop (line 9) | def with_asyncio_loop(f): class TestCudaStream (line 22) | class TestCudaStream(CUDATestCase): method test_add_callback (line 23) | def test_add_callback(self): method test_add_callback_with_default_arg (line 32) | def test_add_callback_with_default_arg(self): method test_async_done (line 44) | async def test_async_done(self): method test_parallel_tasks (line 49) | async def test_parallel_tasks(self): method test_multiple_async_done (line 66) | async def test_multiple_async_done(self): method test_multiple_async_done_multiple_streams (line 74) | async def test_multiple_async_done_multiple_streams(self): method test_cancelled_future (line 83) | async def test_cancelled_future(self): class TestFailingStream (line 93) | class TestFailingStream(CUDATestCase): method test_failed_stream (line 103) | async def test_failed_stream(self): FILE: numba/cuda/tests/cudapy/__init__.py function load_tests (line 6) | def load_tests(loader, tests, pattern): FILE: numba/cuda/tests/cudapy/cache_usecases.py class UseCase (line 7) | class UseCase: method __init__ (line 20) | def __init__(self, func, retty=None): method __call__ (line 24) | def __call__(self, *args): method func (line 35) | def func(self): class CUDAUseCase (line 39) | class CUDAUseCase(UseCase): method _call (line 40) | def _call(self, ret, *args): function add_usecase_kernel (line 45) | def add_usecase_kernel(r, x, y): function add_nocache_usecase_kernel (line 50) | def add_nocache_usecase_kernel(r, x, y): function inner (line 63) | def inner(x, y): function outer_kernel (line 68) | def outer_kernel(r, x, y): function outer_uncached_kernel (line 73) | def outer_uncached_kernel(r, x, y): function record_return (line 96) | def record_return(r, ary, i): function make_closure (line 106) | def make_closure(x): function ambiguous_function (line 123) | def ambiguous_function(r, x): function ambiguous_function (line 131) | def ambiguous_function(r, x): function many_locals (line 139) | def many_locals(): function simple_usecase_kernel (line 194) | def simple_usecase_kernel(r, x): function cg_usecase_kernel (line 204) | def cg_usecase_kernel(r, x): class _TestModule (line 212) | class _TestModule(CUDATestCase): method check_module (line 219) | def check_module(self, mod): function self_test (line 232) | def self_test(): FILE: numba/cuda/tests/cudapy/cache_with_cpu_usecases.py class CPUUseCase (line 8) | class CPUUseCase(UseCase): method _call (line 9) | def _call(self, ret, *args): function target_shared_assign (line 15) | def target_shared_assign(r, x): class _TestModule (line 25) | class _TestModule(CUDATestCase): method check_module (line 32) | def check_module(self, mod): function self_test (line 39) | def self_test(): FILE: numba/cuda/tests/cudapy/extensions_usecases.py class TestStruct (line 5) | class TestStruct: method __init__ (line 6) | def __init__(self, x, y): class TestStructModelType (line 11) | class TestStructModelType(types.Type): method __init__ (line 12) | def __init__(self): function typeof_teststruct (line 32) | def typeof_teststruct(val, c): class TestStructModel (line 36) | class TestStructModel(models.StructModel): method __init__ (line 37) | def __init__(self, dmm, fe_type): function type_test_struct (line 45) | def type_test_struct(context): function lower_test_type_ctor (line 52) | def lower_test_type_ctor(context, builder, sig, args): FILE: numba/cuda/tests/cudapy/recursion_usecases.py function fib1 (line 12) | def fib1(n): function make_fib2 (line 20) | def make_fib2(): function type_change_self (line 34) | def type_change_self(x, y): function fib3 (line 43) | def fib3(n): function runaway_self (line 52) | def runaway_self(x): function raise_self (line 57) | def raise_self(x): function raise_self_kernel (line 67) | def raise_self_kernel(x): function make_optional_return_case (line 71) | def make_optional_return_case(jit=lambda x: x): function make_growing_tuple_case (line 92) | def make_growing_tuple_case(jit=lambda x: x): FILE: numba/cuda/tests/cudapy/test_alignment.py class TestAlignment (line 7) | class TestAlignment(CUDATestCase): method test_record_alignment (line 8) | def test_record_alignment(self): method test_record_alignment_error (line 28) | def test_record_alignment_error(self): FILE: numba/cuda/tests/cudapy/test_array.py class TestCudaArray (line 15) | class TestCudaArray(CUDATestCase): method test_gpu_array_zero_length (line 16) | def test_gpu_array_zero_length(self): method test_null_shape (line 25) | def test_null_shape(self): method test_gpu_array_strided (line 32) | def test_gpu_array_strided(self): method test_gpu_array_interleaved (line 46) | def test_gpu_array_interleaved(self): method test_auto_device_const (line 73) | def test_auto_device_const(self): method _test_array_like_same (line 77) | def _test_array_like_same(self, like_func, array): method test_array_like_1d (line 91) | def test_array_like_1d(self): method test_array_like_2d (line 97) | def test_array_like_2d(self): method test_array_like_2d_transpose (line 103) | def test_array_like_2d_transpose(self): method test_array_like_3d (line 109) | def test_array_like_3d(self): method test_array_like_1d_f (line 115) | def test_array_like_1d_f(self): method test_array_like_2d_f (line 121) | def test_array_like_2d_f(self): method test_array_like_2d_f_transpose (line 127) | def test_array_like_2d_f_transpose(self): method test_array_like_3d_f (line 133) | def test_array_like_3d_f(self): method _test_array_like_view (line 139) | def _test_array_like_view(self, like_func, view, d_view): method test_array_like_1d_view (line 156) | def test_array_like_1d_view(self): method test_array_like_1d_view_f (line 164) | def test_array_like_1d_view_f(self): method test_array_like_2d_view (line 172) | def test_array_like_2d_view(self): method test_array_like_2d_view_f (line 180) | def test_array_like_2d_view_f(self): method test_array_like_2d_view_transpose_device (line 189) | def test_array_like_2d_view_transpose_device(self): method test_array_like_2d_view_transpose_simulator (line 207) | def test_array_like_2d_view_transpose_simulator(self): method test_array_like_2d_view_f_transpose (line 226) | def test_array_like_2d_view_f_transpose(self): method test_issue_4628 (line 235) | def test_issue_4628(self): FILE: numba/cuda/tests/cudapy/test_array_args.py class TestCudaArrayArg (line 9) | class TestCudaArrayArg(CUDATestCase): method test_array_ary (line 10) | def test_array_ary(self): method test_unituple (line 26) | def test_unituple(self): method test_tuple (line 40) | def test_tuple(self): method test_namedunituple (line 61) | def test_namedunituple(self): method test_namedtuple (line 75) | def test_namedtuple(self): method test_empty_tuple (line 92) | def test_empty_tuple(self): method test_tuple_of_empty_tuples (line 103) | def test_tuple_of_empty_tuples(self): method test_tuple_of_tuples (line 116) | def test_tuple_of_tuples(self): method test_tuple_of_tuples_and_scalars (line 143) | def test_tuple_of_tuples_and_scalars(self): method test_tuple_of_arrays (line 164) | def test_tuple_of_arrays(self): method test_tuple_of_array_scalar_tuple (line 180) | def test_tuple_of_array_scalar_tuple(self): class TestDatetimeIssues (line 201) | class TestDatetimeIssues(CUDATestCase): method test_10y_issue_9585 (line 205) | def test_10y_issue_9585(self): FILE: numba/cuda/tests/cudapy/test_array_methods.py function reinterpret_array_type (line 7) | def reinterpret_array_type(byte_arr, start, stop, output): class TestCudaArrayMethods (line 13) | class TestCudaArrayMethods(CUDATestCase): method test_reinterpret_array_type (line 14) | def test_reinterpret_array_type(self): FILE: numba/cuda/tests/cudapy/test_atomics.py function atomic_cast_to_uint64 (line 10) | def atomic_cast_to_uint64(num): function atomic_cast_to_int (line 15) | def atomic_cast_to_int(num): function atomic_cast_none (line 20) | def atomic_cast_none(num): function atomic_binary_1dim_shared (line 25) | def atomic_binary_1dim_shared(ary, idx, op2, ary_dtype, ary_nelements, function atomic_binary_1dim_shared2 (line 41) | def atomic_binary_1dim_shared2(ary, idx, op2, ary_dtype, ary_nelements, function atomic_binary_2dim_shared (line 54) | def atomic_binary_2dim_shared(ary, op2, ary_dtype, ary_shape, function atomic_binary_2dim_global (line 70) | def atomic_binary_2dim_global(ary, op2, binop_func, y_cast_func, neg_idx): function atomic_binary_1dim_global (line 80) | def atomic_binary_1dim_global(ary, idx, ary_nelements, op2, function atomic_add (line 89) | def atomic_add(ary): function atomic_add_wrap (line 94) | def atomic_add_wrap(ary): function atomic_add2 (line 99) | def atomic_add2(ary): function atomic_add2_wrap (line 104) | def atomic_add2_wrap(ary): function atomic_add3 (line 109) | def atomic_add3(ary): function atomic_add_float (line 114) | def atomic_add_float(ary): function atomic_add_float_wrap (line 119) | def atomic_add_float_wrap(ary): function atomic_add_float_2 (line 124) | def atomic_add_float_2(ary): function atomic_add_float_2_wrap (line 129) | def atomic_add_float_2_wrap(ary): function atomic_add_float_3 (line 134) | def atomic_add_float_3(ary): function atomic_add_double_global (line 139) | def atomic_add_double_global(idx, ary): function atomic_add_double_global_wrap (line 143) | def atomic_add_double_global_wrap(idx, ary): function atomic_add_double_global_2 (line 147) | def atomic_add_double_global_2(ary): function atomic_add_double_global_2_wrap (line 151) | def atomic_add_double_global_2_wrap(ary): function atomic_add_double_global_3 (line 155) | def atomic_add_double_global_3(ary): function atomic_add_double (line 160) | def atomic_add_double(idx, ary): function atomic_add_double_wrap (line 165) | def atomic_add_double_wrap(idx, ary): function atomic_add_double_2 (line 170) | def atomic_add_double_2(ary): function atomic_add_double_2_wrap (line 175) | def atomic_add_double_2_wrap(ary): function atomic_add_double_3 (line 180) | def atomic_add_double_3(ary): function atomic_sub (line 185) | def atomic_sub(ary): function atomic_sub2 (line 190) | def atomic_sub2(ary): function atomic_sub3 (line 195) | def atomic_sub3(ary): function atomic_sub_float (line 200) | def atomic_sub_float(ary): function atomic_sub_float_2 (line 205) | def atomic_sub_float_2(ary): function atomic_sub_float_3 (line 210) | def atomic_sub_float_3(ary): function atomic_sub_double (line 215) | def atomic_sub_double(idx, ary): function atomic_sub_double_2 (line 220) | def atomic_sub_double_2(ary): function atomic_sub_double_3 (line 225) | def atomic_sub_double_3(ary): function atomic_sub_double_global (line 230) | def atomic_sub_double_global(idx, ary): function atomic_sub_double_global_2 (line 234) | def atomic_sub_double_global_2(ary): function atomic_sub_double_global_3 (line 239) | def atomic_sub_double_global_3(ary): function atomic_and (line 244) | def atomic_and(ary, op2): function atomic_and2 (line 249) | def atomic_and2(ary, op2): function atomic_and3 (line 254) | def atomic_and3(ary, op2): function atomic_and_global (line 259) | def atomic_and_global(idx, ary, op2): function atomic_and_global_2 (line 263) | def atomic_and_global_2(ary, op2): function atomic_or (line 268) | def atomic_or(ary, op2): function atomic_or2 (line 273) | def atomic_or2(ary, op2): function atomic_or3 (line 278) | def atomic_or3(ary, op2): function atomic_or_global (line 283) | def atomic_or_global(idx, ary, op2): function atomic_or_global_2 (line 287) | def atomic_or_global_2(ary, op2): function atomic_xor (line 292) | def atomic_xor(ary, op2): function atomic_xor2 (line 297) | def atomic_xor2(ary, op2): function atomic_xor3 (line 302) | def atomic_xor3(ary, op2): function atomic_xor_global (line 307) | def atomic_xor_global(idx, ary, op2): function atomic_xor_global_2 (line 311) | def atomic_xor_global_2(ary, op2): function atomic_inc32 (line 316) | def atomic_inc32(ary, idx, op2): function atomic_inc64 (line 321) | def atomic_inc64(ary, idx, op2): function atomic_inc2_32 (line 326) | def atomic_inc2_32(ary, op2): function atomic_inc2_64 (line 331) | def atomic_inc2_64(ary, op2): function atomic_inc3 (line 336) | def atomic_inc3(ary, op2): function atomic_inc_global (line 341) | def atomic_inc_global(idx, ary, op2): function atomic_inc_global_2 (line 345) | def atomic_inc_global_2(ary, op2): function atomic_dec32 (line 350) | def atomic_dec32(ary, idx, op2): function atomic_dec64 (line 355) | def atomic_dec64(ary, idx, op2): function atomic_dec2_32 (line 360) | def atomic_dec2_32(ary, op2): function atomic_dec2_64 (line 365) | def atomic_dec2_64(ary, op2): function atomic_dec3 (line 370) | def atomic_dec3(ary, op2): function atomic_dec_global (line 375) | def atomic_dec_global(idx, ary, op2): function atomic_dec_global_2 (line 379) | def atomic_dec_global_2(ary, op2): function atomic_exch (line 384) | def atomic_exch(ary, idx, op2): function atomic_exch2 (line 389) | def atomic_exch2(ary, op2): function atomic_exch3 (line 394) | def atomic_exch3(ary, op2): function atomic_exch_global (line 399) | def atomic_exch_global(idx, ary, op2): function gen_atomic_extreme_funcs (line 403) | def gen_atomic_extreme_funcs(func): function atomic_compare_and_swap (line 451) | def atomic_compare_and_swap(res, old, ary, fill_val): function atomic_cas_1dim (line 457) | def atomic_cas_1dim(res, old, ary, fill_val): function atomic_cas_2dim (line 463) | def atomic_cas_2dim(res, old, ary, fill_val): class TestCudaAtomics (line 469) | class TestCudaAtomics(CUDATestCase): method setUp (line 470) | def setUp(self): method test_atomic_add (line 474) | def test_atomic_add(self): method test_atomic_add2 (line 492) | def test_atomic_add2(self): method test_atomic_add3 (line 506) | def test_atomic_add3(self): method test_atomic_add_float (line 514) | def test_atomic_add_float(self): method test_atomic_add_float_2 (line 532) | def test_atomic_add_float_2(self): method test_atomic_add_float_3 (line 546) | def test_atomic_add_float_3(self): method assertCorrectFloat64Atomics (line 554) | def assertCorrectFloat64Atomics(self, kernel, shared=True): method test_atomic_add_double (line 579) | def test_atomic_add_double(self): method test_atomic_add_double_2 (line 599) | def test_atomic_add_double_2(self): method test_atomic_add_double_3 (line 615) | def test_atomic_add_double_3(self): method test_atomic_add_double_global (line 624) | def test_atomic_add_double_global(self): method test_atomic_add_double_global_2 (line 645) | def test_atomic_add_double_global_2(self): method test_atomic_add_double_global_3 (line 662) | def test_atomic_add_double_global_3(self): method test_atomic_sub (line 671) | def test_atomic_sub(self): method test_atomic_sub2 (line 683) | def test_atomic_sub2(self): method test_atomic_sub3 (line 690) | def test_atomic_sub3(self): method test_atomic_sub_float (line 697) | def test_atomic_sub_float(self): method test_atomic_sub_float_2 (line 709) | def test_atomic_sub_float_2(self): method test_atomic_sub_float_3 (line 716) | def test_atomic_sub_float_3(self): method test_atomic_sub_double (line 723) | def test_atomic_sub_double(self): method test_atomic_sub_double_2 (line 735) | def test_atomic_sub_double_2(self): method test_atomic_sub_double_3 (line 742) | def test_atomic_sub_double_3(self): method test_atomic_sub_double_global (line 749) | def test_atomic_sub_double_global(self): method test_atomic_sub_double_global_2 (line 762) | def test_atomic_sub_double_global_2(self): method test_atomic_sub_double_global_3 (line 769) | def test_atomic_sub_double_global_3(self): method test_atomic_and (line 776) | def test_atomic_and(self): method test_atomic_and2 (line 789) | def test_atomic_and2(self): method test_atomic_and3 (line 797) | def test_atomic_and3(self): method test_atomic_and_global (line 805) | def test_atomic_and_global(self): method test_atomic_and_global_2 (line 819) | def test_atomic_and_global_2(self): method test_atomic_or (line 827) | def test_atomic_or(self): method test_atomic_or2 (line 840) | def test_atomic_or2(self): method test_atomic_or3 (line 848) | def test_atomic_or3(self): method test_atomic_or_global (line 856) | def test_atomic_or_global(self): method test_atomic_or_global_2 (line 870) | def test_atomic_or_global_2(self): method test_atomic_xor (line 878) | def test_atomic_xor(self): method test_atomic_xor2 (line 891) | def test_atomic_xor2(self): method test_atomic_xor3 (line 899) | def test_atomic_xor3(self): method test_atomic_xor_global (line 907) | def test_atomic_xor_global(self): method test_atomic_xor_global_2 (line 921) | def test_atomic_xor_global_2(self): method inc_dec_1dim_setup (line 929) | def inc_dec_1dim_setup(self, dtype): method inc_dec_2dim_setup (line 935) | def inc_dec_2dim_setup(self, dtype): method check_inc_index (line 940) | def check_inc_index(self, ary, idx, rconst, sig, nblocks, blksize, func): method check_inc_index2 (line 946) | def check_inc_index2(self, ary, idx, rconst, sig, nblocks, blksize, fu... method check_inc (line 952) | def check_inc(self, ary, rconst, sig, nblocks, blksize, func): method test_atomic_inc_32 (line 958) | def test_atomic_inc_32(self): method test_atomic_inc_64 (line 963) | def test_atomic_inc_64(self): method test_atomic_inc2_32 (line 968) | def test_atomic_inc2_32(self): method test_atomic_inc2_64 (line 973) | def test_atomic_inc2_64(self): method test_atomic_inc3 (line 978) | def test_atomic_inc3(self): method test_atomic_inc_global_32 (line 983) | def test_atomic_inc_global_32(self): method test_atomic_inc_global_64 (line 989) | def test_atomic_inc_global_64(self): method test_atomic_inc_global_2_32 (line 995) | def test_atomic_inc_global_2_32(self): method test_atomic_inc_global_2_64 (line 1000) | def test_atomic_inc_global_2_64(self): method check_dec_index (line 1005) | def check_dec_index(self, ary, idx, rconst, sig, nblocks, blksize, func): method check_dec_index2 (line 1014) | def check_dec_index2(self, ary, idx, rconst, sig, nblocks, blksize, fu... method check_dec (line 1023) | def check_dec(self, ary, rconst, sig, nblocks, blksize, func): method test_atomic_dec_32 (line 1032) | def test_atomic_dec_32(self): method test_atomic_dec_64 (line 1037) | def test_atomic_dec_64(self): method test_atomic_dec2_32 (line 1042) | def test_atomic_dec2_32(self): method test_atomic_dec2_64 (line 1047) | def test_atomic_dec2_64(self): method test_atomic_dec3_new (line 1052) | def test_atomic_dec3_new(self): method test_atomic_dec_global_32 (line 1057) | def test_atomic_dec_global_32(self): method test_atomic_dec_global_64 (line 1063) | def test_atomic_dec_global_64(self): method test_atomic_dec_global2_32 (line 1069) | def test_atomic_dec_global2_32(self): method test_atomic_dec_global2_64 (line 1074) | def test_atomic_dec_global2_64(self): method test_atomic_exch (line 1079) | def test_atomic_exch(self): method test_atomic_exch2 (line 1089) | def test_atomic_exch2(self): method test_atomic_exch3 (line 1097) | def test_atomic_exch3(self): method test_atomic_exch_global (line 1105) | def test_atomic_exch_global(self): method check_atomic_max (line 1115) | def check_atomic_max(self, dtype, lo, hi): method test_atomic_max_int32 (line 1123) | def test_atomic_max_int32(self): method test_atomic_max_uint32 (line 1126) | def test_atomic_max_uint32(self): method test_atomic_max_int64 (line 1129) | def test_atomic_max_int64(self): method test_atomic_max_uint64 (line 1132) | def test_atomic_max_uint64(self): method test_atomic_max_float32 (line 1135) | def test_atomic_max_float32(self): method test_atomic_max_double (line 1138) | def test_atomic_max_double(self): method test_atomic_max_double_normalizedindex (line 1141) | def test_atomic_max_double_normalizedindex(self): method test_atomic_max_double_oneindex (line 1151) | def test_atomic_max_double_oneindex(self): method check_atomic_min (line 1161) | def check_atomic_min(self, dtype, lo, hi): method test_atomic_min_int32 (line 1170) | def test_atomic_min_int32(self): method test_atomic_min_uint32 (line 1173) | def test_atomic_min_uint32(self): method test_atomic_min_int64 (line 1176) | def test_atomic_min_int64(self): method test_atomic_min_uint64 (line 1179) | def test_atomic_min_uint64(self): method test_atomic_min_float (line 1182) | def test_atomic_min_float(self): method test_atomic_min_double (line 1185) | def test_atomic_min_double(self): method test_atomic_min_double_normalizedindex (line 1188) | def test_atomic_min_double_normalizedindex(self): method test_atomic_min_double_oneindex (line 1198) | def test_atomic_min_double_oneindex(self): method _test_atomic_minmax_nan_location (line 1219) | def _test_atomic_minmax_nan_location(self, func): method _test_atomic_minmax_nan_val (line 1228) | def _test_atomic_minmax_nan_val(self, func): method test_atomic_min_nan_location (line 1238) | def test_atomic_min_nan_location(self): method test_atomic_max_nan_location (line 1241) | def test_atomic_max_nan_location(self): method test_atomic_min_nan_val (line 1244) | def test_atomic_min_nan_val(self): method test_atomic_max_nan_val (line 1247) | def test_atomic_max_nan_val(self): method test_atomic_max_double_shared (line 1250) | def test_atomic_max_double_shared(self): method test_atomic_min_double_shared (line 1260) | def test_atomic_min_double_shared(self): method check_cas (line 1270) | def check_cas(self, n, fill, unfill, dtype, cas_func, ndim=1): method test_atomic_compare_and_swap (line 1297) | def test_atomic_compare_and_swap(self): method test_atomic_compare_and_swap2 (line 1301) | def test_atomic_compare_and_swap2(self): method test_atomic_compare_and_swap3 (line 1305) | def test_atomic_compare_and_swap3(self): method test_atomic_compare_and_swap4 (line 1311) | def test_atomic_compare_and_swap4(self): method test_atomic_cas_1dim (line 1317) | def test_atomic_cas_1dim(self): method test_atomic_cas_2dim (line 1321) | def test_atomic_cas_2dim(self): method test_atomic_cas2_1dim (line 1325) | def test_atomic_cas2_1dim(self): method test_atomic_cas2_2dim (line 1329) | def test_atomic_cas2_2dim(self): method test_atomic_cas3_1dim (line 1333) | def test_atomic_cas3_1dim(self): method test_atomic_cas3_2dim (line 1339) | def test_atomic_cas3_2dim(self): method test_atomic_cas4_1dim (line 1345) | def test_atomic_cas4_1dim(self): method test_atomic_cas4_2dim (line 1351) | def test_atomic_cas4_2dim(self): method _test_atomic_returns_old (line 1362) | def _test_atomic_returns_old(self, kernel, initial): method test_atomic_add_returns_old (line 1371) | def test_atomic_add_returns_old(self): method test_atomic_max_returns_no_replace (line 1378) | def test_atomic_max_returns_no_replace(self): method test_atomic_max_returns_old_replace (line 1385) | def test_atomic_max_returns_old_replace(self): method test_atomic_max_returns_old_nan_in_array (line 1392) | def test_atomic_max_returns_old_nan_in_array(self): method test_atomic_max_returns_old_nan_val (line 1399) | def test_atomic_max_returns_old_nan_val(self): method test_atomic_min_returns_old_no_replace (line 1406) | def test_atomic_min_returns_old_no_replace(self): method test_atomic_min_returns_old_replace (line 1413) | def test_atomic_min_returns_old_replace(self): method test_atomic_min_returns_old_nan_in_array (line 1420) | def test_atomic_min_returns_old_nan_in_array(self): method test_atomic_min_returns_old_nan_val (line 1427) | def test_atomic_min_returns_old_nan_val(self): method check_atomic_nanmax (line 1437) | def check_atomic_nanmax(self, dtype, lo, hi, init_val): method test_atomic_nanmax_int32 (line 1446) | def test_atomic_nanmax_int32(self): method test_atomic_nanmax_uint32 (line 1450) | def test_atomic_nanmax_uint32(self): method test_atomic_nanmax_int64 (line 1454) | def test_atomic_nanmax_int64(self): method test_atomic_nanmax_uint64 (line 1458) | def test_atomic_nanmax_uint64(self): method test_atomic_nanmax_float32 (line 1462) | def test_atomic_nanmax_float32(self): method test_atomic_nanmax_double (line 1466) | def test_atomic_nanmax_double(self): method test_atomic_nanmax_double_shared (line 1470) | def test_atomic_nanmax_double_shared(self): method test_atomic_nanmax_double_oneindex (line 1481) | def test_atomic_nanmax_double_oneindex(self): method check_atomic_nanmin (line 1493) | def check_atomic_nanmin(self, dtype, lo, hi, init_val): method test_atomic_nanmin_int32 (line 1503) | def test_atomic_nanmin_int32(self): method test_atomic_nanmin_uint32 (line 1507) | def test_atomic_nanmin_uint32(self): method test_atomic_nanmin_int64 (line 1511) | def test_atomic_nanmin_int64(self): method test_atomic_nanmin_uint64 (line 1515) | def test_atomic_nanmin_uint64(self): method test_atomic_nanmin_float (line 1519) | def test_atomic_nanmin_float(self): method test_atomic_nanmin_double (line 1523) | def test_atomic_nanmin_double(self): method test_atomic_nanmin_double_shared (line 1527) | def test_atomic_nanmin_double_shared(self): method test_atomic_nanmin_double_oneindex (line 1538) | def test_atomic_nanmin_double_oneindex(self): method _test_atomic_nan_returns_old (line 1551) | def _test_atomic_nan_returns_old(self, kernel, initial): method test_atomic_nanmax_returns_old_no_replace (line 1562) | def test_atomic_nanmax_returns_old_no_replace(self): method test_atomic_nanmax_returns_old_replace (line 1569) | def test_atomic_nanmax_returns_old_replace(self): method test_atomic_nanmax_returns_old_nan_in_array (line 1576) | def test_atomic_nanmax_returns_old_nan_in_array(self): method test_atomic_nanmax_returns_old_nan_val (line 1583) | def test_atomic_nanmax_returns_old_nan_val(self): method test_atomic_nanmin_returns_old_no_replace (line 1590) | def test_atomic_nanmin_returns_old_no_replace(self): method test_atomic_nanmin_returns_old_replace (line 1597) | def test_atomic_nanmin_returns_old_replace(self): method test_atomic_nanmin_returns_old_nan_in_array (line 1604) | def test_atomic_nanmin_returns_old_nan_in_array(self): method test_atomic_nanmin_returns_old_nan_val (line 1611) | def test_atomic_nanmin_returns_old_nan_val(self): FILE: numba/cuda/tests/cudapy/test_blackscholes.py function cnd (line 18) | def cnd(d): function black_scholes (line 25) | def black_scholes(callResult, putResult, stockPrice, optionStrike, optio... function randfloat (line 43) | def randfloat(rand_var, low, high): class TestBlackScholes (line 47) | class TestBlackScholes(CUDATestCase): method test_blackscholes (line 48) | def test_blackscholes(self): FILE: numba/cuda/tests/cudapy/test_boolean.py function boolean_func (line 6) | def boolean_func(A, vertial): class TestCudaBoolean (line 13) | class TestCudaBoolean(CUDATestCase): method test_boolean (line 14) | def test_boolean(self): FILE: numba/cuda/tests/cudapy/test_caching.py class CUDACachingTest (line 20) | class CUDACachingTest(SerialMixin, DispatcherCacheUsecasesTest): method setUp (line 25) | def setUp(self): method tearDown (line 29) | def tearDown(self): method test_caching (line 33) | def test_caching(self): method test_no_caching (line 58) | def test_no_caching(self): method test_many_locals (line 65) | def test_many_locals(self): method test_closure (line 77) | def test_closure(self): method test_cache_reuse (line 93) | def test_cache_reuse(self): method test_cache_invalidate (line 120) | def test_cache_invalidate(self): method test_recompile (line 133) | def test_recompile(self): method test_same_names (line 151) | def test_same_names(self): method test_cache_cg (line 162) | def test_cache_cg(self): method test_cache_cg_clean_run (line 178) | def test_cache_cg_clean_run(self): method _test_pycache_fallback (line 206) | def _test_pycache_fallback(self): method test_non_creatable_pycache (line 235) | def test_non_creatable_pycache(self): method test_non_writable_pycache (line 246) | def test_non_writable_pycache(self): method test_cannot_cache_linking_libraries (line 256) | def test_cannot_cache_linking_libraries(self): class CUDAAndCPUCachingTest (line 266) | class CUDAAndCPUCachingTest(SerialMixin, DispatcherCacheUsecasesTest): method setUp (line 271) | def setUp(self): method tearDown (line 275) | def tearDown(self): method test_cpu_and_cuda_targets (line 279) | def test_cpu_and_cuda_targets(self): method test_cpu_and_cuda_reuse (line 304) | def test_cpu_and_cuda_reuse(self): function get_different_cc_gpus (line 339) | def get_different_cc_gpus(): class TestMultiCCCaching (line 357) | class TestMultiCCCaching(SerialMixin, DispatcherCacheUsecasesTest): method setUp (line 362) | def setUp(self): method tearDown (line 366) | def tearDown(self): method test_cache (line 370) | def test_cache(self): function child_initializer (line 481) | def child_initializer(): class TestMultiprocessCache (line 490) | class TestMultiprocessCache(SerialMixin, DispatcherCacheUsecasesTest): method setUp (line 500) | def setUp(self): method tearDown (line 504) | def tearDown(self): method test_multiprocessing (line 508) | def test_multiprocessing(self): class TestCUDACodeLibrary (line 530) | class TestCUDACodeLibrary(CUDATestCase): method test_cannot_serialize_unfinalized (line 534) | def test_cannot_serialize_unfinalized(self): FILE: numba/cuda/tests/cudapy/test_casting.py function native_cast (line 14) | def native_cast(x): function to_int8 (line 18) | def to_int8(x): function to_int16 (line 22) | def to_int16(x): function to_int32 (line 26) | def to_int32(x): function to_int64 (line 30) | def to_int64(x): function to_uint8 (line 34) | def to_uint8(x): function to_uint16 (line 38) | def to_uint16(x): function to_uint32 (line 42) | def to_uint32(x): function to_uint64 (line 46) | def to_uint64(x): function to_float16 (line 50) | def to_float16(x): function to_float32 (line 56) | def to_float32(x): function to_float64 (line 60) | def to_float64(x): function to_complex64 (line 64) | def to_complex64(x): function to_complex128 (line 68) | def to_complex128(x): function cuda_int_literal_to_float16 (line 79) | def cuda_int_literal_to_float16(x): function reference_int_literal_to_float16 (line 85) | def reference_int_literal_to_float16(x): function cuda_float_literal_to_float16 (line 89) | def cuda_float_literal_to_float16(x): function reference_float_literal_to_float16 (line 95) | def reference_float_literal_to_float16(x): class TestCasting (line 99) | class TestCasting(CUDATestCase): method _create_wrapped (line 100) | def _create_wrapped(self, pyfunc, intype, outtype): method test_float_to_int (line 117) | def test_float_to_int(self): method test_float16_to_int_ptx (line 132) | def test_float16_to_int_ptx(self): method test_float_to_uint (line 141) | def test_float_to_uint(self): method test_float16_to_uint_ptx (line 154) | def test_float16_to_uint_ptx(self): method test_int_to_float (line 163) | def test_int_to_float(self): method test_literal_to_float16 (line 173) | def test_literal_to_float16(self): method test_int_to_float16_ptx (line 185) | def test_int_to_float16_ptx(self): method test_uint_to_float16_ptx (line 194) | def test_uint_to_float16_ptx(self): method test_float_to_float (line 203) | def test_float_to_float(self): method test_float16_to_float_ptx (line 220) | def test_float16_to_float_ptx(self): method test_float_to_complex (line 229) | def test_float_to_complex(self): method test_native_cast (line 248) | def test_native_cast(self): FILE: numba/cuda/tests/cudapy/test_cffi.py class TestCFFI (line 11) | class TestCFFI(CUDATestCase): method test_from_buffer (line 12) | def test_from_buffer(self): FILE: numba/cuda/tests/cudapy/test_compiler.py function f_module (line 11) | def f_module(x, y): class TestCompile (line 16) | class TestCompile(unittest.TestCase): method test_global_kernel (line 17) | def test_global_kernel(self): method test_device_function (line 35) | def test_device_function(self): method test_fastmath (line 65) | def test_fastmath(self): method check_debug_info (line 85) | def check_debug_info(self, ptx): method test_device_function_with_debug (line 94) | def test_device_function_with_debug(self): method test_kernel_with_debug (line 107) | def test_kernel_with_debug(self): method check_line_info (line 115) | def check_line_info(self, ptx): method test_device_function_with_line_info (line 121) | def test_device_function_with_line_info(self): method test_kernel_with_line_info (line 128) | def test_kernel_with_line_info(self): method test_non_void_return_type (line 135) | def test_non_void_return_type(self): method test_c_abi_disallowed_for_kernel (line 142) | def test_c_abi_disallowed_for_kernel(self): method test_unsupported_abi (line 150) | def test_unsupported_abi(self): method test_c_abi_device_function (line 158) | def test_c_abi_device_function(self): method test_c_abi_device_function_module_scope (line 177) | def test_c_abi_device_function_module_scope(self): method test_c_abi_with_abi_name (line 186) | def test_c_abi_with_abi_name(self): method test_compile_defaults_to_c_abi (line 196) | def test_compile_defaults_to_c_abi(self): method test_compile_to_ltoir (line 204) | def test_compile_to_ltoir(self): method test_compile_to_invalid_error (line 219) | def test_compile_to_invalid_error(self): class TestCompileForCurrentDevice (line 228) | class TestCompileForCurrentDevice(CUDATestCase): method _check_ptx_for_current_device (line 229) | def _check_ptx_for_current_device(self, compile_function): method test_compile_ptx_for_current_device (line 243) | def test_compile_ptx_for_current_device(self): method test_compile_for_current_device (line 246) | def test_compile_for_current_device(self): class TestCompileOnlyTests (line 251) | class TestCompileOnlyTests(unittest.TestCase): method test_nanosleep (line 255) | def test_nanosleep(self): FILE: numba/cuda/tests/cudapy/test_complex.py function compile_scalar_func (line 26) | def compile_scalar_func(pyfunc, argtypes, restype): class BaseComplexTest (line 64) | class BaseComplexTest(CUDATestCase): method basic_values (line 66) | def basic_values(self): method more_values (line 71) | def more_values(self): method non_nan_values (line 76) | def non_nan_values(self): method run_func (line 81) | def run_func(self, pyfunc, sigs, values, ulps=1, ignore_sign_on_zero=F... class TestComplex (line 115) | class TestComplex(BaseComplexTest): method check_real_image (line 117) | def check_real_image(self, pyfunc): method test_real (line 124) | def test_real(self): method test_imag (line 127) | def test_imag(self): method test_conjugate (line 130) | def test_conjugate(self): class TestCMath (line 138) | class TestCMath(BaseComplexTest): method check_predicate_func (line 143) | def check_predicate_func(self, pyfunc): method check_unary_func (line 149) | def check_unary_func(self, pyfunc, ulps=1, values=None, method test_phase (line 167) | def test_phase(self): method test_polar (line 170) | def test_polar(self): method test_rect (line 173) | def test_rect(self): method test_isnan (line 186) | def test_isnan(self): method test_isinf (line 189) | def test_isinf(self): method test_isfinite (line 192) | def test_isfinite(self): method test_exp (line 197) | def test_exp(self): method test_log (line 200) | def test_log(self): method test_log_base (line 203) | def test_log_base(self): method test_log10 (line 210) | def test_log10(self): method test_sqrt (line 213) | def test_sqrt(self): method test_acos (line 218) | def test_acos(self): method test_asin (line 221) | def test_asin(self): method test_atan (line 224) | def test_atan(self): method test_cos (line 228) | def test_cos(self): method test_sin (line 231) | def test_sin(self): method test_tan (line 235) | def test_tan(self): method test_acosh (line 241) | def test_acosh(self): method test_asinh (line 244) | def test_asinh(self): method test_atanh (line 247) | def test_atanh(self): method test_cosh (line 251) | def test_cosh(self): method test_sinh (line 254) | def test_sinh(self): method test_tanh (line 257) | def test_tanh(self): class TestAtomicOnComplexComponents (line 262) | class TestAtomicOnComplexComponents(CUDATestCase): method test_atomic_on_real (line 270) | def test_atomic_on_real(self): method test_atomic_on_imag (line 282) | def test_atomic_on_imag(self): FILE: numba/cuda/tests/cudapy/test_complex_kernel.py class TestCudaComplex (line 6) | class TestCudaComplex(CUDATestCase): method test_cuda_complex_arg (line 7) | def test_cuda_complex_arg(self): FILE: numba/cuda/tests/cudapy/test_const_string.py class TestConstStringCodegen (line 9) | class TestConstStringCodegen(unittest.TestCase): method test_const_string (line 10) | def test_const_string(self): class TestConstString (line 58) | class TestConstString(CUDATestCase): method test_assign_const_unicode_string (line 59) | def test_assign_const_unicode_string(self): method test_assign_const_byte_string (line 77) | def test_assign_const_byte_string(self): method test_assign_const_string_in_record (line 95) | def test_assign_const_string_in_record(self): method test_assign_const_bytes_in_record (line 111) | def test_assign_const_bytes_in_record(self): FILE: numba/cuda/tests/cudapy/test_constmem.py function cuconstEmpty (line 34) | def cuconstEmpty(A): function cuconst (line 40) | def cuconst(A): function cuconst2d (line 48) | def cuconst2d(A): function cuconst3d (line 54) | def cuconst3d(A): function cuconstRecEmpty (line 62) | def cuconstRecEmpty(A): function cuconstRec (line 68) | def cuconstRec(A, B): function cuconstRecAlign (line 75) | def cuconstRecAlign(A, B, C, D, E): function cuconstAlign (line 85) | def cuconstAlign(z): class TestCudaConstantMemory (line 92) | class TestCudaConstantMemory(CUDATestCase): method test_const_array (line 93) | def test_const_array(self): method test_const_empty (line 106) | def test_const_empty(self): method test_const_align (line 112) | def test_const_align(self): method test_const_array_2d (line 118) | def test_const_array_2d(self): method test_const_array_3d (line 131) | def test_const_array_3d(self): method test_const_record_empty (line 144) | def test_const_record_empty(self): method test_const_record (line 150) | def test_const_record(self): method test_const_record_align (line 159) | def test_const_record_align(self): FILE: numba/cuda/tests/cudapy/test_cooperative_groups.py function this_grid (line 12) | def this_grid(A): function sync_group (line 18) | def sync_group(A): function no_sync (line 25) | def no_sync(A): function sequential_rows (line 29) | def sequential_rows(M): class TestCudaCooperativeGroups (line 51) | class TestCudaCooperativeGroups(CUDATestCase): method test_this_grid (line 53) | def test_this_grid(self): method test_this_grid_is_cooperative (line 63) | def test_this_grid_is_cooperative(self): method test_sync_group (line 72) | def test_sync_group(self): method test_sync_group_is_cooperative (line 82) | def test_sync_group_is_cooperative(self): method test_false_cooperative_doesnt_link_cudadevrt (line 90) | def test_false_cooperative_doesnt_link_cudadevrt(self): method test_sync_at_matrix_row (line 105) | def test_sync_at_matrix_row(self): method test_max_cooperative_grid_blocks (line 130) | def test_max_cooperative_grid_blocks(self): FILE: numba/cuda/tests/cudapy/test_cuda_array_interface.py class TestCudaArrayInterface (line 13) | class TestCudaArrayInterface(ContextResettingTestCase): method assertPointersEqual (line 14) | def assertPointersEqual(self, a, b): method test_as_cuda_array (line 19) | def test_as_cuda_array(self): method get_stream_value (line 34) | def get_stream_value(self, stream): method test_ownership (line 41) | def test_ownership(self): method test_kernel_arg (line 65) | def test_kernel_arg(self): method test_ufunc_arg (line 84) | def test_ufunc_arg(self): method test_gufunc_arg (line 101) | def test_gufunc_arg(self): method test_array_views (line 119) | def test_array_views(self): method test_negative_strided_issue (line 185) | def test_negative_strided_issue(self): method test_negative_strided_copy_to_host (line 208) | def test_negative_strided_copy_to_host(self): method test_masked_array (line 218) | def test_masked_array(self): method test_zero_size_array (line 233) | def test_zero_size_array(self): method test_strides (line 248) | def test_strides(self): method test_consuming_strides (line 258) | def test_consuming_strides(self): method test_produce_no_stream (line 273) | def test_produce_no_stream(self): method test_produce_managed_no_stream (line 281) | def test_produce_managed_no_stream(self): method test_produce_stream (line 285) | def test_produce_stream(self): method test_produce_managed_stream (line 299) | def test_produce_managed_stream(self): method test_consume_no_stream (line 306) | def test_consume_no_stream(self): method test_consume_stream (line 314) | def test_consume_stream(self): method test_consume_no_sync (line 326) | def test_consume_no_sync(self): method test_consume_sync (line 337) | def test_consume_sync(self): method test_consume_sync_disabled (line 349) | def test_consume_sync_disabled(self): method test_launch_no_sync (line 365) | def test_launch_no_sync(self): method test_launch_sync (line 380) | def test_launch_sync(self): method test_launch_sync_two_streams (line 396) | def test_launch_sync_two_streams(self): method test_launch_sync_disabled (line 414) | def test_launch_sync_disabled(self): FILE: numba/cuda/tests/cudapy/test_cuda_jit_no_types.py class TestCudaJitNoTypes (line 8) | class TestCudaJitNoTypes(CUDATestCase): method test_device_array (line 13) | def test_device_array(self): method test_device_jit (line 31) | def test_device_jit(self): method test_device_jit_2 (line 58) | def test_device_jit_2(self): method test_jit_debug_simulator (line 80) | def test_jit_debug_simulator(self): FILE: numba/cuda/tests/cudapy/test_datetime.py class TestCudaDateTime (line 9) | class TestCudaDateTime(CUDATestCase): method test_basic_datetime_kernel (line 10) | def test_basic_datetime_kernel(self): method test_scalar_datetime_kernel (line 24) | def test_scalar_datetime_kernel(self): method test_ufunc (line 43) | def test_ufunc(self): method test_gufunc (line 58) | def test_gufunc(self): method test_datetime_view_as_int64 (line 75) | def test_datetime_view_as_int64(self): method test_timedelta_view_as_int64 (line 83) | def test_timedelta_view_as_int64(self): FILE: numba/cuda/tests/cudapy/test_debug.py function simple_cuda (line 11) | def simple_cuda(A, B): class TestDebugOutput (line 17) | class TestDebugOutput(CUDATestCase): method compile_simple_cuda (line 19) | def compile_simple_cuda(self): method assert_fails (line 33) | def assert_fails(self, *args, **kwargs): method check_debug_output (line 36) | def check_debug_output(self, out, enabled_dumps): method _check_dump_bytecode (line 50) | def _check_dump_bytecode(self, out): method _check_dump_cfg (line 59) | def _check_dump_cfg(self, out): method _check_dump_ir (line 62) | def _check_dump_ir(self, out): method _check_dump_llvm (line 66) | def _check_dump_llvm(self, out): method _check_dump_assembly (line 70) | def _check_dump_assembly(self, out): method test_dump_bytecode (line 74) | def test_dump_bytecode(self): method test_dump_ir (line 79) | def test_dump_ir(self): method test_dump_cfg (line 84) | def test_dump_cfg(self): method test_dump_llvm (line 89) | def test_dump_llvm(self): method test_dump_assembly (line 94) | def test_dump_assembly(self): FILE: numba/cuda/tests/cudapy/test_debuginfo.py class TestCudaDebugInfo (line 12) | class TestCudaDebugInfo(CUDATestCase): method setUp (line 17) | def setUp(self): method _getasm (line 26) | def _getasm(self, fn, sig): method _check (line 30) | def _check(self, fn, sig, expect): method test_no_debuginfo_in_asm (line 37) | def test_no_debuginfo_in_asm(self): method test_debuginfo_in_asm (line 44) | def test_debuginfo_in_asm(self): method test_environment_override (line 51) | def test_environment_override(self): method test_issue_5835 (line 67) | def test_issue_5835(self): method test_wrapper_has_debuginfo (line 75) | def test_wrapper_has_debuginfo(self): method test_debug_function_calls_internal_impl (line 93) | def test_debug_function_calls_internal_impl(self): method test_debug_function_calls_device_function (line 111) | def test_debug_function_calls_device_function(self): method _test_chained_device_function (line 126) | def _test_chained_device_function(self, kernel_debug, f1_debug, f2_deb... method test_chained_device_function (line 141) | def test_chained_device_function(self): method _test_chained_device_function_two_calls (line 156) | def _test_chained_device_function_two_calls(self, kernel_debug, f1_debug, method test_chained_device_function_two_calls (line 174) | def test_chained_device_function_two_calls(self): method test_chained_device_three_functions (line 190) | def test_chained_device_three_functions(self): FILE: numba/cuda/tests/cudapy/test_device_func.py class TestDeviceFunc (line 11) | class TestDeviceFunc(CUDATestCase): method test_use_add2f (line 13) | def test_use_add2f(self): method test_indirect_add2f (line 32) | def test_indirect_add2f(self): method _check_cpu_dispatcher (line 55) | def _check_cpu_dispatcher(self, add): method test_cpu_dispatcher (line 66) | def test_cpu_dispatcher(self): method test_cpu_dispatcher_invalid (line 75) | def test_cpu_dispatcher_invalid(self): method test_cpu_dispatcher_other_module (line 90) | def test_cpu_dispatcher_other_module(self): method test_inspect_llvm (line 110) | def test_inspect_llvm(self): method test_inspect_asm (line 127) | def test_inspect_asm(self): method test_inspect_sass_disallowed (line 144) | def test_inspect_sass_disallowed(self): method test_device_func_as_kernel_disallowed (line 156) | def test_device_func_as_kernel_disallowed(self): method test_device_casting (line 168) | def test_device_casting(self): method _test_declare_device (line 195) | def _test_declare_device(self, decl): method test_declare_device_signature (line 201) | def test_declare_device_signature(self): method test_declare_device_string (line 206) | def test_declare_device_string(self): method test_bad_declare_device_tuple (line 211) | def test_bad_declare_device_tuple(self): method test_bad_declare_device_string (line 216) | def test_bad_declare_device_string(self): FILE: numba/cuda/tests/cudapy/test_dispatcher.py function add (line 10) | def add(x, y): function add_kernel (line 14) | def add_kernel(r, x, y): class TestDispatcherSpecialization (line 19) | class TestDispatcherSpecialization(CUDATestCase): method _test_no_double_specialize (line 20) | def _test_no_double_specialize(self, dispatcher, ty): method test_no_double_specialize_sig_same_types (line 27) | def test_no_double_specialize_sig_same_types(self): method test_no_double_specialize_no_sig_same_types (line 36) | def test_no_double_specialize_no_sig_same_types(self): method test_no_double_specialize_sig_diff_types (line 46) | def test_no_double_specialize_sig_diff_types(self): method test_no_double_specialize_no_sig_diff_types (line 54) | def test_no_double_specialize_no_sig_diff_types(self): method test_specialize_cache_same (line 63) | def test_specialize_cache_same(self): method test_specialize_cache_same_with_ordering (line 84) | def test_specialize_cache_same_with_ordering(self): class TestDispatcher (line 110) | class TestDispatcher(CUDATestCase): method test_coerce_input_types (line 113) | def test_coerce_input_types(self): method test_coerce_input_types_unsafe (line 143) | def test_coerce_input_types_unsafe(self): method test_coerce_input_types_unsafe_complex (line 159) | def test_coerce_input_types_unsafe_complex(self): method test_ambiguous_new_version (line 168) | def test_ambiguous_new_version(self): method test_lock (line 197) | def test_lock(self): method _test_explicit_signatures (line 223) | def _test_explicit_signatures(self, sigs): method test_explicit_signatures_strings (line 246) | def test_explicit_signatures_strings(self): method test_explicit_signatures_tuples (line 252) | def test_explicit_signatures_tuples(self): method test_explicit_signatures_signatures (line 257) | def test_explicit_signatures_signatures(self): method test_explicit_signatures_mixed (line 263) | def test_explicit_signatures_mixed(self): method test_explicit_signatures_same_type_class (line 281) | def test_explicit_signatures_same_type_class(self): method test_explicit_signatures_ambiguous_resolution (line 300) | def test_explicit_signatures_ambiguous_resolution(self): method test_explicit_signatures_unsafe (line 327) | def test_explicit_signatures_unsafe(self): method add_device_usecase (line 347) | def add_device_usecase(self, sigs): method test_explicit_signatures_device (line 358) | def test_explicit_signatures_device(self): method test_explicit_signatures_device_same_type_class (line 387) | def test_explicit_signatures_device_same_type_class(self): method test_explicit_signatures_device_ambiguous (line 404) | def test_explicit_signatures_device_ambiguous(self): method test_explicit_signatures_device_unsafe (line 418) | def test_explicit_signatures_device_unsafe(self): method test_dispatcher_docstring (line 440) | def test_dispatcher_docstring(self): class TestDispatcherKernelProperties (line 457) | class TestDispatcherKernelProperties(CUDATestCase): method test_get_regs_per_thread_unspecialized (line 458) | def test_get_regs_per_thread_unspecialized(self): method test_get_regs_per_thread_specialized (line 505) | def test_get_regs_per_thread_specialized(self): method test_get_const_mem_unspecialized (line 517) | def test_get_const_mem_unspecialized(self): method test_get_const_mem_specialized (line 552) | def test_get_const_mem_specialized(self): method test_get_shared_mem_per_block_unspecialized (line 566) | def test_get_shared_mem_per_block_unspecialized(self): method test_get_shared_mem_per_block_specialized (line 607) | def test_get_shared_mem_per_block_specialized(self): method test_get_max_threads_per_block_unspecialized (line 622) | def test_get_max_threads_per_block_unspecialized(self): method test_get_local_mem_per_thread_unspecialized (line 641) | def test_get_local_mem_per_thread_unspecialized(self): method test_get_local_mem_per_thread_specialized (line 680) | def test_get_local_mem_per_thread_specialized(self): FILE: numba/cuda/tests/cudapy/test_enums.py class EnumTest (line 19) | class EnumTest(CUDATestCase): method test_compare (line 29) | def test_compare(self): method test_getattr_getitem (line 44) | def test_getattr_getitem(self): method test_return_from_device_func (line 57) | def test_return_from_device_func(self): method test_int_coerce (line 73) | def test_int_coerce(self): method test_int_cast (line 89) | def test_int_cast(self): method test_vectorize (line 106) | def test_vectorize(self): FILE: numba/cuda/tests/cudapy/test_errors.py function noop (line 6) | def noop(x): class TestJitErrors (line 10) | class TestJitErrors(CUDATestCase): method test_too_many_dims (line 15) | def test_too_many_dims(self): method test_non_integral_dims (line 30) | def test_non_integral_dims(self): method _test_unconfigured (line 43) | def _test_unconfigured(self, kernfunc): method test_unconfigured_typed_cudakernel (line 49) | def test_unconfigured_typed_cudakernel(self): method test_unconfigured_untyped_cudakernel (line 53) | def test_unconfigured_untyped_cudakernel(self): method test_typing_error (line 58) | def test_typing_error(self): FILE: numba/cuda/tests/cudapy/test_exception.py class TestException (line 8) | class TestException(CUDATestCase): method setUp (line 9) | def setUp(self): method test_exception (line 15) | def test_exception(self): method test_user_raise (line 36) | def test_user_raise(self): method case_raise_causing_warp_diverge (line 46) | def case_raise_causing_warp_diverge(self, with_debug_mode): method test_raise_causing_warp_diverge (line 97) | def test_raise_causing_warp_diverge(self): method test_no_zero_division_error (line 105) | def test_no_zero_division_error(self): method test_zero_division_error_in_debug (line 123) | def test_zero_division_error_in_debug(self): method test_raise_in_device_function (line 153) | def test_raise_in_device_function(self): FILE: numba/cuda/tests/cudapy/test_extending.py class Interval (line 7) | class Interval: method __init__ (line 11) | def __init__(self, lo, hi): method __repr__ (line 15) | def __repr__(self): method width (line 19) | def width(self): function interval_width (line 24) | def interval_width(interval): function sum_intervals (line 29) | def sum_intervals(i, j): class IntervalType (line 42) | class IntervalType(types.Type): method __init__ (line 43) | def __init__(self): function typeof_interval (line 49) | def typeof_interval(val, c): function type_interval (line 53) | def type_interval(context): class IntervalModel (line 60) | class IntervalModel(models.StructModel): method __init__ (line 61) | def __init__(self, dmm, fe_type): function impl_interval (line 72) | def impl_interval(context, builder, sig, args): class Interval_attrs (line 81) | class Interval_attrs(AttributeTemplate): method resolve_width (line 84) | def resolve_width(self, mod): function cuda_Interval_width (line 88) | def cuda_Interval_width(context, builder, sig, arg): class TestExtending (line 95) | class TestExtending(CUDATestCase): method test_attributes (line 96) | def test_attributes(self): method test_property (line 110) | def test_property(self): method test_extension_type_as_arg (line 123) | def test_extension_type_as_arg(self): method test_extension_type_as_retvalue (line 136) | def test_extension_type_as_retvalue(self): FILE: numba/cuda/tests/cudapy/test_fastmath.py class FastMathCriterion (line 14) | class FastMathCriterion: method check (line 20) | def check(self, test: CUDATestCase, fast: str, prec: str): class TestFastMathOption (line 28) | class TestFastMathOption(CUDATestCase): method _test_fast_math_common (line 29) | def _test_fast_math_common(self, pyfunc, sig, device, criterion): method _test_fast_math_unary (line 49) | def _test_fast_math_unary(self, op, criterion: FastMathCriterion): method _test_fast_math_binary (line 63) | def _test_fast_math_binary(self, op, criterion: FastMathCriterion): method test_cosf (line 78) | def test_cosf(self): method test_sinf (line 87) | def test_sinf(self): method test_tanf (line 96) | def test_tanf(self): method test_tanhf (line 107) | def test_tanhf(self): method test_tanhf_compile_ptx (line 117) | def test_tanhf_compile_ptx(self): method test_expf (line 139) | def test_expf(self): method test_logf (line 148) | def test_logf(self): method test_log10f (line 157) | def test_log10f(self): method test_log2f (line 166) | def test_log2f(self): method test_powf (line 174) | def test_powf(self): method test_divf (line 182) | def test_divf(self): method test_divf_exception (line 192) | def test_divf_exception(self): method test_device_fastmath_propagation (line 214) | def test_device_fastmath_propagation(self): FILE: numba/cuda/tests/cudapy/test_forall.py function foo (line 9) | def foo(x): class TestForAll (line 15) | class TestForAll(CUDATestCase): method test_forall_1 (line 16) | def test_forall_1(self): method test_forall_2 (line 22) | def test_forall_2(self): method test_forall_no_work (line 36) | def test_forall_no_work(self): method test_forall_negative_work (line 42) | def test_forall_negative_work(self): FILE: numba/cuda/tests/cudapy/test_freevar.py class TestFreeVar (line 7) | class TestFreeVar(CUDATestCase): method test_freevar (line 8) | def test_freevar(self): FILE: numba/cuda/tests/cudapy/test_frexp_ldexp.py function simple_frexp (line 8) | def simple_frexp(aryx, aryexp, arg): function simple_ldexp (line 12) | def simple_ldexp(aryx, arg, exp): class TestCudaFrexpLdexp (line 16) | class TestCudaFrexpLdexp(CUDATestCase): method template_test_frexp (line 17) | def template_test_frexp(self, nptype, nbtype): method template_test_ldexp (line 36) | def template_test_ldexp(self, nptype, nbtype): method test_frexp_f4 (line 52) | def test_frexp_f4(self): method test_ldexp_f4 (line 55) | def test_ldexp_f4(self): method test_frexp_f8 (line 58) | def test_frexp_f8(self): method test_ldexp_f8 (line 61) | def test_ldexp_f8(self): FILE: numba/cuda/tests/cudapy/test_globals.py function simple_smem (line 8) | def simple_smem(ary): function coop_smem2d (line 22) | def coop_smem2d(ary): class TestCudaTestGlobal (line 30) | class TestCudaTestGlobal(CUDATestCase): method test_global_int_const (line 31) | def test_global_int_const(self): method test_global_tuple_const (line 43) | def test_global_tuple_const(self): FILE: numba/cuda/tests/cudapy/test_gufunc.py function _get_matmulcore_gufunc (line 14) | def _get_matmulcore_gufunc(dtype=float32): class TestCUDAGufunc (line 31) | class TestCUDAGufunc(CUDATestCase): method test_gufunc_small (line 33) | def test_gufunc_small(self): method test_gufunc_auto_transfer (line 47) | def test_gufunc_auto_transfer(self): method test_gufunc (line 63) | def test_gufunc(self): method test_gufunc_hidim (line 77) | def test_gufunc_hidim(self): method test_gufunc_new_axis (line 89) | def test_gufunc_new_axis(self): method test_gufunc_stream (line 104) | def test_gufunc_stream(self): method test_copy (line 128) | def test_copy(self): method test_copy_unspecified_return (line 142) | def test_copy_unspecified_return(self): method test_copy_odd (line 157) | def test_copy_odd(self): method test_copy2d (line 171) | def test_copy2d(self): method test_not_supported_call_from_jit (line 186) | def test_not_supported_call_from_jit(self): method test_inefficient_launch_configuration (line 206) | def test_inefficient_launch_configuration(self): method test_efficient_launch_configuration (line 225) | def test_efficient_launch_configuration(self): method test_nopython_flag (line 244) | def test_nopython_flag(self): method test_invalid_flags (line 259) | def test_invalid_flags(self): method test_duplicated_output (line 274) | def test_duplicated_output(self): method check_tuple_arg (line 286) | def check_tuple_arg(self, a, b): method test_tuple_of_tuple_arg (line 299) | def test_tuple_of_tuple_arg(self): method test_tuple_of_namedtuple_arg (line 306) | def test_tuple_of_namedtuple_arg(self): method test_tuple_of_array_arg (line 314) | def test_tuple_of_array_arg(self): method test_gufunc_name (line 321) | def test_gufunc_name(self): method test_bad_return_type (line 325) | def test_bad_return_type(self): method test_incorrect_number_of_pos_args (line 335) | def test_incorrect_number_of_pos_args(self): class TestMultipleOutputs (line 363) | class TestMultipleOutputs(CUDATestCase): method test_multiple_outputs_same_type_passed_in (line 364) | def test_multiple_outputs_same_type_passed_in(self): method test_multiple_outputs_distinct_values (line 380) | def test_multiple_outputs_distinct_values(self): method test_multiple_output_allocation (line 397) | def test_multiple_output_allocation(self): method test_multiple_output_dtypes (line 411) | def test_multiple_output_dtypes(self): method test_incorrect_number_of_pos_args (line 428) | def test_incorrect_number_of_pos_args(self): FILE: numba/cuda/tests/cudapy/test_gufunc_scalar.py class TestGUFuncScalar (line 13) | class TestGUFuncScalar(CUDATestCase): method test_gufunc_scalar_output (line 14) | def test_gufunc_scalar_output(self): method test_gufunc_scalar_output_bug (line 56) | def test_gufunc_scalar_output_bug(self): method test_gufunc_scalar_input_saxpy (line 66) | def test_gufunc_scalar_input_saxpy(self): method test_gufunc_scalar_cast (line 101) | def test_gufunc_scalar_cast(self): method test_gufunc_old_style_scalar_as_array (line 122) | def test_gufunc_old_style_scalar_as_array(self): FILE: numba/cuda/tests/cudapy/test_gufunc_scheduling.py function template (line 5) | def template(signature, shapes, expects): class TestGUFuncScheduling (line 15) | class TestGUFuncScheduling(unittest.TestCase): method test_signature_1 (line 16) | def test_signature_1(self): method test_signature_2 (line 27) | def test_signature_2(self): method test_signature_3 (line 38) | def test_signature_3(self): method test_signature_4 (line 49) | def test_signature_4(self): method test_signature_5 (line 60) | def test_signature_5(self): method test_signature_6 (line 71) | def test_signature_6(self): method test_signature_7 (line 82) | def test_signature_7(self): FILE: numba/cuda/tests/cudapy/test_idiv.py class TestCudaIDiv (line 6) | class TestCudaIDiv(CUDATestCase): method test_inplace_div (line 7) | def test_inplace_div(self): method test_inplace_div_double (line 21) | def test_inplace_div_double(self): FILE: numba/cuda/tests/cudapy/test_inspect.py class TestInspect (line 11) | class TestInspect(CUDATestCase): method cc (line 13) | def cc(self): method test_monotyped (line 16) | def test_monotyped(self): method test_polytyped (line 48) | def test_polytyped(self): method _test_inspect_sass (line 93) | def _test_inspect_sass(self, kernel, name, sass): method test_inspect_sass_eager (line 110) | def test_inspect_sass_eager(self): method test_inspect_sass_lazy (line 122) | def test_inspect_sass_lazy(self): method test_inspect_sass_nvdisasm_missing (line 138) | def test_inspect_sass_nvdisasm_missing(self): method test_inspect_sass_cfg (line 149) | def test_inspect_sass_cfg(self): FILE: numba/cuda/tests/cudapy/test_intrinsics.py function simple_threadidx (line 13) | def simple_threadidx(ary): function fill_threadidx (line 18) | def fill_threadidx(ary): function fill3d_threadidx (line 23) | def fill3d_threadidx(ary): function simple_grid1d (line 31) | def simple_grid1d(ary): function simple_grid2d (line 36) | def simple_grid2d(ary): function simple_gridsize1d (line 41) | def simple_gridsize1d(ary): function simple_gridsize2d (line 48) | def simple_gridsize2d(ary): function intrinsic_forloop_step (line 56) | def intrinsic_forloop_step(c): function simple_popc (line 67) | def simple_popc(ary, c): function simple_fma (line 71) | def simple_fma(ary, a, b, c): function simple_hadd (line 75) | def simple_hadd(ary, a, b): function simple_hadd_scalar (line 79) | def simple_hadd_scalar(ary, a, b): function simple_hfma (line 83) | def simple_hfma(ary, a, b, c): function simple_hfma_scalar (line 87) | def simple_hfma_scalar(ary, a, b, c): function simple_hsub (line 91) | def simple_hsub(ary, a, b): function simple_hsub_scalar (line 95) | def simple_hsub_scalar(ary, a, b): function simple_hmul (line 99) | def simple_hmul(ary, a, b): function simple_hmul_scalar (line 103) | def simple_hmul_scalar(ary, a, b): function simple_hdiv_scalar (line 107) | def simple_hdiv_scalar(ary, a, b): function simple_hdiv_kernel (line 111) | def simple_hdiv_kernel(ary, array_a, array_b): function simple_hneg (line 119) | def simple_hneg(ary, a): function simple_hneg_scalar (line 123) | def simple_hneg_scalar(ary, a): function simple_habs (line 127) | def simple_habs(ary, a): function simple_habs_scalar (line 131) | def simple_habs_scalar(ary, a): function simple_heq_scalar (line 135) | def simple_heq_scalar(ary, a, b): function simple_hne_scalar (line 139) | def simple_hne_scalar(ary, a, b): function simple_hge_scalar (line 143) | def simple_hge_scalar(ary, a, b): function simple_hgt_scalar (line 147) | def simple_hgt_scalar(ary, a, b): function simple_hle_scalar (line 151) | def simple_hle_scalar(ary, a, b): function simple_hlt_scalar (line 155) | def simple_hlt_scalar(ary, a, b): function hlt_func_1 (line 160) | def hlt_func_1(x, y): function hlt_func_2 (line 165) | def hlt_func_2(x, y): function test_multiple_hcmp_1 (line 169) | def test_multiple_hcmp_1(r, a, b, c): function test_multiple_hcmp_2 (line 174) | def test_multiple_hcmp_2(r, a, b, c): function test_multiple_hcmp_3 (line 179) | def test_multiple_hcmp_3(r, a, b, c): function test_multiple_hcmp_4 (line 184) | def test_multiple_hcmp_4(r, a, b, c): function test_multiple_hcmp_5 (line 189) | def test_multiple_hcmp_5(r, a, b, c): function simple_hmax_scalar (line 194) | def simple_hmax_scalar(ary, a, b): function simple_hmin_scalar (line 198) | def simple_hmin_scalar(ary, a, b): function simple_hsin (line 202) | def simple_hsin(r, x): function simple_hcos (line 209) | def simple_hcos(r, x): function simple_hlog (line 216) | def simple_hlog(r, x): function simple_hlog2 (line 223) | def simple_hlog2(r, x): function simple_hlog10 (line 230) | def simple_hlog10(r, x): function simple_hexp (line 237) | def simple_hexp(r, x): function simple_hexp2 (line 244) | def simple_hexp2(r, x): function simple_hsqrt (line 251) | def simple_hsqrt(r, x): function simple_hrsqrt (line 258) | def simple_hrsqrt(r, x): function numpy_hrsqrt (line 266) | def numpy_hrsqrt(x, dtype): function simple_hceil (line 270) | def simple_hceil(r, x): function simple_hfloor (line 277) | def simple_hfloor(r, x): function simple_hrcp (line 284) | def simple_hrcp(r, x): function simple_htrunc (line 291) | def simple_htrunc(r, x): function simple_hrint (line 298) | def simple_hrint(r, x): function simple_cbrt (line 305) | def simple_cbrt(ary, a): function simple_brev (line 309) | def simple_brev(ary, c): function simple_clz (line 313) | def simple_clz(ary, c): function simple_ffs (line 317) | def simple_ffs(ary, c): function simple_round (line 321) | def simple_round(ary, c): function simple_round_to (line 325) | def simple_round_to(ary, c, ndigits): function branching_with_ifs (line 329) | def branching_with_ifs(a, b, c): function branching_with_selps (line 341) | def branching_with_selps(a, b, c): function simple_laneid (line 348) | def simple_laneid(ary): function simple_warpsize (line 353) | def simple_warpsize(ary): function nonliteral_grid (line 357) | def nonliteral_grid(x): function nonliteral_gridsize (line 361) | def nonliteral_gridsize(x): class TestCudaIntrinsic (line 365) | class TestCudaIntrinsic(CUDATestCase): method setUp (line 366) | def setUp(self): method test_simple_threadidx (line 370) | def test_simple_threadidx(self): method test_fill_threadidx (line 376) | def test_fill_threadidx(self): method test_fill3d_threadidx (line 384) | def test_fill3d_threadidx(self): method test_nonliteral_grid_error (line 404) | def test_nonliteral_grid_error(self): method test_nonliteral_gridsize_error (line 409) | def test_nonliteral_gridsize_error(self): method test_simple_grid1d (line 413) | def test_simple_grid1d(self): method test_simple_grid2d (line 421) | def test_simple_grid2d(self): method test_simple_gridsize1d (line 436) | def test_simple_gridsize1d(self): method test_issue_9229 (line 444) | def test_issue_9229(self): method test_selp (line 469) | def test_selp(self): method test_simple_gridsize2d (line 493) | def test_simple_gridsize2d(self): method test_intrinsic_forloop_step (line 503) | def test_intrinsic_forloop_step(self): method test_3dgrid (line 520) | def test_3dgrid(self): method test_3dgrid_2 (line 532) | def test_3dgrid_2(self): method test_popc_u4 (line 553) | def test_popc_u4(self): method test_popc_u8 (line 559) | def test_popc_u8(self): method test_fma_f4 (line 565) | def test_fma_f4(self): method test_fma_f8 (line 571) | def test_fma_f8(self): method test_hadd (line 578) | def test_hadd(self): method test_hadd_scalar (line 587) | def test_hadd_scalar(self): method test_hadd_ptx (line 597) | def test_hadd_ptx(self): method test_hfma (line 603) | def test_hfma(self): method test_hfma_scalar (line 613) | def test_hfma_scalar(self): method test_hfma_ptx (line 624) | def test_hfma_ptx(self): method test_hsub (line 630) | def test_hsub(self): method test_hsub_scalar (line 639) | def test_hsub_scalar(self): method test_hsub_ptx (line 649) | def test_hsub_ptx(self): method test_hmul (line 655) | def test_hmul(self): method test_hmul_scalar (line 664) | def test_hmul_scalar(self): method test_hmul_ptx (line 674) | def test_hmul_ptx(self): method test_hdiv_scalar (line 680) | def test_hdiv_scalar(self): method test_hdiv (line 691) | def test_hdiv(self): method test_hneg (line 702) | def test_hneg(self): method test_hneg_scalar (line 710) | def test_hneg_scalar(self): method test_hneg_ptx (line 719) | def test_hneg_ptx(self): method test_habs (line 725) | def test_habs(self): method test_habs_scalar (line 733) | def test_habs_scalar(self): method test_habs_ptx (line 742) | def test_habs_ptx(self): method test_fp16_intrinsics_common (line 748) | def test_fp16_intrinsics_common(self): method test_hexp10 (line 783) | def test_hexp10(self): method test_fp16_comparison (line 802) | def test_fp16_comparison(self): method test_multiple_float16_comparisons (line 834) | def test_multiple_float16_comparisons(self): method test_hmax (line 851) | def test_hmax(self): method test_hmin (line 863) | def test_hmin(self): method test_cbrt_f32 (line 874) | def test_cbrt_f32(self): method test_cbrt_f64 (line 881) | def test_cbrt_f64(self): method test_brev_u4 (line 888) | def test_brev_u4(self): method test_brev_u8 (line 895) | def test_brev_u8(self): method test_clz_i4 (line 901) | def test_clz_i4(self): method test_clz_u4 (line 907) | def test_clz_u4(self): method test_clz_i4_1s (line 921) | def test_clz_i4_1s(self): method test_clz_i4_0s (line 927) | def test_clz_i4_0s(self): method test_clz_i8 (line 934) | def test_clz_i8(self): method test_ffs_i4 (line 940) | def test_ffs_i4(self): method test_ffs_u4 (line 948) | def test_ffs_u4(self): method test_ffs_i4_1s (line 956) | def test_ffs_i4_1s(self): method test_ffs_i4_0s (line 962) | def test_ffs_i4_0s(self): method test_ffs_i8 (line 969) | def test_ffs_i8(self): method test_simple_laneid (line 977) | def test_simple_laneid(self): method test_simple_warpsize (line 985) | def test_simple_warpsize(self): method test_round_f4 (line 991) | def test_round_f4(self): method test_round_f8 (line 999) | def test_round_f8(self): method test_round_to_f4 (line 1007) | def test_round_to_f4(self): method test_round_to_f4_overflow (line 1034) | def test_round_to_f4_overflow(self): method test_round_to_f4_halfway (line 1047) | def test_round_to_f4_halfway(self): method test_round_to_f8 (line 1057) | def test_round_to_f8(self): method test_round_to_f8_overflow (line 1081) | def test_round_to_f8_overflow(self): method test_round_to_f8_halfway (line 1093) | def test_round_to_f8_halfway(self): FILE: numba/cuda/tests/cudapy/test_ipc.py function core_ipc_handle_test (line 17) | def core_ipc_handle_test(the_work, result_queue): function base_ipc_handle_test (line 32) | def base_ipc_handle_test(handle, size, result_queue): function serialize_ipc_handle_test (line 43) | def serialize_ipc_handle_test(handle, result_queue): function ipc_array_test (line 57) | def ipc_array_test(ipcarr, result_queue): class TestIpcMemory (line 86) | class TestIpcMemory(ContextResettingTestCase): method test_ipc_handle (line 88) | def test_ipc_handle(self): method variants (line 117) | def variants(self): method check_ipc_handle_serialization (line 125) | def check_ipc_handle_serialization(self, index_arg=None, foreign=False): method test_ipc_handle_serialization (line 163) | def test_ipc_handle_serialization(self): method check_ipc_array (line 168) | def check_ipc_array(self, index_arg=None, foreign=False): method test_ipc_array (line 193) | def test_ipc_array(self): function staged_ipc_handle_test (line 199) | def staged_ipc_handle_test(handle, device_num, result_queue): function staged_ipc_array_test (line 215) | def staged_ipc_array_test(ipcarr, device_num, result_queue): class TestIpcStaged (line 245) | class TestIpcStaged(ContextResettingTestCase): method test_staged (line 246) | def test_staged(self): method test_ipc_array (line 280) | def test_ipc_array(self): class TestIpcNotSupported (line 303) | class TestIpcNotSupported(ContextResettingTestCase): method test_unsupported (line 304) | def test_unsupported(self): FILE: numba/cuda/tests/cudapy/test_iterators.py class TestIterators (line 7) | class TestIterators(CUDATestCase): method test_enumerate (line 9) | def test_enumerate(self): method _test_twoarg_function (line 31) | def _test_twoarg_function(self, f): method test_zip (line 39) | def test_zip(self): method test_enumerate_zip (line 57) | def test_enumerate_zip(self): method test_zip_enumerate (line 77) | def test_zip_enumerate(self): FILE: numba/cuda/tests/cudapy/test_lang.py class TestLang (line 11) | class TestLang(CUDATestCase): method test_enumerate (line 12) | def test_enumerate(self): method test_zip (line 24) | def test_zip(self): method test_issue_872 (line 41) | def test_issue_872(self): FILE: numba/cuda/tests/cudapy/test_laplace.py class TestCudaLaplace (line 15) | class TestCudaLaplace(CUDATestCase): method test_laplace_small (line 16) | def test_laplace_small(self): FILE: numba/cuda/tests/cudapy/test_libdevice.py function use_sincos (line 9) | def use_sincos(s, c, x): function use_frexp (line 18) | def use_frexp(frac, exp, x): function use_sad (line 27) | def use_sad(r, x, y, z): class TestLibdevice (line 35) | class TestLibdevice(CUDATestCase): method test_sincos (line 44) | def test_sincos(self): method test_frexp (line 56) | def test_frexp(self): method test_sad (line 70) | def test_sad(self): function make_test_call (line 97) | def make_test_call(libname): class TestLibdeviceCompilation (line 172) | class TestLibdeviceCompilation(unittest.TestCase): FILE: numba/cuda/tests/cudapy/test_lineinfo.py class TestCudaLineInfo (line 11) | class TestCudaLineInfo(CUDATestCase): method _loc_directive_regex (line 12) | def _loc_directive_regex(self): method _check (line 23) | def _check(self, fn, sig, expect): method test_no_lineinfo_in_asm (line 74) | def test_no_lineinfo_in_asm(self): method test_lineinfo_in_asm (line 81) | def test_lineinfo_in_asm(self): method test_lineinfo_maintains_error_model (line 88) | def test_lineinfo_maintains_error_model(self): method test_no_lineinfo_in_device_function (line 103) | def test_no_lineinfo_in_device_function(self): method test_lineinfo_in_device_function (line 117) | def test_lineinfo_in_device_function(self): method test_debug_and_lineinfo_warning (line 182) | def test_debug_and_lineinfo_warning(self): FILE: numba/cuda/tests/cudapy/test_localmem.py function culocal (line 10) | def culocal(A, B): function culocalcomplex (line 18) | def culocalcomplex(A, B): function culocal1tuple (line 26) | def culocal1tuple(A, B): class TestCudaLocalMem (line 35) | class TestCudaLocalMem(CUDATestCase): method test_local_array (line 36) | def test_local_array(self): method test_local_array_1_tuple (line 45) | def test_local_array_1_tuple(self): method test_local_array_complex (line 56) | def test_local_array_complex(self): method check_dtype (line 64) | def check_dtype(self, f, dtype): method test_numba_dtype (line 72) | def test_numba_dtype(self): method test_numpy_dtype (line 83) | def test_numpy_dtype(self): method test_string_dtype (line 94) | def test_string_dtype(self): method test_invalid_string_dtype (line 105) | def test_invalid_string_dtype(self): method test_type_with_struct_data_model (line 115) | def test_type_with_struct_data_model(self): method test_struct_model_type_arr (line 124) | def test_struct_model_type_arr(self): method _check_local_array_size_fp16 (line 148) | def _check_local_array_size_fp16(self, shape, expected, ty): method test_issue_fp16_support (line 158) | def test_issue_fp16_support(self): FILE: numba/cuda/tests/cudapy/test_mandel.py class TestCudaMandel (line 7) | class TestCudaMandel(unittest.TestCase): method test_mandel (line 8) | def test_mandel(self): FILE: numba/cuda/tests/cudapy/test_math.py function math_acos (line 11) | def math_acos(A, B): function math_asin (line 16) | def math_asin(A, B): function math_atan (line 21) | def math_atan(A, B): function math_acosh (line 26) | def math_acosh(A, B): function math_asinh (line 31) | def math_asinh(A, B): function math_atanh (line 36) | def math_atanh(A, B): function math_cos (line 41) | def math_cos(A, B): function math_sin (line 46) | def math_sin(A, B): function math_tan (line 51) | def math_tan(A, B): function math_cosh (line 56) | def math_cosh(A, B): function math_sinh (line 61) | def math_sinh(A, B): function math_tanh (line 66) | def math_tanh(A, B): function math_atan2 (line 71) | def math_atan2(A, B, C): function math_exp (line 76) | def math_exp(A, B): function math_erf (line 81) | def math_erf(A, B): function math_erfc (line 86) | def math_erfc(A, B): function math_expm1 (line 91) | def math_expm1(A, B): function math_fabs (line 96) | def math_fabs(A, B): function math_gamma (line 101) | def math_gamma(A, B): function math_lgamma (line 106) | def math_lgamma(A, B): function math_log (line 111) | def math_log(A, B): function math_log2 (line 116) | def math_log2(A, B): function math_log10 (line 121) | def math_log10(A, B): function math_log1p (line 126) | def math_log1p(A, B): function math_remainder (line 131) | def math_remainder(A, B, C): function math_sqrt (line 136) | def math_sqrt(A, B): function math_hypot (line 141) | def math_hypot(A, B, C): function math_pow (line 146) | def math_pow(A, B, C): function math_ceil (line 151) | def math_ceil(A, B): function math_floor (line 156) | def math_floor(A, B): function math_copysign (line 161) | def math_copysign(A, B, C): function math_fmod (line 166) | def math_fmod(A, B, C): function math_modf (line 171) | def math_modf(A, B, C): function math_isnan (line 176) | def math_isnan(A, B): function math_isinf (line 181) | def math_isinf(A, B): function math_isfinite (line 186) | def math_isfinite(A, B): function math_degrees (line 191) | def math_degrees(A, B): function math_radians (line 196) | def math_radians(A, B): function math_trunc (line 201) | def math_trunc(A, B): function math_pow_binop (line 206) | def math_pow_binop(A, B, C): function math_mod_binop (line 211) | def math_mod_binop(A, B, C): class TestCudaMath (line 216) | class TestCudaMath(CUDATestCase): method unary_template_float16 (line 217) | def unary_template_float16(self, func, npfunc, start=0, stop=1): method unary_template_float32 (line 220) | def unary_template_float32(self, func, npfunc, start=0, stop=1): method unary_template_float64 (line 223) | def unary_template_float64(self, func, npfunc, start=0, stop=1): method unary_template_int64 (line 226) | def unary_template_int64(self, func, npfunc, start=0, stop=50): method unary_template_uint64 (line 229) | def unary_template_uint64(self, func, npfunc, start=0, stop=50): method unary_template (line 232) | def unary_template(self, func, npfunc, npdtype, nprestype, start, stop): method unary_bool_special_values (line 253) | def unary_bool_special_values(self, func, npfunc, npdtype, npmtype): method unary_bool_special_values_float32 (line 267) | def unary_bool_special_values_float32(self, func, npfunc): method unary_bool_special_values_float64 (line 270) | def unary_bool_special_values_float64(self, func, npfunc): method unary_bool_template_float32 (line 273) | def unary_bool_template_float32(self, func, npfunc, start=0, stop=1): method unary_bool_template_float64 (line 276) | def unary_bool_template_float64(self, func, npfunc, start=0, stop=1): method unary_bool_template_int32 (line 279) | def unary_bool_template_int32(self, func, npfunc, start=0, stop=49): method unary_bool_template_int64 (line 282) | def unary_bool_template_int64(self, func, npfunc, start=0, stop=49): method unary_bool_template (line 285) | def unary_bool_template(self, func, npfunc, npdtype, npmtype, start, s... method binary_template_float32 (line 295) | def binary_template_float32(self, func, npfunc, start=0, stop=1): method binary_template_float64 (line 298) | def binary_template_float64(self, func, npfunc, start=0, stop=1): method binary_template_int64 (line 301) | def binary_template_int64(self, func, npfunc, start=0, stop=50): method binary_template_uint64 (line 304) | def binary_template_uint64(self, func, npfunc, start=0, stop=50): method binary_template (line 307) | def binary_template(self, func, npfunc, npdtype, nprestype, start, stop): method test_math_acos (line 320) | def test_math_acos(self): method test_math_asin (line 331) | def test_math_asin(self): method test_math_atan (line 342) | def test_math_atan(self): method test_math_acosh (line 351) | def test_math_acosh(self): method test_math_asinh (line 360) | def test_math_asinh(self): method test_math_atanh (line 369) | def test_math_atanh(self): method test_math_cos (line 378) | def test_math_cos(self): method test_math_fp16 (line 385) | def test_math_fp16(self): method test_math_fp16_trunc (line 399) | def test_math_fp16_trunc(self): method test_math_sin (line 405) | def test_math_sin(self): method test_math_tan (line 414) | def test_math_tan(self): method test_math_cosh (line 423) | def test_math_cosh(self): method test_math_sinh (line 432) | def test_math_sinh(self): method test_math_tanh (line 441) | def test_math_tanh(self): method test_math_atan2 (line 450) | def test_math_atan2(self): method test_math_erf (line 459) | def test_math_erf(self): method test_math_erfc (line 471) | def test_math_erfc(self): method test_math_exp (line 483) | def test_math_exp(self): method test_math_expm1 (line 492) | def test_math_expm1(self): method test_math_fabs (line 501) | def test_math_fabs(self): method test_math_gamma (line 510) | def test_math_gamma(self): method test_math_lgamma (line 522) | def test_math_lgamma(self): method test_math_log (line 534) | def test_math_log(self): method test_math_log2 (line 543) | def test_math_log2(self): method test_math_log10 (line 552) | def test_math_log10(self): method test_math_log1p (line 561) | def test_math_log1p(self): method test_math_remainder (line 570) | def test_math_remainder(self): method test_math_remainder_0_0 (line 577) | def test_math_remainder_0_0(self): method test_math_sqrt (line 588) | def test_math_sqrt(self): method test_math_hypot (line 597) | def test_math_hypot(self): method pow_template_int32 (line 606) | def pow_template_int32(self, npdtype): method test_math_pow (line 623) | def test_math_pow(self): method test_math_pow_binop (line 632) | def test_math_pow_binop(self): method test_math_ceil (line 639) | def test_math_ceil(self): method test_math_floor (line 648) | def test_math_floor(self): method test_math_trunc (line 663) | def test_math_trunc(self): method test_math_trunc_non_float64 (line 667) | def test_math_trunc_non_float64(self): method test_math_copysign (line 675) | def test_math_copysign(self): method test_math_modf (line 682) | def test_math_modf(self): method test_math_fmod (line 726) | def test_math_fmod(self): method test_math_mod_binop (line 733) | def test_math_mod_binop(self): method test_math_isnan (line 740) | def test_math_isnan(self): method test_math_isinf (line 751) | def test_math_isinf(self): method test_math_isfinite (line 762) | def test_math_isfinite(self): method test_math_degrees (line 773) | def test_math_degrees(self): method test_math_radians (line 780) | def test_math_radians(self): FILE: numba/cuda/tests/cudapy/test_matmul.py class TestCudaMatMul (line 17) | class TestCudaMatMul(CUDATestCase): method test_func (line 19) | def test_func(self): FILE: numba/cuda/tests/cudapy/test_minmax.py function builtin_max (line 7) | def builtin_max(A, B, C): function builtin_min (line 16) | def builtin_min(A, B, C): class TestCudaMinMax (line 26) | class TestCudaMinMax(CUDATestCase): method _run (line 27) | def _run( method test_max_f8f8 (line 47) | def test_max_f8f8(self): method test_max_f4f8 (line 55) | def test_max_f4f8(self): method test_max_f8f4 (line 63) | def test_max_f8f4(self): method test_max_f4f4 (line 71) | def test_max_f4f4(self): method test_min_f8f8 (line 79) | def test_min_f8f8(self): method test_min_f4f8 (line 87) | def test_min_f4f8(self): method test_min_f8f4 (line 95) | def test_min_f8f4(self): method test_min_f4f4 (line 103) | def test_min_f4f4(self): FILE: numba/cuda/tests/cudapy/test_montecarlo.py class TestCudaMonteCarlo (line 6) | class TestCudaMonteCarlo(CUDATestCase): method test_montecarlo (line 7) | def test_montecarlo(self): FILE: numba/cuda/tests/cudapy/test_multigpu.py class TestMultiGPUContext (line 8) | class TestMultiGPUContext(CUDATestCase): method test_multigpu_context (line 10) | def test_multigpu_context(self): method test_multithreaded (line 51) | def test_multithreaded(self): method test_with_context (line 83) | def test_with_context(self): method test_with_context_peer_copy (line 111) | def test_with_context_peer_copy(self): FILE: numba/cuda/tests/cudapy/test_multiprocessing.py function fork_test (line 14) | def fork_test(q): class TestMultiprocessing (line 25) | class TestMultiprocessing(CUDATestCase): method test_fork (line 28) | def test_fork(self): FILE: numba/cuda/tests/cudapy/test_multithreads.py function check_concurrent_compiling (line 21) | def check_concurrent_compiling(): function spawn_process_entry (line 38) | def spawn_process_entry(q): class TestMultiThreadCompiling (line 51) | class TestMultiThreadCompiling(CUDATestCase): method test_concurrent_compiling (line 54) | def test_concurrent_compiling(self): method test_spawn_concurrent_compilation (line 58) | def test_spawn_concurrent_compilation(self): method test_invalid_context_error_with_d2h (line 75) | def test_invalid_context_error_with_d2h(self): method test_invalid_context_error_with_d2d (line 87) | def test_invalid_context_error_with_d2d(self): FILE: numba/cuda/tests/cudapy/test_nondet.py function generate_input (line 6) | def generate_input(n): class TestCudaNonDet (line 12) | class TestCudaNonDet(CUDATestCase): method test_for_pre (line 13) | def test_for_pre(self): FILE: numba/cuda/tests/cudapy/test_operator.py function simple_fp16_div_scalar (line 12) | def simple_fp16_div_scalar(ary, a, b): function simple_fp16add (line 16) | def simple_fp16add(ary, a, b): function simple_fp16_iadd (line 20) | def simple_fp16_iadd(ary, a): function simple_fp16_isub (line 24) | def simple_fp16_isub(ary, a): function simple_fp16_imul (line 28) | def simple_fp16_imul(ary, a): function simple_fp16_idiv (line 32) | def simple_fp16_idiv(ary, a): function simple_fp16sub (line 36) | def simple_fp16sub(ary, a, b): function simple_fp16mul (line 40) | def simple_fp16mul(ary, a, b): function simple_fp16neg (line 44) | def simple_fp16neg(ary, a): function simple_fp16abs (line 48) | def simple_fp16abs(ary, a): function simple_fp16_gt (line 52) | def simple_fp16_gt(ary, a, b): function simple_fp16_ge (line 56) | def simple_fp16_ge(ary, a, b): function simple_fp16_lt (line 60) | def simple_fp16_lt(ary, a, b): function simple_fp16_le (line 64) | def simple_fp16_le(ary, a, b): function simple_fp16_eq (line 68) | def simple_fp16_eq(ary, a, b): function simple_fp16_ne (line 72) | def simple_fp16_ne(ary, a, b): function hlt_func_1 (line 77) | def hlt_func_1(x, y): function hlt_func_2 (line 82) | def hlt_func_2(x, y): function test_multiple_hcmp_1 (line 86) | def test_multiple_hcmp_1(r, a, b, c): function test_multiple_hcmp_2 (line 91) | def test_multiple_hcmp_2(r, a, b, c): function test_multiple_hcmp_3 (line 96) | def test_multiple_hcmp_3(r, a, b, c): function test_multiple_hcmp_4 (line 101) | def test_multiple_hcmp_4(r, a, b, c): function test_multiple_hcmp_5 (line 106) | def test_multiple_hcmp_5(r, a, b, c): class TestOperatorModule (line 111) | class TestOperatorModule(CUDATestCase): method setUp (line 112) | def setUp(self): method operator_template (line 119) | def operator_template(self, op): method test_add (line 132) | def test_add(self): method test_sub (line 135) | def test_sub(self): method test_mul (line 138) | def test_mul(self): method test_truediv (line 141) | def test_truediv(self): method test_floordiv (line 144) | def test_floordiv(self): method test_fp16_binary (line 148) | def test_fp16_binary(self): method test_fp16_binary_ptx (line 166) | def test_fp16_binary_ptx(self): method test_mixed_fp16_binary_arithmetic (line 176) | def test_mixed_fp16_binary_arithmetic(self): method test_fp16_inplace_binary_ptx (line 196) | def test_fp16_inplace_binary_ptx(self): method test_fp16_inplace_binary (line 207) | def test_fp16_inplace_binary(self): method test_fp16_unary (line 224) | def test_fp16_unary(self): method test_fp16_neg_ptx (line 240) | def test_fp16_neg_ptx(self): method test_fp16_abs_ptx (line 246) | def test_fp16_abs_ptx(self): method test_fp16_comparison (line 253) | def test_fp16_comparison(self): method test_mixed_fp16_comparison (line 273) | def test_mixed_fp16_comparison(self): method test_multiple_float16_comparisons (line 296) | def test_multiple_float16_comparisons(self): method test_multiple_float16_comparisons_false (line 313) | def test_multiple_float16_comparisons_false(self): method test_fp16_comparison_ptx (line 330) | def test_fp16_comparison_ptx(self): method test_fp16_int8_comparison_ptx (line 347) | def test_fp16_int8_comparison_ptx(self): method test_mixed_fp16_comparison_promotion_ptx (line 369) | def test_mixed_fp16_comparison_promotion_ptx(self): FILE: numba/cuda/tests/cudapy/test_optimization.py function kernel_func (line 8) | def kernel_func(x): function device_func (line 12) | def device_func(x, y, z): class TestOptimization (line 22) | class TestOptimization(CUDATestCase): method test_eager_opt (line 23) | def test_eager_opt(self): method test_eager_noopt (line 33) | def test_eager_noopt(self): method test_lazy_opt (line 43) | def test_lazy_opt(self): method test_lazy_noopt (line 56) | def test_lazy_noopt(self): method test_device_opt (line 69) | def test_device_opt(self): method test_device_noopt (line 76) | def test_device_noopt(self): FILE: numba/cuda/tests/cudapy/test_overload.py function generic_func_1 (line 11) | def generic_func_1(): function cuda_func_1 (line 15) | def cuda_func_1(): function generic_func_2 (line 19) | def generic_func_2(): function cuda_func_2 (line 23) | def cuda_func_2(): function generic_calls_generic (line 27) | def generic_calls_generic(): function generic_calls_cuda (line 31) | def generic_calls_cuda(): function cuda_calls_generic (line 35) | def cuda_calls_generic(): function cuda_calls_cuda (line 39) | def cuda_calls_cuda(): function target_overloaded (line 43) | def target_overloaded(): function generic_calls_target_overloaded (line 47) | def generic_calls_target_overloaded(): function cuda_calls_target_overloaded (line 51) | def cuda_calls_target_overloaded(): function target_overloaded_calls_target_overloaded (line 55) | def target_overloaded_calls_target_overloaded(): function ol_generic_func_1 (line 83) | def ol_generic_func_1(x): function ol_cuda_func_1 (line 90) | def ol_cuda_func_1(x): function ol_generic_func_2 (line 97) | def ol_generic_func_2(x): function ol_cuda_func (line 104) | def ol_cuda_func(x): function ol_generic_calls_generic (line 111) | def ol_generic_calls_generic(x): function ol_generic_calls_cuda (line 119) | def ol_generic_calls_cuda(x): function ol_cuda_calls_generic (line 127) | def ol_cuda_calls_generic(x): function ol_cuda_calls_cuda (line 135) | def ol_cuda_calls_cuda(x): function ol_target_overloaded_generic (line 143) | def ol_target_overloaded_generic(x): function ol_target_overloaded_cuda (line 150) | def ol_target_overloaded_cuda(x): function ol_generic_calls_target_overloaded (line 157) | def ol_generic_calls_target_overloaded(x): function ol_cuda_calls_target_overloaded (line 165) | def ol_cuda_calls_target_overloaded(x): function ol_generic_calls_target_overloaded_generic (line 173) | def ol_generic_calls_target_overloaded_generic(x): function ol_generic_calls_target_overloaded_cuda (line 181) | def ol_generic_calls_target_overloaded_cuda(x): class TestOverload (line 189) | class TestOverload(CUDATestCase): method check_overload (line 190) | def check_overload(self, kernel, expected): method check_overload_cpu (line 195) | def check_overload_cpu(self, kernel, expected): method test_generic (line 200) | def test_generic(self): method test_cuda (line 207) | def test_cuda(self): method test_generic_and_cuda (line 214) | def test_generic_and_cuda(self): method test_call_two_generic_calls (line 222) | def test_call_two_generic_calls(self): method test_call_two_cuda_calls (line 230) | def test_call_two_cuda_calls(self): method test_generic_calls_generic (line 238) | def test_generic_calls_generic(self): method test_generic_calls_cuda (line 245) | def test_generic_calls_cuda(self): method test_cuda_calls_generic (line 252) | def test_cuda_calls_generic(self): method test_cuda_calls_cuda (line 259) | def test_cuda_calls_cuda(self): method test_call_target_overloaded (line 266) | def test_call_target_overloaded(self): method test_generic_calls_target_overloaded (line 273) | def test_generic_calls_target_overloaded(self): method test_cuda_calls_target_overloaded (line 280) | def test_cuda_calls_target_overloaded(self): method test_target_overloaded_calls_target_overloaded (line 287) | def test_target_overloaded_calls_target_overloaded(self): method test_overload_attribute_target (line 299) | def test_overload_attribute_target(self): FILE: numba/cuda/tests/cudapy/test_powi.py function cu_mat_power (line 7) | def cu_mat_power(A, power, power_A): function cu_mat_power_binop (line 17) | def cu_mat_power_binop(A, power, power_A): function vec_pow (line 27) | def vec_pow(r, x, y): function vec_pow_binop (line 34) | def vec_pow_binop(r, x, y): function vec_pow_inplace_binop (line 41) | def vec_pow_inplace_binop(r, x): function random_complex (line 48) | def random_complex(N): class TestCudaPowi (line 53) | class TestCudaPowi(CUDATestCase): method test_powi (line 54) | def test_powi(self): method test_powi_binop (line 64) | def test_powi_binop(self): method _test_cpow (line 76) | def _test_cpow(self, dtype, func, rtol=1.0e-7): method test_cpow_complex64_pow (line 94) | def test_cpow_complex64_pow(self): method test_cpow_complex64_binop (line 97) | def test_cpow_complex64_binop(self): method test_cpow_complex128_pow (line 100) | def test_cpow_complex128_pow(self): method test_cpow_complex128_binop (line 103) | def test_cpow_complex128_binop(self): method _test_cpow_inplace_binop (line 106) | def _test_cpow_inplace_binop(self, dtype, rtol=1.0e-7): method test_cpow_complex64_inplace_binop (line 116) | def test_cpow_complex64_inplace_binop(self): method test_cpow_complex128_inplace_binop (line 119) | def test_cpow_complex128_inplace_binop(self): FILE: numba/cuda/tests/cudapy/test_print.py class TestPrint (line 74) | class TestPrint(CUDATestCase): method run_code (line 78) | def run_code(self, code): method test_cuhello (line 84) | def test_cuhello(self): method test_printfloat (line 92) | def test_printfloat(self): method test_printempty (line 98) | def test_printempty(self): method test_string (line 102) | def test_string(self): method test_too_many_args (line 109) | def test_too_many_args(self): FILE: numba/cuda/tests/cudapy/test_py2_div_issue.py class TestCudaPy2Div (line 6) | class TestCudaPy2Div(CUDATestCase): method test_py2_div_issue (line 7) | def test_py2_div_issue(self): FILE: numba/cuda/tests/cudapy/test_random.py function rng_kernel_float32 (line 20) | def rng_kernel_float32(states, out, count, distribution): function rng_kernel_float64 (line 33) | def rng_kernel_float64(states, out, count, distribution): class TestCudaRandomXoroshiro128p (line 45) | class TestCudaRandomXoroshiro128p(CUDATestCase): method test_create (line 46) | def test_create(self): method test_create_subsequence_start (line 51) | def test_create_subsequence_start(self): method test_create_stream (line 62) | def test_create_stream(self): method check_uniform (line 69) | def check_uniform(self, kernel_func, dtype): method test_uniform_float32 (line 79) | def test_uniform_float32(self): method test_uniform_float64 (line 83) | def test_uniform_float64(self): method check_normal (line 86) | def check_normal(self, kernel_func, dtype): method test_normal_float32 (line 95) | def test_normal_float32(self): method test_normal_float64 (line 99) | def test_normal_float64(self): FILE: numba/cuda/tests/cudapy/test_record_dtype.py function set_a (line 9) | def set_a(ary, i, v): function set_b (line 13) | def set_b(ary, i, v): function set_c (line 17) | def set_c(ary, i, v): function set_record (line 21) | def set_record(ary, i, j): function record_set_a (line 25) | def record_set_a(r, v): function record_set_b (line 29) | def record_set_b(r, v): function record_set_c (line 33) | def record_set_c(r, v): function record_read_a (line 37) | def record_read_a(r, arr): function record_read_b (line 41) | def record_read_b(r, arr): function record_read_c (line 45) | def record_read_c(r, arr): function record_write_array (line 49) | def record_write_array(r): function record_write_2d_array (line 55) | def record_write_2d_array(r): function record_read_array (line 65) | def record_read_array(r, a): function record_read_2d_array (line 70) | def record_read_2d_array(r, a): function record_write_full_array (line 107) | def record_write_full_array(rec): function record_write_full_array_alt (line 111) | def record_write_full_array_alt(rec): function recarray_set_record (line 115) | def recarray_set_record(ary, rec): function recarray_write_array_of_nestedarray_broadcast (line 119) | def recarray_write_array_of_nestedarray_broadcast(ary): function record_setitem_array (line 124) | def record_setitem_array(rec_source, rec_dest): function recarray_write_array_of_nestedarray (line 128) | def recarray_write_array_of_nestedarray(ary): function recarray_getitem_return (line 133) | def recarray_getitem_return(ary): function recarray_getitem_field_return (line 137) | def recarray_getitem_field_return(ary): function recarray_getitem_field_return2 (line 141) | def recarray_getitem_field_return2(ary): function recarray_getitem_field_return2_2d (line 145) | def recarray_getitem_field_return2_2d(ary): function record_read_array0 (line 149) | def record_read_array0(ary): function record_read_array1 (line 153) | def record_read_array1(ary): function record_read_whole_array (line 157) | def record_read_whole_array(ary): function record_read_2d_array00 (line 161) | def record_read_2d_array00(ary): function record_read_2d_array10 (line 165) | def record_read_2d_array10(ary): function record_read_2d_array01 (line 169) | def record_read_2d_array01(ary): function assign_array_to_nested (line 173) | def assign_array_to_nested(dest, src): function assign_array_to_nested_2d (line 177) | def assign_array_to_nested_2d(dest, src): class TestRecordDtype (line 181) | class TestRecordDtype(CUDATestCase): method _createSampleArrays (line 183) | def _createSampleArrays(self): method setUp (line 188) | def setUp(self): method get_cfunc (line 200) | def get_cfunc(self, pyfunc, argspec): method _test_set_equal (line 203) | def _test_set_equal(self, pyfunc, value, valuetype): method test_set_a (line 221) | def test_set_a(self): method test_set_b (line 226) | def test_set_b(self): method test_set_c (line 231) | def test_set_c(self): method test_set_record (line 236) | def test_set_record(self): method _test_rec_set (line 254) | def _test_rec_set(self, v, pyfunc, f): method test_rec_set_a (line 261) | def test_rec_set_a(self): method test_rec_set_b (line 264) | def test_rec_set_b(self): method test_rec_set_c (line 267) | def test_rec_set_c(self): method _test_rec_read (line 270) | def _test_rec_read(self, v, pyfunc, f): method test_rec_read_a (line 279) | def test_rec_read_a(self): method test_rec_read_b (line 282) | def test_rec_read_b(self): method test_rec_read_c (line 285) | def test_rec_read_c(self): method test_record_write_1d_array (line 288) | def test_record_write_1d_array(self): method test_record_write_2d_array (line 304) | def test_record_write_2d_array(self): method test_record_read_1d_array (line 319) | def test_record_read_1d_array(self): method test_record_read_2d_array (line 334) | def test_record_read_2d_array(self): class TestRecordDtypeWithStructArrays (line 351) | class TestRecordDtypeWithStructArrays(TestRecordDtype): method _createSampleArrays (line 356) | def _createSampleArrays(self): class TestNestedArrays (line 362) | class TestNestedArrays(CUDATestCase): method get_cfunc (line 376) | def get_cfunc(self, pyfunc, retty): method test_record_read_array (line 392) | def test_record_read_array(self): method test_record_read_2d_array (line 405) | def test_record_read_2d_array(self): method test_setitem (line 422) | def test_setitem(self): method test_getitem_idx (line 440) | def test_getitem_idx(self): method test_set_record (line 457) | def test_set_record(self): method test_assign_array_to_nested (line 468) | def test_assign_array_to_nested(self): method test_assign_array_to_nested_2d (line 481) | def test_assign_array_to_nested_2d(self): method test_issue_7693 (line 494) | def test_issue_7693(self): method test_getitem_idx_2darray (line 525) | def test_getitem_idx_2darray(self): method test_return_getattr_getitem_fieldname (line 542) | def test_return_getattr_getitem_fieldname(self): method test_record_read_arrays (line 558) | def test_record_read_arrays(self): method test_return_array (line 570) | def test_return_array(self): method test_set_array (line 582) | def test_set_array(self): method test_set_arrays (line 595) | def test_set_arrays(self): FILE: numba/cuda/tests/cudapy/test_recursion.py class TestSelfRecursion (line 8) | class TestSelfRecursion(CUDATestCase): method setUp (line 10) | def setUp(self): method check_fib (line 17) | def check_fib(self, cfunc): method test_global_explicit_sig (line 30) | def test_global_explicit_sig(self): method test_inner_explicit_sig (line 33) | def test_inner_explicit_sig(self): method test_global_implicit_sig (line 36) | def test_global_implicit_sig(self): method test_runaway (line 40) | def test_runaway(self): method test_type_change (line 52) | def test_type_change(self): method test_raise (line 73) | def test_raise(self): method test_optional_return (line 83) | def test_optional_return(self): method test_growing_return_tuple (line 110) | def test_growing_return_tuple(self): FILE: numba/cuda/tests/cudapy/test_reduction.py class TestReduction (line 11) | class TestReduction(CUDATestCase): method _sum_reduce (line 12) | def _sum_reduce(self, n): method test_sum_reduce (line 18) | def test_sum_reduce(self): method test_empty_array_host (line 32) | def test_empty_array_host(self): method test_empty_array_device (line 38) | def test_empty_array_device(self): method test_prod_reduce (line 45) | def test_prod_reduce(self): method test_max_reduce (line 52) | def test_max_reduce(self): method test_non_identity_init (line 59) | def test_non_identity_init(self): method test_result_on_device (line 66) | def test_result_on_device(self): FILE: numba/cuda/tests/cudapy/test_retrieve_autoconverted_arrays.py class DefaultIn (line 9) | class DefaultIn(object): method prepare_args (line 10) | def prepare_args(self, ty, val, **kwargs): function nocopy (line 14) | def nocopy(kernel): function set_array_to_three (line 19) | def set_array_to_three(arr): function set_record_to_three (line 23) | def set_record_to_three(rec): class TestRetrieveAutoconvertedArrays (line 33) | class TestRetrieveAutoconvertedArrays(CUDATestCase): method setUp (line 34) | def setUp(self): method test_array_inout (line 41) | def test_array_inout(self): method test_array_in (line 46) | def test_array_in(self): method test_array_in_from_config (line 51) | def test_array_in_from_config(self): method test_array_default (line 56) | def test_array_default(self): method test_record_in (line 61) | def test_record_in(self): method test_record_inout (line 66) | def test_record_inout(self): method test_record_default (line 71) | def test_record_default(self): method test_record_in_from_config (line 76) | def test_record_in_from_config(self): FILE: numba/cuda/tests/cudapy/test_serialize.py class TestPickle (line 11) | class TestPickle(CUDATestCase): method check_call (line 13) | def check_call(self, callee): method test_pickling_jit_typing (line 39) | def test_pickling_jit_typing(self): method test_pickling_jit (line 50) | def test_pickling_jit(self): method test_pickling_vectorize (line 62) | def test_pickling_vectorize(self): FILE: numba/cuda/tests/cudapy/test_slicing.py function foo (line 6) | def foo(inp, out): function copy (line 11) | def copy(inp, out): class TestCudaSlicing (line 16) | class TestCudaSlicing(CUDATestCase): method test_slice_as_arg (line 17) | def test_slice_as_arg(self): method test_assign_empty_slice (line 27) | def test_assign_empty_slice(self): method test_array_slice_assignment_from_sequence_error_handling_codegen (line 55) | def test_array_slice_assignment_from_sequence_error_handling_codegen(s... method test_array_slice_assignment_from_array_error_handling_codegen (line 64) | def test_array_slice_assignment_from_array_error_handling_codegen(self): FILE: numba/cuda/tests/cudapy/test_sm.py class TestSharedMemoryIssue (line 15) | class TestSharedMemoryIssue(CUDATestCase): method test_issue_953_sm_linkage_conflict (line 16) | def test_issue_953_sm_linkage_conflict(self): method _check_shared_array_size (line 28) | def _check_shared_array_size(self, shape, expected): method test_issue_1051_shared_size_broken_1d (line 38) | def test_issue_1051_shared_size_broken_1d(self): method test_issue_1051_shared_size_broken_2d (line 41) | def test_issue_1051_shared_size_broken_2d(self): method test_issue_1051_shared_size_broken_3d (line 44) | def test_issue_1051_shared_size_broken_3d(self): method _check_shared_array_size_fp16 (line 48) | def _check_shared_array_size_fp16(self, shape, expected, ty): method test_issue_fp16_support (line 58) | def test_issue_fp16_support(self): method test_issue_2393 (line 62) | def test_issue_2393(self): class TestSharedMemory (line 94) | class TestSharedMemory(CUDATestCase): method _test_shared (line 95) | def _test_shared(self, arr): method test_shared_recarray (line 131) | def test_shared_recarray(self): method test_shared_bool (line 140) | def test_shared_bool(self): method _test_dynshared_slice (line 144) | def _test_dynshared_slice(self, func, arr, expected): method test_dynshared_slice_write (line 153) | def test_dynshared_slice_write(self): method test_dynshared_slice_read (line 170) | def test_dynshared_slice_read(self): method test_dynshared_slice_diff_sizes (line 187) | def test_dynshared_slice_diff_sizes(self): method test_dynshared_slice_overlap (line 207) | def test_dynshared_slice_overlap(self): method test_dynshared_slice_gaps (line 229) | def test_dynshared_slice_gaps(self): method test_dynshared_slice_write_backwards (line 264) | def test_dynshared_slice_write_backwards(self): method test_dynshared_slice_nonunit_stride (line 286) | def test_dynshared_slice_nonunit_stride(self): method test_dynshared_slice_nonunit_reverse_stride (line 317) | def test_dynshared_slice_nonunit_reverse_stride(self): method test_issue_5073 (line 348) | def test_issue_5073(self): method test_invalid_array_type (line 395) | def test_invalid_array_type(self): method test_struct_model_type_static (line 411) | def test_struct_model_type_static(self): FILE: numba/cuda/tests/cudapy/test_sm_creation.py function udt_global_constants (line 13) | def udt_global_constants(A): function udt_global_build_tuple (line 19) | def udt_global_build_tuple(A): function udt_global_build_list (line 26) | def udt_global_build_list(A): function udt_global_constant_tuple (line 33) | def udt_global_constant_tuple(A): function udt_invalid_1 (line 39) | def udt_invalid_1(A): function udt_invalid_2 (line 45) | def udt_invalid_2(A): function udt_invalid_3 (line 51) | def udt_invalid_3(A): class TestSharedMemoryCreation (line 57) | class TestSharedMemoryCreation(CUDATestCase): method getarg (line 58) | def getarg(self): method getarg2 (line 61) | def getarg2(self): method test_global_constants (line 64) | def test_global_constants(self): method test_global_build_tuple (line 68) | def test_global_build_tuple(self): method test_global_build_list (line 73) | def test_global_build_list(self): method test_global_constant_tuple (line 85) | def test_global_constant_tuple(self): method test_invalid_1 (line 90) | def test_invalid_1(self): method test_invalid_2 (line 103) | def test_invalid_2(self): method test_invalid_3 (line 117) | def test_invalid_3(self): method test_invalid_4 (line 130) | def test_invalid_4(self): method check_dtype (line 143) | def check_dtype(self, f, dtype): method test_numba_dtype (line 151) | def test_numba_dtype(self): method test_numpy_dtype (line 162) | def test_numpy_dtype(self): method test_string_dtype (line 173) | def test_string_dtype(self): method test_invalid_string_dtype (line 184) | def test_invalid_string_dtype(self): method test_type_with_struct_data_model (line 195) | def test_type_with_struct_data_model(self): FILE: numba/cuda/tests/cudapy/test_sync.py function useless_syncthreads (line 7) | def useless_syncthreads(ary): function useless_syncwarp (line 13) | def useless_syncwarp(ary): function useless_syncwarp_with_mask (line 19) | def useless_syncwarp_with_mask(ary): function coop_syncwarp (line 25) | def coop_syncwarp(res): function simple_smem (line 52) | def simple_smem(ary): function coop_smem2d (line 63) | def coop_smem2d(ary): function dyn_shared_memory (line 71) | def dyn_shared_memory(ary): function use_threadfence (line 79) | def use_threadfence(ary): function use_threadfence_block (line 85) | def use_threadfence_block(ary): function use_threadfence_system (line 91) | def use_threadfence_system(ary): function use_syncthreads_count (line 97) | def use_syncthreads_count(ary_in, ary_out): function use_syncthreads_and (line 102) | def use_syncthreads_and(ary_in, ary_out): function use_syncthreads_or (line 107) | def use_syncthreads_or(ary_in, ary_out): function _safe_cc_check (line 112) | def _safe_cc_check(cc): class TestCudaSync (line 119) | class TestCudaSync(CUDATestCase): method _test_useless (line 120) | def _test_useless(self, kernel): method test_useless_syncthreads (line 128) | def test_useless_syncthreads(self): method test_useless_syncwarp (line 132) | def test_useless_syncwarp(self): method test_useless_syncwarp_with_mask (line 138) | def test_useless_syncwarp_with_mask(self): method test_coop_syncwarp (line 144) | def test_coop_syncwarp(self): method test_simple_smem (line 156) | def test_simple_smem(self): method test_coop_smem2d (line 163) | def test_coop_smem2d(self): method test_dyn_shared_memory (line 174) | def test_dyn_shared_memory(self): method test_threadfence_codegen (line 181) | def test_threadfence_codegen(self): method test_threadfence_block_codegen (line 191) | def test_threadfence_block_codegen(self): method test_threadfence_system_codegen (line 201) | def test_threadfence_system_codegen(self): method _test_syncthreads_count (line 211) | def _test_syncthreads_count(self, in_dtype): method test_syncthreads_count (line 220) | def test_syncthreads_count(self): method test_syncthreads_count_upcast (line 223) | def test_syncthreads_count_upcast(self): method test_syncthreads_count_downcast (line 226) | def test_syncthreads_count_downcast(self): method _test_syncthreads_and (line 229) | def _test_syncthreads_and(self, in_dtype): method test_syncthreads_and (line 240) | def test_syncthreads_and(self): method test_syncthreads_and_upcast (line 243) | def test_syncthreads_and_upcast(self): method test_syncthreads_and_downcast (line 246) | def test_syncthreads_and_downcast(self): method _test_syncthreads_or (line 249) | def _test_syncthreads_or(self, in_dtype): method test_syncthreads_or (line 260) | def test_syncthreads_or(self): method test_syncthreads_or_upcast (line 263) | def test_syncthreads_or_upcast(self): method test_syncthreads_or_downcast (line 266) | def test_syncthreads_or_downcast(self): FILE: numba/cuda/tests/cudapy/test_transpose.py class TestTranspose (line 13) | class TestTranspose(CUDATestCase): method test_transpose (line 15) | def test_transpose(self): method test_transpose_record (line 33) | def test_transpose_record(self): method test_transpose_bool (line 50) | def test_transpose_bool(self): method test_transpose_view (line 63) | def test_transpose_view(self): FILE: numba/cuda/tests/cudapy/test_ufuncs.py function _make_ufunc_usecase (line 10) | def _make_ufunc_usecase(ufunc): class TestUFuncs (line 27) | class TestUFuncs(BasicUFuncTest, TestCase): method setUp (line 30) | def setUp(self): method tearDown (line 96) | def tearDown(self): method _make_ufunc_usecase (line 101) | def _make_ufunc_usecase(self, ufunc): method _compile (line 105) | def _compile(self, pyfunc, args): method basic_int_ufunc_test (line 110) | def basic_int_ufunc_test(self, name=None): method test_sin_ufunc (line 132) | def test_sin_ufunc(self): method test_cos_ufunc (line 135) | def test_cos_ufunc(self): method test_tan_ufunc (line 138) | def test_tan_ufunc(self): method test_arcsin_ufunc (line 141) | def test_arcsin_ufunc(self): method test_arccos_ufunc (line 144) | def test_arccos_ufunc(self): method test_arctan_ufunc (line 147) | def test_arctan_ufunc(self): method test_arctan2_ufunc (line 150) | def test_arctan2_ufunc(self): method test_hypot_ufunc (line 153) | def test_hypot_ufunc(self): method test_sinh_ufunc (line 156) | def test_sinh_ufunc(self): method test_cosh_ufunc (line 159) | def test_cosh_ufunc(self): method test_tanh_ufunc (line 162) | def test_tanh_ufunc(self): method test_arcsinh_ufunc (line 165) | def test_arcsinh_ufunc(self): method test_arccosh_ufunc (line 168) | def test_arccosh_ufunc(self): method test_arctanh_ufunc (line 171) | def test_arctanh_ufunc(self): method test_deg2rad_ufunc (line 187) | def test_deg2rad_ufunc(self): method test_rad2deg_ufunc (line 190) | def test_rad2deg_ufunc(self): method test_degrees_ufunc (line 193) | def test_degrees_ufunc(self): method test_radians_ufunc (line 196) | def test_radians_ufunc(self): method test_greater_ufunc (line 201) | def test_greater_ufunc(self): method test_greater_equal_ufunc (line 204) | def test_greater_equal_ufunc(self): method test_less_ufunc (line 207) | def test_less_ufunc(self): method test_less_equal_ufunc (line 210) | def test_less_equal_ufunc(self): method test_not_equal_ufunc (line 213) | def test_not_equal_ufunc(self): method test_equal_ufunc (line 216) | def test_equal_ufunc(self): method test_logical_and_ufunc (line 219) | def test_logical_and_ufunc(self): method test_logical_or_ufunc (line 222) | def test_logical_or_ufunc(self): method test_logical_xor_ufunc (line 225) | def test_logical_xor_ufunc(self): method test_logical_not_ufunc (line 228) | def test_logical_not_ufunc(self): method test_maximum_ufunc (line 231) | def test_maximum_ufunc(self): method test_minimum_ufunc (line 234) | def test_minimum_ufunc(self): method test_fmax_ufunc (line 237) | def test_fmax_ufunc(self): method test_fmin_ufunc (line 240) | def test_fmin_ufunc(self): method test_bitwise_and_ufunc (line 243) | def test_bitwise_and_ufunc(self): method test_bitwise_or_ufunc (line 246) | def test_bitwise_or_ufunc(self): method test_bitwise_xor_ufunc (line 249) | def test_bitwise_xor_ufunc(self): method test_invert_ufunc (line 252) | def test_invert_ufunc(self): method test_bitwise_not_ufunc (line 255) | def test_bitwise_not_ufunc(self): method test_log_ufunc (line 266) | def test_log_ufunc(self): method test_log2_ufunc (line 269) | def test_log2_ufunc(self): method test_log10_ufunc (line 272) | def test_log10_ufunc(self): FILE: numba/cuda/tests/cudapy/test_userexc.py class MyError (line 6) | class MyError(Exception): class TestUserExc (line 15) | class TestUserExc(CUDATestCase): method setUp (line 17) | def setUp(self): method test_user_exception (line 24) | def test_user_exception(self): FILE: numba/cuda/tests/cudapy/test_vector_type.py function make_kernel (line 22) | def make_kernel(vtype): function make_fancy_creation_kernel (line 67) | def make_fancy_creation_kernel(vtype): class TestCudaVectorType (line 192) | class TestCudaVectorType(CUDATestCase): method test_basic (line 194) | def test_basic(self): method test_creation_readout (line 215) | def test_creation_readout(self): method test_fancy_creation_readout (line 225) | def test_fancy_creation_readout(self): method test_vector_type_alias (line 294) | def test_vector_type_alias(self): FILE: numba/cuda/tests/cudapy/test_vectorize.py class TestCUDAVectorize (line 38) | class TestCUDAVectorize(CUDATestCase): method test_scalar (line 44) | def test_scalar(self): method test_1d (line 55) | def test_1d(self): method test_1d_async (line 68) | def test_1d_async(self): method test_nd (line 88) | def test_nd(self): method test_output_arg (line 104) | def test_output_arg(self): method test_reduce (line 119) | def test_reduce(self): method test_reduce_async (line 137) | def test_reduce_async(self): method test_manual_transfer (line 155) | def test_manual_transfer(self): method test_ufunc_output_2d (line 168) | def test_ufunc_output_2d(self): method check_tuple_arg (line 183) | def check_tuple_arg(self, a, b): method test_tuple_arg (line 191) | def test_tuple_arg(self): method test_namedtuple_arg (line 196) | def test_namedtuple_arg(self): method test_tuple_of_array_arg (line 202) | def test_tuple_of_array_arg(self): method test_tuple_of_namedtuple_arg (line 208) | def test_tuple_of_namedtuple_arg(self): method test_namedtuple_of_array_arg (line 214) | def test_namedtuple_of_array_arg(self): method test_name_attribute (line 224) | def test_name_attribute(self): method test_no_transfer_for_device_data (line 231) | def test_no_transfer_for_device_data(self): FILE: numba/cuda/tests/cudapy/test_vectorize_complex.py class TestVectorizeComplex (line 8) | class TestVectorizeComplex(CUDATestCase): method test_vectorize_complex (line 9) | def test_vectorize_complex(self): FILE: numba/cuda/tests/cudapy/test_vectorize_decor.py class TestVectorizeDecor (line 11) | class TestVectorizeDecor(CUDATestCase, BaseVectorizeDecor): class TestGPUVectorizeBroadcast (line 19) | class TestGPUVectorizeBroadcast(CUDATestCase): method test_broadcast (line 20) | def test_broadcast(self): method test_device_broadcast (line 35) | def test_device_broadcast(self): class TestVectorizeNopythonArg (line 56) | class TestVectorizeNopythonArg(BaseVectorizeNopythonArg, CUDATestCase): method test_target_cuda_nopython (line 57) | def test_target_cuda_nopython(self): class TestVectorizeUnrecognizedArg (line 63) | class TestVectorizeUnrecognizedArg(BaseVectorizeUnrecognizedArg, CUDATes... method test_target_cuda_unrecognized_arg (line 64) | def test_target_cuda_unrecognized_arg(self): FILE: numba/cuda/tests/cudapy/test_vectorize_device.py class TestCudaVectorizeDeviceCall (line 9) | class TestCudaVectorizeDeviceCall(CUDATestCase): method test_cuda_vectorize_device_call (line 10) | def test_cuda_vectorize_device_call(self): FILE: numba/cuda/tests/cudapy/test_vectorize_scalar_arg.py class TestCUDAVectorizeScalarArg (line 11) | class TestCUDAVectorizeScalarArg(CUDATestCase): method test_vectorize_scalar_arg (line 13) | def test_vectorize_scalar_arg(self): method test_vectorize_all_scalars (line 26) | def test_vectorize_all_scalars(self): FILE: numba/cuda/tests/cudapy/test_warning.py class TestWarnings (line 10) | class TestWarnings(CUDATestCase): method test_inefficient_launch_configuration (line 11) | def test_inefficient_launch_configuration(self): method test_efficient_launch_configuration (line 24) | def test_efficient_launch_configuration(self): method test_warn_on_host_array (line 35) | def test_warn_on_host_array(self): method test_pinned_warn_on_host_array (line 51) | def test_pinned_warn_on_host_array(self): method test_nowarn_on_mapped_array (line 68) | def test_nowarn_on_mapped_array(self): method test_nowarn_on_managed_array (line 83) | def test_nowarn_on_managed_array(self): method test_nowarn_on_device_array (line 97) | def test_nowarn_on_device_array(self): method test_warn_on_debug_and_opt (line 111) | def test_warn_on_debug_and_opt(self): method test_warn_on_debug_and_opt_default (line 118) | def test_warn_on_debug_and_opt_default(self): method test_no_warn_on_debug_and_no_opt (line 125) | def test_no_warn_on_debug_and_no_opt(self): method test_no_warn_with_no_debug_and_opt_kwargs (line 131) | def test_no_warn_with_no_debug_and_opt_kwargs(self): FILE: numba/cuda/tests/cudapy/test_warp_ops.py function useful_syncwarp (line 7) | def useful_syncwarp(ary): function use_shfl_sync_idx (line 15) | def use_shfl_sync_idx(ary, idx): function use_shfl_sync_up (line 21) | def use_shfl_sync_up(ary, delta): function use_shfl_sync_down (line 27) | def use_shfl_sync_down(ary, delta): function use_shfl_sync_xor (line 33) | def use_shfl_sync_xor(ary, xor): function use_shfl_sync_with_val (line 39) | def use_shfl_sync_with_val(ary, into): function use_vote_sync_all (line 45) | def use_vote_sync_all(ary_in, ary_out): function use_vote_sync_any (line 51) | def use_vote_sync_any(ary_in, ary_out): function use_vote_sync_eq (line 57) | def use_vote_sync_eq(ary_in, ary_out): function use_vote_sync_ballot (line 63) | def use_vote_sync_ballot(ary): function use_match_any_sync (line 69) | def use_match_any_sync(ary_in, ary_out): function use_match_all_sync (line 75) | def use_match_all_sync(ary_in, ary_out): function use_independent_scheduling (line 81) | def use_independent_scheduling(arr): function _safe_cc_check (line 94) | def _safe_cc_check(cc): class TestCudaWarpOperations (line 102) | class TestCudaWarpOperations(CUDATestCase): method test_useful_syncwarp (line 103) | def test_useful_syncwarp(self): method test_shfl_sync_idx (line 110) | def test_shfl_sync_idx(self): method test_shfl_sync_up (line 118) | def test_shfl_sync_up(self): method test_shfl_sync_down (line 128) | def test_shfl_sync_down(self): method test_shfl_sync_xor (line 138) | def test_shfl_sync_xor(self): method test_shfl_sync_types (line 147) | def test_shfl_sync_types(self): method test_vote_sync_all (line 158) | def test_vote_sync_all(self): method test_vote_sync_any (line 169) | def test_vote_sync_any(self): method test_vote_sync_eq (line 181) | def test_vote_sync_eq(self): method test_vote_sync_ballot (line 195) | def test_vote_sync_ballot(self): method test_match_any_sync (line 204) | def test_match_any_sync(self): method test_match_all_sync (line 215) | def test_match_all_sync(self): method test_independent_scheduling (line 229) | def test_independent_scheduling(self): method test_activemask (line 236) | def test_activemask(self): method test_lanemask_lt (line 257) | def test_lanemask_lt(self): FILE: numba/cuda/tests/cudasim/__init__.py function load_tests (line 5) | def load_tests(loader, tests, pattern): FILE: numba/cuda/tests/cudasim/support.py function cuda_module_in_device_function (line 5) | def cuda_module_in_device_function(): FILE: numba/cuda/tests/cudasim/test_cudasim_issues.py class TestCudaSimIssues (line 11) | class TestCudaSimIssues(CUDATestCase): method test_record_access (line 12) | def test_record_access(self): method test_recarray_setting (line 33) | def test_recarray_setting(self): method test_cuda_module_in_device_function (line 45) | def test_cuda_module_in_device_function(self): method test_deadlock_on_exception (line 67) | def test_deadlock_on_exception(self): FILE: numba/cuda/tests/doc_examples/__init__.py function load_tests (line 5) | def load_tests(loader, tests, pattern): FILE: numba/cuda/tests/doc_examples/test_cg.py class TestCooperativeGroups (line 14) | class TestCooperativeGroups(CUDATestCase): method test_ex_grid_sync (line 15) | def test_ex_grid_sync(self): FILE: numba/cuda/tests/doc_examples/test_cpu_gpu_compat.py class TestCpuGpuCompat (line 9) | class TestCpuGpuCompat(CUDATestCase): method setUp (line 14) | def setUp(self): method tearDown (line 20) | def tearDown(self): method test_ex_cpu_gpu_compat (line 25) | def test_ex_cpu_gpu_compat(self): FILE: numba/cuda/tests/doc_examples/test_ffi.py class TestFFI (line 11) | class TestFFI(CUDATestCase): method test_ex_linking_cu (line 12) | def test_ex_linking_cu(self): method test_ex_from_buffer (line 48) | def test_ex_from_buffer(self): FILE: numba/cuda/tests/doc_examples/test_laplace.py class TestLaplace (line 13) | class TestLaplace(CUDATestCase): method setUp (line 18) | def setUp(self): method tearDown (line 24) | def tearDown(self): method test_ex_laplace (line 29) | def test_ex_laplace(self): FILE: numba/cuda/tests/doc_examples/test_matmul.py class TestMatMul (line 15) | class TestMatMul(CUDATestCase): method setUp (line 21) | def setUp(self): method tearDown (line 27) | def tearDown(self): method test_ex_matmul (line 32) | def test_ex_matmul(self): FILE: numba/cuda/tests/doc_examples/test_montecarlo.py class TestMonteCarlo (line 8) | class TestMonteCarlo(CUDATestCase): method setUp (line 13) | def setUp(self): method tearDown (line 19) | def tearDown(self): method test_ex_montecarlo (line 24) | def test_ex_montecarlo(self): FILE: numba/cuda/tests/doc_examples/test_random.py class TestRandom (line 9) | class TestRandom(CUDATestCase): method test_ex_3d_grid (line 10) | def test_ex_3d_grid(self): FILE: numba/cuda/tests/doc_examples/test_reduction.py class TestReduction (line 8) | class TestReduction(CUDATestCase): method setUp (line 13) | def setUp(self): method tearDown (line 19) | def tearDown(self): method test_ex_reduction (line 24) | def test_ex_reduction(self): FILE: numba/cuda/tests/doc_examples/test_sessionize.py class TestSessionization (line 13) | class TestSessionization(CUDATestCase): method setUp (line 18) | def setUp(self): method tearDown (line 24) | def tearDown(self): method test_ex_sessionize (line 29) | def test_ex_sessionize(self): FILE: numba/cuda/tests/doc_examples/test_ufunc.py class TestUFunc (line 8) | class TestUFunc(CUDATestCase): method setUp (line 13) | def setUp(self): method tearDown (line 20) | def tearDown(self): method test_ex_cuda_ufunc_call (line 25) | def test_ex_cuda_ufunc_call(self): FILE: numba/cuda/tests/doc_examples/test_vecadd.py class TestVecAdd (line 8) | class TestVecAdd(CUDATestCase): method setUp (line 13) | def setUp(self): method tearDown (line 20) | def tearDown(self): method test_ex_vecadd (line 25) | def test_ex_vecadd(self): FILE: numba/cuda/tests/nocuda/__init__.py function load_tests (line 6) | def load_tests(loader, tests, pattern): FILE: numba/cuda/tests/nocuda/test_dummyarray.py class TestSlicing (line 9) | class TestSlicing(unittest.TestCase): method assertSameContig (line 11) | def assertSameContig(self, arr, nparr): method test_slice0_1d (line 25) | def test_slice0_1d(self): method test_slice1_1d (line 38) | def test_slice1_1d(self): method test_slice2_1d (line 50) | def test_slice2_1d(self): method test_slice0_2d (line 64) | def test_slice0_2d(self): method test_slice1_2d (line 83) | def test_slice1_2d(self): method test_slice2_2d (line 102) | def test_slice2_2d(self): method test_strided_1d (line 123) | def test_strided_1d(self): method test_strided_2d (line 135) | def test_strided_2d(self): method test_strided_3d (line 147) | def test_strided_3d(self): method test_issue_2766 (line 159) | def test_issue_2766(self): class TestReshape (line 168) | class TestReshape(unittest.TestCase): method test_reshape_2d2d (line 169) | def test_reshape_2d2d(self): method test_reshape_2d1d (line 178) | def test_reshape_2d1d(self): method test_reshape_3d3d (line 187) | def test_reshape_3d3d(self): method test_reshape_3d2d (line 196) | def test_reshape_3d2d(self): method test_reshape_3d1d (line 205) | def test_reshape_3d1d(self): method test_reshape_infer2d2d (line 214) | def test_reshape_infer2d2d(self): method test_reshape_infer2d1d (line 223) | def test_reshape_infer2d1d(self): method test_reshape_infer3d3d (line 232) | def test_reshape_infer3d3d(self): method test_reshape_infer3d2d (line 241) | def test_reshape_infer3d2d(self): method test_reshape_infer3d1d (line 250) | def test_reshape_infer3d1d(self): method test_reshape_infer_two_unknowns (line 259) | def test_reshape_infer_two_unknowns(self): method test_reshape_infer_invalid_shape (line 269) | def test_reshape_infer_invalid_shape(self): class TestSqueeze (line 282) | class TestSqueeze(unittest.TestCase): method test_squeeze (line 283) | def test_squeeze(self): method test_squeeze_invalid_axis (line 299) | def test_squeeze_invalid_axis(self): class TestExtent (line 311) | class TestExtent(unittest.TestCase): method test_extent_1d (line 312) | def test_extent_1d(self): method test_extent_2d (line 319) | def test_extent_2d(self): method test_extent_iter_1d (line 326) | def test_extent_iter_1d(self): method test_extent_iter_2d (line 333) | def test_extent_iter_2d(self): class TestIterate (line 344) | class TestIterate(unittest.TestCase): method test_for_loop (line 345) | def test_for_loop(self): FILE: numba/cuda/tests/nocuda/test_function_resolution.py class TestFunctionResolution (line 9) | class TestFunctionResolution(unittest.TestCase): method test_fp16_binary_operators (line 10) | def test_fp16_binary_operators(self): method test_fp16_unary_operators (line 23) | def test_fp16_unary_operators(self): FILE: numba/cuda/tests/nocuda/test_import.py class TestImport (line 5) | class TestImport(unittest.TestCase): method test_no_impl_import (line 6) | def test_no_impl_import(self): FILE: numba/cuda/tests/nocuda/test_library_lookup.py class LibraryLookupBase (line 27) | class LibraryLookupBase(SerialMixin, unittest.TestCase): method setUp (line 28) | def setUp(self): method tearDown (line 42) | def tearDown(self): method remote_do (line 48) | def remote_do(self, action): method do_terminate (line 55) | def do_terminate(): function remove_env (line 59) | def remove_env(name): function check_lib_lookup (line 68) | def check_lib_lookup(qout, qin): class TestLibDeviceLookUp (line 90) | class TestLibDeviceLookUp(LibraryLookupBase): method test_libdevice_path_decision (line 91) | def test_libdevice_path_decision(self): method do_clear_envs (line 119) | def do_clear_envs(): method do_set_cuda_home (line 125) | def do_set_cuda_home(): class TestNvvmLookUp (line 134) | class TestNvvmLookUp(LibraryLookupBase): method test_nvvm_path_decision (line 135) | def test_nvvm_path_decision(self): method do_clear_envs (line 168) | def do_clear_envs(): method do_set_cuda_home (line 174) | def do_set_cuda_home(): class TestCudaLibLookUp (line 183) | class TestCudaLibLookUp(LibraryLookupBase): method test_cudalib_path_decision (line 184) | def test_cudalib_path_decision(self): method do_clear_envs (line 218) | def do_clear_envs(): method do_set_cuda_home (line 224) | def do_set_cuda_home(): function _fake_non_conda_env (line 230) | def _fake_non_conda_env(): FILE: numba/cuda/tests/nocuda/test_nvvm.py class TestNvvmWithoutCuda (line 21) | class TestNvvmWithoutCuda(unittest.TestCase): method test_nvvm_accepts_encoding (line 22) | def test_nvvm_accepts_encoding(self): FILE: numba/cuda/types.py class Dim3 (line 4) | class Dim3(types.Type): method __init__ (line 8) | def __init__(self): class GridGroup (line 12) | class GridGroup(types.Type): method __init__ (line 16) | def __init__(self): class CUDADispatcher (line 24) | class CUDADispatcher(types.Dispatcher): FILE: numba/cuda/ufuncs.py function get_ufunc_info (line 15) | def get_ufunc_info(ufunc_key): function ufunc_db (line 20) | def ufunc_db(): FILE: numba/cuda/vector_types.py class VectorType (line 25) | class VectorType(types.Type): method __init__ (line 26) | def __init__(self, name, base_type, attr_names, user_facing_object): method base_type (line 33) | def base_type(self): method attr_names (line 37) | def attr_names(self): method num_elements (line 41) | def num_elements(self): method user_facing_object (line 45) | def user_facing_object(self): function make_vector_type (line 49) | def make_vector_type( function enable_vector_type_ctor (line 87) | def enable_vector_type_ctor( function build_constructor_overloads (line 155) | def build_constructor_overloads(base_type, vty_name, num_elements, argli... function _initialize (line 187) | def _initialize(): FILE: numba/cuda/vectorizers.py class CUDAUFuncDispatcher (line 8) | class CUDAUFuncDispatcher(object): method __init__ (line 13) | def __init__(self, types_to_retty_kernels, pyfunc): method __call__ (line 17) | def __call__(self, *args, **kws): method reduce (line 30) | def reduce(self, arg, stream=0): method __reduce (line 59) | def __reduce(self, mem, gpu_mems, stream): class _CUDAGUFuncCallSteps (line 83) | class _CUDAGUFuncCallSteps(GUFuncCallSteps): method __init__ (line 88) | def __init__(self, nin, nout, args, kwargs): method is_device_array (line 92) | def is_device_array(self, obj): method as_device_array (line 95) | def as_device_array(self, obj): method to_device (line 105) | def to_device(self, hostary): method to_host (line 108) | def to_host(self, devary, hostary): method allocate_device_array (line 112) | def allocate_device_array(self, shape, dtype): method launch_kernel (line 115) | def launch_kernel(self, kernel, nelem, args): class CUDAGeneralizedUFunc (line 119) | class CUDAGeneralizedUFunc(GeneralizedUFunc): method __init__ (line 120) | def __init__(self, kernelmap, engine, pyfunc): method _call_steps (line 125) | def _call_steps(self): method _broadcast_scalar_input (line 128) | def _broadcast_scalar_input(self, ary, shape): method _broadcast_add_axis (line 134) | def _broadcast_add_axis(self, ary, newshape): class CUDAUFuncMechanism (line 144) | class CUDAUFuncMechanism(UFuncMechanism): method launch (line 150) | def launch(self, func, count, stream, args): method is_device_array (line 153) | def is_device_array(self, obj): method as_device_array (line 156) | def as_device_array(self, obj): method to_device (line 166) | def to_device(self, hostary, stream): method to_host (line 169) | def to_host(self, devary, stream): method allocate_device_array (line 172) | def allocate_device_array(self, shape, dtype, stream): method broadcast_device (line 175) | def broadcast_device(self, ary, shape): class CUDAVectorize (line 200) | class CUDAVectorize(deviceufunc.DeviceVectorize): method _compile_core (line 201) | def _compile_core(self, sig): method _get_globals (line 205) | def _get_globals(self, corefn): method _compile_kernel (line 211) | def _compile_kernel(self, fnobj, sig): method build_ufunc (line 214) | def build_ufunc(self): method _kernel_template (line 218) | def _kernel_template(self): class CUDAGUFuncVectorize (line 233) | class CUDAGUFuncVectorize(deviceufunc.DeviceGUFuncVectorize): method build_ufunc (line 234) | def build_ufunc(self): method _compile_kernel (line 240) | def _compile_kernel(self, fnobj, sig): method _kernel_template (line 244) | def _kernel_template(self): method _get_globals (line 247) | def _get_globals(self, sig): FILE: numba/experimental/function_type.py function typeof_function_type (line 21) | def typeof_function_type(val, c): class FunctionProtoModel (line 33) | class FunctionProtoModel(models.PrimitiveModel): method __init__ (line 36) | def __init__(self, dmm, fe_type): class FunctionModel (line 51) | class FunctionModel(models.StructModel): method __init__ (line 54) | def __init__(self, dmm, fe_type): function lower_constant_dispatcher (line 71) | def lower_constant_dispatcher(context, builder, typ, pyval): function lower_constant_function_type (line 77) | def lower_constant_function_type(context, builder, typ, pyval): function _get_wrapper_address (line 111) | def _get_wrapper_address(func, sig): function _get_jit_address (line 175) | def _get_jit_address(func, sig): function _lower_get_address (line 190) | def _lower_get_address(context, builder, func, sig, failure_mode, function unbox_function_type (line 239) | def unbox_function_type(typ, obj, c): function box_function_type (line 261) | def box_function_type(typ, val, c): function lower_cast_function_type_to_function_type (line 279) | def lower_cast_function_type_to_function_type( function lower_cast_dispatcher_to_function_type (line 285) | def lower_cast_dispatcher_to_function_type(context, builder, fromty, tot... FILE: numba/experimental/jitclass/_box.c type BoxObject (line 6) | typedef struct { function Box_init (line 24) | static function box_dealloc (line 42) | static function PyObject (line 158) | static function PyObject (line 169) | static function MOD_INIT (line 187) | MOD_INIT(_box) { FILE: numba/experimental/jitclass/base.py class InstanceModel (line 22) | class InstanceModel(models.StructModel): method __init__ (line 23) | def __init__(self, dmm, fe_typ): class InstanceDataModel (line 37) | class InstanceDataModel(models.StructModel): method __init__ (line 38) | def __init__(self, dmm, fe_typ): function _mangle_attr (line 49) | def _mangle_attr(name): function _getargs (line 66) | def _getargs(fn_sig): class JitClassType (line 82) | class JitClassType(type): method __new__ (line 86) | def __new__(cls, name, bases, dct): method _set_init (line 97) | def _set_init(cls): method __instancecheck__ (line 114) | def __instancecheck__(cls, instance): method __call__ (line 119) | def __call__(cls, *args, **kwargs): function _validate_spec (line 130) | def _validate_spec(spec): function _fix_up_private_attr (line 139) | def _fix_up_private_attr(clsname, spec): function _add_linking_libs (line 151) | def _add_linking_libs(context, call): function register_class_type (line 160) | def register_class_type(cls, spec, class_ctor, builder): class ConstructorTemplate (line 258) | class ConstructorTemplate(templates.AbstractTemplate): method generic (line 263) | def generic(self, args, kws): function _drop_ignored_attrs (line 280) | def _drop_ignored_attrs(dct): class ClassBuilder (line 312) | class ClassBuilder(object): method __init__ (line 320) | def __init__(self, class_type, typingctx, targetctx): method register (line 325) | def register(self): method _register_methods (line 336) | def _register_methods(self, registry, instance_type): method _implement_method (line 354) | def _implement_method(self, registry, attr): class ClassAttribute (line 411) | class ClassAttribute(templates.AttributeTemplate): method generic_resolve (line 414) | def generic_resolve(self, instance, attr): function get_attr_impl (line 464) | def get_attr_impl(context, builder, typ, value, attr): function set_attr_impl (line 492) | def set_attr_impl(context, builder, sig, args, attr): function imp_dtor (line 531) | def imp_dtor(context, module, instance_type): function ctor_impl (line 558) | def ctor_impl(context, builder, sig, args): FILE: numba/experimental/jitclass/boxing.py function _generate_property (line 33) | def _generate_property(field, template, fname): function _generate_method (line 49) | def _generate_method(name, func): function _specialize_box (line 69) | def _specialize_box(typ): function _box_class_instance (line 204) | def _box_class_instance(typ, val, c): function _unbox_class_instance (line 237) | def _unbox_class_instance(typ, val, c): function _typeof_jitclass_box (line 274) | def _typeof_jitclass_box(val, c): FILE: numba/experimental/jitclass/decorators.py function jitclass (line 4) | def jitclass(cls_or_spec=None, spec=None): FILE: numba/experimental/jitclass/overloads.py function _get_args (line 13) | def _get_args(n_args): function class_instance_overload (line 18) | def class_instance_overload(target): function extract_template (line 39) | def extract_template(template, name): function register_simple_overload (line 48) | def register_simple_overload(func, *attrs, n_args=1,): function try_call_method (line 71) | def try_call_method(cls_type, method, n_args=1): function try_call_complex_method (line 85) | def try_call_complex_method(cls_type, method): function take_first (line 97) | def take_first(*options): function class_bool (line 108) | def class_bool(x): function class_complex (line 123) | def class_complex(real=0, imag=0): function class_contains (line 131) | def class_contains(x, y): function class_float (line 138) | def class_float(x): function class_int (line 150) | def class_int(x): function class_str (line 159) | def class_str(x): function class_ne (line 167) | def class_ne(x, y): function register_reflected_overload (line 177) | def register_reflected_overload(func, meth_forward, meth_reflected): FILE: numba/experimental/structref.py class _Utils (line 26) | class _Utils: method __init__ (line 29) | def __init__(self, context, builder, struct_type): method new_struct_ref (line 43) | def new_struct_ref(self, mi): method get_struct_ref (line 54) | def get_struct_ref(self, val): method get_data_pointer (line 65) | def get_data_pointer(self, val): method get_data_struct (line 82) | def get_data_struct(self, val): function define_attributes (line 97) | def define_attributes(struct_typeclass): function define_boxing (line 140) | def define_boxing(struct_type, obj_class): function define_constructor (line 197) | def define_constructor(py_class, struct_typeclass, fields): function define_proxy (line 229) | def define_proxy(py_class, struct_typeclass, fields): function register (line 252) | def register(struct_type): function new (line 288) | def new(typingctx, struct_type): class StructRefProxy (line 330) | class StructRefProxy: method _numba_box_ (line 342) | def _numba_box_(cls, ty, mi): method __new__ (line 363) | def __new__(cls, *args): method _numba_type_ (line 382) | def _numba_type_(self): function structref_is (line 391) | def structref_is(context, builder, sig, args): FILE: numba/misc/POST.py function _check_runtests (line 10) | def _check_runtests(): function _check_cpu_compilation (line 15) | def _check_cpu_compilation(): function check (line 28) | def check(): FILE: numba/misc/appdirs.py function user_data_dir (line 42) | def user_data_dir(appname=None, appauthor=None, version=None, roaming=Fa... function site_data_dir (line 97) | def site_data_dir(appname=None, appauthor=None, version=None, multipath=... function user_config_dir (line 163) | def user_config_dir(appname=None, appauthor=None, version=None, roaming=... function site_config_dir (line 203) | def site_config_dir(appname=None, appauthor=None, version=None, multipat... function user_cache_dir (line 254) | def user_cache_dir(appname=None, appauthor=None, version=None, opinion=T... function user_log_dir (line 311) | def user_log_dir(appname=None, appauthor=None, version=None, opinion=True): class AppDirs (line 362) | class AppDirs(object): method __init__ (line 364) | def __init__(self, appname, appauthor=None, version=None, roaming=False, method user_data_dir (line 373) | def user_data_dir(self): method site_data_dir (line 378) | def site_data_dir(self): method user_config_dir (line 383) | def user_config_dir(self): method site_config_dir (line 388) | def site_config_dir(self): method user_cache_dir (line 393) | def user_cache_dir(self): method user_log_dir (line 398) | def user_log_dir(self): function _get_win_folder_from_registry (line 405) | def _get_win_folder_from_registry(csidl_name): function _get_win_folder_with_pywin32 (line 426) | def _get_win_folder_with_pywin32(csidl_name): function _get_win_folder_with_ctypes (line 453) | def _get_win_folder_with_ctypes(csidl_name): function _get_win_folder_with_jna (line 479) | def _get_win_folder_with_jna(csidl_name): FILE: numba/misc/cffiimpl.py function from_buffer (line 13) | def from_buffer(context, builder, sig, args): FILE: numba/misc/coverage_support.py function get_active_coverage (line 25) | def get_active_coverage(): function get_registered_loc_notify (line 37) | def get_registered_loc_notify() -> Sequence["NotifyLocBase"]: class NotifyLocBase (line 48) | class NotifyLocBase(ABC): method notify (line 52) | def notify(self, loc: ir.Loc) -> None: method close (line 56) | def close(self) -> None: class NotifyCompilerCoverage (line 60) | class NotifyCompilerCoverage(NotifyLocBase): method __init__ (line 68) | def __init__(self, collector): method notify (line 90) | def notify(self, loc: ir.Loc): method close (line 97) | def close(self): function _register_coverage_notifier (line 102) | def _register_coverage_notifier(): class NumbaTracer (line 114) | class NumbaTracer(coverage.types.Tracer): method start (line 139) | def start(self) -> coverage.types.TTraceFn | None: method stop (line 144) | def stop(self) -> None: method activity (line 148) | def activity(self) -> bool: method reset_activity (line 152) | def reset_activity(self) -> None: method get_stats (line 156) | def get_stats(self) -> dict[str, int] | None: method trace (line 160) | def trace(self, loc: ir.Loc) -> None: function _pack_arcs (line 186) | def _pack_arcs(l1: int, l2: int) -> int: FILE: numba/misc/dump_style.py class NumbaIRLexer (line 19) | class NumbaIRLexer(RegexLexer): function by_colorscheme (line 65) | def by_colorscheme(): FILE: numba/misc/findlib.py function get_lib_dirs (line 6) | def get_lib_dirs(): function find_lib (line 33) | def find_lib(libname, libdir=None, platform=None, static=False): function find_file (line 47) | def find_file(pat, libdir=None): FILE: numba/misc/firstlinefinder.py class FindDefFirstLine (line 11) | class FindDefFirstLine(ast.NodeVisitor): method __init__ (line 20) | def __init__(self, name, firstlineno): method _visit_children (line 31) | def _visit_children(self, node): method visit_FunctionDef (line 35) | def visit_FunctionDef(self, node: ast.FunctionDef): function _is_docstring (line 65) | def _is_docstring(node): function get_func_body_first_lineno (line 73) | def get_func_body_first_lineno(pyfunc): FILE: numba/misc/gdb_hook.py function _confirm_gdb (line 18) | def _confirm_gdb(need_ptrace_attach=True): function hook_gdb (line 61) | def hook_gdb(*args): function hook_gdb_init (line 71) | def hook_gdb_init(*args): function init_gdb_codegen (line 80) | def init_gdb_codegen(cgctx, builder, signature, args, function gen_gdb_impl (line 188) | def gen_gdb_impl(const_args, do_break): function hook_gdb_breakpoint (line 202) | def hook_gdb_breakpoint(): function gen_bp_impl (line 215) | def gen_bp_impl(): FILE: numba/misc/gdb_print_extension.py class NumbaArrayPrinter (line 12) | class NumbaArrayPrinter: method __init__ (line 14) | def __init__(self, val): method to_string (line 17) | def to_string(self): class NumbaComplexPrinter (line 127) | class NumbaComplexPrinter: method __init__ (line 129) | def __init__(self, val): method to_string (line 132) | def to_string(self): class NumbaTuplePrinter (line 136) | class NumbaTuplePrinter: method __init__ (line 138) | def __init__(self, val): method to_string (line 141) | def to_string(self): class NumbaUniTuplePrinter (line 149) | class NumbaUniTuplePrinter: method __init__ (line 151) | def __init__(self, val): method to_string (line 154) | def to_string(self): class NumbaUnicodeTypePrinter (line 164) | class NumbaUnicodeTypePrinter: method __init__ (line 166) | def __init__(self, val): method to_string (line 169) | def to_string(self): function _create_printers (line 187) | def _create_printers(): FILE: numba/misc/help/inspector.py function _get_commit (line 19) | def _get_commit(): function inspect_function (line 34) | def inspect_function(function, target=None): function inspect_module (line 77) | def inspect_module(module, target=None, alias=None): class _Stat (line 104) | class _Stat(object): method __init__ (line 106) | def __init__(self): method total (line 111) | def total(self): method ratio (line 116) | def ratio(self): method describe (line 120) | def describe(self): method __repr__ (line 129) | def __repr__(self): function filter_private_module (line 136) | def filter_private_module(module_components): function filter_tests_module (line 140) | def filter_tests_module(module_components): function list_modules_in_package (line 150) | def list_modules_in_package(package, module_filters=_default_module_filt... class Formatter (line 202) | class Formatter(object): method __init__ (line 205) | def __init__(self, fileobj): method print (line 208) | def print(self, *args, **kwargs): class HTMLFormatter (line 213) | class HTMLFormatter(Formatter): method escape (line 217) | def escape(self, text): method title (line 221) | def title(self, text): method begin_module_section (line 224) | def begin_module_section(self, modname): method end_module_section (line 228) | def end_module_section(self): method write_supported_item (line 231) | def write_supported_item(self, modname, itemname, typename, explained, method write_unsupported_item (line 264) | def write_unsupported_item(self, modname, itemname): method write_statistic (line 272) | def write_statistic(self, stats): class ReSTFormatter (line 276) | class ReSTFormatter(Formatter): method escape (line 279) | def escape(self, text): method title (line 282) | def title(self, text): method begin_module_section (line 287) | def begin_module_section(self, modname): method end_module_section (line 292) | def end_module_section(self): method write_supported_item (line 295) | def write_supported_item(self, modname, itemname, typename, explained, method write_unsupported_item (line 327) | def write_unsupported_item(self, modname, itemname): method write_statistic (line 330) | def write_statistic(self, stat): function _format_module_infos (line 341) | def _format_module_infos(formatter, package_name, mod_sequence, target=N... function write_listings (line 374) | def write_listings(package_name, filename, output_format): function main (line 410) | def main(): FILE: numba/misc/init_utils.py function generate_version_info (line 10) | def generate_version_info(version): FILE: numba/misc/inspection.py function disassemble_elf_to_cfg (line 10) | def disassemble_elf_to_cfg(elf, mangled_symbol): FILE: numba/misc/literal.py function _ov_literally (line 8) | def _ov_literally(obj): function literal_unroll_impl (line 17) | def literal_unroll_impl(container): FILE: numba/misc/llvm_pass_timings.py class RecordLLVMPassTimingsLegacy (line 14) | class RecordLLVMPassTimingsLegacy: method __enter__ (line 20) | def __enter__(self): method __exit__ (line 26) | def __exit__(self, exc_val, exc_type, exc_tb): method get (line 33) | def get(self): class RecordLLVMPassTimings (line 43) | class RecordLLVMPassTimings: method __init__ (line 49) | def __init__(self, pb): method __enter__ (line 53) | def __enter__(self): method __exit__ (line 59) | def __exit__(self, exc_val, exc_type, exc_tb): method get (line 65) | def get(self): function _adjust_timings (line 92) | def _adjust_timings(records): class ProcessedPassTimings (line 137) | class ProcessedPassTimings: method __init__ (line 144) | def __init__(self, raw_data): method __bool__ (line 147) | def __bool__(self): method get_raw_data (line 150) | def get_raw_data(self): method get_total_time (line 159) | def get_total_time(self): method list_records (line 168) | def list_records(self): method list_top (line 177) | def list_top(self, n): method summary (line 195) | def summary(self, topn=5, indent=0): method _processed (line 223) | def _processed(self): method _process (line 230) | def _process(self): class PassTimingsCollection (line 318) | class PassTimingsCollection(Sequence): method __init__ (line 325) | def __init__(self, name): method record_legacy (line 330) | def record_legacy(self, name): method record (line 355) | def record(self, name, pb): method _append (line 379) | def _append(self, name, timings): method get_total_time (line 391) | def get_total_time(self): method list_longest_first (line 405) | def list_longest_first(self): method is_empty (line 417) | def is_empty(self): method summary (line 422) | def summary(self, topn=5): method __getitem__ (line 452) | def __getitem__(self, i): method __len__ (line 465) | def __len__(self): method __str__ (line 470) | def __str__(self): FILE: numba/misc/memoryutils.py function get_available_memory (line 28) | def get_available_memory() -> Optional[int]: function get_memory_usage (line 47) | def get_memory_usage() -> Dict[str, Optional[int]]: class MemoryTracker (line 84) | class MemoryTracker: method __init__ (line 100) | def __init__(self, name: str): method monitor (line 112) | def monitor(self): method get_summary (line 144) | def get_summary(self) -> str: FILE: numba/misc/mergesort.py function make_mergesort_impl (line 19) | def make_mergesort_impl(wrap, lt=None, is_argsort=False): function make_jit_mergesort (line 122) | def make_jit_mergesort(*args, **kwargs): FILE: numba/misc/numba_entry.py function make_parser (line 11) | def make_parser(): function main (line 33) | def main(): FILE: numba/misc/numba_gdbinfo.py class _GDBTestWrapper (line 14) | class _GDBTestWrapper(): method __init__ (line 18) | def __init__(self,): method _run_cmd (line 26) | def _run_cmd(self, cmd=()): method gdb_binary (line 36) | def gdb_binary(self): method success (line 40) | def success(cls, status): method check_launch (line 43) | def check_launch(self): method check_python (line 47) | def check_python(self): method check_numpy (line 52) | def check_numpy(self): method check_numpy_version (line 58) | def check_numpy_version(self): function collect_gdbinfo (line 65) | def collect_gdbinfo(): function display_gdbinfo (line 133) | def display_gdbinfo(sep_pos=45): FILE: numba/misc/numba_sysinfo.py function get_os_spec_info (line 102) | def get_os_spec_info(os_name): function get_sysinfo (line 300) | def get_sysinfo(): function display_sysinfo (line 548) | def display_sysinfo(info=None, sep_pos=45): FILE: numba/misc/quicksort.py function make_quicksort_impl (line 27) | def make_quicksort_impl(wrap, lt=None, is_argsort=False, is_list=False, ... function make_py_quicksort (line 252) | def make_py_quicksort(*args, **kwargs): function make_jit_quicksort (line 255) | def make_jit_quicksort(*args, **kwargs): FILE: numba/misc/special.py function pndindex (line 7) | def pndindex(*args): class prange (line 14) | class prange(object): method __new__ (line 18) | def __new__(cls, *args): function _gdb_python_call_gen (line 22) | def _gdb_python_call_gen(func_name, *args): function gdb (line 35) | def gdb(*args): function gdb_breakpoint (line 44) | def gdb_breakpoint(): function gdb_init (line 54) | def gdb_init(*args): function literally (line 64) | def literally(obj): function literal_unroll (line 90) | def literal_unroll(container): FILE: numba/misc/timsort.py function make_timsort_impl (line 57) | def make_timsort_impl(wrap, make_temp_area): function make_py_timsort (line 937) | def make_py_timsort(*args): function make_jit_timsort (line 940) | def make_jit_timsort(*args): FILE: numba/mviewbuf.c function get_writable_buffer (line 3) | static int get_writable_buffer(PyObject* obj, Py_buffer *buf, int force) function get_readonly_buffer (line 25) | static int get_readonly_buffer(PyObject* obj, Py_buffer *buf) function free_buffer (line 33) | static void free_buffer(Py_buffer * buf) function PyObject (line 45) | static PyObject* function PyObject (line 73) | static PyObject* function PyObject (line 134) | static PyObject* function PyObject (line 152) | static PyObject* type MemAllocObject (line 210) | typedef struct { function get_bufinfo (line 216) | static int function MemAllocObject_getbuffer (line 256) | static int function MemAllocObject_releasebuffer (line 275) | static void function MOD_INIT (line 373) | MOD_INIT(mviewbuf) { FILE: numba/np/arraymath.py function _check_blas (line 32) | def _check_blas(): function _create_tuple_result_shape (line 45) | def _create_tuple_result_shape(tyctx, shape_list, shape_tuple): function _gen_index_tuple (line 86) | def _gen_index_tuple(tyctx, shape_tuple, value, axis): function array_sum (line 163) | def array_sum(context, builder, sig, args): function _array_sum_axis_nop (line 178) | def _array_sum_axis_nop(arr, v): function gen_sum_axis_impl (line 182) | def gen_sum_axis_impl(is_axis_const, const_axis_val, op, zero): function array_sum_axis_dtype (line 251) | def array_sum_axis_dtype(context, builder, sig, args): function array_sum_dtype (line 292) | def array_sum_dtype(context, builder, sig, args): function array_sum_axis (line 310) | def array_sum_axis(context, builder, sig, args): function get_accumulator (line 350) | def get_accumulator(dtype, value): function array_prod (line 360) | def array_prod(a): function array_cumsum (line 384) | def array_cumsum(a): function array_cumprod (line 409) | def array_cumprod(a): function array_mean (line 434) | def array_mean(a): function array_var (line 469) | def array_var(a): function array_std (line 487) | def array_std(a): function min_comparator (line 496) | def min_comparator(a, min_val): function max_comparator (line 501) | def max_comparator(a, min_val): function return_false (line 506) | def return_false(a): function npy_min (line 513) | def npy_min(a): function npy_max (line 569) | def npy_max(a): function array_argmin_impl_datetime (line 623) | def array_argmin_impl_datetime(arry): function array_argmin_impl_float (line 645) | def array_argmin_impl_float(arry): function array_argmin_impl_generic (line 667) | def array_argmin_impl_generic(arry): function array_argmin (line 688) | def array_argmin(a, axis=None): function array_argmax_impl_datetime (line 707) | def array_argmax_impl_datetime(arry): function array_argmax_impl_float (line 729) | def array_argmax_impl_float(arry): function array_argmax_impl_generic (line 751) | def array_argmax_impl_generic(arry): function build_argmax_or_argmin_with_axis_impl (line 768) | def build_argmax_or_argmin_with_axis_impl(a, axis, flatten_impl): function array_argmax (line 814) | def array_argmax(a, axis=None): function np_all (line 834) | def np_all(a): function _allclose_scalars (line 855) | def _allclose_scalars(a_v, b_v, rtol=1e-05, atol=1e-08, equal_nan=False): function np_allclose (line 882) | def np_allclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False): function np_any (line 950) | def np_any(a): function np_average (line 970) | def np_average(a, axis=None, weights=None): function get_isnan (line 1001) | def get_isnan(dtype): function np_iscomplex (line 1015) | def np_iscomplex(x): function np_isreal (line 1023) | def np_isreal(x): function iscomplexobj (line 1031) | def iscomplexobj(x): function isrealobj (line 1051) | def isrealobj(x): function np_isscalar (line 1061) | def np_isscalar(element): function is_np_inf_impl (line 1069) | def is_np_inf_impl(x, out, fn): function isneginf (line 1083) | def isneginf(x, out=None): function isposinf (line 1089) | def isposinf(x, out=None): function less_than (line 1095) | def less_than(a, b): function greater_than (line 1100) | def greater_than(a, b): function check_array (line 1105) | def check_array(a): function nan_min_max_factory (line 1110) | def nan_min_max_factory(comparison_op, is_complex_dtype): function _isclose_item (line 1159) | def _isclose_item(x, y, rtol, atol, equal_nan): function isclose (line 1171) | def isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False): function np_nanmin (line 1228) | def np_nanmin(a): function np_nanmax (line 1237) | def np_nanmax(a): function np_nanmean (line 1246) | def np_nanmean(a): function np_nanvar (line 1266) | def np_nanvar(a): function np_nanstd (line 1291) | def np_nanstd(a): function np_nansum (line 1302) | def np_nansum(a): function np_nanprod (line 1324) | def np_nanprod(a): function np_nancumprod (line 1346) | def np_nancumprod(a): function np_nancumsum (line 1371) | def np_nancumsum(a): function prepare_ptp_input (line 1396) | def prepare_ptp_input(a): function _compute_current_val_impl_gen (line 1404) | def _compute_current_val_impl_gen(op, current_val, val): function _compute_a_max (line 1424) | def _compute_a_max(current_val, val): function _compute_a_min (line 1428) | def _compute_a_min(current_val, val): function _compute_a_max_impl (line 1433) | def _compute_a_max_impl(current_val, val): function _compute_a_min_impl (line 1438) | def _compute_a_min_impl(current_val, val): function _early_return (line 1442) | def _early_return(val): function _early_return_impl (line 1447) | def _early_return_impl(val): function np_ptp (line 1471) | def np_ptp(a): function nan_aware_less_than (line 1506) | def nan_aware_less_than(a, b): function _partition_factory (line 1516) | def _partition_factory(pivotimpl, argpartition=False): function _select_factory (line 1573) | def _select_factory(partitionimpl): function _select_two (line 1596) | def _select_two(arry, k, low, high): function _median_inner (line 1621) | def _median_inner(temp_arry, n): function np_median (line 1637) | def np_median(a): function _collect_percentiles_inner (line 1655) | def _collect_percentiles_inner(a, q): function _can_collect_percentiles (line 1708) | def _can_collect_percentiles(a, nan_mask, skip_nan): function check_valid (line 1725) | def check_valid(q, q_upper_bound): function percentile_is_valid (line 1742) | def percentile_is_valid(q): function quantile_is_valid (line 1748) | def quantile_is_valid(q): function _collect_percentiles (line 1754) | def _collect_percentiles(a, q, check_q, factor, skip_nan): function _percentile_quantile_inner (line 1771) | def _percentile_quantile_inner(a, q, skip_nan, factor, check_q): function np_percentile (line 1798) | def np_percentile(a, q): function np_nanpercentile (line 1805) | def np_nanpercentile(a, q): function np_quantile (line 1812) | def np_quantile(a, q): function np_nanquantile (line 1819) | def np_nanquantile(a, q): function np_nanmedian (line 1826) | def np_nanmedian(a): function np_partition_impl_inner (line 1851) | def np_partition_impl_inner(a, kth_array): function np_argpartition_impl_inner (line 1872) | def np_argpartition_impl_inner(a, kth_array): function valid_kths (line 1894) | def valid_kths(a, kth): function np_partition (line 1929) | def np_partition(a, kth): function np_argpartition (line 1959) | def np_argpartition(a, kth): function _tri_impl (line 1992) | def _tri_impl(N, M, k): function np_tri (line 2005) | def np_tri(N, M=None, k=0): function _make_square (line 2019) | def _make_square(m): function np_tril_impl_2d (line 2036) | def np_tril_impl_2d(m, k=0): function my_tril (line 2042) | def my_tril(m, k=0): function np_tril_indices (line 2069) | def np_tril_indices(n, k=0, m=None): function np_tril_indices_from (line 2083) | def np_tril_indices_from(arr, k=0): function np_triu_impl_2d (line 2097) | def np_triu_impl_2d(m, k=0): function my_triu (line 2103) | def my_triu(m, k=0): function np_triu_indices (line 2129) | def np_triu_indices(n, k=0, m=None): function np_triu_indices_from (line 2143) | def np_triu_indices_from(arr, k=0): function _prepare_array (line 2156) | def _prepare_array(arr): function _prepare_array_impl (line 2161) | def _prepare_array_impl(arr): function _dtype_of_compound (line 2168) | def _dtype_of_compound(inobj): function np_ediff1d (line 2186) | def np_ediff1d(ary, to_end=None, to_begin=None): function _select_element (line 2241) | def _select_element(arr): function _select_element_impl (line 2246) | def _select_element_impl(arr): function _get_d (line 2260) | def _get_d(dx, x): function get_d_impl (line 2265) | def get_d_impl(x, dx): function _trapz_impl (line 2275) | def _trapz_impl(y, x=None, dx=1.0): function np_trapz (line 2299) | def np_trapz(y, x=None, dx=1.0): function np_trapezoid (line 2306) | def np_trapezoid(y, x=None, dx=1.0): function _np_vander (line 2311) | def _np_vander(x, N, increasing, out): function _check_vander_params (line 2339) | def _check_vander_params(x, N): function np_vander (line 2347) | def np_vander(x, N=None, increasing=False): function np_roll (line 2387) | def np_roll(a, shift): function binary_search_with_guess (line 2416) | def binary_search_with_guess(key, arr, length, guess): function np_interp_impl_complex_inner (line 2485) | def np_interp_impl_complex_inner(x, xp, fp, dtype): function np_interp_impl_inner (line 2595) | def np_interp_impl_inner(x, xp, fp, dtype): function np_interp (line 2684) | def np_interp(x, xp, fp): function row_wise_average (line 2728) | def row_wise_average(a): function np_cov_impl_inner (line 2741) | def np_cov_impl_inner(X, bias, ddof): function _prepare_cov_input_inner (line 2765) | def _prepare_cov_input_inner(): function _prepare_cov_input_impl (line 2770) | def _prepare_cov_input_impl(m, y, rowvar, dtype): function _handle_m_dim_change (line 2810) | def _handle_m_dim_change(m): function determine_dtype (line 2821) | def determine_dtype(array_like): function check_dimensions (line 2842) | def check_dimensions(array_like, name): function _handle_ddof (line 2854) | def _handle_ddof(ddof): function _prepare_cov_input (line 2865) | def _prepare_cov_input(m, y, rowvar, dtype, ddof, _DDOF_HANDLER, function scalar_result_expected (line 2872) | def scalar_result_expected(mandatory_input, optional_input): function _clip_corr (line 2899) | def _clip_corr(x): function _clip_complex (line 2904) | def _clip_complex(x): function np_cov (line 2911) | def np_cov(m, y=None, rowvar=True, bias=False, ddof=None): function np_corrcoef (line 2970) | def np_corrcoef(x, y=None, rowvar=True): function np_argwhere (line 3007) | def np_argwhere(a): function np_flatnonzero (line 3032) | def np_flatnonzero(a): function _fill_diagonal_params (line 3050) | def _fill_diagonal_params(a, wrap): function _fill_diagonal_scalar (line 3072) | def _fill_diagonal_scalar(a, val, wrap): function _fill_diagonal (line 3080) | def _fill_diagonal(a, val, wrap): function _check_val_int (line 3092) | def _check_val_int(a, val): function _check_val_float (line 3103) | def _check_val_float(a, val): function _asarray (line 3118) | def _asarray(x): function _asarray_impl (line 3123) | def _asarray_impl(x): function np_fill_diagonal (line 3134) | def np_fill_diagonal(a, val, wrap=False): function _np_round_intrinsic (line 3166) | def _np_round_intrinsic(tp): function _np_round_float (line 3172) | def _np_round_float(typingctx, val): function round_ndigits (line 3190) | def round_ndigits(x, ndigits): function impl_np_round (line 3218) | def impl_np_round(a, decimals=0, out=None): function impl_np_sinc (line 3278) | def impl_np_sinc(x): function ov_np_angle (line 3298) | def ov_np_angle(z, deg=False): function array_nonzero (line 3332) | def array_nonzero(context, builder, sig, args): function _where_zero_size_array_impl (line 3388) | def _where_zero_size_array_impl(dtype): function _where_generic_inner_impl (line 3397) | def _where_generic_inner_impl(cond, x, y, res): function _where_fast_inner_impl (line 3404) | def _where_fast_inner_impl(cond, x, y, res): function _where_generic_impl (line 3414) | def _where_generic_impl(dtype, layout): function ov_np_where (line 3438) | def ov_np_where(condition): function ov_np_where_x_y (line 3449) | def ov_np_where_x_y(condition, x, y): function np_real (line 3503) | def np_real(val): function np_imag (line 3511) | def np_imag(val): function np_contains (line 3522) | def np_contains(arr, key): function np_count_nonzero (line 3536) | def np_count_nonzero(a, axis=None): function np_delete (line 3557) | def np_delete(arr, obj): function np_diff_impl (line 3604) | def np_diff_impl(a, n=1): function np_array_equal (line 3643) | def np_array_equal(a1, a2): function jit_np_intersect1d (line 3665) | def jit_np_intersect1d(ar1, ar2, assume_unique=False): function validate_1d_array_like (line 3694) | def validate_1d_array_like(func_name, seq): function np_bincount (line 3705) | def np_bincount(a, weights=None, minlength=0): function less_than_or_equal_complex (line 3767) | def less_than_or_equal_complex(a, b): function _less_than_or_equal (line 3801) | def _less_than_or_equal(a, b): function _less_than (line 3813) | def _less_than(a, b): function _less_then_datetime64 (line 3824) | def _less_then_datetime64(a, b): function _less_then_or_equal_datetime64 (line 3837) | def _less_then_or_equal_datetime64(a, b): function _searchsorted (line 3841) | def _searchsorted(cmp): function make_searchsorted_implementation (line 3862) | def make_searchsorted_implementation(np_dtype, side): function searchsorted (line 3891) | def searchsorted(a, v, side='left'): function np_digitize (line 3943) | def np_digitize(x, bins, right=False): function np_histogram (line 4015) | def np_histogram(a, bins=10, range=None): function _gen_np_machar (line 4122) | def _gen_np_machar(): function generate_xinfo_body (line 4155) | def generate_xinfo_body(arg, np_func, container, attr): function ol_np_finfo (line 4172) | def ol_np_finfo(dtype): function ol_np_iinfo (line 4181) | def ol_np_iinfo(int_type): function _get_inner_prod (line 4189) | def _get_inner_prod(dta, dtb): function _assert_1d (line 4219) | def _assert_1d(a, func_name): function _np_correlate_core (line 4225) | def _np_correlate_core(ap1, ap2, mode, direction): function _np_correlate_core_impl (line 4230) | def _np_correlate_core_impl(ap1, ap2, mode, direction): function _np_correlate (line 4304) | def _np_correlate(a, v, mode="valid"): function np_convolve (line 4349) | def np_convolve(a, v, mode="full"): function np_asarray (line 4371) | def np_asarray(a, dtype=None): function np_asfarray (line 4428) | def np_asfarray(a, dtype=np.float64): function np_extract (line 4443) | def np_extract(condition, arr): function np_select (line 4469) | def np_select(condlist, choicelist, default=0): function np_union1d (line 4520) | def np_union1d(ar1, ar2): function np_asarray_chkfinite (line 4536) | def np_asarray_chkfinite(a, dtype=None): function numpy_unwrap (line 4561) | def numpy_unwrap(p, discont=None, axis=-1, period=6.283185307179586): function np_bartlett_impl (line 4640) | def np_bartlett_impl(M): function np_blackman_impl (line 4646) | def np_blackman_impl(M): function np_hamming_impl (line 4653) | def np_hamming_impl(M): function np_hanning_impl (line 4659) | def np_hanning_impl(M): function window_generator (line 4664) | def window_generator(func): function _chbevl (line 4750) | def _chbevl(x, vals): function _i0 (line 4763) | def _i0(x): function _i0n (line 4774) | def _i0n(n, alpha, beta): function np_kaiser (line 4784) | def np_kaiser(M, beta): function _cross_operation (line 4806) | def _cross_operation(a, b, out): function _cross (line 4829) | def _cross(a, b): function _cross_impl (line 4834) | def _cross_impl(a, b): function np_cross (line 4851) | def np_cross(a, b): function _cross2d_operation (line 4876) | def _cross2d_operation(a, b): function cross2d (line 4895) | def cross2d(a, b): function cross2d_impl (line 4900) | def cross2d_impl(a, b): function np_trim_zeros (line 4918) | def np_trim_zeros(filt, trim='fb'): function jit_np_setxor1d (line 4953) | def jit_np_setxor1d(ar1, ar2, assume_unique=False): function _in1d_impl (line 4988) | def _in1d_impl(ar1, ar2, assume_unique=False, invert=False): function jit_np_setdiff1d (line 5047) | def jit_np_setdiff1d(ar1, ar2, assume_unique=False): function jit_np_in1d (line 5068) | def jit_np_in1d(ar1, ar2, assume_unique=False, invert=False): function jit_np_isin (line 5088) | def jit_np_isin(element, test_elements, assume_unique=False, invert=False): FILE: numba/np/arrayobj.py function set_range_metadata (line 46) | def set_range_metadata(builder, load, lower_bound, upper_bound): function mark_positive (line 57) | def mark_positive(builder, load): function make_array (line 65) | def make_array(array_type): function get_itemsize (line 125) | def get_itemsize(context, array_type): function load_item (line 133) | def load_item(context, builder, arrayty, ptr): function store_item (line 142) | def store_item(context, builder, arrayty, val, ptr): function fix_integer_index (line 150) | def fix_integer_index(context, builder, idxty, idx, size): function normalize_index (line 162) | def normalize_index(context, builder, idxty, idx): function normalize_indices (line 175) | def normalize_indices(context, builder, index_types, indices): function populate_array (line 188) | def populate_array(array, data, shape, strides, itemsize, meminfo, function update_array_info (line 257) | def update_array_info(aryty, array): function normalize_axis (line 276) | def normalize_axis(func_name, arg_name, ndim, axis): function normalize_axis_overloads (line 282) | def normalize_axis_overloads(func_name, arg_name, ndim, axis): function normalize_axis_tuple (line 304) | def normalize_axis_tuple(func_name, arg_name, ndim, axis): function normalize_axis_tuple_overloads (line 310) | def normalize_axis_tuple_overloads(func_name, arg_name, ndim, axis): function getiter_array (line 358) | def getiter_array(context, builder, sig, args): function _getitem_array_single_int (line 381) | def _getitem_array_single_int(context, builder, return_type, aryty, ary,... function iternext_array (line 404) | def iternext_array(context, builder, sig, args, result): function basic_indexing (line 430) | def basic_indexing(context, builder, aryty, ary, index_types, indices, function make_view (line 498) | def make_view(context, builder, aryty, ary, return_type, function _getitem_array_generic (line 514) | def _getitem_array_generic(context, builder, return_type, aryty, ary, function getitem_arraynd_intp (line 538) | def getitem_arraynd_intp(context, builder, sig, args): function getitem_array_tuple (line 556) | def getitem_array_tuple(context, builder, sig, args): function setitem_array (line 581) | def setitem_array(context, builder, sig, args): function array_len (line 622) | def array_len(context, builder, sig, args): function array_item (line 633) | def array_item(context, builder, sig, args): function array_itemset (line 649) | def array_itemset(context, builder, sig, args): class Indexer (line 669) | class Indexer(object): method prepare (line 675) | def prepare(self): method get_size (line 682) | def get_size(self): method get_shape (line 688) | def get_shape(self): method get_index_bounds (line 694) | def get_index_bounds(self): method loop_head (line 701) | def loop_head(self): method loop_tail (line 712) | def loop_tail(self): class EntireIndexer (line 719) | class EntireIndexer(Indexer): method __init__ (line 724) | def __init__(self, context, builder, aryty, ary, dim): method prepare (line 732) | def prepare(self): method get_size (line 739) | def get_size(self): method get_shape (line 742) | def get_shape(self): method get_index_bounds (line 745) | def get_index_bounds(self): method loop_head (line 749) | def loop_head(self): method loop_tail (line 761) | def loop_tail(self): class IntegerIndexer (line 769) | class IntegerIndexer(Indexer): method __init__ (line 774) | def __init__(self, context, builder, idx): method prepare (line 780) | def prepare(self): method get_size (line 783) | def get_size(self): method get_shape (line 786) | def get_shape(self): method get_index_bounds (line 789) | def get_index_bounds(self): method loop_head (line 793) | def loop_head(self): method loop_tail (line 796) | def loop_tail(self): class IntegerArrayIndexer (line 800) | class IntegerArrayIndexer(Indexer): method __init__ (line 805) | def __init__(self, context, builder, idxty, idxary, size): method prepare (line 814) | def prepare(self): method get_size (line 821) | def get_size(self): method get_shape (line 824) | def get_shape(self): method get_index_bounds (line 827) | def get_index_bounds(self): method loop_head (line 831) | def loop_head(self): method loop_tail (line 852) | def loop_tail(self): class BooleanArrayIndexer (line 861) | class BooleanArrayIndexer(Indexer): method __init__ (line 866) | def __init__(self, context, builder, idxty, idxary): method prepare (line 875) | def prepare(self): method get_size (line 884) | def get_size(self): method get_shape (line 899) | def get_shape(self): method get_index_bounds (line 902) | def get_index_bounds(self): method loop_head (line 907) | def loop_head(self): method loop_tail (line 931) | def loop_tail(self): class SliceIndexer (line 942) | class SliceIndexer(Indexer): method __init__ (line 947) | def __init__(self, context, builder, aryty, ary, dim, idxty, slice): method prepare (line 958) | def prepare(self): method get_size (line 972) | def get_size(self): method get_shape (line 975) | def get_shape(self): method get_index_bounds (line 978) | def get_index_bounds(self): method loop_head (line 982) | def loop_head(self): method loop_tail (line 1000) | def loop_tail(self): class FancyIndexer (line 1011) | class FancyIndexer(object): method __init__ (line 1016) | def __init__(self, context, builder, aryty, ary, index_types, indices): method prepare (line 1082) | def prepare(self): method get_shape (line 1101) | def get_shape(self): method get_offset_bounds (line 1107) | def get_offset_bounds(self, strides, itemsize): method begin_loops (line 1145) | def begin_loops(self): method end_loops (line 1149) | def end_loops(self): function fancy_getitem (line 1154) | def fancy_getitem(context, builder, sig, args, function fancy_getitem_array (line 1198) | def fancy_getitem_array(context, builder, sig, args): function offset_bounds_from_strides (line 1217) | def offset_bounds_from_strides(context, builder, arrty, arr, shapes, str... function compute_memory_extents (line 1259) | def compute_memory_extents(context, builder, lower, upper, data): function get_array_memory_extents (line 1270) | def get_array_memory_extents(context, builder, arrty, arr, shapes, strides, function extents_may_overlap (line 1281) | def extents_may_overlap(context, builder, a_start, a_end, b_start, b_end): function maybe_copy_source (line 1294) | def maybe_copy_source(context, builder, use_copy, function _bc_adjust_dimension (line 1355) | def _bc_adjust_dimension(context, builder, shapes, strides, target_shape): function _bc_adjust_shape_strides (line 1392) | def _bc_adjust_shape_strides(context, builder, shapes, strides, target_s... function _broadcast_to_shape (line 1415) | def _broadcast_to_shape(context, builder, arrtype, arr, target_shape): function _numpy_broadcast_to (line 1442) | def _numpy_broadcast_to(typingctx, array, shape): function get_readonly_array (line 1465) | def get_readonly_array(typingctx, arr): function _can_broadcast (line 1483) | def _can_broadcast(array, dest_shape): function _default_broadcast_to_impl (line 1514) | def _default_broadcast_to_impl(array, shape): function numpy_broadcast_to (line 1521) | def numpy_broadcast_to(array, shape): function numpy_broadcast_shapes_list (line 1564) | def numpy_broadcast_shapes_list(r, m, shape): function ol_numpy_broadcast_shapes (line 1581) | def ol_numpy_broadcast_shapes(*args): function numpy_broadcast_arrays (line 1622) | def numpy_broadcast_arrays(*args): function raise_with_shape_context (line 1679) | def raise_with_shape_context(src_shapes, index_shape): function ol_raise_with_shape_context_generic (line 1687) | def ol_raise_with_shape_context_generic(src_shapes, index_shape): function ol_raise_with_shape_context_cpu (line 1701) | def ol_raise_with_shape_context_cpu(src_shapes, index_shape): function fancy_setslice (line 1722) | def fancy_setslice(context, builder, sig, args, index_types, indices): function vararg_to_tuple (line 1877) | def vararg_to_tuple(context, builder, sig, args): function array_transpose (line 1897) | def array_transpose(context, builder, sig, args): function permute_arrays (line 1901) | def permute_arrays(axis, shape, strides): function array_transpose_tuple (line 1917) | def array_transpose_tuple(context, builder, sig, args): function array_transpose_vararg (line 1972) | def array_transpose_vararg(context, builder, sig, args): function numpy_transpose (line 1978) | def numpy_transpose(a, axes=None): function array_T (line 1993) | def array_T(context, builder, typ, value): function numpy_logspace (line 2013) | def numpy_logspace(start, stop, num=50): function numpy_geomspace (line 2029) | def numpy_geomspace(start, stop, num=50): function numpy_rot90 (line 2106) | def numpy_rot90(m, k=1): function _attempt_nocopy_reshape (line 2132) | def _attempt_nocopy_reshape(context, builder, aryty, ary, function normalize_reshape_value (line 2168) | def normalize_reshape_value(origsize, shape): function array_reshape (line 2199) | def array_reshape(context, builder, sig, args): function array_reshape_vararg (line 2264) | def array_reshape_vararg(context, builder, sig, args): function np_reshape (line 2271) | def np_reshape(a, newshape): function np_reshape (line 2277) | def np_reshape(a, shape): function numpy_resize (line 2284) | def numpy_resize(a, new_shape): function np_append (line 2331) | def np_append(arr, values, axis=None): function array_ravel (line 2357) | def array_ravel(context, builder, sig, args): function np_ravel (line 2380) | def np_ravel(context, builder, sig, args): function array_flatten (line 2388) | def array_flatten(context, builder, sig, args): function _np_clip_impl (line 2399) | def _np_clip_impl(a, a_min, a_max, out): function _np_clip_impl_none (line 2413) | def _np_clip_impl_none(a, b, use_min, out): function np_clip (line 2425) | def np_clip(a, a_min, a_max, out=None): function array_clip (line 2547) | def array_clip(a, a_min=None, a_max=None, out=None): function _change_dtype (line 2553) | def _change_dtype(context, builder, oldty, newty, ary): function np_shape (line 2680) | def np_shape(a): function np_size (line 2690) | def np_size(a): function np_unique (line 2702) | def np_unique(ar): function np_repeat (line 2718) | def np_repeat(a, repeats): function np_repeat_impl_repeats_scaler (line 2763) | def np_repeat_impl_repeats_scaler(a, repeats): function array_repeat (line 2781) | def array_repeat(a, repeats): function _intrin_get_itemsize (line 2789) | def _intrin_get_itemsize(tyctx, dtype): function _compatible_view (line 2800) | def _compatible_view(a, dtype): function ol_compatible_view (line 2805) | def ol_compatible_view(a, dtype): function array_view (line 2849) | def array_view(context, builder, sig, args): function array_dtype (line 2892) | def array_dtype(context, builder, typ, value): function array_shape (line 2899) | def array_shape(context, builder, typ, value): function array_strides (line 2908) | def array_strides(context, builder, typ, value): function array_ndim (line 2917) | def array_ndim(context, builder, typ, value): function array_size (line 2923) | def array_size(context, builder, typ, value): function array_itemsize (line 2932) | def array_itemsize(context, builder, typ, value): function array_nbytes (line 2941) | def array_nbytes(context, builder, typ, value): function array_contiguous (line 2952) | def array_contiguous(context, builder, typ, value): function array_c_contiguous (line 2958) | def array_c_contiguous(context, builder, typ, value): function array_f_contiguous (line 2964) | def array_f_contiguous(context, builder, typ, value): function array_readonly (line 2970) | def array_readonly(context, builder, typ, value): function array_ctypes (line 2978) | def array_ctypes(context, builder, typ, value): function array_ctypes_data (line 2991) | def array_ctypes_data(context, builder, typ, value): function array_ctypes_to_pointer (line 3001) | def array_ctypes_to_pointer(context, builder, fromty, toty, val): function _call_contiguous_check (line 3008) | def _call_contiguous_check(checker, context, builder, aryty, ary): function array_flags (line 3035) | def array_flags(context, builder, typ, value): function array_flags_c_contiguous (line 3045) | def array_flags_c_contiguous(context, builder, typ, value): function array_flags_f_contiguous (line 3058) | def array_flags_f_contiguous(context, builder, typ, value): function array_real_part (line 3075) | def array_real_part(context, builder, typ, value): function array_imag_part (line 3086) | def array_imag_part(context, builder, typ, value): function array_complex_attr (line 3102) | def array_complex_attr(context, builder, typ, value, attr): function array_conj (line 3159) | def array_conj(arr): function dtype_type (line 3168) | def dtype_type(context, builder, dtypety, dtypeval): function static_getitem_number_clazz (line 3182) | def static_getitem_number_clazz(context, builder, sig, args): function array_record_getattr (line 3206) | def array_record_getattr(context, builder, typ, value, attr): function array_record_getitem (line 3262) | def array_record_getitem(context, builder, sig, args): function record_getattr (line 3271) | def record_getattr(context, builder, typ, value, attr): function record_setattr (line 3311) | def record_setattr(context, builder, sig, args, attr): function record_static_getitem_str (line 3341) | def record_static_getitem_str(context, builder, sig, args): function record_static_getitem_int (line 3350) | def record_static_getitem_int(context, builder, sig, args): function record_static_setitem_str (line 3362) | def record_static_setitem_str(context, builder, sig, args): function record_static_setitem_int (line 3375) | def record_static_setitem_int(context, builder, sig, args): function constant_array (line 3393) | def constant_array(context, builder, ty, pyval): function constant_record (line 3401) | def constant_record(context, builder, ty, pyval): function constant_bytes (line 3411) | def constant_bytes(context, builder, ty, pyval): function array_is (line 3423) | def array_is(context, builder, sig, args): function ol_array_hash (line 3440) | def ol_array_hash(arr): function make_array_flat_cls (line 3447) | def make_array_flat_cls(flatiterty): function make_array_ndenumerate_cls (line 3455) | def make_array_ndenumerate_cls(nditerty): function _increment_indices (line 3463) | def _increment_indices(context, builder, ndim, shape, indices, end_flag=... function _increment_indices_array (line 3496) | def _increment_indices_array(context, builder, arrty, arr, indices, function make_nditer_cls (line 3502) | def make_nditer_cls(nditerty): function make_ndindex_cls (line 3830) | def make_ndindex_cls(nditerty): function _make_flattening_iter_cls (line 3895) | def _make_flattening_iter_cls(flatiterty, kind): function make_array_flatiter (line 4113) | def make_array_flatiter(context, builder, arrty, arr): function iternext_numpy_flatiter (line 4130) | def iternext_numpy_flatiter(context, builder, sig, args, result): function iternext_numpy_getitem (line 4145) | def iternext_numpy_getitem(context, builder, sig, args): function iternext_numpy_getitem_any (line 4162) | def iternext_numpy_getitem_any(context, builder, sig, args): function iternext_numpy_getitem_flat (line 4178) | def iternext_numpy_getitem_flat(context, builder, sig, args): function make_array_ndenumerate (line 4189) | def make_array_ndenumerate(context, builder, sig, args): function iternext_numpy_nditer (line 4208) | def iternext_numpy_nditer(context, builder, sig, args, result): function make_array_ndindex (line 4224) | def make_array_ndindex(context, builder, sig, args): function make_array_ndindex_tuple (line 4239) | def make_array_ndindex_tuple(context, builder, sig, args): function iternext_numpy_ndindex (line 4262) | def iternext_numpy_ndindex(context, builder, sig, args, result): function make_array_nditer (line 4273) | def make_array_nditer(context, builder, sig, args): function iternext_numpy_nditer2 (line 4294) | def iternext_numpy_nditer2(context, builder, sig, args, result): function dtype_eq_impl (line 4303) | def dtype_eq_impl(context, builder, sig, args): function _empty_nd_impl (line 4312) | def _empty_nd_impl(context, builder, arrtype, shapes): function _ol_array_allocate (line 4392) | def _ol_array_allocate(cls, allocsize, align): function _call_allocator (line 4401) | def _call_allocator(arrtype, size, align): function intrin_alloc (line 4408) | def intrin_alloc(typingctx, allocsize, align): function _parse_shape (line 4421) | def _parse_shape(context, builder, ty, val): function _parse_empty_args (line 4469) | def _parse_empty_args(context, builder, sig, args): function _parse_empty_like_args (line 4479) | def _parse_empty_like_args(context, builder, sig, args): function _check_const_str_dtype (line 4493) | def _check_const_str_dtype(fname, dtype): function numpy_empty_nd (line 4500) | def numpy_empty_nd(tyctx, ty_shape, ty_dtype, ty_retty_ref): function ol_np_empty (line 4512) | def ol_np_empty(shape, dtype=float): function numpy_empty_like_nd (line 4534) | def numpy_empty_like_nd(tyctx, ty_prototype, ty_dtype, ty_retty_ref): function ol_np_empty_like (line 4546) | def ol_np_empty_like(arr, dtype=None): function _zero_fill_array_method (line 4571) | def _zero_fill_array_method(tyctx, self): function ol_array_zero_fill (line 4582) | def ol_array_zero_fill(self): function ol_np_zeros (line 4590) | def ol_np_zeros(shape, dtype=float): function ol_np_zeros_like (line 4601) | def ol_np_zeros_like(a, dtype=None): function ol_np_ones_like (line 4613) | def ol_np_ones_like(a, dtype=None): function impl_np_full (line 4627) | def impl_np_full(shape, fill_value, dtype=None): function impl_np_full_like (line 4644) | def impl_np_full_like(a, fill_value, dtype=None): function ol_np_ones (line 4658) | def ol_np_ones(shape, dtype=None): function impl_np_identity (line 4673) | def impl_np_identity(n, dtype=None): function _eye_none_handler (line 4688) | def _eye_none_handler(N, M): function _eye_none_handler_impl (line 4693) | def _eye_none_handler_impl(N, M): function numpy_eye (line 4704) | def numpy_eye(N, M=None, k=0, dtype=float): function impl_np_diag (line 4730) | def impl_np_diag(v, k=0): function numpy_indices (line 4769) | def numpy_indices(dimensions): function numpy_diagflat (line 4797) | def numpy_diagflat(v, k=0): function generate_getitem_setitem_with_axis (line 4823) | def generate_getitem_setitem_with_axis(ndim, kind): function numpy_take (line 4860) | def numpy_take(a, indices, axis=None): function _arange_dtype (line 4957) | def _arange_dtype(*args): function np_arange (line 4984) | def np_arange(start, / ,stop=None, step=None, dtype=None): function numpy_linspace (line 5052) | def numpy_linspace(start, stop, num=50): function _array_copy (line 5091) | def _array_copy(context, builder, sig, args): function _array_copy_intrinsic (line 5129) | def _array_copy_intrinsic(typingctx, a): function array_copy (line 5138) | def array_copy(context, builder, sig, args): function impl_numpy_copy (line 5143) | def impl_numpy_copy(a): function _as_layout_array (line 5158) | def _as_layout_array(context, builder, sig, args, output_layout): function _as_layout_array_intrinsic (line 5224) | def _as_layout_array_intrinsic(typingctx, a, output_layout): function array_ascontiguousarray (line 5240) | def array_ascontiguousarray(a): function array_asfortranarray (line 5254) | def array_asfortranarray(a): function array_astype (line 5270) | def array_astype(context, builder, sig, args): function _array_tobytes_intrinsic (line 5300) | def _array_tobytes_intrinsic(typingctx, b): function impl_array_tobytes (line 5343) | def impl_array_tobytes(arr): function np_frombuffer (line 5351) | def np_frombuffer(typingctx, buffer, dtype, count, offset, retty): function impl_np_frombuffer (line 5439) | def impl_np_frombuffer(buffer, dtype=float, count=-1, offset=0): function impl_carray (line 5468) | def impl_carray(ptr, shape, dtype=None): function impl_farray (line 5484) | def impl_farray(ptr, shape, dtype=None): function get_cfarray_intrinsic (line 5499) | def get_cfarray_intrinsic(layout, dtype_): function np_cfarray (line 5535) | def np_cfarray(context, builder, sig, args): function _get_seq_size (line 5587) | def _get_seq_size(context, builder, seqty, seq): function _get_borrowing_getitem (line 5597) | def _get_borrowing_getitem(context, seqty): function compute_sequence_shape (line 5614) | def compute_sequence_shape(context, builder, ndim, seqty, seq): function check_sequence_shape (line 5644) | def check_sequence_shape(context, builder, seqty, seq, shapes): function assign_sequence_to_array (line 5685) | def assign_sequence_to_array(context, builder, data, shapes, strides, function np_array_typer (line 5726) | def np_array_typer(typingctx, object, dtype): function np_array (line 5738) | def np_array(typingctx, obj, dtype): function impl_np_array (line 5764) | def impl_np_array(object, dtype=None): function _normalize_axis (line 5778) | def _normalize_axis(context, builder, func_name, ndim, axis): function _insert_axis_in_shape (line 5797) | def _insert_axis_in_shape(context, builder, orig_shape, ndim, axis): function _insert_axis_in_strides (line 5826) | def _insert_axis_in_strides(context, builder, orig_strides, ndim, axis): function expand_dims (line 5855) | def expand_dims(context, builder, sig, args, axis): function np_expand_dims (line 5884) | def np_expand_dims(typingctx, a, axis): function impl_np_expand_dims (line 5901) | def impl_np_expand_dims(a, axis): function _atleast_nd (line 5915) | def _atleast_nd(minimum, axes): function _atleast_nd_transform (line 5940) | def _atleast_nd_transform(min_ndim, axes): function np_atleast_1d (line 5964) | def np_atleast_1d(*args): function np_atleast_2d (line 5970) | def np_atleast_2d(*args): function np_atleast_3d (line 5976) | def np_atleast_3d(*args): function _do_concatenate (line 5981) | def _do_concatenate(context, builder, axis, function _np_concatenate (line 6042) | def _np_concatenate(context, builder, arrtys, arrs, retty, axis): function _np_stack (line 6092) | def _np_stack(context, builder, arrtys, arrs, retty, axis): function np_concatenate_typer (line 6181) | def np_concatenate_typer(typingctx, arrays, axis): function np_concatenate (line 6200) | def np_concatenate(typingctx, arrays, axis): function impl_np_concatenate (line 6217) | def impl_np_concatenate(arrays, axis=0): function _column_stack_dims (line 6224) | def _column_stack_dims(context, func_name, arrays): function np_column_stack (line 6234) | def np_column_stack(typingctx, tup): function impl_column_stack (line 6272) | def impl_column_stack(tup): function _np_stack_common (line 6279) | def _np_stack_common(context, builder, sig, args, axis): function np_stack_common (line 6291) | def np_stack_common(typingctx, arrays, axis): function impl_np_stack (line 6307) | def impl_np_stack(arrays, axis=0): function NdStack_typer (line 6314) | def NdStack_typer(typingctx, func_name, arrays, ndim_min): function _np_hstack (line 6324) | def _np_hstack(typingctx, tup): function impl_np_hstack (line 6351) | def impl_np_hstack(tup): function _np_vstack (line 6359) | def _np_vstack(typingctx, tup): function impl_np_vstack (line 6386) | def impl_np_vstack(tup): function _np_dstack (line 6398) | def _np_dstack(typingctx, tup): function impl_np_dstack (line 6440) | def impl_np_dstack(tup): function arr_fill (line 6448) | def arr_fill(arr, val): function array_dot (line 6458) | def array_dot(arr, other): function np_flip_lr (line 6466) | def np_flip_lr(m): function np_flip_ud (line 6483) | def np_flip_ud(m): function _build_flip_slice_tuple (line 6500) | def _build_flip_slice_tuple(tyctx, sz): function np_flip (line 6530) | def np_flip(m): function np_array_split (line 6544) | def np_array_split(ary, indices_or_sections, axis=0): function np_split (line 6607) | def np_split(ary, indices_or_sections, axis=0): function numpy_vsplit (line 6634) | def numpy_vsplit(ary, indices_or_sections): function numpy_hsplit (line 6654) | def numpy_hsplit(ary, indices_or_sections): function numpy_dsplit (line 6676) | def numpy_dsplit(ary, indices_or_sections): function default_lt (line 6701) | def default_lt(a, b): function get_sort_func (line 6708) | def get_sort_func(kind, lt_impl, is_argsort=False): function lt_implementation (line 6732) | def lt_implementation(dtype): function array_sort (line 6742) | def array_sort(context, builder, sig, args): function impl_np_sort (line 6756) | def impl_np_sort(a): function array_argsort (line 6770) | def array_argsort(context, builder, sig, args): function array_to_array (line 6790) | def array_to_array(context, builder, fromty, toty, val): function array0d_to_scalar (line 6803) | def array0d_to_scalar(context, builder, fromty, toty, val): function array_to_unichrseq (line 6814) | def array_to_unichrseq(context, builder, fromty, toty, val): function reshape_unchecked (line 6826) | def reshape_unchecked(a, shape, strides): function type_reshape_unchecked (line 6834) | def type_reshape_unchecked(context): function impl_shape_unchecked (line 6852) | def impl_shape_unchecked(context, builder, sig, args): function as_strided (line 6874) | def as_strided(x, shape=None, strides=None): function sliding_window_view (line 6903) | def sliding_window_view(x, window_shape, axis=None): function ol_bool (line 6998) | def ol_bool(arr): function numpy_swapaxes (line 7018) | def numpy_swapaxes(a, axis1, axis2): function numpy_moveaxis (line 7043) | def numpy_moveaxis(a, source, destination): function _take_along_axis_impl (line 7098) | def _take_along_axis_impl( function arr_take_along_axis (line 7158) | def arr_take_along_axis(arr, indices, axis): function nan_to_num_impl (line 7202) | def nan_to_num_impl(x, copy=True, nan=0.0, posinf=None, neginf=None): FILE: numba/np/linalg.py function get_blas_kind (line 48) | def get_blas_kind(dtype, func_name=""): function ensure_blas (line 55) | def ensure_blas(): function ensure_lapack (line 62) | def ensure_lapack(): function make_constant_slot (line 69) | def make_constant_slot(context, builder, ty, val): class _BLAS (line 74) | class _BLAS: method __init__ (line 80) | def __init__(self): method numba_xxnrm2 (line 84) | def numba_xxnrm2(cls, dtype): method numba_xxgemm (line 95) | def numba_xxgemm(cls, dtype): class _LAPACK (line 115) | class _LAPACK: method __init__ (line 121) | def __init__(self): method numba_xxgetrf (line 125) | def numba_xxgetrf(cls, dtype): method numba_ez_xxgetri (line 136) | def numba_ez_xxgetri(cls, dtype): method numba_ez_rgeev (line 146) | def numba_ez_rgeev(cls, dtype): method numba_ez_cgeev (line 163) | def numba_ez_cgeev(cls, dtype): method numba_ez_xxxevd (line 179) | def numba_ez_xxxevd(cls, dtype): method numba_xxpotrf (line 192) | def numba_xxpotrf(cls, dtype): method numba_ez_gesdd (line 202) | def numba_ez_gesdd(cls, dtype): method numba_ez_geqrf (line 221) | def numba_ez_geqrf(cls, dtype): method numba_ez_xxgqr (line 233) | def numba_ez_xxgqr(cls, dtype): method numba_ez_gelsd (line 246) | def numba_ez_gelsd(cls, dtype): method numba_xgesv (line 264) | def numba_xgesv(cls, dtype): function make_contiguous (line 279) | def make_contiguous(context, builder, sig, args): function check_c_int (line 303) | def check_c_int(context, builder, n): function check_blas_return (line 317) | def check_blas_return(context, builder, res): function check_lapack_return (line 329) | def check_lapack_return(context, builder, res): function call_xxdot (line 341) | def call_xxdot(context, builder, conjugate, dtype, function call_xxgemv (line 363) | def call_xxgemv(context, builder, do_trans, function call_xxgemm (line 400) | def call_xxgemm(context, builder, function dot_2_mm (line 450) | def dot_2_mm(context, builder, sig, args): function dot_2_vm (line 466) | def dot_2_vm(context, builder, sig, args): function dot_2_mv (line 482) | def dot_2_mv(context, builder, sig, args): function dot_2_vv (line 498) | def dot_2_vv(context, builder, sig, args, conjugate=False): function dot_2 (line 526) | def dot_2(a, b): function matmul_2 (line 534) | def matmul_2(a, b): function dot_2_impl (line 541) | def dot_2_impl(name, a, b): function vdot (line 586) | def vdot(left, right): function dot_3_vm_check_args (line 616) | def dot_3_vm_check_args(a, b, out): function dot_3_mv_check_args (line 627) | def dot_3_mv_check_args(a, b, out): function dot_3_vm (line 638) | def dot_3_vm(context, builder, sig, args): function dot_3_mm (line 695) | def dot_3_mm(context, builder, sig, args): function dot_3 (line 785) | def dot_3(a, b, out): function _check_finite_matrix (line 824) | def _check_finite_matrix(a): function _check_linalg_matrix (line 831) | def _check_linalg_matrix(a, func_name, la_prefix=True): function _check_homogeneous_types (line 852) | def _check_homogeneous_types(func_name, *types): function _copy_to_fortran_order (line 860) | def _copy_to_fortran_order(): function ol_copy_to_fortran_order (line 865) | def ol_copy_to_fortran_order(a): function _inv_err_handler (line 893) | def _inv_err_handler(r): function _dummy_liveness_func (line 903) | def _dummy_liveness_func(a): function inv_impl (line 909) | def inv_impl(a): function _handle_err_maybe_convergence_problem (line 949) | def _handle_err_maybe_convergence_problem(r): function _check_linalg_1_or_2d_matrix (line 958) | def _check_linalg_1_or_2d_matrix(a, func_name, la_prefix=True): function cho_impl (line 977) | def cho_impl(a): function eig_impl (line 1021) | def eig_impl(a): function eigvals_impl (line 1136) | def eigvals_impl(a): function eigh_impl (line 1255) | def eigh_impl(a): function eigvalsh_impl (line 1304) | def eigvalsh_impl(a): function svd_impl (line 1353) | def svd_impl(a, full_matrices=1): function qr_impl (line 1419) | def qr_impl(a): function _system_copy_in_b (line 1499) | def _system_copy_in_b(bcpy, b, nrhs): function _system_copy_in_b_impl (line 1507) | def _system_copy_in_b_impl(bcpy, b, nrhs): function _system_compute_nrhs (line 1518) | def _system_compute_nrhs(b): function _system_compute_nrhs_impl (line 1526) | def _system_compute_nrhs_impl(b): function _system_check_dimensionally_valid (line 1537) | def _system_check_dimensionally_valid(a, b): function _system_check_dimensionally_valid_impl (line 1545) | def _system_check_dimensionally_valid_impl(a, b): function _system_check_non_empty (line 1565) | def _system_check_non_empty(a, b): function _system_check_non_empty_impl (line 1573) | def _system_check_non_empty_impl(a, b): function _lstsq_residual (line 1594) | def _lstsq_residual(b, n, nrhs): function _lstsq_residual_impl (line 1602) | def _lstsq_residual_impl(b, n, nrhs): function _lstsq_solution (line 1638) | def _lstsq_solution(b, bcpy, n): function _lstsq_solution_impl (line 1647) | def _lstsq_solution_impl(b, bcpy, n): function lstsq_impl (line 1659) | def lstsq_impl(a, b, rcond=-1.0): function _solve_compute_return (line 1753) | def _solve_compute_return(b, bcpy): function _solve_compute_return_impl (line 1762) | def _solve_compute_return_impl(b, bcpy): function solve_impl (line 1774) | def solve_impl(a, b): function pinv_impl (line 1835) | def pinv_impl(a, rcond=1.e-15): function _get_slogdet_diag_walker (line 1998) | def _get_slogdet_diag_walker(a): function slogdet_impl (line 2035) | def slogdet_impl(a): function det_impl (line 2094) | def det_impl(a): function _compute_singular_values (line 2107) | def _compute_singular_values(a): function _compute_singular_values_impl (line 2115) | def _compute_singular_values_impl(a): function _oneD_norm_2 (line 2185) | def _oneD_norm_2(a): function _oneD_norm_2_impl (line 2193) | def _oneD_norm_2_impl(a): function _get_norm_impl (line 2228) | def _get_norm_impl(x, ord_flag): function norm_impl (line 2428) | def norm_impl(x, ord=None): function cond_impl (line 2437) | def cond_impl(x, p=None): function _get_rank_from_singular_values (line 2482) | def _get_rank_from_singular_values(sv, t): function matrix_rank_impl (line 2496) | def matrix_rank_impl(A, tol=None): function matrix_power_impl (line 2562) | def matrix_power_impl(a, n): function matrix_trace_impl (line 2643) | def matrix_trace_impl(a, offset=0): function _check_scalar_or_lt_2d_mat (line 2673) | def _check_scalar_or_lt_2d_mat(a, func_name, la_prefix=True): function outer_impl_none (line 2684) | def outer_impl_none(a, b, out): function outer_impl_arr (line 2692) | def outer_impl_arr(a, b, out): function _get_outer_impl (line 2701) | def _get_outer_impl(a, b, out): function outer_impl (line 2709) | def outer_impl(a, b, out=None): function _kron_normaliser_impl (line 2722) | def _kron_normaliser_impl(x): function _kron_return (line 2751) | def _kron_return(a, b): function kron_impl (line 2786) | def kron_impl(a, b): FILE: numba/np/math/cmathimpl.py function is_nan (line 19) | def is_nan(builder, z): function is_inf (line 22) | def is_inf(builder, z): function is_finite (line 26) | def is_finite(builder, z): function isnan_float_impl (line 32) | def isnan_float_impl(context, builder, sig, args): function isinf_float_impl (line 40) | def isinf_float_impl(context, builder, sig, args): function isfinite_float_impl (line 49) | def isfinite_float_impl(context, builder, sig, args): function impl_cmath_rect (line 58) | def impl_cmath_rect(r, phi): function intrinsic_complex_unary (line 84) | def intrinsic_complex_unary(inner_func): function exp_impl (line 108) | def exp_impl(x, y, x_is_finite, y_is_finite): function log_impl (line 150) | def log_impl(x, y, x_is_finite, y_is_finite): function log_base_impl (line 158) | def log_base_impl(context, builder, sig, args): function impl_cmath_log10 (line 170) | def impl_cmath_log10(z): function phase_impl (line 187) | def phase_impl(x): function polar_impl (line 199) | def polar_impl(x): function sqrt_impl (line 210) | def sqrt_impl(context, builder, sig, args): function cos_impl (line 271) | def cos_impl(context, builder, sig, args): function impl_cmath_cosh (line 280) | def impl_cmath_cosh(z): function sin_impl (line 310) | def sin_impl(context, builder, sig, args): function impl_cmath_sinh (line 320) | def impl_cmath_sinh(z): function tan_impl (line 347) | def tan_impl(context, builder, sig, args): function impl_cmath_tanh (line 358) | def impl_cmath_tanh(z): function acos_impl (line 388) | def acos_impl(context, builder, sig, args): function impl_cmath_acosh (line 414) | def impl_cmath_acosh(z): function asinh_impl (line 443) | def asinh_impl(context, builder, sig, args): function asin_impl (line 467) | def asin_impl(context, builder, sig, args): function atan_impl (line 477) | def atan_impl(context, builder, sig, args): function atanh_impl (line 491) | def atanh_impl(context, builder, sig, args): FILE: numba/np/math/mathimpl.py function is_nan (line 39) | def is_nan(builder, val): function is_inf (line 45) | def is_inf(builder, val): function is_finite (line 55) | def is_finite(builder, val): function f64_as_int64 (line 63) | def f64_as_int64(builder, val): function int64_as_f64 (line 70) | def int64_as_f64(builder, val): function f32_as_int32 (line 77) | def f32_as_int32(builder, val): function int32_as_f32 (line 84) | def int32_as_f32(builder, val): function negate_real (line 91) | def negate_real(builder, val): function call_fp_intrinsic (line 98) | def call_fp_intrinsic(builder, name, args): function _unary_int_input_wrapper_impl (line 107) | def _unary_int_input_wrapper_impl(wrapped_impl): function unary_math_int_impl (line 122) | def unary_math_int_impl(fn, float_impl): function unary_math_intr (line 126) | def unary_math_intr(fn, intrcode): function unary_math_extern (line 138) | def unary_math_extern(fn, f32extern, f64extern, int_restype=False): function isnan_float_impl (line 211) | def isnan_float_impl(context, builder, sig, args): function isnan_int_impl (line 217) | def isnan_int_impl(context, builder, sig, args): function isinf_float_impl (line 223) | def isinf_float_impl(context, builder, sig, args): function isinf_int_impl (line 229) | def isinf_int_impl(context, builder, sig, args): function isfinite_float_impl (line 235) | def isfinite_float_impl(context, builder, sig, args): function isfinite_int_impl (line 242) | def isfinite_int_impl(context, builder, sig, args): function copysign_float_impl (line 248) | def copysign_float_impl(context, builder, sig, args): function frexp_impl (line 261) | def frexp_impl(context, builder, sig, args): function ldexp_impl (line 278) | def ldexp_impl(context, builder, sig, args): function atan2_s64_impl (line 295) | def atan2_s64_impl(context, builder, sig, args): function atan2_u64_impl (line 303) | def atan2_u64_impl(context, builder, sig, args): function atan2_float_impl (line 311) | def atan2_float_impl(context, builder, sig, args): function hypot_s64_impl (line 330) | def hypot_s64_impl(context, builder, sig, args): function hypot_u64_impl (line 340) | def hypot_u64_impl(context, builder, sig, args): function hypot_float_impl (line 350) | def hypot_float_impl(context, builder, sig, args): function radians_float_impl (line 381) | def radians_float_impl(context, builder, sig, args): function degrees_float_impl (line 392) | def degrees_float_impl(context, builder, sig, args): function pow_impl (line 404) | def pow_impl(context, builder, sig, args): function _unsigned (line 411) | def _unsigned(T): function _unsigned_impl (line 416) | def _unsigned_impl(T): function gcd_impl (line 424) | def gcd_impl(context, builder, sig, args): FILE: numba/np/math/numbers.py function _int_arith_flags (line 13) | def _int_arith_flags(rettype): function int_add_impl (line 30) | def int_add_impl(context, builder, sig, args): function int_sub_impl (line 39) | def int_sub_impl(context, builder, sig, args): function int_mul_impl (line 48) | def int_mul_impl(context, builder, sig, args): function int_divmod_signed (line 57) | def int_divmod_signed(context, builder, ty, x, y): function int_divmod (line 114) | def int_divmod(context, builder, ty, x, y): function _int_divmod_impl (line 124) | def _int_divmod_impl(context, builder, sig, args, zerodiv_message): function int_divmod_impl (line 155) | def int_divmod_impl(context, builder, sig, args): function int_floordiv_impl (line 165) | def int_floordiv_impl(context, builder, sig, args): function int_truediv_impl (line 173) | def int_truediv_impl(context, builder, sig, args): function int_rem_impl (line 186) | def int_rem_impl(context, builder, sig, args): function _get_power_zerodiv_return (line 192) | def _get_power_zerodiv_return(context, return_type): function int_power_impl (line 201) | def int_power_impl(context, builder, sig, args): function static_power_impl (line 248) | def static_power_impl(context, builder, sig, args): function int_slt_impl (line 309) | def int_slt_impl(context, builder, sig, args): function int_sle_impl (line 314) | def int_sle_impl(context, builder, sig, args): function int_sgt_impl (line 319) | def int_sgt_impl(context, builder, sig, args): function int_sge_impl (line 324) | def int_sge_impl(context, builder, sig, args): function int_ult_impl (line 329) | def int_ult_impl(context, builder, sig, args): function int_ule_impl (line 334) | def int_ule_impl(context, builder, sig, args): function int_ugt_impl (line 339) | def int_ugt_impl(context, builder, sig, args): function int_uge_impl (line 344) | def int_uge_impl(context, builder, sig, args): function int_eq_impl (line 349) | def int_eq_impl(context, builder, sig, args): function int_ne_impl (line 354) | def int_ne_impl(context, builder, sig, args): function int_signed_unsigned_cmp (line 359) | def int_signed_unsigned_cmp(op): function int_unsigned_signed_cmp (line 379) | def int_unsigned_signed_cmp(op): function int_abs_impl (line 391) | def int_abs_impl(context, builder, sig, args): function identity_impl (line 400) | def identity_impl(context, builder, sig, args): function uint_abs_impl (line 405) | def uint_abs_impl(context, builder, sig, args): function int_shl_impl (line 410) | def int_shl_impl(context, builder, sig, args): function int_shr_impl (line 419) | def int_shr_impl(context, builder, sig, args): function int_and_impl (line 431) | def int_and_impl(context, builder, sig, args): function int_or_impl (line 440) | def int_or_impl(context, builder, sig, args): function int_xor_impl (line 449) | def int_xor_impl(context, builder, sig, args): function int_negate_impl (line 458) | def int_negate_impl(context, builder, sig, args): function int_positive_impl (line 467) | def int_positive_impl(context, builder, sig, args): function int_invert_impl (line 474) | def int_invert_impl(context, builder, sig, args): function int_sign_impl (line 483) | def int_sign_impl(context, builder, sig, args): function bool_negate_impl (line 525) | def bool_negate_impl(context, builder, sig, args): function bool_unary_positive_impl (line 533) | def bool_unary_positive_impl(context, builder, sig, args): function real_add_impl (line 614) | def real_add_impl(context, builder, sig, args): function real_sub_impl (line 619) | def real_sub_impl(context, builder, sig, args): function real_mul_impl (line 624) | def real_mul_impl(context, builder, sig, args): function real_div_impl (line 629) | def real_div_impl(context, builder, sig, args): function real_divmod (line 636) | def real_divmod(context, builder, x, y): function real_divmod_func_body (line 658) | def real_divmod_func_body(context, builder, vx, wx): function real_divmod_impl (line 767) | def real_divmod_impl(context, builder, sig, args, loc=None): function real_mod_impl (line 792) | def real_mod_impl(context, builder, sig, args, loc=None): function real_floordiv_impl (line 811) | def real_floordiv_impl(context, builder, sig, args, loc=None): function real_power_impl (line 830) | def real_power_impl(context, builder, sig, args): function real_lt_impl (line 842) | def real_lt_impl(context, builder, sig, args): function real_le_impl (line 847) | def real_le_impl(context, builder, sig, args): function real_gt_impl (line 852) | def real_gt_impl(context, builder, sig, args): function real_ge_impl (line 857) | def real_ge_impl(context, builder, sig, args): function real_eq_impl (line 862) | def real_eq_impl(context, builder, sig, args): function real_ne_impl (line 867) | def real_ne_impl(context, builder, sig, args): function real_abs_impl (line 872) | def real_abs_impl(context, builder, sig, args): function real_negate_impl (line 879) | def real_negate_impl(context, builder, sig, args): function real_positive_impl (line 885) | def real_positive_impl(context, builder, sig, args): function real_sign_impl (line 892) | def real_sign_impl(context, builder, sig, args): function complex_real_impl (line 956) | def complex_real_impl(context, builder, typ, value): function complex_imag_impl (line 962) | def complex_imag_impl(context, builder, typ, value): function complex_conjugate_impl (line 968) | def complex_conjugate_impl(context, builder, sig, args): function real_real_impl (line 975) | def real_real_impl(context, builder, typ, value): function real_imag_impl (line 978) | def real_imag_impl(context, builder, typ, value): function real_conjugate_impl (line 982) | def real_conjugate_impl(context, builder, sig, args): function complex_power_impl (line 994) | def complex_power_impl(context, builder, sig, args): function complex_add_impl (line 1035) | def complex_add_impl(context, builder, sig, args): function complex_sub_impl (line 1051) | def complex_sub_impl(context, builder, sig, args): function complex_mul_impl (line 1067) | def complex_mul_impl(context, builder, sig, args): function complex_div_impl (line 1092) | def complex_div_impl(context, builder, sig, args): function complex_negate_impl (line 1124) | def complex_negate_impl(context, builder, sig, args): function complex_positive_impl (line 1136) | def complex_positive_impl(context, builder, sig, args): function complex_eq_impl (line 1141) | def complex_eq_impl(context, builder, sig, args): function complex_ne_impl (line 1153) | def complex_ne_impl(context, builder, sig, args): function complex_abs_impl (line 1165) | def complex_abs_impl(context, builder, sig, args): function number_item_impl (line 1200) | def number_item_impl(context, builder, sig, args): function number_not_impl (line 1210) | def number_not_impl(context, builder, sig, args): function bool_as_bool (line 1218) | def bool_as_bool(context, builder, sig, args): function int_as_bool (line 1223) | def int_as_bool(context, builder, sig, args): function float_as_bool (line 1228) | def float_as_bool(context, builder, sig, args): function complex_as_bool (line 1233) | def complex_as_bool(context, builder, sig, args): function literal_int_to_number (line 1259) | def literal_int_to_number(context, builder, fromty, toty, val): function integer_to_integer (line 1269) | def integer_to_integer(context, builder, fromty, toty, val): function integer_to_voidptr (line 1284) | def integer_to_voidptr(context, builder, fromty, toty, val): function float_to_float (line 1288) | def float_to_float(context, builder, fromty, toty, val): function integer_to_float (line 1296) | def integer_to_float(context, builder, fromty, toty, val): function float_to_integer (line 1304) | def float_to_integer(context, builder, fromty, toty, val): function non_complex_to_complex (line 1313) | def non_complex_to_complex(context, builder, fromty, toty, val): function complex_to_complex (line 1323) | def complex_to_complex(context, builder, fromty, toty, val): function any_to_boolean (line 1334) | def any_to_boolean(context, builder, fromty, toty, val): function boolean_to_any (line 1338) | def boolean_to_any(context, builder, fromty, toty, val): function literal_int_to_boolean (line 1345) | def literal_int_to_boolean(context, builder, fromty, toty, val): function constant_complex (line 1357) | def constant_complex(context, builder, ty, pyval): function constant_integer (line 1366) | def constant_integer(context, builder, ty, pyval): function scalar_view (line 1380) | def scalar_view(scalar, viewty): FILE: numba/np/npdatetime.py function scale_by_constant (line 27) | def scale_by_constant(builder, val, factor): function unscale_by_constant (line 34) | def unscale_by_constant(builder, val, factor): function add_constant (line 41) | def add_constant(builder, val, const): function scale_timedelta (line 48) | def scale_timedelta(context, builder, val, srcty, destty): function normalize_timedeltas (line 62) | def normalize_timedeltas(context, builder, left, right, leftty, rightty): function alloc_timedelta_result (line 79) | def alloc_timedelta_result(builder, name='ret'): function alloc_boolean_result (line 88) | def alloc_boolean_result(builder, name='ret'): function is_not_nat (line 96) | def is_not_nat(builder, val): function are_not_nat (line 103) | def are_not_nat(builder, vals): function datetime_constant (line 130) | def datetime_constant(context, builder, ty, pyval): function timedelta_pos_impl (line 137) | def timedelta_pos_impl(context, builder, sig, args): function timedelta_neg_impl (line 143) | def timedelta_neg_impl(context, builder, sig, args): function timedelta_abs_impl (line 149) | def timedelta_abs_impl(context, builder, sig, args): function timedelta_sign_impl (line 161) | def timedelta_sign_impl(context, builder, sig, args): function timedelta_add_impl (line 185) | def timedelta_add_impl(context, builder, sig, args): function timedelta_sub_impl (line 199) | def timedelta_sub_impl(context, builder, sig, args): function _timedelta_times_number (line 211) | def _timedelta_times_number(context, builder, td_arg, td_type, function timedelta_times_number (line 232) | def timedelta_times_number(context, builder, sig, args): function number_times_timedelta (line 243) | def number_times_timedelta(context, builder, sig, args): function timedelta_over_number (line 258) | def timedelta_over_number(context, builder, sig, args): function timedelta_over_timedelta (line 283) | def timedelta_over_timedelta(context, builder, sig, args): function timedelta_floor_div_timedelta (line 300) | def timedelta_floor_div_timedelta(context, builder, sig, args): function timedelta_mod_timedelta (line 334) | def timedelta_mod_timedelta(context, builder, sig, args): function _create_timedelta_comparison_impl (line 371) | def _create_timedelta_comparison_impl(ll_op, default_value): function _create_timedelta_ordering_impl (line 399) | def _create_timedelta_ordering_impl(ll_op): function is_leap_year (line 438) | def is_leap_year(builder, year_val): function year_to_days (line 454) | def year_to_days(builder, year_val): function reduce_datetime_for_unit (line 508) | def reduce_datetime_for_unit(builder, dt_val, src_unit, dest_unit): function convert_datetime_for_arith (line 553) | def convert_datetime_for_arith(builder, dt_val, src_unit, dest_unit): function _datetime_timedelta_arith (line 569) | def _datetime_timedelta_arith(ll_op_name): function datetime_plus_timedelta (line 593) | def datetime_plus_timedelta(context, builder, sig, args): function timedelta_plus_datetime (line 605) | def timedelta_plus_datetime(context, builder, sig, args): function datetime_minus_timedelta (line 619) | def datetime_minus_timedelta(context, builder, sig, args): function datetime_minus_datetime (line 632) | def datetime_minus_datetime(context, builder, sig, args): function _create_datetime_comparison_impl (line 650) | def _create_datetime_comparison_impl(ll_op): function _gen_datetime_max_impl (line 697) | def _gen_datetime_max_impl(NAT_DOMINATES): function _gen_datetime_min_impl (line 718) | def _gen_datetime_min_impl(NAT_DOMINATES): function _gen_timedelta_max_impl (line 739) | def _gen_timedelta_max_impl(NAT_DOMINATES): function _gen_timedelta_min_impl (line 760) | def _gen_timedelta_min_impl(NAT_DOMINATES): function _cast_to_timedelta (line 781) | def _cast_to_timedelta(context, builder, val): function _np_isnat_impl (line 797) | def _np_isnat_impl(context, builder, sig, args): function _cast_npdatetime_int64 (line 803) | def _cast_npdatetime_int64(context, builder, fromty, toty, val): function ol_hash_npdatetime (line 812) | def ol_hash_npdatetime(x): FILE: numba/np/npdatetime_helpers.py function same_kind (line 40) | def same_kind(src, dest): function can_cast_timedelta_units (line 47) | def can_cast_timedelta_units(src, dest): function _get_conversion_multiplier (line 85) | def _get_conversion_multiplier(big_unit_code, small_unit_code): function get_timedelta_conversion_factor (line 111) | def get_timedelta_conversion_factor(src_unit, dest_unit): function get_datetime_timedelta_conversion (line 120) | def get_datetime_timedelta_conversion(datetime_unit, timedelta_unit): function combine_datetime_timedelta_units (line 172) | def combine_datetime_timedelta_units(datetime_unit, timedelta_unit): function get_best_unit (line 192) | def get_best_unit(unit_a, unit_b): function datetime_minimum (line 207) | def datetime_minimum(a, b): function datetime_maximum (line 211) | def datetime_maximum(a, b): FILE: numba/np/npyfuncs.py function _check_arity_and_homogeneity (line 29) | def _check_arity_and_homogeneity(sig, args, arity, return_type = None): function _call_func_by_name_with_cast (line 50) | def _call_func_by_name_with_cast(context, builder, sig, args, function _dispatch_func_by_name_type (line 66) | def _dispatch_func_by_name_type(context, builder, sig, args, table, user... function np_int_sdiv_impl (line 128) | def np_int_sdiv_impl(context, builder, sig, args): function np_int_srem_impl (line 165) | def np_int_srem_impl(context, builder, sig, args): function np_int_sdivrem_impl (line 193) | def np_int_sdivrem_impl(context, builder, sig, args): function np_int_udiv_impl (line 199) | def np_int_udiv_impl(context, builder, sig, args): function np_int_urem_impl (line 222) | def np_int_urem_impl(context, builder, sig, args): function np_int_udivrem_impl (line 243) | def np_int_udivrem_impl(context, builder, sig, args): function np_real_div_impl (line 254) | def np_real_div_impl(context, builder, sig, args): function np_real_mod_impl (line 261) | def np_real_mod_impl(context, builder, sig, args): function np_real_fmod_impl (line 280) | def np_real_fmod_impl(context, builder, sig, args): function _fabs (line 285) | def _fabs(context, builder, arg): function np_complex_div_impl (line 292) | def np_complex_div_impl(context, builder, sig, args): function _npy_logaddexp (line 369) | def _npy_logaddexp(x1, x2): function _generate_logaddexp (line 372) | def _generate_logaddexp(fnoverload, const, log1pfn, expfn): function _npy_logaddexp (line 397) | def _npy_logaddexp(x1, x2): function np_real_logaddexp_impl (line 404) | def np_real_logaddexp_impl(context, builder, sig, args): function _npy_logaddexp2 (line 414) | def _npy_logaddexp2(x1, x2): function npy_log2_1p (line 417) | def npy_log2_1p(x): function ol_npy_log2_1p (line 424) | def ol_npy_log2_1p(x): function np_real_logaddexp2_impl (line 434) | def np_real_logaddexp2_impl(context, builder, sig, args): function np_int_truediv_impl (line 446) | def np_int_truediv_impl(context, builder, sig, args): function np_real_floor_div_impl (line 464) | def np_real_floor_div_impl(context, builder, sig, args): function np_real_divmod_impl (line 470) | def np_real_divmod_impl(context, builder, sig, args): function np_complex_floor_div_impl (line 476) | def np_complex_floor_div_impl(context, builder, sig, args): function np_complex_power_impl (line 530) | def np_complex_power_impl(context, builder, sig, args): function real_float_power_impl (line 539) | def real_float_power_impl(context, builder, sig, args): function np_complex_float_power_impl (line 545) | def np_complex_float_power_impl(context, builder, sig, args): function np_gcd_impl (line 554) | def np_gcd_impl(context, builder, sig, args): function np_lcm_impl (line 562) | def np_lcm_impl(context, builder, sig, args): function np_complex_sign_impl (line 581) | def np_complex_sign_impl(context, builder, sig, args): function np_real_rint_impl (line 626) | def np_real_rint_impl(context, builder, sig, args): function np_complex_rint_impl (line 632) | def np_complex_rint_impl(context, builder, sig, args): function np_real_exp_impl (line 651) | def np_real_exp_impl(context, builder, sig, args): function np_complex_exp_impl (line 656) | def np_complex_exp_impl(context, builder, sig, args): function np_real_exp2_impl (line 663) | def np_real_exp2_impl(context, builder, sig, args): function np_complex_exp2_impl (line 673) | def np_complex_exp2_impl(context, builder, sig, args): function np_real_log_impl (line 688) | def np_real_log_impl(context, builder, sig, args): function np_complex_log_impl (line 693) | def np_complex_log_impl(context, builder, sig, args): function np_real_log2_impl (line 700) | def np_real_log2_impl(context, builder, sig, args): function np_complex_log2_impl (line 709) | def np_complex_log2_impl(context, builder, sig, args): function np_real_log10_impl (line 725) | def np_real_log10_impl(context, builder, sig, args): function np_complex_log10_impl (line 730) | def np_complex_log10_impl(context, builder, sig, args): function np_real_expm1_impl (line 746) | def np_real_expm1_impl(context, builder, sig, args): function np_complex_expm1_impl (line 750) | def np_complex_expm1_impl(context, builder, sig, args): function np_real_log1p_impl (line 774) | def np_real_log1p_impl(context, builder, sig, args): function np_complex_log1p_impl (line 778) | def np_complex_log1p_impl(context, builder, sig, args): function np_real_sqrt_impl (line 803) | def np_real_sqrt_impl(context, builder, sig, args): function np_complex_sqrt_impl (line 808) | def np_complex_sqrt_impl(context, builder, sig, args): function np_int_square_impl (line 816) | def np_int_square_impl(context, builder, sig, args): function np_real_square_impl (line 821) | def np_real_square_impl(context, builder, sig, args): function np_complex_square_impl (line 825) | def np_complex_square_impl(context, builder, sig, args): function np_real_cbrt_impl (line 835) | def np_real_cbrt_impl(context, builder, sig, args): function np_int_reciprocal_impl (line 858) | def np_int_reciprocal_impl(context, builder, sig, args): function np_real_reciprocal_impl (line 872) | def np_real_reciprocal_impl(context, builder, sig, args): function np_complex_reciprocal_impl (line 878) | def np_complex_reciprocal_impl(context, builder, sig, args): function np_real_sin_impl (line 920) | def np_real_sin_impl(context, builder, sig, args): function np_complex_sin_impl (line 925) | def np_complex_sin_impl(context, builder, sig, args): function np_real_cos_impl (line 933) | def np_real_cos_impl(context, builder, sig, args): function np_complex_cos_impl (line 938) | def np_complex_cos_impl(context, builder, sig, args): function np_real_tan_impl (line 946) | def np_real_tan_impl(context, builder, sig, args): function np_real_asin_impl (line 954) | def np_real_asin_impl(context, builder, sig, args): function np_real_acos_impl (line 962) | def np_real_acos_impl(context, builder, sig, args): function np_real_atan_impl (line 970) | def np_real_atan_impl(context, builder, sig, args): function np_real_atan2_impl (line 978) | def np_real_atan2_impl(context, builder, sig, args): function np_real_hypot_impl (line 986) | def np_real_hypot_impl(context, builder, sig, args): function np_real_sinh_impl (line 994) | def np_real_sinh_impl(context, builder, sig, args): function np_complex_sinh_impl (line 999) | def np_complex_sinh_impl(context, builder, sig, args): function np_real_cosh_impl (line 1027) | def np_real_cosh_impl(context, builder, sig, args): function np_complex_cosh_impl (line 1032) | def np_complex_cosh_impl(context, builder, sig, args): function np_real_tanh_impl (line 1059) | def np_real_tanh_impl(context, builder, sig, args): function np_complex_tanh_impl (line 1064) | def np_complex_tanh_impl(context, builder, sig, args): function np_real_asinh_impl (line 1105) | def np_real_asinh_impl(context, builder, sig, args): function np_real_acosh_impl (line 1113) | def np_real_acosh_impl(context, builder, sig, args): function np_complex_acosh_impl (line 1118) | def np_complex_acosh_impl(context, builder, sig, args): function np_real_atanh_impl (line 1148) | def np_real_atanh_impl(context, builder, sig, args): function np_real_floor_impl (line 1156) | def np_real_floor_impl(context, builder, sig, args): function np_real_ceil_impl (line 1165) | def np_real_ceil_impl(context, builder, sig, args): function np_real_trunc_impl (line 1174) | def np_real_trunc_impl(context, builder, sig, args): function np_real_fabs_impl (line 1183) | def np_real_fabs_impl(context, builder, sig, args): function np_complex_ge_impl (line 1194) | def np_complex_ge_impl(context, builder, sig, args): function np_complex_le_impl (line 1215) | def np_complex_le_impl(context, builder, sig, args): function np_complex_gt_impl (line 1236) | def np_complex_gt_impl(context, builder, sig, args): function np_complex_lt_impl (line 1257) | def np_complex_lt_impl(context, builder, sig, args): function np_complex_eq_impl (line 1278) | def np_complex_eq_impl(context, builder, sig, args): function np_complex_ne_impl (line 1295) | def np_complex_ne_impl(context, builder, sig, args): function _complex_is_true (line 1318) | def _complex_is_true(context, builder, ty, val): function np_logical_and_impl (line 1325) | def np_logical_and_impl(context, builder, sig, args): function np_complex_logical_and_impl (line 1332) | def np_complex_logical_and_impl(context, builder, sig, args): function np_logical_or_impl (line 1339) | def np_logical_or_impl(context, builder, sig, args): function np_complex_logical_or_impl (line 1346) | def np_complex_logical_or_impl(context, builder, sig, args): function np_logical_xor_impl (line 1353) | def np_logical_xor_impl(context, builder, sig, args): function np_complex_logical_xor_impl (line 1360) | def np_complex_logical_xor_impl(context, builder, sig, args): function np_logical_not_impl (line 1367) | def np_logical_not_impl(context, builder, sig, args): function np_complex_logical_not_impl (line 1372) | def np_complex_logical_not_impl(context, builder, sig, args): function np_int_smax_impl (line 1387) | def np_int_smax_impl(context, builder, sig, args): function np_int_umax_impl (line 1394) | def np_int_umax_impl(context, builder, sig, args): function np_real_maximum_impl (line 1401) | def np_real_maximum_impl(context, builder, sig, args): function np_real_fmax_impl (line 1416) | def np_real_fmax_impl(context, builder, sig, args): function np_complex_maximum_impl (line 1431) | def np_complex_maximum_impl(context, builder, sig, args): function np_complex_fmax_impl (line 1453) | def np_complex_fmax_impl(context, builder, sig, args): function np_int_smin_impl (line 1474) | def np_int_smin_impl(context, builder, sig, args): function np_int_umin_impl (line 1481) | def np_int_umin_impl(context, builder, sig, args): function np_real_minimum_impl (line 1488) | def np_real_minimum_impl(context, builder, sig, args): function np_real_fmin_impl (line 1503) | def np_real_fmin_impl(context, builder, sig, args): function np_complex_minimum_impl (line 1518) | def np_complex_minimum_impl(context, builder, sig, args): function np_complex_fmin_impl (line 1540) | def np_complex_fmin_impl(context, builder, sig, args): function np_int_isnan_impl (line 1564) | def np_int_isnan_impl(context, builder, sig, args): function np_real_isnan_impl (line 1569) | def np_real_isnan_impl(context, builder, sig, args): function np_complex_isnan_impl (line 1574) | def np_complex_isnan_impl(context, builder, sig, args): function np_int_isfinite_impl (line 1583) | def np_int_isfinite_impl(context, builder, sig, args): function np_datetime_isfinite_impl (line 1588) | def np_datetime_isfinite_impl(context, builder, sig, args): function np_datetime_isnat_impl (line 1593) | def np_datetime_isnat_impl(context, builder, sig, args): function np_real_isfinite_impl (line 1598) | def np_real_isfinite_impl(context, builder, sig, args): function np_complex_isfinite_impl (line 1603) | def np_complex_isfinite_impl(context, builder, sig, args): function np_int_isinf_impl (line 1611) | def np_int_isinf_impl(context, builder, sig, args): function np_real_isinf_impl (line 1616) | def np_real_isinf_impl(context, builder, sig, args): function np_complex_isinf_impl (line 1621) | def np_complex_isinf_impl(context, builder, sig, args): function np_real_signbit_impl (line 1629) | def np_real_signbit_impl(context, builder, sig, args): function np_real_copysign_impl (line 1647) | def np_real_copysign_impl(context, builder, sig, args): function np_real_nextafter_impl (line 1652) | def np_real_nextafter_impl(context, builder, sig, args): function np_real_spacing_impl (line 1663) | def np_real_spacing_impl(context, builder, sig, args): function np_real_ldexp_impl (line 1692) | def np_real_ldexp_impl(context, builder, sig, args): FILE: numba/np/npyimpl.py class _ScalarIndexingHelper (line 44) | class _ScalarIndexingHelper(object): method update_indices (line 45) | def update_indices(self, loop_indices, name): method as_values (line 48) | def as_values(self): class _ScalarHelper (line 52) | class _ScalarHelper(object): method __init__ (line 68) | def __init__(self, ctxt, bld, val, ty): method create_iter_indices (line 79) | def create_iter_indices(self): method load_data (line 82) | def load_data(self, indices): method store_data (line 85) | def store_data(self, indices, val): method return_val (line 89) | def return_val(self): class _ArrayIndexingHelper (line 93) | class _ArrayIndexingHelper(namedtuple('_ArrayIndexingHelper', method update_indices (line 95) | def update_indices(self, loop_indices, name): method as_values (line 109) | def as_values(self): class _ArrayHelper (line 120) | class _ArrayHelper(namedtuple('_ArrayHelper', ('context', 'builder', method create_iter_indices (line 128) | def create_iter_indices(self): method _load_effective_address (line 139) | def _load_effective_address(self, indices): method load_data (line 148) | def load_data(self, indices): method store_data (line 153) | def store_data(self, indices, value): class _ArrayGUHelper (line 161) | class _ArrayGUHelper(namedtuple('_ArrayHelper', ('context', 'builder', method create_iter_indices (line 171) | def create_iter_indices(self): method _load_effective_address (line 182) | def _load_effective_address(self, indices): method load_data (line 196) | def load_data(self, indices): method guard_shape (line 241) | def guard_shape(self, loopshape): method guard_match_core_dims (line 269) | def guard_match_core_dims(self, other: '_ArrayGUHelper', ndims: int): function _prepare_argument (line 304) | def _prepare_argument(ctxt, bld, inp, tyinp, where='input operand'): function _broadcast_onto (line 334) | def _broadcast_onto(src_ndim, src_shape, dest_ndim, dest_shape): function _build_array (line 374) | def _build_array(context, builder, array_ty, input_types, inputs): function _unpack_output_types (line 459) | def _unpack_output_types(ufunc, sig): function _unpack_output_values (line 466) | def _unpack_output_values(ufunc, builder, values): function _pack_output_values (line 473) | def _pack_output_values(ufunc, context, builder, typ, values): function numpy_ufunc_kernel (line 480) | def numpy_ufunc_kernel(context, builder, sig, args, ufunc, kernel_class): function numpy_gufunc_kernel (line 560) | def numpy_gufunc_kernel(context, builder, sig, args, ufunc, kernel_class): class _Kernel (line 637) | class _Kernel(object): method __init__ (line 638) | def __init__(self, context, builder, outer_sig): method cast (line 643) | def cast(self, val, fromty, toty): method generate (line 663) | def generate(self, *args): function _ufunc_db_function (line 687) | def _ufunc_db_function(ufunc): function register_ufunc_kernel (line 740) | def register_ufunc_kernel(ufunc, kernel, lower): function register_unary_operator_kernel (line 755) | def register_unary_operator_kernel(operator, ufunc, kernel, lower, function register_binary_operator_kernel (line 764) | def register_binary_operator_kernel(op, ufunc, kernel, lower, inplace=Fa... function array_positive_impl (line 790) | def array_positive_impl(context, builder, sig, args): function register_ufuncs (line 804) | def register_ufuncs(ufuncs, lower): function _make_dtype_object (line 842) | def _make_dtype_object(typingctx, desc): function numpy_dtype (line 867) | def numpy_dtype(dtype): FILE: numba/np/numpy_support.py function _from_str_dtype (line 47) | def _from_str_dtype(dtype): function _from_datetime_dtype (line 72) | def _from_datetime_dtype(dtype): function from_dtype (line 87) | def from_dtype(dtype): function as_dtype (line 126) | def as_dtype(nbtype): function as_struct_dtype (line 163) | def as_struct_dtype(rec): function _check_struct_alignment (line 190) | def _check_struct_alignment(rec, fields): function map_arrayscalar_type (line 205) | def map_arrayscalar_type(val): function is_array (line 219) | def is_array(val): function map_layout (line 223) | def map_layout(val): function select_array_wrapper (line 233) | def select_array_wrapper(inputs): function resolve_output_type (line 254) | def resolve_output_type(context, inputs, formal_output): function supported_ufunc_loop (line 277) | def supported_ufunc_loop(ufunc, loop): class UFuncLoopSpec (line 312) | class UFuncLoopSpec(collections.namedtuple('_UFuncLoopSpec', method numpy_inputs (line 325) | def numpy_inputs(self): method numpy_outputs (line 329) | def numpy_outputs(self): function _ufunc_loop_sig (line 333) | def _ufunc_loop_sig(out_tys, in_tys): function ufunc_can_cast (line 340) | def ufunc_can_cast(from_, to, has_mixed_inputs, casting='safe'): function ufunc_find_matching_loop (line 358) | def ufunc_find_matching_loop(ufunc, arg_types): function _is_aligned_struct (line 545) | def _is_aligned_struct(struct): function from_struct_dtype (line 549) | def from_struct_dtype(dtype): function _get_bytes_buffer (line 579) | def _get_bytes_buffer(ptr, nbytes): function _get_array_from_ptr (line 589) | def _get_array_from_ptr(ptr, nbytes, dtype): function carray (line 593) | def carray(ptr, shape, dtype=None): function farray (line 631) | def farray(ptr, shape, dtype=None): function is_contiguous (line 642) | def is_contiguous(dims, strides, itemsize): function is_fortran (line 675) | def is_fortran(dims, strides, itemsize): function type_can_asarray (line 708) | def type_can_asarray(arr): function type_is_scalar (line 719) | def type_is_scalar(typ): function check_is_integer (line 730) | def check_is_integer(v, name): function lt_floats (line 736) | def lt_floats(a, b): function lt_complex (line 744) | def lt_complex(a, b): FILE: numba/np/polynomial/polynomial_core.py class PolynomialModel (line 14) | class PolynomialModel(models.StructModel): method __init__ (line 15) | def __init__(self, dmm, fe_type): function type_polynomial (line 27) | def type_polynomial(context): function impl_polynomial1 (line 74) | def impl_polynomial1(context, builder, sig, args): function impl_polynomial3 (line 98) | def impl_polynomial3(context, builder, sig, args): function unbox_polynomial (line 152) | def unbox_polynomial(typ, obj, c): function box_polynomial (line 180) | def box_polynomial(typ, val, c): FILE: numba/np/polynomial/polynomial_functions.py function roots_impl (line 17) | def roots_impl(p): function polyutils_trimseq (line 65) | def polyutils_trimseq(seq): function polyutils_as_series (line 91) | def polyutils_as_series(alist, trim=True): function _get_list_type (line 148) | def _get_list_type(l): function _poly_result_dtype (line 158) | def _poly_result_dtype(*args): function numpy_polyadd (line 187) | def numpy_polyadd(c1, c2): function numpy_polysub (line 212) | def numpy_polysub(c1, c2): function numpy_polymul (line 237) | def numpy_polymul(c1, c2): function poly_polyval (line 255) | def poly_polyval(x, c, tensor=True): function poly_polyint (line 302) | def poly_polyint(c, m=1): function numpy_polydiv (line 343) | def numpy_polydiv(c1, c2): FILE: numba/np/random/distributions.py function np_log1p (line 28) | def np_log1p(x): function np_log1pf (line 33) | def np_log1pf(x): function random_rayleigh (line 38) | def random_rayleigh(bitgen, mode): function np_expm1 (line 43) | def np_expm1(x): function random_standard_normal (line 48) | def random_standard_normal(bitgen): function random_standard_normal_f (line 77) | def random_standard_normal_f(bitgen): function random_standard_exponential (line 105) | def random_standard_exponential(bitgen): function random_standard_exponential_f (line 123) | def random_standard_exponential_f(bitgen): function random_standard_exponential_inv (line 142) | def random_standard_exponential_inv(bitgen): function random_standard_exponential_inv_f (line 147) | def random_standard_exponential_inv_f(bitgen): function random_standard_gamma (line 152) | def random_standard_gamma(bitgen, shape): function random_standard_gamma_f (line 190) | def random_standard_gamma_f(bitgen, shape): function random_normal (line 232) | def random_normal(bitgen, loc, scale): function random_normal_f (line 238) | def random_normal_f(bitgen, loc, scale): function random_exponential (line 244) | def random_exponential(bitgen, scale): function random_uniform (line 249) | def random_uniform(bitgen, lower, range): function random_gamma (line 255) | def random_gamma(bitgen, shape, scale): function random_gamma_f (line 260) | def random_gamma_f(bitgen, shape, scale): function random_beta (line 265) | def random_beta(bitgen, a, b): function random_chisquare (line 291) | def random_chisquare(bitgen, df): function random_f (line 296) | def random_f(bitgen, dfnum, dfden): function random_standard_cauchy (line 302) | def random_standard_cauchy(bitgen): function random_pareto (line 307) | def random_pareto(bitgen, a): function random_weibull (line 312) | def random_weibull(bitgen, a): function random_power (line 319) | def random_power(bitgen, a): function random_laplace (line 324) | def random_laplace(bitgen, loc, scale): function random_logistic (line 336) | def random_logistic(bitgen, loc, scale): function random_lognormal (line 344) | def random_lognormal(bitgen, mean, sigma): function random_standard_t (line 349) | def random_standard_t(bitgen, df): function random_wald (line 356) | def random_wald(bitgen, mean, scale): function random_geometric_search (line 369) | def random_geometric_search(bitgen, p): function random_geometric_inversion (line 382) | def random_geometric_inversion(bitgen, p): function random_geometric (line 387) | def random_geometric(bitgen, p): function random_zipf (line 396) | def random_zipf(bitgen, a): function random_zipf (line 410) | def random_zipf(bitgen, a): function random_triangular (line 428) | def random_triangular(bitgen, left, mode, function random_loggam (line 444) | def random_loggam(x): function random_poisson_mult (line 478) | def random_poisson_mult(bitgen, lam): function random_poisson_ptrs (line 492) | def random_poisson_ptrs(bitgen, lam): function random_poisson (line 520) | def random_poisson(bitgen, lam): function random_negative_binomial (line 530) | def random_negative_binomial(bitgen, n, p): function random_noncentral_chisquare (line 536) | def random_noncentral_chisquare(bitgen, df, nonc): function random_noncentral_f (line 553) | def random_noncentral_f(bitgen, dfnum, dfden, nonc): function random_logseries (line 559) | def random_logseries(bitgen, p): function random_binomial_btpe (line 581) | def random_binomial_btpe(bitgen, n, p): function random_binomial_inversion (line 703) | def random_binomial_inversion(bitgen, n, p): function random_binomial (line 726) | def random_binomial(bitgen, n, p): FILE: numba/np/random/generator_core.py class NumPyRngBitGeneratorModel (line 13) | class NumPyRngBitGeneratorModel(models.StructModel): method __init__ (line 14) | def __init__(self, dmm, fe_type): class NumPyRandomGeneratorTypeModel (line 31) | class NumPyRandomGeneratorTypeModel(models.StructModel): method __init__ (line 32) | def __init__(self, dmm, fe_type): function _generate_next_binding (line 53) | def _generate_next_binding(overloadable_function, return_type): function next_double (line 98) | def next_double(bitgen): function next_uint32 (line 102) | def next_uint32(bitgen): function next_uint64 (line 106) | def next_uint64(bitgen): function next_float (line 117) | def next_float(bitgen): FILE: numba/np/random/generator_methods.py function _get_proper_func (line 28) | def _get_proper_func(func_32, func_64, dtype, dist_name="the given"): function check_size (line 59) | def check_size(size): function check_types (line 69) | def check_types(obj, type_list, arg_name): function NumPyRandomGeneratorType_integers (line 87) | def NumPyRandomGeneratorType_integers(inst, low, high, size=None, function NumPyRandomGeneratorType_shuffle (line 175) | def NumPyRandomGeneratorType_shuffle(inst, x, axis=0): function NumPyRandomGeneratorType_permutation (line 204) | def NumPyRandomGeneratorType_permutation(inst, x, axis=0): function NumPyRandomGeneratorType_random (line 225) | def NumPyRandomGeneratorType_random(inst, size=None, dtype=np.float64): function NumPyRandomGeneratorType_standard_exponential (line 249) | def NumPyRandomGeneratorType_standard_exponential(inst, size=None, function NumPyRandomGeneratorType_standard_normal (line 295) | def NumPyRandomGeneratorType_standard_normal(inst, size=None, dtype=np.f... function NumPyRandomGeneratorType_standard_gamma (line 320) | def NumPyRandomGeneratorType_standard_gamma(inst, shape, size=None, function NumPyRandomGeneratorType_normal (line 347) | def NumPyRandomGeneratorType_normal(inst, loc=0.0, scale=1.0, function NumPyRandomGeneratorType_uniform (line 372) | def NumPyRandomGeneratorType_uniform(inst, low=0.0, high=1.0, function NumPyRandomGeneratorType_exponential (line 397) | def NumPyRandomGeneratorType_exponential(inst, scale=1.0, size=None): function NumPyRandomGeneratorType_gamma (line 420) | def NumPyRandomGeneratorType_gamma(inst, shape, scale=1.0, size=None): function NumPyRandomGeneratorType_beta (line 444) | def NumPyRandomGeneratorType_beta(inst, a, b, size=None): function NumPyRandomGeneratorType_f (line 468) | def NumPyRandomGeneratorType_f(inst, dfnum, dfden, size=None): function NumPyRandomGeneratorType_chisquare (line 492) | def NumPyRandomGeneratorType_chisquare(inst, df, size=None): function NumPyRandomGeneratorType_standard_cauchy (line 514) | def NumPyRandomGeneratorType_standard_cauchy(inst, size=None): function NumPyRandomGeneratorType_pareto (line 536) | def NumPyRandomGeneratorType_pareto(inst, a, size=None): function NumPyRandomGeneratorType_weibull (line 558) | def NumPyRandomGeneratorType_weibull(inst, a, size=None): function NumPyRandomGeneratorType_power (line 580) | def NumPyRandomGeneratorType_power(inst, a, size=None): function NumPyRandomGeneratorType_laplace (line 602) | def NumPyRandomGeneratorType_laplace(inst, loc=0.0, scale=1.0, size=None): function NumPyRandomGeneratorType_logistic (line 625) | def NumPyRandomGeneratorType_logistic(inst, loc=0.0, scale=1.0, size=None): function NumPyRandomGeneratorType_lognormal (line 648) | def NumPyRandomGeneratorType_lognormal(inst, mean=0.0, sigma=1.0, size=N... function NumPyRandomGeneratorType_rayleigh (line 671) | def NumPyRandomGeneratorType_rayleigh(inst, scale=1.0, size=None): function NumPyRandomGeneratorType_standard_t (line 693) | def NumPyRandomGeneratorType_standard_t(inst, df, size=None): function NumPyRandomGeneratorType_wald (line 715) | def NumPyRandomGeneratorType_wald(inst, mean, scale, size=None): function NumPyRandomGeneratorType_geometric (line 738) | def NumPyRandomGeneratorType_geometric(inst, p, size=None): function NumPyRandomGeneratorType_zipf (line 760) | def NumPyRandomGeneratorType_zipf(inst, a, size=None): function NumPyRandomGeneratorType_triangular (line 782) | def NumPyRandomGeneratorType_triangular(inst, left, mode, right, size=No... function NumPyRandomGeneratorType_poisson (line 807) | def NumPyRandomGeneratorType_poisson(inst, lam , size=None): function NumPyRandomGeneratorType_negative_binomial (line 829) | def NumPyRandomGeneratorType_negative_binomial(inst, n, p, size=None): function NumPyRandomGeneratorType_noncentral_chisquare (line 852) | def NumPyRandomGeneratorType_noncentral_chisquare(inst, df, nonc, size=N... function NumPyRandomGeneratorType_noncentral_f (line 886) | def NumPyRandomGeneratorType_noncentral_f(inst, dfnum, dfden, nonc, size... function NumPyRandomGeneratorType_logseries (line 923) | def NumPyRandomGeneratorType_logseries(inst, p, size=None): function NumPyRandomGeneratorType_binomial (line 952) | def NumPyRandomGeneratorType_binomial(inst, n, p, size=None): FILE: numba/np/random/random_methods.py function gen_mask (line 15) | def gen_mask(max): function buffered_bounded_bool (line 27) | def buffered_bounded_bool(bitgen, off, rng, bcnt, buf): function buffered_uint8 (line 41) | def buffered_uint8(bitgen, bcnt, buf): function buffered_uint16 (line 53) | def buffered_uint16(bitgen, bcnt, buf): function buffered_bounded_lemire_uint8 (line 67) | def buffered_bounded_lemire_uint8(bitgen, rng, bcnt, buf): function buffered_bounded_lemire_uint16 (line 103) | def buffered_bounded_lemire_uint16(bitgen, rng, bcnt, buf): function buffered_bounded_lemire_uint32 (line 139) | def buffered_bounded_lemire_uint32(bitgen, rng): function bounded_lemire_uint64 (line 166) | def bounded_lemire_uint64(bitgen, rng): function random_bounded_uint64_fill (line 201) | def random_bounded_uint64_fill(bitgen, low, rng, size, dtype): function random_bounded_uint32_fill (line 229) | def random_bounded_uint32_fill(bitgen, low, rng, size, dtype): function random_bounded_uint16_fill (line 249) | def random_bounded_uint16_fill(bitgen, low, rng, size, dtype): function random_bounded_uint8_fill (line 277) | def random_bounded_uint8_fill(bitgen, low, rng, size, dtype): function random_bounded_bool_fill (line 304) | def random_bounded_bool_fill(bitgen, low, rng, size, dtype): function _randint_arg_check (line 318) | def _randint_arg_check(low, high, endpoint, lower_bound, upper_bound): function random_interval (line 349) | def random_interval(bitgen, max_val): FILE: numba/np/ufunc/__init__.py function _init (line 17) | def _init(): FILE: numba/np/ufunc/_internal.c type PyUFuncCleaner (line 5) | typedef struct { function PyObject (line 16) | static PyObject * function cleaner_dealloc (line 29) | static void type PyDUFuncObject (line 122) | typedef struct { function dufunc_dealloc (line 130) | static void function PyObject (line 141) | static PyObject * function PyObject (line 147) | static PyObject * function Py_ssize_t (line 175) | static Py_ssize_t function dufunc_init (line 199) | static int type _ufunc_dispatch (line 302) | struct _ufunc_dispatch { function init_ufunc_dispatch (line 311) | static int function PyObject (line 389) | static PyObject * function PyObject (line 395) | static PyObject * function PyObject (line 401) | static PyObject * function PyObject (line 407) | static PyObject * function PyObject (line 419) | static PyObject * function PyObject (line 427) | static PyObject * function PyObject (line 436) | static PyObject * function PyObject (line 445) | static PyObject * function PyObject (line 454) | static PyObject * function PyObject (line 460) | static PyObject * function PyObject (line 497) | static PyObject * type PyMethodDef (line 612) | struct PyMethodDef type PyMethodDef (line 644) | struct PyMethodDef function PyObject (line 672) | static PyObject * function dufunc_setfrozen (line 680) | static int function MOD_INIT (line 789) | MOD_INIT(_internal) FILE: numba/np/ufunc/_num_threads.c function set_num_threads (line 15) | static void set_num_threads(int count) function get_num_threads (line 20) | static int get_num_threads(void) function MOD_INIT (line 25) | MOD_INIT(_num_threads) FILE: numba/np/ufunc/_ufunc.c function get_string (line 5) | static int function PyObject (line 22) | PyObject * FILE: numba/np/ufunc/array_exprs.py function _is_ufunc (line 15) | def _is_ufunc(func): class RewriteArrayExprs (line 20) | class RewriteArrayExprs(rewrites.Rewrite): method __init__ (line 26) | def __init__(self, state, *args, **kws): method match (line 33) | def match(self, func_ir, block, typemap, calltypes): method _match_array_expr (line 66) | def _match_array_expr(self, instr, expr, target_name): method _has_explicit_output (line 96) | def _has_explicit_output(self, expr, func): method _get_array_operator (line 108) | def _get_array_operator(self, ir_expr): method _get_operands (line 118) | def _get_operands(self, ir_expr): method _translate_expr (line 133) | def _translate_expr(self, ir_expr): method _handle_matches (line 144) | def _handle_matches(self): method _get_final_replacement (line 181) | def _get_final_replacement(self, replacement_map, instr): method apply (line 191) | def apply(self): function _arr_expr_to_ast (line 266) | def _arr_expr_to_ast(expr): function _legalize_parameter_names (line 307) | def _legalize_parameter_names(var_list): class _EraseInvalidLineRanges (line 332) | class _EraseInvalidLineRanges(ast.NodeTransformer): method generic_visit (line 333) | def generic_visit(self, node: ast.AST) -> ast.AST: function _fix_invalid_lineno_ranges (line 343) | def _fix_invalid_lineno_ranges(astree: ast.AST): function _lower_array_expr (line 354) | def _lower_array_expr(lowerer, expr): FILE: numba/np/ufunc/decorators.py class _BaseVectorize (line 11) | class _BaseVectorize(object): method get_identity (line 14) | def get_identity(cls, kwargs): method get_cache (line 18) | def get_cache(cls, kwargs): method get_writable_args (line 22) | def get_writable_args(cls, kwargs): method get_target_implementation (line 26) | def get_target_implementation(cls, kwargs): class Vectorize (line 34) | class Vectorize(_BaseVectorize): method __new__ (line 38) | def __new__(cls, func, **kws): class GUVectorize (line 45) | class GUVectorize(_BaseVectorize): method __new__ (line 49) | def __new__(cls, func, signature, **kws): function vectorize (line 64) | def vectorize(ftylist_or_function=(), **kws): function guvectorize (line 139) | def guvectorize(*args, **kwargs): FILE: numba/np/ufunc/dufunc.py class UfuncAtIterator (line 25) | class UfuncAtIterator: method __init__ (line 27) | def __init__(self, ufunc, a, a_ty, indices, indices_ty, b=None, b_ty=N... method run (line 36) | def run(self, context, builder): method need_advanced_indexing (line 42) | def need_advanced_indexing(self): method _prepare (line 45) | def _prepare(self, context, builder): method _load_val (line 73) | def _load_val(self, context, builder, loop_indices, array, array_ty): method _load_flat (line 84) | def _load_flat(self, context, builder, indices, array, array_ty): method _store_val (line 97) | def _store_val(self, context, builder, array, array_ty, ptr, val): method _compile_ufunc (line 104) | def _compile_ufunc(self, context, builder): method _call_ufunc (line 116) | def _call_ufunc(self, context, builder, loop_indices): function make_dufunc_kernel (line 134) | def make_dufunc_kernel(_dufunc): class DUFuncLowerer (line 154) | class DUFuncLowerer(UfuncLowererBase): method __init__ (line 157) | def __init__(self, dufunc): class DUFunc (line 164) | class DUFunc(serialize.ReduceMixin, _internal._DUFunc, UfuncBase): method __init__ (line 174) | def __init__(self, py_func, identity=None, cache=False, targetoptions=... method _initialize (line 186) | def _initialize(self, dispatcher, identity): method _reduce_states (line 198) | def _reduce_states(self): method _rebuild (line 211) | def _rebuild(cls, dispatcher, identity, frozen, siglist): method build_ufunc (line 224) | def build_ufunc(self): method targetoptions (line 231) | def targetoptions(self): method nin (line 235) | def nin(self): method nout (line 239) | def nout(self): method nargs (line 243) | def nargs(self): method ntypes (line 247) | def ntypes(self): method types (line 251) | def types(self): method identity (line 255) | def identity(self): method signature (line 259) | def signature(self): method disable_compile (line 262) | def disable_compile(self): method add (line 270) | def add(self, sig): method __call__ (line 277) | def __call__(self, *args, **kws): method _compile_for_args (line 292) | def _compile_for_args(self, *args, **kws): method _compile_for_argtys (line 324) | def _compile_for_argtys(self, argtys, return_type=None): method match_signature (line 360) | def match_signature(self, ewise_types, sig): method _install_ufunc_attributes (line 363) | def _install_ufunc_attributes(self, template) -> None: method _install_ufunc_methods (line 384) | def _install_ufunc_methods(self, template) -> None: method _install_ufunc_at (line 389) | def _install_ufunc_at(self, template) -> None: method _install_ufunc_reduce (line 490) | def _install_ufunc_reduce(self, template) -> None: method _install_ufunc_reduceat (line 784) | def _install_ufunc_reduceat(self, template) -> None: method at (line 912) | def at(self, a, indices, b=None): method _install_type (line 933) | def _install_type(self, typingctx=None): method find_ewise_function (line 949) | def find_ewise_function(self, ewise_types): method _type_me (line 969) | def _type_me(self, argtys, kwtys): FILE: numba/np/ufunc/gufunc.py function make_gufunc_kernel (line 13) | def make_gufunc_kernel(_dufunc): class GUFuncLowerer (line 49) | class GUFuncLowerer(UfuncLowererBase): method __init__ (line 52) | def __init__(self, gufunc): class GUFunc (line 59) | class GUFunc(serialize.ReduceMixin, UfuncBase): method __init__ (line 67) | def __init__(self, py_func, signature, identity=None, cache=None, method _initialize (line 88) | def _initialize(self, dispatcher): method _reduce_states (line 94) | def _reduce_states(self): method _rebuild (line 110) | def _rebuild(cls, py_func, signature, identity, cache, is_dynamic, method __repr__ (line 121) | def __repr__(self): method _install_type (line 124) | def _install_type(self, typingctx=None): method add (line 138) | def add(self, fty): method build_ufunc (line 141) | def build_ufunc(self): method expected_ndims (line 145) | def expected_ndims(self): method _type_me (line 149) | def _type_me(self, argtys, kws): method _compile_for_argtys (line 196) | def _compile_for_argtys(self, argtys, return_type=None): method match_signature (line 203) | def match_signature(self, ewise_types, sig): method is_dynamic (line 208) | def is_dynamic(self): method _get_ewise_dtypes (line 211) | def _get_ewise_dtypes(self, args): method _num_args_match (line 222) | def _num_args_match(self, *args): method _get_function_type (line 226) | def _get_function_type(self, *args): method __call__ (line 250) | def __call__(self, *args, **kwargs): function _is_array_wrapper (line 293) | def _is_array_wrapper(obj): FILE: numba/np/ufunc/gufunc_scheduler.cpp function guround (line 26) | double guround (double number) { class RangeActual (line 30) | class RangeActual { method RangeActual (line 34) | RangeActual() {} method RangeActual (line 36) | RangeActual(intp s, intp e) { method RangeActual (line 41) | RangeActual(const std::vector &s, const std::vector &e) { method RangeActual (line 47) | RangeActual(const std::vector &lens) { method RangeActual (line 54) | RangeActual(uintp num_dims, intp *lens) { method RangeActual (line 61) | RangeActual(uintp num_dims, intp *starts, intp *ends) { method uintp (line 68) | uintp ndim() const { method iters_per_dim (line 72) | std::vector iters_per_dim() const { method uintp (line 83) | uintp total_size() const { method print (line 92) | void print() const { function uintp (line 103) | uintp set_parallel_chunksize(uintp n) { function uintp (line 109) | uintp get_parallel_chunksize() { function uintp (line 113) | uintp get_sched_size(uintp num_threads, uintp num_dim, intp *starts, int... function intp (line 123) | intp* allocate_sched(uintp sched_size) { function deallocate_sched (line 129) | void deallocate_sched(intp* sched) { class dimlength (line 133) | class dimlength { method dimlength (line 137) | dimlength(uintp d, intp l) : dim(d), length(l) {} type dimlength_by_dim (line 140) | struct dimlength_by_dim { type dimlength_by_length_reverse (line 146) | struct dimlength_by_length_reverse { class isf_range (line 152) | class isf_range { method isf_range (line 156) | isf_range(uintp d, intp l, intp u) : dim(d), lower_bound(l), upper_bou... type isf_range_by_dim (line 159) | struct isf_range_by_dim { class chunk_info (line 170) | class chunk_info { method chunk_info (line 173) | chunk_info(intp a, intp b, intp c) : m_a(a), m_b(b), m_c(c) {} function chunk_info (line 179) | chunk_info chunk(intp rs, intp re, intp divisions) { method chunk_info (line 173) | chunk_info(intp a, intp b, intp c) : m_a(a), m_b(b), m_c(c) {} function chunk_info (line 194) | chunk_info equalizing_chunk(intp rs, intp re, intp divisions, float thre... method chunk_info (line 173) | chunk_info(intp a, intp b, intp c) : m_a(a), m_b(b), m_c(c) {} function RangeActual (line 207) | RangeActual isfRangeToActual(const std::vector &build) { method RangeActual (line 34) | RangeActual() {} method RangeActual (line 36) | RangeActual(intp s, intp e) { method RangeActual (line 41) | RangeActual(const std::vector &s, const std::vector &e) { method RangeActual (line 47) | RangeActual(const std::vector &lens) { method RangeActual (line 54) | RangeActual(uintp num_dims, intp *lens) { method RangeActual (line 61) | RangeActual(uintp num_dims, intp *starts, intp *ends) { method uintp (line 68) | uintp ndim() const { method iters_per_dim (line 72) | std::vector iters_per_dim() const { method uintp (line 83) | uintp total_size() const { method print (line 92) | void print() const { function divide_work (line 224) | void divide_work(const RangeActual &full_iteration_space, function flatten_schedule (line 303) | void flatten_schedule(const std::vector &sched, T *out_sche... function create_schedule (line 321) | std::vector create_schedule(const RangeActual &full_space, ... function print_schedule (line 392) | void print_schedule(const std::vector &vra) { function do_scheduling_signed (line 409) | void do_scheduling_signed(uintp num_dim, intp *starts, intp *ends, uintp... function do_scheduling_unsigned (line 431) | void do_scheduling_unsigned(uintp num_dim, intp *starts, intp *ends, uin... FILE: numba/np/ufunc/omppool.cpp function set_num_threads (line 60) | static void function get_num_threads (line 66) | static int function get_thread_id (line 79) | static int function add_task (line 85) | static void function parallel_for (line 94) | static void function launch_threads (line 210) | static void launch_threads(int count) function synchronize (line 232) | static void synchronize(void) function ready (line 236) | static void ready(void) function MOD_INIT (line 240) | MOD_INIT(omppool) FILE: numba/np/ufunc/parallel.py function get_thread_count (line 36) | def get_thread_count(): function build_gufunc_kernel (line 49) | def build_gufunc_kernel(library, ctx, info, sig, inner_ndim): class ParallelUFuncBuilder (line 181) | class ParallelUFuncBuilder(ufuncbuilder.UFuncBuilder): method build (line 182) | def build(self, cres, sig): function build_ufunc_wrapper (line 200) | def build_ufunc_wrapper(library, ctx, fname, signature, cres): class ParallelGUFuncBuilder (line 211) | class ParallelGUFuncBuilder(ufuncbuilder.GUFuncBuilder): method __init__ (line 212) | def __init__(self, py_func, signature, identity=None, cache=False, method build (line 228) | def build(self, cres): function build_gufunc_wrapper (line 257) | def build_gufunc_wrapper(py_func, cres, sin, sout, cache, is_parfors): class _nop (line 286) | class _nop(object): method __enter__ (line 290) | def __enter__(self): method __exit__ (line 293) | def __exit__(self, *args): function _set_init_process_lock (line 300) | def _set_init_process_lock(): function threading_layer (line 337) | def threading_layer(): function _check_tbb_version_compatible (line 347) | def _check_tbb_version_compatible(): function _launch_threads (line 381) | def _launch_threads(): function _load_threading_functions (line 534) | def _load_threading_functions(lib): function gen_snt_check (line 568) | def gen_snt_check(): function ol_snt_check (line 582) | def ol_snt_check(n): function set_num_threads (line 586) | def set_num_threads(n): function ol_set_num_threads (line 617) | def ol_set_num_threads(n): function get_num_threads (line 629) | def get_num_threads(): function ol_get_num_threads (line 662) | def ol_get_num_threads(): function _iget_num_threads (line 677) | def _iget_num_threads(typingctx): function get_thread_id (line 688) | def get_thread_id(): function ol_get_thread_id (line 702) | def ol_get_thread_id(): function _iget_thread_id (line 711) | def _iget_thread_id(typingctx): function set_parallel_chunksize (line 727) | def set_parallel_chunksize(n): function get_parallel_chunksize (line 736) | def get_parallel_chunksize(): function ol_set_parallel_chunksize (line 742) | def ol_set_parallel_chunksize(n): function ol_get_parallel_chunksize (line 756) | def ol_get_parallel_chunksize(): FILE: numba/np/ufunc/sigparse.py function parse_signature (line 5) | def parse_signature(sig): FILE: numba/np/ufunc/tbbpool.cpp function set_num_threads (line 52) | static void function get_num_threads (line 58) | static int function get_thread_id (line 71) | static int class fix_tls_observer (line 88) | class fix_tls_observer: public tbb::task_scheduler_observer { method fix_tls_observer (line 92) | fix_tls_observer(tbb::task_arena &arena, int mask) : tbb::task_schedul... function add_task (line 102) | static void function parallel_for (line 112) | static void function set_main_thread (line 211) | static void set_main_thread() function is_main_thread (line 216) | static bool is_main_thread() function prepare_fork (line 221) | static void prepare_fork(void) function reset_after_fork (line 249) | static void reset_after_fork(void) function unload_tbb (line 265) | static void unload_tbb(void) function launch_threads (line 285) | static void launch_threads(int count) function synchronize (line 311) | static void synchronize(void) function ready (line 316) | static void ready(void) function MOD_INIT (line 320) | MOD_INIT(tbbpool) FILE: numba/np/ufunc/ufunc_base.py class UfuncLowererBase (line 5) | class UfuncLowererBase: method __init__ (line 8) | def __init__(self, ufunc, make_kernel_fn, make_ufunc_kernel_fn): method __call__ (line 14) | def __call__(self, context, builder, sig, args): class UfuncBase (line 19) | class UfuncBase: method nin (line 22) | def nin(self): method nout (line 26) | def nout(self): method nargs (line 30) | def nargs(self): method ntypes (line 34) | def ntypes(self): method types (line 38) | def types(self): method identity (line 42) | def identity(self): method signature (line 46) | def signature(self): method accumulate (line 50) | def accumulate(self): method at (line 54) | def at(self): method outer (line 58) | def outer(self): method reduce (line 62) | def reduce(self): method reduceat (line 66) | def reduceat(self): method disable_compile (line 69) | def disable_compile(self): method _install_cg (line 77) | def _install_cg(self, targetctx=None): method find_ewise_function (line 95) | def find_ewise_function(self, ewise_types): FILE: numba/np/ufunc/ufuncbuilder.py class UFuncTargetOptions (line 33) | class UFuncTargetOptions(_options_mixin, TargetOptions): method finalize (line 35) | def finalize(self, flags, options): class UFuncTarget (line 55) | class UFuncTarget(TargetDescriptor): method __init__ (line 58) | def __init__(self): method typing_context (line 62) | def typing_context(self): method target_context (line 66) | def target_context(self): class UFuncDispatcher (line 73) | class UFuncDispatcher(serialize.ReduceMixin): method __init__ (line 79) | def __init__(self, py_func, locals=None, targetoptions=None): method _reduce_states (line 90) | def _reduce_states(self): method _rebuild (line 101) | def _rebuild(cls, pyfunc, locals, targetoptions): method enable_caching (line 107) | def enable_caching(self): method compile (line 110) | def compile(self, sig, locals=None, **targetoptions): method _compile_core (line 131) | def _compile_core(self, sig, flags, locals): function _compile_element_wise_function (line 178) | def _compile_element_wise_function(nb_func, targetoptions, sig): function _finalize_ufunc_signature (line 186) | def _finalize_ufunc_signature(cres, args, return_type): function _build_element_wise_ufunc_wrapper (line 202) | def _build_element_wise_ufunc_wrapper(cres, signature): function parse_identity (line 228) | def parse_identity(identity): function _suppress_deprecation_warning_nopython_not_supplied (line 241) | def _suppress_deprecation_warning_nopython_not_supplied(): class _BaseUFuncBuilder (line 256) | class _BaseUFuncBuilder(object): method add (line 258) | def add(self, sig=None): method disable_compile (line 270) | def disable_compile(self): class UFuncBuilder (line 277) | class UFuncBuilder(_BaseUFuncBuilder): method __init__ (line 279) | def __init__(self, py_func, identity=None, cache=False, targetoptions=... method _finalize_signature (line 293) | def _finalize_signature(self, cres, args, return_type): method build_ufunc (line 299) | def build_ufunc(self): method build (line 338) | def build(self, cres, signature): class GUFuncBuilder (line 345) | class GUFuncBuilder(_BaseUFuncBuilder): method __init__ (line 348) | def __init__(self, py_func, signature, identity=None, cache=False, method _finalize_signature (line 366) | def _finalize_signature(self, cres, args, return_type): method build_ufunc (line 376) | def build_ufunc(self): method build (line 404) | def build(self, cres): function _get_transform_arg (line 428) | def _get_transform_arg(py_func): FILE: numba/np/ufunc/workqueue.c type queue_condition_t (line 73) | typedef struct function queue_condition_init (line 79) | static int function queue_condition_lock (line 90) | static void function queue_condition_unlock (line 97) | static void function queue_condition_signal (line 104) | static void function queue_condition_wait (line 111) | static void function thread_pointer (line 118) | static thread_pointer function get_thread_id (line 142) | static int function set_thread_id (line 148) | static void function platform_launch (line 154) | static void type queue_condition_t (line 167) | typedef struct function queue_condition_init (line 173) | static int function queue_condition_lock (line 181) | static void function queue_condition_unlock (line 187) | static void function queue_condition_signal (line 193) | static void function queue_condition_wait (line 199) | static void type callobj (line 206) | typedef struct function bootstrap (line 212) | static unsigned __stdcall function thread_pointer (line 224) | static thread_pointer function get_thread_id (line 247) | static int function set_thread_id (line 253) | static void function platform_launch (line 259) | static void type Task (line 267) | typedef struct Task type Queue (line 274) | typedef struct function queue_state_wait (line 287) | static void function debug_marker (line 304) | void debug_marker() {} function set_num_threads (line 321) | static void function get_num_threads (line 331) | static int function sync_tls (line 359) | static void sync_tls(void *args, void *dims, void *steps, void *data) { function parallel_for (line 365) | static void function add_task_internal (line 519) | static void function add_task (line 546) | static void function thread_worker (line 552) | static function launch_threads (line 574) | static void launch_threads(int count) function synchronize (line 602) | static void synchronize(void) function ready (line 616) | static void ready(void) function reset_after_fork (line 630) | static void reset_after_fork(void) function MOD_INIT (line 641) | MOD_INIT(workqueue) FILE: numba/np/ufunc/workqueue.h type opaque_thread (line 1) | struct opaque_thread type QUEUE_STATE (line 3) | enum QUEUE_STATE FILE: numba/np/ufunc/wrappers.py function _build_ufunc_loop_body (line 16) | def _build_ufunc_loop_body(load, store, context, func, builder, arrays, ... function _build_ufunc_loop_body_objmode (line 44) | def _build_ufunc_loop_body_objmode(load, store, context, func, builder, function build_slow_loop_body (line 76) | def build_slow_loop_body(context, func, builder, arrays, out, offsets, function build_obj_loop_body (line 91) | def build_obj_loop_body(context, func, builder, arrays, out, offsets, function build_fast_loop_body (line 123) | def build_fast_loop_body(context, func, builder, arrays, out, offsets, function build_ufunc_wrapper (line 138) | def build_ufunc_wrapper(library, context, fname, signature, objmode, cres): class UArrayArg (line 249) | class UArrayArg(object): method __init__ (line 250) | def __init__(self, context, builder, args, steps, i, fe_type): method load_direct (line 267) | def load_direct(self, byteoffset): method load_aligned (line 275) | def load_aligned(self, ind): method store_direct (line 281) | def store_direct(self, value, byteoffset): method store_aligned (line 285) | def store_aligned(self, value, ind): class _GufuncWrapper (line 293) | class _GufuncWrapper(object): method __init__ (line 294) | def __init__(self, py_func, cres, sin, sout, cache, is_parfors): method library (line 311) | def library(self): method context (line 315) | def context(self): method call_conv (line 319) | def call_conv(self): method signature (line 323) | def signature(self): method fndesc (line 327) | def fndesc(self): method env (line 331) | def env(self): method _wrapper_function_type (line 334) | def _wrapper_function_type(self): method _build_wrapper (line 345) | def _build_wrapper(self, library, name): method _compile_wrapper (line 429) | def _compile_wrapper(self, wrapper_name): method build (line 454) | def build(self): method gen_loop_body (line 461) | def gen_loop_body(self, builder, pyapi, func, args): method gen_prologue (line 473) | def gen_prologue(self, builder, pyapi): method gen_epilogue (line 476) | def gen_epilogue(self, builder, pyapi): class _GufuncObjectWrapper (line 480) | class _GufuncObjectWrapper(_GufuncWrapper): method gen_loop_body (line 481) | def gen_loop_body(self, builder, pyapi, func, args): method gen_prologue (line 488) | def gen_prologue(self, builder, pyapi): method gen_epilogue (line 492) | def gen_epilogue(self, builder, pyapi): function build_gufunc_wrapper (line 497) | def build_gufunc_wrapper(py_func, cres, sin, sout, cache, is_parfors): function _prepare_call_to_object_mode (line 507) | def _prepare_call_to_object_mode(context, builder, pyapi, func, class GUArrayArg (line 603) | class GUArrayArg(object): method __init__ (line 604) | def __init__(self, context, builder, args, steps, i, step_offset, method get_array_at_offset (line 663) | def get_array_at_offset(self, ind): class _ScalarArgLoader (line 668) | class _ScalarArgLoader(object): method __init__ (line 676) | def __init__(self, dtype, stride): method load (line 680) | def load(self, context, builder, data, ind): class _ArrayArgLoader (line 688) | class _ArrayArgLoader(object): method __init__ (line 693) | def __init__(self, dtype, ndim, core_step, as_scalar, shape, strides): method load (line 701) | def load(self, context, builder, data, ind): method _shape_and_strides (line 725) | def _shape_and_strides(self, context, builder): class _ArrayAsScalarArgLoader (line 731) | class _ArrayAsScalarArgLoader(_ArrayArgLoader): method _shape_and_strides (line 737) | def _shape_and_strides(self, context, builder): FILE: numba/np/ufunc_db.py function _lazy_init_db (line 20) | def _lazy_init_db(): function get_ufuncs (line 28) | def get_ufuncs(): function get_ufunc_info (line 34) | def get_ufunc_info(ufunc_key): function _fill_ufunc_db (line 48) | def _fill_ufunc_db(ufunc_db): FILE: numba/np/unsafe/ndarray.py function empty_inferred (line 15) | def empty_inferred(typingctx, shape): function to_fixed_tuple (line 42) | def to_fixed_tuple(typingctx, array, length): FILE: numba/parfors/array_analysis.py function wrap_index (line 82) | def wrap_index(typingctx, idx, size): function wrap_index_literal (line 129) | def wrap_index_literal(idx, size): function assert_equiv (line 143) | def assert_equiv(typingctx, *val): class EquivSet (line 207) | class EquivSet(object): method __init__ (line 213) | def __init__(self, obj_to_ind=None, ind_to_obj=None, next_ind=0): method empty (line 227) | def empty(self): method clone (line 232) | def clone(self): method __repr__ (line 241) | def __repr__(self): method is_empty (line 244) | def is_empty(self): method _get_ind (line 249) | def _get_ind(self, x): method _get_or_add_ind (line 255) | def _get_or_add_ind(self, x): method _insert (line 266) | def _insert(self, objs): method is_equiv (line 298) | def is_equiv(self, *objs): method get_equiv_const (line 309) | def get_equiv_const(self, obj): method get_equiv_set (line 321) | def get_equiv_set(self, obj): method insert_equiv (line 329) | def insert_equiv(self, *objs): method intersect (line 335) | def intersect(self, equiv_set): class ShapeEquivSet (line 360) | class ShapeEquivSet(EquivSet): method __init__ (line 369) | def __init__( method empty (line 397) | def empty(self): method clone (line 402) | def clone(self): method __repr__ (line 415) | def __repr__(self): method _get_names (line 420) | def _get_names(self, obj): method is_equiv (line 463) | def is_equiv(self, *objs): method get_equiv_const (line 484) | def get_equiv_const(self, obj): method get_equiv_var (line 493) | def get_equiv_var(self, obj): method get_equiv_set (line 504) | def get_equiv_set(self, obj): method _insert (line 512) | def _insert(self, objs): method insert_equiv (line 540) | def insert_equiv(self, *objs): method has_shape (line 597) | def has_shape(self, name): method get_shape (line 602) | def get_shape(self, name): method _get_shape (line 608) | def _get_shape(self, name): method get_shape_classes (line 626) | def get_shape_classes(self, name): method intersect (line 648) | def intersect(self, equiv_set): method define (line 671) | def define(self, name, redefined): method union_defs (line 731) | def union_defs(self, defs, redefined): class SymbolicEquivSet (line 741) | class SymbolicEquivSet(ShapeEquivSet): method __init__ (line 750) | def __init__( method empty (line 795) | def empty(self): method __repr__ (line 800) | def __repr__(self): method clone (line 812) | def clone(self): method get_rel (line 827) | def get_rel(self, name): method _get_or_set_rel (line 833) | def _get_or_set_rel(self, name, func_ir=None): method define (line 942) | def define(self, var, redefined, func_ir=None, typ=None): method _insert (line 975) | def _insert(self, objs): method set_shape_setitem (line 1021) | def set_shape_setitem(self, obj, shape): method _get_shape (line 1027) | def _get_shape(self, obj): class WrapIndexMeta (line 1043) | class WrapIndexMeta(object): method __init__ (line 1071) | def __init__(self, slice_size, dim_size): class ArrayAnalysis (line 1076) | class ArrayAnalysis(object): method __init__ (line 1086) | def __init__(self, context, func_ir, typemap, calltypes): method get_equiv_set (line 1103) | def get_equiv_set(self, block_label): method remove_redefineds (line 1108) | def remove_redefineds(self, redefineds): method run (line 1120) | def run(self, blocks=None, equiv_set=None): method _run_on_blocks (line 1170) | def _run_on_blocks(self, topo_order, blocks, cfg, init_equiv_set): method _combine_to_new_block (line 1181) | def _combine_to_new_block(self, block, pending_transforms): method _determine_transform (line 1194) | def _determine_transform(self, cfg, block, label, scope, init_equiv_set): method dump (line 1262) | def dump(self): method _define (line 1267) | def _define(self, equiv_set, var, typ, value): class AnalyzeResult (line 1273) | class AnalyzeResult(object): method __init__ (line 1274) | def __init__(self, **kwargs): method _analyze_inst (line 1277) | def _analyze_inst(self, label, scope, equiv_set, inst, redefined): method _analyze_expr (line 1543) | def _analyze_expr(self, scope, equiv_set, expr, lhs): method _analyze_op_getattr (line 1551) | def _analyze_op_getattr(self, scope, equiv_set, expr, lhs): method _analyze_op_cast (line 1583) | def _analyze_op_cast(self, scope, equiv_set, expr, lhs): method _analyze_op_exhaust_iter (line 1586) | def _analyze_op_exhaust_iter(self, scope, equiv_set, expr, lhs): method gen_literal_slice_part (line 1595) | def gen_literal_slice_part( method gen_static_slice_size (line 1624) | def gen_static_slice_size( method gen_explicit_neg (line 1637) | def gen_explicit_neg( method update_replacement_slice (line 1668) | def update_replacement_slice( method slice_size (line 1761) | def slice_size(self, index, dsize, equiv_set, scope, stmts): method _index_to_shape (line 2026) | def _index_to_shape(self, scope, equiv_set, var, ind_var): method _analyze_op_getitem (line 2116) | def _analyze_op_getitem(self, scope, equiv_set, expr, lhs): method _analyze_op_static_getitem (line 2122) | def _analyze_op_static_getitem(self, scope, equiv_set, expr, lhs): method _analyze_op_unary (line 2140) | def _analyze_op_unary(self, scope, equiv_set, expr, lhs): method _analyze_op_binop (line 2148) | def _analyze_op_binop(self, scope, equiv_set, expr, lhs): method _analyze_op_inplace_binop (line 2154) | def _analyze_op_inplace_binop(self, scope, equiv_set, expr, lhs): method _analyze_op_arrayexpr (line 2160) | def _analyze_op_arrayexpr(self, scope, equiv_set, expr, lhs): method _analyze_op_build_tuple (line 2165) | def _analyze_op_build_tuple(self, scope, equiv_set, expr, lhs): method _analyze_op_call (line 2194) | def _analyze_op_call(self, scope, equiv_set, expr, lhs): method _analyze_op_call_builtins_len (line 2257) | def _analyze_op_call_builtins_len(self, scope, equiv_set, loc, args, k... method _analyze_op_call_numba_parfors_array_analysis_assert_equiv (line 2266) | def _analyze_op_call_numba_parfors_array_analysis_assert_equiv( method _analyze_op_call_numba_parfors_array_analysis_wrap_index (line 2272) | def _analyze_op_call_numba_parfors_array_analysis_wrap_index( method _analyze_numpy_create_array (line 2303) | def _analyze_numpy_create_array(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numpy_empty (line 2316) | def _analyze_op_call_numpy_empty(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numba_np_unsafe_ndarray_empty_inferred (line 2321) | def _analyze_op_call_numba_np_unsafe_ndarray_empty_inferred( method _analyze_op_call_numpy_zeros (line 2328) | def _analyze_op_call_numpy_zeros(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numpy_ones (line 2333) | def _analyze_op_call_numpy_ones(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numpy_eye (line 2338) | def _analyze_op_call_numpy_eye(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numpy_identity (line 2354) | def _analyze_op_call_numpy_identity( method _analyze_op_call_numpy_diag (line 2361) | def _analyze_op_call_numpy_diag(self, scope, equiv_set, loc, args, kws): method _analyze_numpy_array_like (line 2382) | def _analyze_numpy_array_like(self, scope, equiv_set, args, kws): method _analyze_op_call_numpy_ravel (line 2394) | def _analyze_op_call_numpy_ravel(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numpy_copy (line 2410) | def _analyze_op_call_numpy_copy(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numpy_empty_like (line 2413) | def _analyze_op_call_numpy_empty_like( method _analyze_op_call_numpy_zeros_like (line 2418) | def _analyze_op_call_numpy_zeros_like( method _analyze_op_call_numpy_ones_like (line 2423) | def _analyze_op_call_numpy_ones_like( method _analyze_op_call_numpy_full_like (line 2428) | def _analyze_op_call_numpy_full_like( method _analyze_op_call_numpy_asfortranarray (line 2433) | def _analyze_op_call_numpy_asfortranarray( method _analyze_op_call_numpy_reshape (line 2438) | def _analyze_op_call_numpy_reshape(self, scope, equiv_set, loc, args, ... method _analyze_op_call_numpy_transpose (line 2512) | def _analyze_op_call_numpy_transpose( method _analyze_op_call_numpy_random_rand (line 2531) | def _analyze_op_call_numpy_random_rand( method _analyze_op_call_numpy_random_randn (line 2538) | def _analyze_op_call_numpy_random_randn( method _analyze_op_numpy_random_with_size (line 2545) | def _analyze_op_numpy_random_with_size( method _analyze_op_call_numpy_random_ranf (line 2554) | def _analyze_op_call_numpy_random_ranf( method _analyze_op_call_numpy_random_random_sample (line 2561) | def _analyze_op_call_numpy_random_random_sample( method _analyze_op_call_numpy_random_sample (line 2568) | def _analyze_op_call_numpy_random_sample( method _analyze_op_call_numpy_random_random (line 2575) | def _analyze_op_call_numpy_random_random( method _analyze_op_call_numpy_random_standard_normal (line 2582) | def _analyze_op_call_numpy_random_standard_normal( method _analyze_op_call_numpy_random_chisquare (line 2589) | def _analyze_op_call_numpy_random_chisquare( method _analyze_op_call_numpy_random_weibull (line 2596) | def _analyze_op_call_numpy_random_weibull( method _analyze_op_call_numpy_random_power (line 2603) | def _analyze_op_call_numpy_random_power( method _analyze_op_call_numpy_random_geometric (line 2610) | def _analyze_op_call_numpy_random_geometric( method _analyze_op_call_numpy_random_exponential (line 2617) | def _analyze_op_call_numpy_random_exponential( method _analyze_op_call_numpy_random_poisson (line 2624) | def _analyze_op_call_numpy_random_poisson( method _analyze_op_call_numpy_random_rayleigh (line 2631) | def _analyze_op_call_numpy_random_rayleigh( method _analyze_op_call_numpy_random_normal (line 2638) | def _analyze_op_call_numpy_random_normal( method _analyze_op_call_numpy_random_uniform (line 2645) | def _analyze_op_call_numpy_random_uniform( method _analyze_op_call_numpy_random_beta (line 2652) | def _analyze_op_call_numpy_random_beta( method _analyze_op_call_numpy_random_binomial (line 2659) | def _analyze_op_call_numpy_random_binomial( method _analyze_op_call_numpy_random_f (line 2666) | def _analyze_op_call_numpy_random_f( method _analyze_op_call_numpy_random_gamma (line 2673) | def _analyze_op_call_numpy_random_gamma( method _analyze_op_call_numpy_random_lognormal (line 2680) | def _analyze_op_call_numpy_random_lognormal( method _analyze_op_call_numpy_random_laplace (line 2687) | def _analyze_op_call_numpy_random_laplace( method _analyze_op_call_numpy_random_randint (line 2694) | def _analyze_op_call_numpy_random_randint( method _analyze_op_call_numpy_random_triangular (line 2701) | def _analyze_op_call_numpy_random_triangular( method _analyze_op_call_numpy_concatenate (line 2708) | def _analyze_op_call_numpy_concatenate( method _analyze_op_call_numpy_stack (line 2762) | def _analyze_op_call_numpy_stack(self, scope, equiv_set, loc, args, kws): method _analyze_op_call_numpy_vstack (line 2788) | def _analyze_op_call_numpy_vstack(self, scope, equiv_set, loc, args, k... method _analyze_op_call_numpy_hstack (line 2805) | def _analyze_op_call_numpy_hstack(self, scope, equiv_set, loc, args, k... method _analyze_op_call_numpy_dstack (line 2820) | def _analyze_op_call_numpy_dstack(self, scope, equiv_set, loc, args, k... method _analyze_op_call_numpy_cumsum (line 2846) | def _analyze_op_call_numpy_cumsum(self, scope, equiv_set, loc, args, k... method _analyze_op_call_numpy_cumprod (line 2850) | def _analyze_op_call_numpy_cumprod(self, scope, equiv_set, loc, args, ... method _analyze_op_call_numpy_linspace (line 2854) | def _analyze_op_call_numpy_linspace( method _analyze_op_call_numpy_dot (line 2865) | def _analyze_op_call_numpy_dot(self, scope, equiv_set, loc, args, kws): method _analyze_stencil (line 2904) | def _analyze_stencil(self, scope, equiv_set, stencil_func, loc, args, ... method _analyze_op_call_numpy_linalg_inv (line 2925) | def _analyze_op_call_numpy_linalg_inv( method _analyze_broadcast (line 2931) | def _analyze_broadcast(self, scope, equiv_set, loc, args, fn): method _broadcast_assert_shapes (line 3007) | def _broadcast_assert_shapes(self, scope, equiv_set, loc, shapes, names): method _call_assert_equiv (line 3042) | def _call_assert_equiv(self, scope, loc, equiv_set, args, names=None): method _make_assert_equiv (line 3050) | def _make_assert_equiv(self, scope, loc, equiv_set, _args, names=None): method _gen_shape_call (line 3112) | def _gen_shape_call(self, equiv_set, var, ndims, shape, post): method _isarray (line 3180) | def _isarray(self, varname): method _istuple (line 3184) | def _istuple(self, varname): method _sum_size (line 3188) | def _sum_size(self, equiv_set, sizes): FILE: numba/parfors/parfor.py function print_wrapped (line 106) | def print_wrapped(x): function init_prange (line 115) | def init_prange(): function init_prange_overload (line 119) | def init_prange_overload(): class internal_prange (line 124) | class internal_prange(object): method __new__ (line 126) | def __new__(cls, *args): function min_parallel_impl (line 130) | def min_parallel_impl(return_type, arg): function max_parallel_impl (line 164) | def max_parallel_impl(return_type, arg): function argmin_parallel_impl (line 196) | def argmin_parallel_impl(in_arr): function argmax_parallel_impl (line 207) | def argmax_parallel_impl(in_arr): function dotvv_parallel_impl (line 218) | def dotvv_parallel_impl(a, b): function dotvm_parallel_impl (line 229) | def dotvm_parallel_impl(a, b): function dotmv_parallel_impl (line 246) | def dotmv_parallel_impl(a, b): function dot_parallel_impl (line 260) | def dot_parallel_impl(return_type, atyp, btyp): function sum_parallel_impl (line 272) | def sum_parallel_impl(return_type, arg): function prod_parallel_impl (line 294) | def prod_parallel_impl(return_type, arg): function mean_parallel_impl (line 317) | def mean_parallel_impl(return_type, arg): function var_parallel_impl (line 340) | def var_parallel_impl(return_type, arg): function std_parallel_impl (line 368) | def std_parallel_impl(return_type, arg): function arange_parallel_impl (line 373) | def arange_parallel_impl(return_type, *args, dtype=None): function linspace_parallel_impl (line 427) | def linspace_parallel_impl(return_type, *args): function fill_parallel_impl (line 467) | def fill_parallel_impl(return_type, arr, val): function max_checker (line 491) | def max_checker(arr_size): function min_checker (line 497) | def min_checker(arr_size): function argmin_checker (line 503) | def argmin_checker(arr_size): function argmax_checker (line 508) | def argmax_checker(arr_size): class LoopNest (line 524) | class LoopNest(object): method __init__ (line 531) | def __init__(self, index_variable, start, stop, step): method __repr__ (line 538) | def __repr__(self): method list_vars (line 542) | def list_vars(self): class Parfor (line 553) | class Parfor(ir.Expr, ir.Stmt): method __init__ (line 557) | def __init__( method __repr__ (line 609) | def __repr__(self): method get_loop_nest_vars (line 613) | def get_loop_nest_vars(self): method list_vars (line 616) | def list_vars(self): method get_shape_classes (line 633) | def get_shape_classes(self, var, typemap=None): method dump (line 651) | def dump(self, file=None): method validate_params (line 666) | def validate_params(self, typemap): function _analyze_parfor (line 695) | def _analyze_parfor(parfor, equiv_set, typemap, array_analysis): class ParforDiagnostics (line 713) | class ParforDiagnostics(object): method __init__ (line 717) | def __init__(self): method setup (line 730) | def setup(self, func_ir, fusion_enabled): method has_setup (line 746) | def has_setup(self): method has_setup (line 750) | def has_setup(self, state): method count_parfors (line 753) | def count_parfors(self, blocks=None): method _get_nested_parfors (line 756) | def _get_nested_parfors(self, parfor, parfors_list): method _get_parfors (line 761) | def _get_parfors(self, blocks, parfors_list): method get_parfors (line 768) | def get_parfors(self): method hoisted_allocations (line 773) | def hoisted_allocations(self): method compute_graph_info (line 785) | def compute_graph_info(self, _a): method get_stats (line 825) | def get_stats(self, fadj, nadj, root): method reachable_nodes (line 844) | def reachable_nodes(self, adj, root): method sort_pf_by_line (line 856) | def sort_pf_by_line(self, pf_id, parfors_simple): method get_parfors_simple (line 914) | def get_parfors_simple(self, print_loop_search): method get_all_lines (line 943) | def get_all_lines(self, parfors_simple): method source_listing (line 987) | def source_listing(self, parfors_simple, purpose_str): method print_unoptimised (line 1031) | def print_unoptimised(self, lines): method print_optimised (line 1096) | def print_optimised(self, lines): method allocation_hoist (line 1192) | def allocation_hoist(self): method instruction_hoist (line 1223) | def instruction_hoist(self): method dump (line 1248) | def dump(self, level=1): method __str__ (line 1424) | def __str__(self): method __repr__ (line 1429) | def __repr__(self): class PreParforPass (line 1434) | class PreParforPass(object): method __init__ (line 1438) | def __init__(self, func_ir, typemap, calltypes, typingctx, targetctx, method run (line 1458) | def run(self): method _replace_parallel_functions (line 1468) | def _replace_parallel_functions(self, blocks): function find_template (line 1599) | def find_template(op): class ParforPassStates (line 1605) | class ParforPassStates: method __init__ (line 1609) | def __init__(self, func_ir, typemap, calltypes, return_type, typingctx, class ConvertInplaceBinop (line 1635) | class ConvertInplaceBinop: method __init__ (line 1638) | def __init__(self, pass_states): method run (line 1647) | def run(self, blocks): method _inplace_binop_to_parfor (line 1684) | def _inplace_binop_to_parfor(self, equiv_set, loc, op, target, value): method _type_getitem (line 1748) | def _type_getitem(self, args): function get_index_var (line 1753) | def get_index_var(x): class ConvertSetItemPass (line 1757) | class ConvertSetItemPass: method __init__ (line 1760) | def __init__(self, pass_states): method run (line 1769) | def run(self, blocks): method _setitem_to_parfor (line 1851) | def _setitem_to_parfor(self, equiv_set, loc, target, index, value, sha... method _type_getitem (line 1945) | def _type_getitem(self, args): function _make_index_var (line 1950) | def _make_index_var(typemap, scope, index_vars, body_block, force_tuple=... function _mk_parfor_loops (line 1979) | def _mk_parfor_loops(typemap, size_vars, scope, loc): class ConvertNumpyPass (line 1992) | class ConvertNumpyPass: method __init__ (line 1997) | def __init__(self, pass_states): method run (line 2001) | def run(self, blocks): method _is_C_order (line 2039) | def _is_C_order(self, arr_name): method _is_C_or_F_order (line 2050) | def _is_C_or_F_order(self, arr_name): method _arrayexpr_to_parfor (line 2061) | def _arrayexpr_to_parfor(self, equiv_set, lhs, arrayexpr, avail_vars): method _is_supported_npycall (line 2119) | def _is_supported_npycall(self, expr): method _numpy_to_parfor (line 2133) | def _numpy_to_parfor(self, equiv_set, lhs, expr): method _numpy_map_to_parfor (line 2144) | def _numpy_map_to_parfor(self, equiv_set, call_name, lhs, args, kws, e... class ConvertReducePass (line 2213) | class ConvertReducePass: method __init__ (line 2217) | def __init__(self, pass_states): method run (line 2221) | def run(self, blocks): method _reduce_to_parfor (line 2252) | def _reduce_to_parfor(self, equiv_set, lhs, args, loc): method _mk_reduction_body (line 2319) | def _mk_reduction_body(self, call_name, scope, loc, class ConvertLoopPass (line 2363) | class ConvertLoopPass: method __init__ (line 2366) | def __init__(self, pass_states): method run (line 2370) | def run(self, blocks): method _is_parallel_loop (line 2685) | def _is_parallel_loop(self, func_var, call_table): method _get_loop_kind (line 2694) | def _get_loop_kind(self, func_var, call_table): method _get_prange_init_block (line 2714) | def _get_prange_init_block(self, entry_block, call_table, prange_args): method _is_prange_init (line 2753) | def _is_prange_init(self, func_var, call_table): method _replace_loop_access_indices (line 2759) | def _replace_loop_access_indices(self, loop_body, index_set, new_index): method _replace_multi_dim_ind (line 2829) | def _replace_multi_dim_ind(self, ind_var, index_set, new_index): function _find_mask (line 2846) | def _find_mask(typemap, func_ir, arr_def): class ParforPass (line 2895) | class ParforPass(ParforPassStates): method _pre_run (line 2903) | def _pre_run(self): method run (line 2910) | def run(self): method _find_mask (line 2937) | def _find_mask(self, arr_def): method _mk_parfor_loops (line 2945) | def _mk_parfor_loops(self, size_vars, scope, loc): class ParforFusionPass (line 2952) | class ParforFusionPass(ParforPassStates): method run (line 2957) | def run(self): method fuse_parfors (line 3010) | def fuse_parfors(self, array_analysis, blocks, func_ir, typemap): method fuse_recursive_parfor (line 3046) | def fuse_recursive_parfor(self, parfor, equiv_set, func_ir, typemap): class ParforPreLoweringPass (line 3057) | class ParforPreLoweringPass(ParforPassStates): method run (line 3062) | def run(self): function _remove_size_arg (line 3140) | def _remove_size_arg(call_name, expr): function _get_call_arg_types (line 3180) | def _get_call_arg_types(expr, typemap): function _arrayexpr_tree_to_ir (line 3192) | def _arrayexpr_tree_to_ir( function _gen_np_divide (line 3305) | def _gen_np_divide(arg1, arg2, out_ir, typemap, typingctx): function _gen_arrayexpr_getitem (line 3330) | def _gen_arrayexpr_getitem( function _find_func_var (line 3407) | def _find_func_var(typemap, func, avail_vars, loc): function lower_parfor_sequential (line 3418) | def lower_parfor_sequential(typingctx, func_ir, typemap, calltypes, meta... function _lower_parfor_sequential_block (line 3438) | def _lower_parfor_sequential_block( function _find_first_parfor (line 3509) | def _find_first_parfor(body): function get_parfor_params (line 3516) | def get_parfor_params(blocks, options_fusion, fusion_info): function _combine_params_races_for_ssa_names (line 3551) | def _combine_params_races_for_ssa_names(scope, params, races): function get_parfor_params_inner (line 3575) | def get_parfor_params_inner(parfor, pre_defs, options_fusion, fusion_info): function _find_parfors (line 3601) | def _find_parfors(body): function _is_indirect_index (line 3607) | def _is_indirect_index(func_ir, index, nest_indices): function get_array_indexed_with_parfor_index_internal (line 3616) | def get_array_indexed_with_parfor_index_internal(loop_body, function get_array_indexed_with_parfor_index (line 3659) | def get_array_indexed_with_parfor_index(loop_body, function get_parfor_outputs (line 3675) | def get_parfor_outputs(parfor, parfor_params): function get_parfor_reductions (line 3700) | def get_parfor_reductions(func_ir, parfor, parfor_params, calltypes, red... function check_conflicting_reduction_operators (line 3782) | def check_conflicting_reduction_operators(param, nodes): function get_reduction_init (line 3801) | def get_reduction_init(nodes): function supported_reduction (line 3828) | def supported_reduction(x, func_ir): function get_reduce_nodes (line 3856) | def get_reduce_nodes(reduction_node, nodes, func_ir): function get_expr_args (line 3966) | def get_expr_args(expr): function visit_parfor_pattern_vars (line 3976) | def visit_parfor_pattern_vars(parfor, callback, cbdata): function visit_vars_parfor (line 3991) | def visit_vars_parfor(parfor, callback, cbdata): function parfor_defs (line 4013) | def parfor_defs(parfor, use_set=None, def_set=None): function _parfor_use_alloca (line 4068) | def _parfor_use_alloca(parfor, alloca_set): function parfor_insert_dels (line 4084) | def parfor_insert_dels(parfor, curr_dead_set): function maximize_fusion (line 4133) | def maximize_fusion(func_ir, blocks, typemap, up_direction=True): function maximize_fusion_inner (line 4157) | def maximize_fusion_inner(func_ir, block, call_table, alias_map, function expand_aliases (line 4177) | def expand_aliases(the_set, alias_map, arg_aliases): function _can_reorder_stmts (line 4187) | def _can_reorder_stmts(stmt, next_stmt, func_ir, call_table, function is_assert_equiv (line 4216) | def is_assert_equiv(func_ir, expr): function get_parfor_writes (line 4221) | def get_parfor_writes(parfor): function try_fuse (line 4235) | def try_fuse(equiv_set, parfor1, parfor2, metadata, func_ir, typemap): function fuse_parfors_inner (line 4346) | def fuse_parfors_inner(parfor1, parfor2): function remove_duplicate_definitions (line 4389) | def remove_duplicate_definitions(blocks, nameset): function has_cross_iter_dep (line 4409) | def has_cross_iter_dep( function dprint (line 4643) | def dprint(*s): function get_parfor_pattern_vars (line 4647) | def get_parfor_pattern_vars(parfor): function remove_dead_parfor (line 4661) | def remove_dead_parfor(parfor, lives, lives_n_aliases, arg_aliases, alia... function _update_parfor_get_setitems (line 4763) | def _update_parfor_get_setitems(block_body, index_var, alias_map, function remove_dead_parfor_recursive (line 4799) | def remove_dead_parfor_recursive(parfor, lives, arg_aliases, alias_map, function _add_liveness_return_block (line 4841) | def _add_liveness_return_block(blocks, lives, typemap): function find_potential_aliases_parfor (line 4861) | def find_potential_aliases_parfor(parfor, args, typemap, func_ir, alias_... function simplify_parfor_body_CFG (line 4870) | def simplify_parfor_body_CFG(blocks): function wrap_parfor_blocks (line 4894) | def wrap_parfor_blocks(parfor, entry_label = None): function unwrap_parfor_blocks (line 4910) | def unwrap_parfor_blocks(parfor, blocks=None): function get_copies_parfor (line 4938) | def get_copies_parfor(parfor, typemap): function apply_copies_parfor (line 4966) | def apply_copies_parfor(parfor, var_dict, name_var_table, function push_call_vars (line 5000) | def push_call_vars(blocks, saved_globals, saved_getattrs, typemap, neste... function _get_saved_call_nodes (line 5056) | def _get_saved_call_nodes(fname, saved_globals, saved_getattrs, block_de... function repr_arrayexpr (line 5089) | def repr_arrayexpr(arrayexpr): function fix_generator_types (line 5117) | def fix_generator_types(generator_info, return_type, typemap): function get_parfor_call_table (line 5128) | def get_parfor_call_table(parfor, call_table=None, reverse_call_table=No... function get_parfor_tuple_table (line 5143) | def get_parfor_tuple_table(parfor, tuple_table=None): function get_parfor_array_accesses (line 5155) | def get_parfor_array_accesses(parfor, accesses=None): function parfor_add_offset_to_labels (line 5168) | def parfor_add_offset_to_labels(parfor, offset): function parfor_find_max_label (line 5180) | def parfor_find_max_label(parfor): function parfor_typeinfer (line 5189) | def parfor_typeinfer(parfor, typeinferer): function build_parfor_definitions (line 5210) | def build_parfor_definitions(parfor, definitions=None): function dummy_return_in_loop_body (line 5224) | def dummy_return_in_loop_body(loop_body): class ReduceInfer (line 5238) | class ReduceInfer(AbstractTemplate): method generic (line 5239) | def generic(self, args, kws): function ensure_parallel_support (line 5247) | def ensure_parallel_support(): FILE: numba/parfors/parfor_lowering.py class ParforLower (line 45) | class ParforLower(lowering.Lower): method lower_inst (line 50) | def lower_inst(self, inst): method _disable_sroa_like_opt (line 57) | def _disable_sroa_like_opt(self): function _lower_parfor_parallel (line 66) | def _lower_parfor_parallel(lowerer, parfor): function _lower_parfor_parallel_std (line 73) | def _lower_parfor_parallel_std(lowerer, parfor): function _parfor_lowering_finalize_reduction (line 428) | def _parfor_lowering_finalize_reduction( class ParforsUnexpectedReduceNodeError (line 464) | class ParforsUnexpectedReduceNodeError(InternalError): method __init__ (line 465) | def __init__(self, inst): function _lower_trivial_inplace_binops (line 469) | def _lower_trivial_inplace_binops(parfor, lowerer, thread_count_var, red... function _lower_non_trivial_reduce (line 506) | def _lower_non_trivial_reduce(parfor, lowerer, thread_count_var, reduce_... function _lower_var_to_var_assign (line 544) | def _lower_var_to_var_assign(lowerer, inst): function _emit_getitem_call (line 555) | def _emit_getitem_call(idx, lowerer, reduce_info): function _emit_binop_reduce_call (line 571) | def _emit_binop_reduce_call(binop, lowerer, thread_count_var, reduce_info): function _is_right_op_and_rhs_is_init (line 628) | def _is_right_op_and_rhs_is_init(inst, redvar_name, op): function _fix_redvar_name_ssa_mismatch (line 643) | def _fix_redvar_name_ssa_mismatch(parfor, lowerer, inst, redvar_name): function _create_shape_signature (line 678) | def _create_shape_signature( function _print_block (line 747) | def _print_block(block): function _print_body (line 751) | def _print_body(body_dict): function wrap_loop_body (line 761) | def wrap_loop_body(loop_body): function unwrap_loop_body (line 769) | def unwrap_loop_body(loop_body): function add_to_def_once_sets (line 773) | def add_to_def_once_sets(a_def, def_once, def_more): function compute_def_once_block (line 789) | def compute_def_once_block(block, def_once, def_more, getattr_taken, typ... function wrap_find_topo (line 851) | def wrap_find_topo(loop_body): function compute_def_once_internal (line 857) | def compute_def_once_internal(loop_body, def_once, def_more, getattr_tak... function compute_def_once (line 877) | def compute_def_once(loop_body, typemap): function find_vars (line 887) | def find_vars(var, varset): function _hoist_internal (line 892) | def _hoist_internal(inst, dep_on_param, call_table, hoisted, not_hoisted, function find_setitems_block (line 930) | def find_setitems_block(setitems, itemsset, block, typemap): function find_setitems_body (line 965) | def find_setitems_body(setitems, itemsset, loop_body, typemap): function empty_container_allocator_hoist (line 974) | def empty_container_allocator_hoist(inst, dep_on_param, call_table, hois... function hoist (line 986) | def hoist(parfor_params, loop_body, typemap, wrapped_blocks): function redtyp_is_scalar (line 1039) | def redtyp_is_scalar(redtype): function redtyp_to_redarraytype (line 1042) | def redtyp_to_redarraytype(redtyp): function redarraytype_to_sig (line 1054) | def redarraytype_to_sig(redarraytyp): function legalize_names_with_typemap (line 1060) | def legalize_names_with_typemap(names, typemap): function to_scalar_from_0d (line 1076) | def to_scalar_from_0d(x): function _create_gufunc_for_parfor_body (line 1082) | def _create_gufunc_for_parfor_body( function replace_var_with_array_in_block (line 1627) | def replace_var_with_array_in_block(vars, block, typemap, calltypes): function replace_var_with_array_internal (line 1655) | def replace_var_with_array_internal(vars, loop_body, typemap, calltypes): function replace_var_with_array (line 1659) | def replace_var_with_array(vars, loop_body, typemap, calltypes): function call_parallel_gufunc (line 1666) | def call_parallel_gufunc(lowerer, cres, gu_signature, outer_sig, expr_ar... FILE: numba/parfors/parfor_lowering_utils.py class ParforLoweringBuilder (line 10) | class ParforLoweringBuilder: method __init__ (line 13) | def __init__(self, lowerer, scope, loc): method _context (line 19) | def _context(self): method _typingctx (line 23) | def _typingctx(self): method _typemap (line 27) | def _typemap(self): method _calltypes (line 31) | def _calltypes(self): method bind_global_function (line 34) | def bind_global_function(self, fobj, ftype, args, kws=None): method make_const_variable (line 61) | def make_const_variable(self, cval, typ, name="pf_const") -> ir.Var: method make_tuple_variable (line 81) | def make_tuple_variable(self, varlist, name="pf_tuple") -> ir.Var: method assign (line 102) | def assign(self, rhs, typ, name="pf_assign") -> ir.Var: method assign_inplace (line 125) | def assign_inplace(self, rhs, typ, name) -> ir.Var: method call (line 148) | def call(self, callable_node, args, kws=None) -> ir.Expr: method setitem (line 169) | def setitem(self, obj, index, val) -> ir.SetItem: method getitem (line 194) | def getitem(self, obj, index, typ) -> ir.Expr: FILE: numba/pycc/cc.py class CC (line 22) | class CC(object): method __init__ (line 47) | def __init__(self, extension_name, source_module=None): method name (line 77) | def name(self): method output_file (line 84) | def output_file(self): method output_file (line 91) | def output_file(self, value): method output_dir (line 95) | def output_dir(self): method output_dir (line 102) | def output_dir(self, value): method use_nrt (line 106) | def use_nrt(self): method use_nrt (line 110) | def use_nrt(self, value): method target_cpu (line 114) | def target_cpu(self): method target_cpu (line 121) | def target_cpu(self, value): method verbose (line 125) | def verbose(self): method verbose (line 132) | def verbose(self, value): method export (line 135) | def export(self, exported_name, sig): method _export_entries (line 152) | def _export_entries(self): method _get_mixin_sources (line 156) | def _get_mixin_sources(self): method _get_mixin_defines (line 163) | def _get_mixin_defines(self): method _get_extra_cflags (line 170) | def _get_extra_cflags(self): method _get_extra_ldflags (line 176) | def _get_extra_ldflags(self): method _compile_mixins (line 186) | def _compile_mixins(self, build_dir): method _compile_object_files (line 201) | def _compile_object_files(self, build_dir): method compile (line 213) | def compile(self): method distutils_extension (line 238) | def distutils_extension(self, **kwargs): class _CCExtension (line 272) | class _CCExtension(Extension): method _prepare_object_files (line 281) | def _prepare_object_files(self, build_ext): method monkey_patch_distutils (line 289) | def monkey_patch_distutils(cls): FILE: numba/pycc/compiler.py function get_header (line 31) | def get_header(): class ExportEntry (line 67) | class ExportEntry(object): method __init__ (line 72) | def __init__(self, symbol, signature, function): method __repr__ (line 77) | def __repr__(self): class _ModuleCompiler (line 81) | class _ModuleCompiler(object): method __init__ (line 113) | def __init__(self, export_entries, module_name, use_nrt=False, method _mangle_method_symbol (line 127) | def _mangle_method_symbol(self, func_name): method _emit_python_wrapper (line 130) | def _emit_python_wrapper(self, llvm_module): method _cull_exports (line 136) | def _cull_exports(self): method write_llvm_bitcode (line 219) | def write_llvm_bitcode(self, output, wrap=False, **kws): method write_native_object (line 225) | def write_native_object(self, output, wrap=False, **kws): method emit_type (line 231) | def emit_type(self, tyobj): method emit_header (line 238) | def emit_header(self, output): method _emit_method_array (line 250) | def _emit_method_array(self, llvm_module): method _emit_environment_array (line 282) | def _emit_environment_array(self, llvm_module, builder, pyapi): method _emit_envgvs_array (line 305) | def _emit_envgvs_array(self, llvm_module, builder, pyapi): method _emit_module_init_code (line 333) | def _emit_module_init_code(self, llvm_module, builder, modobj, class ModuleCompiler (line 349) | class ModuleCompiler(_ModuleCompiler): method module_create_definition (line 416) | def module_create_definition(self): method module_init_definition (line 432) | def module_init_definition(self): method _emit_python_wrapper (line 440) | def _emit_python_wrapper(self, llvm_module): FILE: numba/pycc/decorators.py function export (line 12) | def export(prototype): function exportmany (line 27) | def exportmany(prototypes): function process_input_files (line 37) | def process_input_files(inputs): function clear_export_registry (line 47) | def clear_export_registry(): function parse_prototype (line 56) | def parse_prototype(text): FILE: numba/pycc/modulemixin.c function init_numpy (line 46) | static int type env_def_t (line 68) | typedef struct { function EnvironmentObject (line 82) | static EnvironmentObject * FILE: numba/pycc/platform.py function get_configs (line 28) | def get_configs(arg): function _gentmpfile (line 36) | def _gentmpfile(suffix): function external_compiler_works (line 54) | def external_compiler_works(): class _DummyExtension (line 76) | class _DummyExtension(object): class Toolchain (line 80) | class Toolchain(object): method __init__ (line 82) | def __init__(self): method verbose (line 101) | def verbose(self): method verbose (line 105) | def verbose(self, value): method _raise_external_compiler_error (line 111) | def _raise_external_compiler_error(self): method compile_objects (line 132) | def compile_objects(self, sources, output_dir, method link_shared (line 154) | def link_shared(self, output, objects, libraries=(), method get_python_libraries (line 168) | def get_python_libraries(self): method get_python_library_dirs (line 180) | def get_python_library_dirs(self): method get_python_include_dirs (line 186) | def get_python_include_dirs(self): method get_ext_filename (line 193) | def get_ext_filename(self, ext_name): function _quote_arg (line 200) | def _quote_arg(arg): function _is_sequence (line 211) | def _is_sequence(arg): FILE: numba/pythoncapi_compat.h function PyObject (line 58) | static inline PyObject* _Py_NewRef(PyObject *obj) function PyObject (line 69) | static inline PyObject* _Py_XNewRef(PyObject *obj) function _Py_SET_REFCNT (line 80) | static inline void _Py_SET_REFCNT(PyObject *ob, Py_ssize_t refcnt) function _Py_SET_TYPE (line 127) | static inline void _Py_SET_TYPE(PyObject *ob, PyTypeObject *type) function _Py_SET_SIZE (line 137) | static inline void _Py_SET_SIZE(PyVarObject *ob, Py_ssize_t size) function PyCodeObject (line 147) | static inline PyCodeObject* PyFrame_GetCode(PyFrameObject *frame) function PyCodeObject (line 155) | static inline PyCodeObject* _PyFrame_GetCodeBorrow(PyFrameObject *frame) function PyFrameObject (line 165) | static inline PyFrameObject* PyFrame_GetBack(PyFrameObject *frame) function PyFrameObject (line 173) | static inline PyFrameObject* _PyFrame_GetBackBorrow(PyFrameObject *frame) function PyObject (line 184) | static inline PyObject* PyFrame_GetLocals(PyFrameObject *frame) function PyObject (line 200) | static inline PyObject* PyFrame_GetGlobals(PyFrameObject *frame) function PyObject (line 209) | static inline PyObject* PyFrame_GetBuiltins(PyFrameObject *frame) function PyFrame_GetLasti (line 218) | static inline int PyFrame_GetLasti(PyFrameObject *frame) function PyObject (line 237) | static inline PyObject* PyFrame_GetVar(PyFrameObject *frame, PyObject *n... function PyObject (line 270) | static inline PyObject* function PyInterpreterState (line 291) | static inline PyInterpreterState * function PyFrameObject (line 302) | static inline PyFrameObject* PyThreadState_GetFrame(PyThreadState *tstate) function PyFrameObject (line 310) | static inline PyFrameObject* function PyInterpreterState (line 322) | static inline PyInterpreterState* PyInterpreterState_Get(void) function PyThreadState_GetID (line 342) | static inline uint64_t PyThreadState_GetID(PyThreadState *tstate) function PyThreadState_EnterTracing (line 351) | static inline void PyThreadState_EnterTracing(PyThreadState *tstate) function PyThreadState_LeaveTracing (line 364) | static inline void PyThreadState_LeaveTracing(PyThreadState *tstate) function PyObject (line 381) | static inline PyObject* PyObject_CallNoArgs(PyObject *func) function PyObject (line 392) | static inline PyObject* PyObject_CallOneArg(PyObject *func, PyObject *arg) function PyModule_AddObjectRef (line 401) | static inline int function PyModule_AddType (line 426) | static inline int PyModule_AddType(PyObject *module, PyTypeObject *type) function PyObject_GC_IsTracked (line 450) | static inline int PyObject_GC_IsTracked(PyObject* obj) function PyObject_GC_IsFinalized (line 459) | static inline int PyObject_GC_IsFinalized(PyObject *obj) function _Py_IS_TYPE (line 469) | static inline int _Py_IS_TYPE(PyObject *ob, PyTypeObject *type) { function PyFloat_Pack2 (line 481) | static inline int PyFloat_Pack2(double x, char *p, int le) function PyFloat_Unpack2 (line 484) | static inline double PyFloat_Unpack2(const char *p, int le) function PyFloat_Pack4 (line 495) | static inline int PyFloat_Pack4(double x, char *p, int le) function PyFloat_Pack8 (line 498) | static inline int PyFloat_Pack8(double x, char *p, int le) function PyFloat_Unpack4 (line 501) | static inline double PyFloat_Unpack4(const char *p, int le) function PyFloat_Unpack8 (line 504) | static inline double PyFloat_Unpack8(const char *p, int le) function PyObject (line 511) | static inline PyObject* PyCode_GetCode(PyCodeObject *code) function PyObject (line 520) | static inline PyObject* PyCode_GetVarnames(PyCodeObject *code) function PyObject (line 528) | static inline PyObject* PyCode_GetFreevars(PyCodeObject *code) function PyObject (line 536) | static inline PyObject* PyCode_GetCellvars(PyCodeObject *code) function PyObject (line 555) | static inline PyObject* PyImport_AddModuleRef(const char *name) function PyWeakref_GetRef (line 564) | static inline int PyWeakref_GetRef(PyObject *ref, PyObject **pobj) function Py_ssize_t (line 595) | static inline Py_ssize_t PyVectorcall_NARGS(size_t n) function PyObject (line 604) | static inline PyObject* function PyObject_GetOptionalAttr (line 680) | static inline int function PyObject_GetOptionalAttrString (line 702) | static inline int function PyMapping_GetOptionalItem (line 726) | static inline int function PyMapping_GetOptionalItemString (line 740) | static inline int function PyMapping_HasKeyWithError (line 763) | static inline int function PyMapping_HasKeyStringWithError (line 772) | static inline int function PyObject_HasAttrWithError (line 786) | static inline int function PyObject_HasAttrStringWithError (line 795) | static inline int function PyDict_GetItemRef (line 809) | static inline int function PyDict_GetItemStringRef (line 829) | static inline int function PyModule_Add (line 851) | static inline int function Py_IsFinalizing (line 866) | static inline int Py_IsFinalizing(void) function PyDict_ContainsString (line 880) | static inline int PyDict_ContainsString(PyObject *op, const char *key) function PyLong_AsInt (line 895) | static inline int PyLong_AsInt(PyObject *obj) function PyObject_VisitManagedDict (line 917) | static inline int function PyObject_ClearManagedDict (line 928) | static inline void function PyThreadState (line 942) | static inline PyThreadState* function PyUnicode_EqualToUTF8AndSize (line 952) | static inline int function PyUnicode_EqualToUTF8 (line 1015) | static inline int function PyList_Extend (line 1025) | static inline int function PyList_Clear (line 1031) | static inline int function PyDict_Pop (line 1040) | static inline int function PyDict_PopString (line 1082) | static inline int type Py_ssize_t (line 1102) | typedef Py_ssize_t Py_hash_t; function Py_hash_t (line 1108) | static inline Py_hash_t Py_HashPointer(const void *ptr) type _PyTime_t (line 1122) | typedef _PyTime_t PyTime_t; function PyTime_AsSecondsDouble (line 1126) | static inline double PyTime_AsSecondsDouble(PyTime_t t) function PyTime_Monotonic (line 1129) | static inline int PyTime_Monotonic(PyTime_t *result) function PyTime_Time (line 1132) | static inline int PyTime_Time(PyTime_t *result) function PyTime_PerfCounter (line 1135) | static inline int PyTime_PerfCounter(PyTime_t *result) function PyObject (line 1234) | static inline PyObject* Py_GetConstant(unsigned int constant_id) function PyObject (line 1287) | static inline PyObject* Py_GetConstantBorrowed(unsigned int constant_id) function PyObject (line 1298) | static inline PyObject * function PyDict_SetDefaultRef (line 1310) | static inline int type PyUnicodeWriter (line 1356) | typedef struct PyUnicodeWriter PyUnicodeWriter; function PyUnicodeWriter_Discard (line 1358) | static inline void PyUnicodeWriter_Discard(PyUnicodeWriter *writer) function PyUnicodeWriter (line 1364) | static inline PyUnicodeWriter* PyUnicodeWriter_Create(Py_ssize_t length) function PyObject (line 1389) | static inline PyObject* PyUnicodeWriter_Finish(PyUnicodeWriter *writer) function PyUnicodeWriter_WriteChar (line 1397) | static inline int function PyUnicodeWriter_WriteStr (line 1409) | static inline int function PyUnicodeWriter_WriteRepr (line 1422) | static inline int function PyUnicodeWriter_WriteUTF8 (line 1435) | static inline int function PyUnicodeWriter_WriteWideChar (line 1453) | static inline int function PyUnicodeWriter_WriteSubstring (line 1471) | static inline int function PyUnicodeWriter_Format (line 1492) | static inline int function PyLong_GetSign (line 1511) | static inline int PyLong_GetSign(PyObject *obj, int *sign) function PyUnicode_Equal (line 1526) | static inline int PyUnicode_Equal(PyObject *str1, PyObject *str2) function PyObject (line 1556) | static inline PyObject* PyBytes_Join(PyObject *sep, PyObject *iterable) function Py_hash_t (line 1564) | static inline Py_hash_t Py_HashBuffer(const void *ptr, Py_ssize_t len) function PyIter_NextItem (line 1585) | static inline int PyIter_NextItem(PyObject *iter, PyObject **item) function PyObject (line 1616) | static inline PyObject* PyLong_FromInt32(int32_t value) function PyObject (line 1622) | static inline PyObject* PyLong_FromInt64(int64_t value) function PyObject (line 1628) | static inline PyObject* PyLong_FromUInt32(uint32_t value) function PyObject (line 1634) | static inline PyObject* PyLong_FromUInt64(uint64_t value) function PyLong_AsInt32 (line 1640) | static inline int PyLong_AsInt32(PyObject *obj, int32_t *pvalue) function PyLong_AsInt64 (line 1651) | static inline int PyLong_AsInt64(PyObject *obj, int64_t *pvalue) function PyLong_AsUInt32 (line 1662) | static inline int PyLong_AsUInt32(PyObject *obj, uint32_t *pvalue) function PyLong_AsUInt64 (line 1680) | static inline int PyLong_AsUInt64(PyObject *obj, uint64_t *pvalue) FILE: numba/scripts/generate_lower_listing.py function git_hash (line 22) | def git_hash(): function get_func_name (line 27) | def get_func_name(fn): function gather_function_info (line 31) | def gather_function_info(backend): function bind_file_to_print (line 52) | def bind_file_to_print(fobj): function format_signature (line 56) | def format_signature(sig): function format_function_infos (line 78) | def format_function_infos(fninfos): function gen_lower_listing (line 151) | def gen_lower_listing(path=None): FILE: numba/stencils/stencil.py class StencilFuncLowerer (line 23) | class StencilFuncLowerer(object): method __init__ (line 26) | def __init__(self, sf): method __call__ (line 29) | def __call__(self, context, builder, sig, args): function raise_if_incompatible_array_sizes (line 37) | def raise_if_incompatible_array_sizes(a, *args): function slice_addition (line 59) | def slice_addition(the_slice, addend): class StencilFunc (line 65) | class StencilFunc(object): method __init__ (line 72) | def __init__(self, kernel_ir, mode, options): method replace_return_with_setitem (line 88) | def replace_return_with_setitem(self, blocks, index_vars, out_name): method add_indices_to_kernel (line 130) | def add_indices_to_kernel(self, kernel, index_names, ndim, method get_return_type (line 331) | def get_return_type(self, argtys): method _install_type (line 356) | def _install_type(self, typingctx): method compile_for_argtys (line 366) | def compile_for_argtys(self, argtys, kwtys, return_type, sigret): method _type_me (line 373) | def _type_me(self, argtys, kwtys): method copy_ir_with_calltypes (line 414) | def copy_ir_with_calltypes(self, ir, calltypes): method _stencil_wrapper (line 441) | def _stencil_wrapper(self, result, sigret, return_type, typemap, callt... method __call__ (line 770) | def __call__(self, *args, **kwargs): function stencil (line 804) | def stencil(func_or_mode='constant', **options): function _stencil (line 822) | def _stencil(mode, options): function stencil_dummy_lower (line 834) | def stencil_dummy_lower(context, builder, sig, args): FILE: numba/stencils/stencilparfor.py function _compute_last_ind (line 27) | def _compute_last_ind(dim_size, index_const): class StencilPass (line 33) | class StencilPass(object): method __init__ (line 34) | def __init__(self, func_ir, typemap, calltypes, array_analysis, typing... method run (line 44) | def run(self): method replace_return_with_setitem (line 106) | def replace_return_with_setitem(self, blocks, exit_value_var, method _mk_stencil_parfor (line 131) | def _mk_stencil_parfor(self, label, in_args, out_arr, stencil_ir, method _get_stencil_last_ind (line 501) | def _get_stencil_last_ind(self, dim_size, end_length, gen_nodes, scope, method _get_stencil_start_ind (line 535) | def _get_stencil_start_ind(self, start_length, gen_nodes, scope, loc): method _replace_stencil_accesses (line 550) | def _replace_stencil_accesses(self, stencil_ir, parfor_vars, in_args, method _add_index_offsets (line 695) | def _add_index_offsets(self, index_list, index_offsets, new_body, method _add_offset_to_slice (line 763) | def _add_offset_to_slice(self, slice_var, offset_var, out_nodes, scope, function get_stencil_ir (line 789) | def get_stencil_ir(sf, typingctx, args, scope, loc, input_dict, typemap, class DummyPipeline (line 878) | class DummyPipeline(object): method __init__ (line 879) | def __init__(self, typingctx, targetctx, args, f_ir): function _get_const_index_expr (line 891) | def _get_const_index_expr(stencil_ir, func_ir, index_var): function _get_const_index_expr_inner (line 903) | def _get_const_index_expr_inner(stencil_ir, func_ir, index_var): function _get_const_two_irs (line 926) | def _get_const_two_irs(ir1, ir2, var): function _get_const_unary_expr (line 938) | def _get_const_unary_expr(stencil_ir, func_ir, index_def): function _get_const_binary_expr (line 949) | def _get_const_binary_expr(stencil_ir, func_ir, index_def): FILE: numba/testing/__init__.py function load_testsuite (line 13) | def load_testsuite(loader, dir): function run_tests (line 36) | def run_tests(argv=None, defaultTest=None, topleveldir=None, FILE: numba/testing/_runtests.py function _main (line 6) | def _main(argv, **kwds): function main (line 29) | def main(*argv, **kwds): class _FailedFirstRunner (line 35) | class _FailedFirstRunner(object): method __init__ (line 41) | def __init__(self, last_failed=False): method main (line 44) | def main(self, argv, kwds): method save_failed_tests (line 80) | def save_failed_tests(self, result, all_tests): method find_last_failed (line 95) | def find_last_failed(self, argv): FILE: numba/testing/loader.py class TestLoader (line 5) | class TestLoader(loader.TestLoader): method __init__ (line 7) | def __init__(self, topleveldir=None): method _find_tests (line 11) | def _find_tests(self, start_dir, pattern, namespace=False): FILE: numba/testing/main.py function make_tag_decorator (line 30) | def make_tag_decorator(known_tags): function _get_mtime (line 66) | def _get_mtime(cls): function cuda_sensitive_mtime (line 73) | def cuda_sensitive_mtime(x): function parse_slice (line 91) | def parse_slice(useslice): class TestLister (line 124) | class TestLister(object): method __init__ (line 126) | def __init__(self, useslice): method run (line 129) | def run(self, test): class SerialSuite (line 142) | class SerialSuite(unittest.TestSuite): method __init__ (line 151) | def __init__(self, tests=()): method addTest (line 155) | def addTest(self, test): method run (line 165) | def run(self, result): class BasicTestRunner (line 177) | class BasicTestRunner(runner.TextTestRunner): method __init__ (line 178) | def __init__(self, useslice, **kwargs): method run (line 182) | def run(self, test): class NumbaTestProgram (line 192) | class NumbaTestProgram(unittest.main): method __init__ (line 213) | def __init__(self, *args, **kwargs): method _getParentArgParser (line 223) | def _getParentArgParser(self): method _handle_tags (line 268) | def _handle_tags(self, argv, tagstr): method parseArgs (line 305) | def parseArgs(self, argv): method _do_discovery (line 341) | def _do_discovery(self, argv, Loader=None): method runTests (line 348) | def runTests(self): function _flatten_suite_inner (line 410) | def _flatten_suite_inner(test): function _flatten_suite (line 423) | def _flatten_suite(test): function _choose_gitdiff_tests (line 446) | def _choose_gitdiff_tests(tests, *, use_common_ancestor=False): function _choose_tagged_tests (line 471) | def _choose_tagged_tests(tests, tags, mode='include'): function _choose_random_tests (line 502) | def _choose_random_tests(tests, ratio, seed): function _refleak_cleanup (line 518) | def _refleak_cleanup(): class ReferenceLeakError (line 538) | class ReferenceLeakError(RuntimeError): class IntPool (line 542) | class IntPool(collections.defaultdict): method __missing__ (line 544) | def __missing__(self, key): class RefleakTestResult (line 548) | class RefleakTestResult(runner.TextTestResult): method _huntLeaks (line 553) | def _huntLeaks(self, test): method addSuccess (line 584) | def addSuccess(self, test): class RefleakTestRunner (line 626) | class RefleakTestRunner(runner.TextTestRunner): class ParallelTestResult (line 630) | class ParallelTestResult(runner.TextTestResult): method add_results (line 635) | def add_results(self, result): class _MinimalResult (line 649) | class _MinimalResult(object): method fixup_case (line 659) | def fixup_case(self, case): method __init__ (line 666) | def __init__(self, original_result, test_id=None, resource_info=None): class _FakeStringIO (line 679) | class _FakeStringIO(object): method __init__ (line 684) | def __init__(self, value): method getvalue (line 687) | def getvalue(self): class _MinimalRunner (line 691) | class _MinimalRunner(object): method __init__ (line 697) | def __init__(self, runner_cls, runner_args): method __call__ (line 704) | def __call__(self, test): method cleanup_object (line 728) | def cleanup_object(self, test): function _split_nonparallel_tests (line 742) | def _split_nonparallel_tests(test, sliced): class ParallelTestRunner (line 772) | class ParallelTestRunner(runner.TextTestRunner): method __init__ (line 781) | def __init__(self, runner_cls, nprocs, useslice, **kwargs): method _run_inner (line 789) | def _run_inner(self, result): method _run_parallel_tests (line 840) | def _run_parallel_tests(self, result, pool, child_runner, tests): method run (line 864) | def run(self, test): FILE: numba/testing/notebook.py function isstr (line 16) | def isstr(s): function isstr (line 22) | def isstr(s): class NotebookTest (line 25) | class NotebookTest(TestCase): method _test_notebook (line 40) | def _test_notebook(self, notebook, test): method _test_notebook_cell (line 48) | def _test_notebook_cell(self, cell, i, kernel, test): method dump_canonical (line 90) | def dump_canonical(self, obj): method scrub_outputs (line 93) | def scrub_outputs(self, outputs): method strip_keys (line 118) | def strip_keys(self, d): method sanitize_cell (line 126) | def sanitize_cell(self, cell): method transform_message (line 134) | def transform_message(self, msg, expected): method should_continue (line 161) | def should_continue(self, msg): FILE: numba/tests/__init__.py function load_tests (line 25) | def load_tests(loader, tests, pattern): FILE: numba/tests/annotation_usecases.py class AnnotatedClass (line 7) | class AnnotatedClass: method __init__ (line 12) | def __init__(self, v: int): method add (line 15) | def add(self, v: int) -> int: FILE: numba/tests/cache_usecases.py function simple_usecase (line 20) | def simple_usecase(x): function simple_usecase_caller (line 23) | def simple_usecase_caller(x): function add_usecase (line 28) | def add_usecase(x, y): function add_objmode_usecase (line 33) | def add_objmode_usecase(x, y): function add_nocache_usecase (line 39) | def add_nocache_usecase(x, y): function inner (line 44) | def inner(x, y): function outer (line 48) | def outer(x, y): function outer_uncached (line 52) | def outer_uncached(x, y): function looplifted (line 57) | def looplifted(n): function use_c_sin (line 66) | def use_c_sin(x): function use_c_sin_nest1 (line 70) | def use_c_sin_nest1(x): function use_c_sin_nest2 (line 74) | def use_c_sin_nest2(x): function ambiguous_function (line 79) | def ambiguous_function(x): function ambiguous_function (line 85) | def ambiguous_function(x): function make_closure (line 91) | def make_closure(x): function use_big_array (line 107) | def use_big_array(): function record_return (line 127) | def record_return(ary, i): class _TestModule (line 131) | class _TestModule(TestCase): method check_module (line 138) | def check_module(self, mod): function first_class_function_mul (line 151) | def first_class_function_mul(x): function first_class_function_add (line 156) | def first_class_function_add(x): function first_class_function_usecase (line 161) | def first_class_function_usecase(f, x): function self_test (line 165) | def self_test(): function parfor_usecase (line 171) | def parfor_usecase(ary): FILE: numba/tests/cffi_usecases.py function load_inline_module (line 10) | def load_inline_module(): function load_ool_module (line 33) | def load_ool_module(): function init (line 120) | def init(): function init_ool (line 134) | def init_ool(): function use_cffi_sin (line 156) | def use_cffi_sin(x): function use_two_funcs (line 159) | def use_two_funcs(x): function use_cffi_sin_ool (line 162) | def use_cffi_sin_ool(x): function use_cffi_boolean_true (line 165) | def use_cffi_boolean_true(): function use_two_funcs_ool (line 168) | def use_two_funcs_ool(x): function use_func_pointer (line 171) | def use_func_pointer(fa, fb, x): function use_user_defined_symbols (line 177) | def use_user_defined_symbols(): function vector_sin_float32 (line 184) | def vector_sin_float32(x, y): function vector_sin_float64 (line 187) | def vector_sin_float64(x, y): function vector_extract_real (line 193) | def vector_extract_real(x, y): function vector_extract_imag (line 196) | def vector_extract_imag(x, y): FILE: numba/tests/cfunc_cache_usecases.py function add_usecase (line 22) | def add_usecase(x, y): function add_nocache_usecase (line 26) | def add_nocache_usecase(x, y): function div_usecase (line 30) | def div_usecase(a, b): function inner (line 35) | def inner(x, y): function outer (line 39) | def outer(x, y): class _TestModule (line 43) | class _TestModule(TestCase): method check_module (line 50) | def check_module(self, mod): function self_test (line 68) | def self_test(): FILE: numba/tests/chained_assign_usecases.py function inc (line 6) | def inc(a): function inc1 (line 13) | def inc1(a): function inc2 (line 19) | def inc2(a): function chain1 (line 24) | def chain1(a): function chain2 (line 29) | def chain2(v): function unpack1 (line 35) | def unpack1(x, y): function unpack2 (line 40) | def unpack2(x, y): function chain3 (line 45) | def chain3(x, y): function unpack3 (line 51) | def unpack3(x): function unpack4 (line 56) | def unpack4(x): function unpack5 (line 61) | def unpack5(x): function unpack6 (line 67) | def unpack6(x, y): FILE: numba/tests/cloudpickle_main_class.py class Klass (line 5) | class Klass: FILE: numba/tests/compile_with_pycc.py function mult (line 22) | def mult(a, b): function get_none (line 27) | def get_none(): function div (line 31) | def div(x, y): function square (line 39) | def square(u): function power (line 47) | def power(u, v): function sqrt (line 51) | def sqrt(u): function size (line 55) | def size(arr): function np_sqrt (line 60) | def np_sqrt(u): function np_spacing (line 64) | def np_spacing(u): function random_impl (line 70) | def random_impl(seed): function zero_scalar (line 79) | def zero_scalar(n): function vector_dot (line 86) | def vector_dot(n): function zeros (line 92) | def zeros(n): function np_argsort (line 97) | def np_argsort(arr): function dict_usecase (line 111) | def dict_usecase(arr): function internal_str_dict (line 122) | def internal_str_dict(x): function internal_str_dict (line 129) | def internal_str_dict(x): function internal_str_dict (line 133) | def internal_str_dict(): function do_setitem1 (line 142) | def do_setitem1(a, b): function do_setitem2 (line 146) | def do_setitem2(a, b): FILE: numba/tests/complex_usecases.py function div_usecase (line 4) | def div_usecase(x, y): function real_usecase (line 8) | def real_usecase(x): function imag_usecase (line 11) | def imag_usecase(x): function conjugate_usecase (line 14) | def conjugate_usecase(x): function acos_usecase (line 18) | def acos_usecase(x): function cos_usecase (line 21) | def cos_usecase(x): function asin_usecase (line 24) | def asin_usecase(x): function sin_usecase (line 27) | def sin_usecase(x): function atan_usecase (line 30) | def atan_usecase(x): function tan_usecase (line 33) | def tan_usecase(x): function acosh_usecase (line 36) | def acosh_usecase(x): function cosh_usecase (line 39) | def cosh_usecase(x): function asinh_usecase (line 42) | def asinh_usecase(x): function sinh_usecase (line 45) | def sinh_usecase(x): function atanh_usecase (line 48) | def atanh_usecase(x): function tanh_usecase (line 51) | def tanh_usecase(x): function exp_usecase (line 54) | def exp_usecase(x): function isfinite_usecase (line 57) | def isfinite_usecase(x): function isinf_usecase (line 60) | def isinf_usecase(x): function isnan_usecase (line 63) | def isnan_usecase(x): function log_usecase (line 66) | def log_usecase(x): function log_base_usecase (line 69) | def log_base_usecase(x, base): function log10_usecase (line 72) | def log10_usecase(x): function phase_usecase (line 75) | def phase_usecase(x): function polar_usecase (line 78) | def polar_usecase(x): function polar_as_complex_usecase (line 83) | def polar_as_complex_usecase(x): function rect_usecase (line 89) | def rect_usecase(r, phi): function sqrt_usecase (line 92) | def sqrt_usecase(x): FILE: numba/tests/ctypes_usecases.py function use_c_sin (line 22) | def use_c_sin(x): function use_two_funcs (line 29) | def use_two_funcs(x): function use_c_vsquare (line 41) | def use_c_vsquare(x): function use_c_vcube (line 46) | def use_c_vcube(x): function use_c_untyped (line 55) | def use_c_untyped(x): function use_ctype_wrapping (line 62) | def use_ctype_wrapping(x): function use_c_sleep (line 81) | def use_c_sleep(x): function use_c_pointer (line 85) | def use_c_pointer(x): function use_func_pointer (line 95) | def use_func_pointer(fa, fb, x): function call_me_maybe (line 104) | def call_me_maybe(arr): function take_array_ptr (line 111) | def take_array_ptr(ptr): FILE: numba/tests/doc_examples/__init__.py function load_tests (line 7) | def load_tests(loader, tests, pattern): FILE: numba/tests/doc_examples/test_examples.py class MatplotlibBlocker (line 12) | class MatplotlibBlocker: method find_spec (line 16) | def find_spec(self, fullname, path, target=None): class DocsExamplesTest (line 22) | class DocsExamplesTest(TestCase): method __init__ (line 24) | def __init__(self, *args, **kwargs): method setUp (line 28) | def setUp(self): method tearDown (line 31) | def tearDown(self): method test_mandelbrot (line 34) | def test_mandelbrot(self): method test_moving_average (line 89) | def test_moving_average(self): method test_nogil (line 115) | def test_nogil(self): method test_vectorize_one_signature (line 203) | def test_vectorize_one_signature(self): method test_vectorize_multiple_signatures (line 213) | def test_vectorize_multiple_signatures(self): method test_guvectorize (line 294) | def test_guvectorize(self): method test_guvectorize_scalar_return (line 339) | def test_guvectorize_scalar_return(self): method test_guvectorize_jit (line 362) | def test_guvectorize_jit(self): method test_guvectorize_jit_fail (line 387) | def test_guvectorize_jit_fail(self): method test_guvectorize_overwrite (line 410) | def test_guvectorize_overwrite(self): method test_vectorize_dynamic (line 515) | def test_vectorize_dynamic(self): method test_guvectorize_dynamic (line 597) | def test_guvectorize_dynamic(self): FILE: numba/tests/doc_examples/test_interval_example.py class IntervalExampleTest (line 10) | class IntervalExampleTest(unittest.TestCase): method test_interval_class_usage (line 12) | def test_interval_class_usage(self): FILE: numba/tests/doc_examples/test_jitclass.py class DocsJitclassUsageTest (line 8) | class DocsJitclassUsageTest(TestCase): method test_ex_jitclass (line 10) | def test_ex_jitclass(self): method test_ex_jitclass_type_hints (line 55) | def test_ex_jitclass_type_hints(self): FILE: numba/tests/doc_examples/test_literal_container_usage.py class DocsLiteralContainerUsageTest (line 9) | class DocsLiteralContainerUsageTest(unittest.TestCase): method test_ex_literal_dict_compile_time_consts (line 11) | def test_ex_literal_dict_compile_time_consts(self): method test_ex_initial_value_dict_compile_time_consts (line 58) | def test_ex_initial_value_dict_compile_time_consts(self): method test_ex_literal_list (line 92) | def test_ex_literal_list(self): method test_ex_initial_value_list_compile_time_consts (line 127) | def test_ex_initial_value_list_compile_time_consts(self): FILE: numba/tests/doc_examples/test_literally_usage.py class DocsLiterallyUsageTest (line 7) | class DocsLiterallyUsageTest(unittest.TestCase): method test_literally_usage (line 9) | def test_literally_usage(self): FILE: numba/tests/doc_examples/test_llvm_pass_timings.py class DocsLLVMPassTimings (line 7) | class DocsLLVMPassTimings(unittest.TestCase): method test_pass_timings (line 9) | def test_pass_timings(self): FILE: numba/tests/doc_examples/test_numpy_generators.py class NumpyGeneratorUsageTest (line 8) | class NumpyGeneratorUsageTest(unittest.TestCase): method test_numpy_gen_usage (line 10) | def test_numpy_gen_usage(self): FILE: numba/tests/doc_examples/test_parallel_chunksize.py class ChunksizeExamplesTest (line 11) | class ChunksizeExamplesTest(TestCase): method setUp (line 15) | def setUp(self): method tearDown (line 18) | def tearDown(self): method test_unbalanced_example (line 21) | def test_unbalanced_example(self): method test_chunksize_manual (line 49) | def test_chunksize_manual(self): method test_chunksize_with (line 91) | def test_chunksize_with(self): FILE: numba/tests/doc_examples/test_rec_array.py class TestExample (line 4) | class TestExample(unittest.TestCase): method test_documentation_example1 (line 6) | def test_documentation_example1(self): method test_documentation_example2 (line 25) | def test_documentation_example2(self): FILE: numba/tests/doc_examples/test_structref_usage.py class MyStructType (line 20) | class MyStructType(types.StructRef): method preprocess_fields (line 21) | def preprocess_fields(self, fields): class MyStruct (line 31) | class MyStruct(structref.StructRefProxy): method __new__ (line 32) | def __new__(cls, name, vector): method name (line 45) | def name(self): method vector (line 52) | def vector(self): function MyStruct_get_name (line 58) | def MyStruct_get_name(self): function MyStruct_get_vector (line 65) | def MyStruct_get_vector(self): class TestStructRefUsage (line 77) | class TestStructRefUsage(unittest.TestCase): method test_type_definition (line 78) | def test_type_definition(self): method test_overload_method (line 119) | def test_overload_method(self): FILE: numba/tests/doc_examples/test_typed_dict_usage.py class DocsTypedDictUsageTest (line 8) | class DocsTypedDictUsageTest(unittest.TestCase): method test_ex_typed_dict_from_cpython (line 10) | def test_ex_typed_dict_from_cpython(self): method test_ex_typed_dict_njit (line 52) | def test_ex_typed_dict_njit(self): method test_ex_inferred_dict_njit (line 83) | def test_ex_inferred_dict_njit(self): FILE: numba/tests/doc_examples/test_typed_list_usage.py class DocsTypedListUsageTest (line 8) | class DocsTypedListUsageTest(unittest.TestCase): method test_ex_inferred_list_jit (line 10) | def test_ex_inferred_list_jit(self): method test_ex_inferred_list (line 38) | def test_ex_inferred_list(self): method test_ex_nested_list (line 76) | def test_ex_nested_list(self): FILE: numba/tests/doctest_usecase.py function a (line 10) | def a(): function b (line 16) | def b(): function c (line 22) | def c(x, y, res): function d (line 29) | def d(x, y): FILE: numba/tests/dummy_module.py function function (line 3) | def function(): FILE: numba/tests/enum_usecases.py class Color (line 4) | class Color(Enum): class Shake (line 10) | class Shake(Enum): class Planet (line 18) | class Planet(Enum): class HeterogeneousEnum (line 29) | class HeterogeneousEnum(Enum): class Shape (line 35) | class Shape(IntEnum): class RequestError (line 42) | class RequestError(IntEnum): class IntEnumWithNegatives (line 47) | class IntEnumWithNegatives(IntEnum): FILE: numba/tests/error_usecases.py function foo (line 5) | def foo(): FILE: numba/tests/errorhandling_usecases.py function global_reflected_write (line 9) | def global_reflected_write(): function global_dict_write (line 13) | def global_dict_write(): FILE: numba/tests/gdb/__init__.py function load_tests (line 7) | def load_tests(loader, tests, pattern): FILE: numba/tests/gdb/test_array_arg.py class Test (line 10) | class Test(TestCase): method test (line 12) | def test(self): FILE: numba/tests/gdb/test_basic.py class Test (line 9) | class Test(TestCase): method test (line 11) | def test(self): FILE: numba/tests/gdb/test_break_on_symbol.py function foo (line 9) | def foo(x): class Test (line 15) | class Test(TestCase): method test (line 17) | def test(self): FILE: numba/tests/gdb/test_break_on_symbol_version.py function foo_factory (line 8) | def foo_factory(n): function call_foo (line 21) | def call_foo(): class Test (line 29) | class Test(TestCase): method test (line 31) | def test(self): FILE: numba/tests/gdb/test_conditional_breakpoint.py class Test (line 9) | class Test(TestCase): method test (line 11) | def test(self): FILE: numba/tests/gdb/test_pretty_print.py class Test (line 13) | class Test(TestCase): method test (line 15) | def test(self): FILE: numba/tests/gdb_support.py class GdbMIDriver (line 38) | class GdbMIDriver(object): method __init__ (line 43) | def __init__(self, file_name, debug=False, timeout=120, init_cmds=None): method _drive (line 60) | def _drive(self): method supports_python (line 71) | def supports_python(self): method supports_numpy (line 76) | def supports_numpy(self): method _captured_expect (line 87) | def _captured_expect(self, expect): method assert_output (line 94) | def assert_output(self, expected): method assert_regex_output (line 100) | def assert_regex_output(self, expected): method _run_command (line 109) | def _run_command(self, command, expect=''): method run (line 113) | def run(self): method cont (line 117) | def cont(self): method quit (line 121) | def quit(self): method next (line 126) | def next(self): method step (line 130) | def step(self): method set_breakpoint (line 134) | def set_breakpoint(self, line=None, symbol=None, condition=None): method check_hit_breakpoint (line 149) | def check_hit_breakpoint(self, number=None, line=None): method stack_list_arguments (line 160) | def stack_list_arguments(self, print_values=1, low_frame=0, high_frame... method stack_list_variables (line 167) | def stack_list_variables(self, print_values=1): method interpreter_exec (line 173) | def interpreter_exec(self, interpreter=None, command=None): method _list_features_raw (line 182) | def _list_features_raw(self): method list_features (line 186) | def list_features(self): FILE: numba/tests/inlining_usecases.py function bar (line 10) | def bar(): function baz_factory (line 14) | def baz_factory(a): function baz (line 23) | def baz(): function baz_ol (line 28) | def baz_ol(): function bop_factory (line 34) | def bop_factory(a): function inner (line 50) | def inner(a): function more (line 55) | def more(a): function outer_simple (line 59) | def outer_simple(a): function outer_multiple (line 63) | def outer_multiple(a): function __dummy__ (line 68) | def __dummy__(): FILE: numba/tests/matmul_usecase.py function matmul_usecase (line 3) | def matmul_usecase(x, y): function imatmul_usecase (line 6) | def imatmul_usecase(x, y): class DumbMatrix (line 10) | class DumbMatrix(object): method __init__ (line 12) | def __init__(self, value): method __matmul__ (line 15) | def __matmul__(self, other): method __imatmul__ (line 20) | def __imatmul__(self, other): FILE: numba/tests/npyufunc/__init__.py function load_tests (line 7) | def load_tests(loader, tests, pattern): FILE: numba/tests/npyufunc/cache_usecases.py function direct_ufunc_cache_usecase (line 8) | def direct_ufunc_cache_usecase(**kwargs): function indirect_ufunc_cache_usecase (line 16) | def indirect_ufunc_cache_usecase(**kwargs): function direct_dufunc_cache_usecase (line 33) | def direct_dufunc_cache_usecase(**kwargs): function indirect_dufunc_cache_usecase (line 41) | def indirect_dufunc_cache_usecase(**kwargs): function direct_gufunc_cache_usecase (line 57) | def direct_gufunc_cache_usecase(**kwargs): function indirect_gufunc_cache_usecase (line 66) | def indirect_gufunc_cache_usecase(**kwargs): FILE: numba/tests/npyufunc/test_caching.py class UfuncCacheTest (line 14) | class UfuncCacheTest(BaseCacheTest): method check_cache_saved (line 31) | def check_cache_saved(self, cachelog, count): method check_cache_loaded (line 40) | def check_cache_loaded(self, cachelog, count): method check_ufunc_cache (line 49) | def check_ufunc_cache(self, usecase_name, n_overloads, **kwargs): class TestUfuncCacheTest (line 71) | class TestUfuncCacheTest(UfuncCacheTest): method test_direct_ufunc_cache (line 73) | def test_direct_ufunc_cache(self, **kwargs): method test_direct_ufunc_cache_objmode (line 82) | def test_direct_ufunc_cache_objmode(self): method test_direct_ufunc_cache_parallel (line 85) | def test_direct_ufunc_cache_parallel(self): method test_indirect_ufunc_cache (line 88) | def test_indirect_ufunc_cache(self, **kwargs): method test_indirect_ufunc_cache_parallel (line 97) | def test_indirect_ufunc_cache_parallel(self): class TestDUfuncCacheTest (line 101) | class TestDUfuncCacheTest(UfuncCacheTest): method check_dufunc_usecase (line 104) | def check_dufunc_usecase(self, usecase_name): method test_direct_dufunc_cache (line 122) | def test_direct_dufunc_cache(self): method test_indirect_dufunc_cache (line 126) | def test_indirect_dufunc_cache(self): function _fix_raw_path (line 130) | def _fix_raw_path(rstr): class TestGUfuncCacheTest (line 136) | class TestGUfuncCacheTest(UfuncCacheTest): method test_filename_prefix (line 138) | def test_filename_prefix(self): method test_direct_gufunc_cache (line 154) | def test_direct_gufunc_cache(self, **kwargs): method test_direct_gufunc_cache_objmode (line 165) | def test_direct_gufunc_cache_objmode(self): method test_direct_gufunc_cache_parallel (line 168) | def test_direct_gufunc_cache_parallel(self): method test_indirect_gufunc_cache (line 171) | def test_indirect_gufunc_cache(self, **kwargs): method test_indirect_gufunc_cache_parallel (line 182) | def test_indirect_gufunc_cache_parallel(self, **kwargs): class TestCacheSpecificIssue (line 186) | class TestCacheSpecificIssue(UfuncCacheTest): method run_in_separate_process (line 188) | def run_in_separate_process(self, runcode): method test_first_load_cached_ufunc (line 212) | def test_first_load_cached_ufunc(self): method test_first_load_cached_gufunc (line 219) | def test_first_load_cached_gufunc(self): FILE: numba/tests/npyufunc/test_dufunc.py function pyuadd (line 18) | def pyuadd(a0, a1): function pysub (line 22) | def pysub(a0, a1): function pymult (line 26) | def pymult(a0, a1): function pydiv (line 30) | def pydiv(a0, a1): function pymin (line 34) | def pymin(a0, a1): class TestDUFunc (line 38) | class TestDUFunc(MemoryLeakMixin, unittest.TestCase): method nopython_dufunc (line 40) | def nopython_dufunc(self, pyfunc): method test_frozen (line 43) | def test_frozen(self): method test_scalar (line 53) | def test_scalar(self): method test_npm_call (line 57) | def test_npm_call(self): method test_npm_call_implicit_output (line 79) | def test_npm_call_implicit_output(self): method test_ufunc_props (line 100) | def test_ufunc_props(self): method test_ufunc_props_jit (line 113) | def test_ufunc_props_jit(self): class TestDUFuncMethodsBase (line 147) | class TestDUFuncMethodsBase(TestCase): method _generate_jit (line 150) | def _generate_jit(self, ufunc, kind, identity=None): method _reduce (line 182) | def _reduce(self, ufunc, identity): method _reduceat (line 185) | def _reduceat(self, ufunc, identity): method _at (line 188) | def _at(self, ufunc): class TestDUFuncAt (line 192) | class TestDUFuncAt(TestDUFuncMethodsBase): method _compare_output (line 193) | def _compare_output(self, fn, ufunc, a, *args): method test_numpy_ufunc_at_basic (line 200) | def test_numpy_ufunc_at_basic(self): method test_ufunc_at_inner_loop (line 236) | def test_ufunc_at_inner_loop(self): method test_ufunc_at_ellipsis (line 262) | def test_ufunc_at_ellipsis(self): method test_ufunc_at_negative (line 270) | def test_ufunc_at_negative(self): method test_ufunc_at_large (line 277) | def test_ufunc_at_large(self): method test_cast_index_fastpath (line 289) | def test_cast_index_fastpath(self): method test_ufunc_at_scalar_value_fastpath (line 298) | def test_ufunc_at_scalar_value_fastpath(self): method test_ufunc_at_multiD (line 308) | def test_ufunc_at_multiD(self): method test_ufunc_at_0D (line 393) | def test_ufunc_at_0D(self): method test_ufunc_at_dtypes (line 411) | def test_ufunc_at_dtypes(self): method test_ufunc_at_boolean (line 418) | def test_ufunc_at_boolean(self): method test_ufunc_at_boolean2 (line 427) | def test_ufunc_at_boolean2(self): method test_ufunc_at_advanced (line 435) | def test_ufunc_at_advanced(self): method test_ufunc_at_advanced_2 (line 444) | def test_ufunc_at_advanced_2(self): method test_ufunc_at_advanced_3 (line 452) | def test_ufunc_at_advanced_3(self): method test_ufunc_at_advanced_4 (line 460) | def test_ufunc_at_advanced_4(self): method test_ufunc_at_advanced_5 (line 467) | def test_ufunc_at_advanced_5(self): method test_ufunc_at_negative_indexes (line 474) | def test_ufunc_at_negative_indexes(self): method test_ufunc_at_not_none_signature (line 503) | def test_ufunc_at_not_none_signature(self): method test_ufunc_at_no_loop_for_op (line 516) | def test_ufunc_at_no_loop_for_op(self): method test_ufunc_at_output_casting (line 524) | def test_ufunc_at_output_casting(self): method test_ufunc_at_broadcast_failure (line 530) | def test_ufunc_at_broadcast_failure(self): method test_ufunc_at_dynamic (line 539) | def test_ufunc_at_dynamic(self): method test_ufunc_at_experimental_warning (line 553) | def test_ufunc_at_experimental_warning(self): class TestDUFuncReduceNumPyTests (line 566) | class TestDUFuncReduceNumPyTests(TestCase): method _generate_jit (line 570) | def _generate_jit(self, ufunc, identity=None): method test_numpy_scalar_reduction (line 582) | def test_numpy_scalar_reduction(self): method check_identityless_reduction (line 589) | def check_identityless_reduction(self, a): method test_numpy_identityless_reduction_corder (line 644) | def test_numpy_identityless_reduction_corder(self): method test_numpy_identityless_reduction_forder (line 648) | def test_numpy_identityless_reduction_forder(self): method test_numpy_identityless_reduction_otherorder (line 652) | def test_numpy_identityless_reduction_otherorder(self): method test_numpy_identityless_reduction_noncontig (line 656) | def test_numpy_identityless_reduction_noncontig(self): method test_numpy_identityless_reduction_noncontig_unaligned (line 661) | def test_numpy_identityless_reduction_noncontig_unaligned(self): method test_numpy_initial_reduction (line 668) | def test_numpy_initial_reduction(self): method test_numpy_empty_reduction_and_identity (line 697) | def test_numpy_empty_reduction_and_identity(self): method test_identityless_reduction_nonreorderable (line 722) | def test_identityless_reduction_nonreorderable(self): method test_reduce_zero_axis (line 738) | def test_reduce_zero_axis(self): class TestDUFuncReduce (line 797) | class TestDUFuncReduce(TestDUFuncMethodsBase): method _check_reduce (line 798) | def _check_reduce(self, ufunc, dtype=None, initial=None): method _check_reduce_axis (line 818) | def _check_reduce_axis(self, ufunc, dtype, initial=None): method test_add_reduce (line 850) | def test_add_reduce(self): method test_mul_reduce (line 855) | def test_mul_reduce(self): method test_non_associative_reduce (line 859) | def test_non_associative_reduce(self): method test_reduce_dtype (line 867) | def test_reduce_dtype(self): method test_min_reduce (line 871) | def test_min_reduce(self): method test_add_reduce_initial (line 876) | def test_add_reduce_initial(self): method test_add_reduce_no_initial_or_identity (line 881) | def test_add_reduce_no_initial_or_identity(self): method test_invalid_input (line 886) | def test_invalid_input(self): method test_dufunc_negative_axis (line 897) | def test_dufunc_negative_axis(self): method test_dufunc_invalid_axis (line 911) | def test_dufunc_invalid_axis(self): class TestDUFuncReduceAt (line 931) | class TestDUFuncReduceAt(TestDUFuncMethodsBase): method _compare_output (line 932) | def _compare_output(self, ufunc, a, idx, **kwargs): method test_reduceat_out_kw (line 941) | def test_reduceat_out_kw(self): method test_reduceat_axis_kw (line 951) | def test_reduceat_axis_kw(self): method test_reduceat_invalid_axis (line 967) | def test_reduceat_invalid_axis(self): method test_reduceat_cast_args_to_array (line 978) | def test_reduceat_cast_args_to_array(self): method test_reduceat_basic (line 997) | def test_reduceat_basic(self): method test_reduceat_basic_2d (line 1002) | def test_reduceat_basic_2d(self): method test_reduceat_shifting_sum (line 1007) | def test_reduceat_shifting_sum(self): method test_reduceat_int_array_reduceat_inplace (line 1013) | def test_reduceat_int_array_reduceat_inplace(self): method test_reduceat_out_shape_mismatch (line 1031) | def test_reduceat_out_shape_mismatch(self): method test_reduceat_empty (line 1048) | def test_reduceat_empty(self): method test_reduceat_error_ndim_2 (line 1064) | def test_reduceat_error_ndim_2(self): method test_reduceat_error_non_binary_function (line 1073) | def test_reduceat_error_non_binary_function(self): method test_reduceat_error_argument_types (line 1088) | def test_reduceat_error_argument_types(self): class TestDUFuncPickling (line 1104) | class TestDUFuncPickling(MemoryLeakMixin, unittest.TestCase): method check (line 1105) | def check(self, ident, result_type): method test_unrestricted (line 1123) | def test_unrestricted(self): method test_restricted (line 1130) | def test_restricted(self): FILE: numba/tests/npyufunc/test_errors.py function sqrt (line 13) | def sqrt(val): function gufunc_foo (line 19) | def gufunc_foo(inp, n, out): function truediv (line 25) | def truediv(a, b): function floordiv (line 28) | def floordiv(a, b): function remainder (line 31) | def remainder(a, b): function power (line 34) | def power(a, b): class TestExceptions (line 38) | class TestExceptions(TestCase): method check_ufunc_raise (line 43) | def check_ufunc_raise(self, **vectorize_args): method test_ufunc_raise (line 53) | def test_ufunc_raise(self): method test_ufunc_raise_objmode (line 56) | def test_ufunc_raise_objmode(self): method check_gufunc_raise (line 59) | def check_gufunc_raise(self, **vectorize_args): method test_gufunc_raise (line 69) | def test_gufunc_raise(self): method test_gufunc_raise_objmode (line 72) | def test_gufunc_raise_objmode(self): class TestFloatingPointExceptions (line 75) | class TestFloatingPointExceptions(TestCase, CheckWarningsMixin): method check_truediv_real (line 82) | def check_truediv_real(self, dtype): method test_truediv_float (line 95) | def test_truediv_float(self): method test_truediv_integer (line 98) | def test_truediv_integer(self): method check_divmod_float (line 101) | def check_divmod_float(self, pyfunc, values, messages): method test_floordiv_float (line 113) | def test_floordiv_float(self): method test_remainder_float (line 120) | def test_remainder_float(self): method check_divmod_int (line 125) | def check_divmod_int(self, pyfunc, values): method test_floordiv_int (line 138) | def test_floordiv_int(self): method test_remainder_int (line 141) | def test_remainder_int(self): method test_power_float (line 144) | def test_power_float(self): method test_power_integer (line 157) | def test_power_integer(self): FILE: numba/tests/npyufunc/test_gufunc.py function matmulcore (line 12) | def matmulcore(A, B, C): function axpy (line 23) | def axpy(a, x, y, out): class TestGUFunc (line 27) | class TestGUFunc(MemoryLeakMixin, TestCase): method check_matmul_gufunc (line 30) | def check_matmul_gufunc(self, gufunc): method test_gufunc (line 40) | def test_gufunc(self): method test_guvectorize_decor (line 48) | def test_guvectorize_decor(self): method test_ufunc_like (line 55) | def test_ufunc_like(self): method test_axis (line 68) | def test_axis(self): method test_docstring (line 87) | def test_docstring(self): class TestMultipleOutputs (line 100) | class TestMultipleOutputs(MemoryLeakMixin, TestCase): method test_multiple_outputs_same_type_passed_in (line 103) | def test_multiple_outputs_same_type_passed_in(self): method test_multiple_outputs_distinct_values (line 118) | def test_multiple_outputs_distinct_values(self): method test_multiple_output_dtypes (line 134) | def test_multiple_output_dtypes(self): method test_incorrect_number_of_pos_args (line 150) | def test_incorrect_number_of_pos_args(self): class TestGUFuncParallel (line 169) | class TestGUFuncParallel(TestGUFunc): class TestDynamicGUFunc (line 174) | class TestDynamicGUFunc(MemoryLeakMixin, TestCase): method test_dynamic_matmul (line 177) | def test_dynamic_matmul(self): method test_dynamic_ufunc_like (line 200) | def test_dynamic_ufunc_like(self): method test_dynamic_scalar_output (line 220) | def test_dynamic_scalar_output(self): method test_axis (line 250) | def test_axis(self): method test_gufunc_attributes (line 270) | def test_gufunc_attributes(self): method test_gufunc_attributes2 (line 310) | def test_gufunc_attributes2(self): class TestGUVectorizeScalar (line 337) | class TestGUVectorizeScalar(MemoryLeakMixin, TestCase): method test_scalar_output (line 343) | def test_scalar_output(self): method test_scalar_input (line 368) | def test_scalar_input(self): method test_scalar_input_core_type (line 383) | def test_scalar_input_core_type(self): method test_scalar_input_core_type_error (line 411) | def test_scalar_input_core_type_error(self): method test_ndim_mismatch (line 420) | def test_ndim_mismatch(self): class TestGUVectorizeScalarParallel (line 430) | class TestGUVectorizeScalarParallel(TestGUVectorizeScalar): class TestGUVectorizePickling (line 435) | class TestGUVectorizePickling(MemoryLeakMixin, TestCase): method test_pickle_gufunc_non_dyanmic (line 436) | def test_pickle_gufunc_non_dyanmic(self): method test_pickle_gufunc_dyanmic_null_init (line 465) | def test_pickle_gufunc_dyanmic_null_init(self): method test_pickle_gufunc_dynamic_initialized (line 499) | def test_pickle_gufunc_dynamic_initialized(self): class TestGUVectorizeJit (line 549) | class TestGUVectorizeJit(MemoryLeakMixin, TestCase): method check_add_gufunc (line 552) | def check_add_gufunc(self, gufunc): method test_add_static (line 563) | def test_add_static(self): method test_add_static_cast_args (line 572) | def test_add_static_cast_args(self): method test_add_dynamic (line 582) | def test_add_dynamic(self): method test_object_mode (line 591) | def test_object_mode(self): method check_matmul (line 599) | def check_matmul(self, jit_func): method test_njit_matmul_call (line 610) | def test_njit_matmul_call(self): method test_axpy (line 621) | def test_axpy(self): method test_output_scalar (line 634) | def test_output_scalar(self): method test_input_scalar (line 652) | def test_input_scalar(self): method test_gufunc_ndim_mismatch (line 669) | def test_gufunc_ndim_mismatch(self): method test_mismatch_inner_dimensions (line 715) | def test_mismatch_inner_dimensions(self): method test_mismatch_inner_dimensions_input_output (line 742) | def test_mismatch_inner_dimensions_input_output(self): method test_mismatch_inner_dimensions_output (line 769) | def test_mismatch_inner_dimensions_output(self): method test_mismatch_loop_shape (line 798) | def test_mismatch_loop_shape(self): method test_mismatch_loop_shape_2 (line 817) | def test_mismatch_loop_shape_2(self): method test_issue_10287 (line 848) | def test_issue_10287(self): FILE: numba/tests/npyufunc/test_parallel_env_variable.py class TestParallelEnvVariable (line 7) | class TestParallelEnvVariable(unittest.TestCase): method test_num_threads_variable (line 15) | def test_num_threads_variable(self): FILE: numba/tests/npyufunc/test_parallel_low_work.py function vector_add (line 12) | def vector_add(a, b): class TestParallelLowWorkCount (line 16) | class TestParallelLowWorkCount(unittest.TestCase): method test_low_workcount (line 20) | def test_low_workcount(self): FILE: numba/tests/npyufunc/test_parallel_ufunc_issues.py class TestParUfuncIssues (line 11) | class TestParUfuncIssues(unittest.TestCase): method test_thread_response (line 15) | def test_thread_response(self): method test_gil_reacquire_deadlock (line 36) | def test_gil_reacquire_deadlock(self): class TestParGUfuncIssues (line 80) | class TestParGUfuncIssues(unittest.TestCase): method test_gil_reacquire_deadlock (line 85) | def test_gil_reacquire_deadlock(self): FILE: numba/tests/npyufunc/test_ufunc.py function add (line 17) | def add(a, b): function add_multiple_args (line 21) | def add_multiple_args(a, b, c, d): function gufunc_add (line 25) | def gufunc_add(a, b): function ufunc_reduce (line 33) | def ufunc_reduce(ufunc, arg): class TestUFuncs (line 48) | class TestUFuncs(TestCase): method _test_ufunc_attributes (line 50) | def _test_ufunc_attributes(self, cls, a, b, *args): method _test_broadcasting (line 63) | def _test_broadcasting(self, cls, a, b, c, d): method test_ufunc_attributes (line 72) | def test_ufunc_attributes(self): method test_broadcasting (line 81) | def test_broadcasting(self): method test_implicit_broadcasting (line 90) | def test_implicit_broadcasting(self): method test_ufunc_exception_on_write_to_readonly (line 100) | def test_ufunc_exception_on_write_to_readonly(self): method test_optional_type_handling (line 120) | def test_optional_type_handling(self): class TestUFuncsMisc (line 144) | class TestUFuncsMisc(TestCase): method test_exp2 (line 147) | def test_exp2(self): method test_log2 (line 159) | def test_log2(self): FILE: numba/tests/npyufunc/test_ufuncbuilding.py class TestUfuncBuilding (line 15) | class TestUfuncBuilding(TestCase): method test_basic_ufunc (line 17) | def test_basic_ufunc(self): method test_ufunc_struct (line 43) | def test_ufunc_struct(self): method test_ufunc_forceobj (line 63) | def test_ufunc_forceobj(self): method test_nested_call (line 74) | def test_nested_call(self): method test_nested_call_explicit (line 85) | def test_nested_call_explicit(self): class TestUfuncBuildingJitDisabled (line 97) | class TestUfuncBuildingJitDisabled(TestUfuncBuilding): method setUp (line 99) | def setUp(self): method tearDown (line 103) | def tearDown(self): class TestGUfuncBuilding (line 107) | class TestGUfuncBuilding(TestCase): method test_basic_gufunc (line 109) | def test_basic_gufunc(self): method test_gufunc_struct (line 126) | def test_gufunc_struct(self): method test_gufunc_struct_forceobj (line 138) | def test_gufunc_struct_forceobj(self): class TestGUfuncBuildingJitDisabled (line 153) | class TestGUfuncBuildingJitDisabled(TestGUfuncBuilding): method setUp (line 155) | def setUp(self): method tearDown (line 159) | def tearDown(self): class TestVectorizeDecor (line 163) | class TestVectorizeDecor(TestCase): method test_vectorize (line 167) | def test_vectorize(self): method test_vectorize_objmode (line 174) | def test_vectorize_objmode(self): method test_vectorize_bool_return (line 181) | def test_vectorize_bool_return(self): method test_vectorize_identity (line 188) | def test_vectorize_identity(self): method test_vectorize_no_args (line 204) | def test_vectorize_no_args(self): method test_vectorize_only_kws (line 215) | def test_vectorize_only_kws(self): method test_vectorize_output_kwarg (line 222) | def test_vectorize_output_kwarg(self): method test_guvectorize (line 244) | def test_guvectorize(self): method test_guvectorize_no_output (line 252) | def test_guvectorize_no_output(self): method test_guvectorize_objectmode (line 261) | def test_guvectorize_objectmode(self): method test_guvectorize_scalar_objectmode (line 269) | def test_guvectorize_scalar_objectmode(self): method test_guvectorize_error_in_objectmode (line 280) | def test_guvectorize_error_in_objectmode(self): method test_guvectorize_identity (line 289) | def test_guvectorize_identity(self): method test_guvectorize_invalid_layout (line 305) | def test_guvectorize_invalid_layout(self): class NEP13Array (line 323) | class NEP13Array: method __init__ (line 325) | def __init__(self, array): method __array__ (line 328) | def __array__(self): method tolist (line 331) | def tolist(self): method __array_ufunc__ (line 334) | def __array_ufunc__(self, ufunc, method, *args, **kwargs): class FakeDaskArray (line 341) | class FakeDaskArray: method __init__ (line 347) | def __init__(self, array): method __array_ufunc__ (line 350) | def __array_ufunc__(self, ufunc, method, *args, **kwargs): method _dask_method (line 359) | def _dask_method(self, *args, **kwargs): class TestNEP13WithoutSignature (line 375) | class TestNEP13WithoutSignature(TestCase): method test_all (line 377) | def test_all(self): class TestDask (line 427) | class TestDask(unittest.TestCase): method test_dask_array (line 433) | def test_dask_array(self): class TestVectorizeDecorJitDisabled (line 460) | class TestVectorizeDecorJitDisabled(TestVectorizeDecor): method setUp (line 462) | def setUp(self): method tearDown (line 466) | def tearDown(self): FILE: numba/tests/npyufunc/test_update_inplace.py function py_replace_2nd (line 11) | def py_replace_2nd(x_t, y_1): function py_update_3 (line 16) | def py_update_3(x0_t, x1_t, x2_t, y_1): class TestUpdateInplace (line 23) | class TestUpdateInplace(TestCase): method _run_test_for_gufunc (line 25) | def _run_test_for_gufunc(self, gufunc, py_func, expect_f4_to_pass=True, method test_update_inplace (line 40) | def test_update_inplace(self): method test_update_inplace_with_cache (line 57) | def test_update_inplace_with_cache(self): method test_update_inplace_parallel (line 68) | def test_update_inplace_parallel(self): method test_update_inplace_3 (line 75) | def test_update_inplace_3(self): method test_exceptions (line 94) | def test_exceptions(self): FILE: numba/tests/npyufunc/test_vectorize_decor.py function sinc (line 13) | def sinc(x): function scaled_sinc (line 19) | def scaled_sinc(x, scale): function vector_add (line 25) | def vector_add(a, b): class BaseVectorizeDecor (line 29) | class BaseVectorizeDecor(object): method _run_and_compare (line 39) | def _run_and_compare(cls, func, sig, A, *args, **kwargs): method test_1 (line 48) | def test_1(self): method test_2 (line 54) | def test_2(self): method test_3 (line 60) | def test_3(self): method test_4 (line 67) | def test_4(self): class TestCPUVectorizeDecor (line 85) | class TestCPUVectorizeDecor(unittest.TestCase, BaseVectorizeDecor): class TestParallelVectorizeDecor (line 89) | class TestParallelVectorizeDecor(unittest.TestCase, BaseVectorizeDecor): class TestCPUVectorizeJitted (line 94) | class TestCPUVectorizeJitted(unittest.TestCase, BaseVectorizeDecor): class BaseVectorizeNopythonArg (line 99) | class BaseVectorizeNopythonArg(unittest.TestCase, CheckWarningsMixin): method _test_target_nopython (line 103) | def _test_target_nopython(self, target, warnings, with_sig=True): class TestVectorizeNopythonArg (line 112) | class TestVectorizeNopythonArg(BaseVectorizeNopythonArg): method test_target_cpu_nopython (line 113) | def test_target_cpu_nopython(self): method test_target_cpu_nopython_no_sig (line 116) | def test_target_cpu_nopython_no_sig(self): method test_target_parallel_nopython (line 119) | def test_target_parallel_nopython(self): class BaseVectorizeUnrecognizedArg (line 123) | class BaseVectorizeUnrecognizedArg(unittest.TestCase, CheckWarningsMixin): method _test_target_unrecognized_arg (line 127) | def _test_target_unrecognized_arg(self, target, with_sig=True): class TestVectorizeUnrecognizedArg (line 137) | class TestVectorizeUnrecognizedArg(BaseVectorizeUnrecognizedArg): method test_target_cpu_unrecognized_arg (line 138) | def test_target_cpu_unrecognized_arg(self): method test_target_cpu_unrecognized_arg_no_sig (line 141) | def test_target_cpu_unrecognized_arg_no_sig(self): method test_target_parallel_unrecognized_arg (line 144) | def test_target_parallel_unrecognized_arg(self): FILE: numba/tests/npyufunc/ufuncbuilding_usecases.py function add (line 4) | def add(a, b): function equals (line 9) | def equals(a, b): function mul (line 13) | def mul(a, b): function guadd (line 18) | def guadd(a, b, c): function inner (line 27) | def inner(a, b): function inner_explicit (line 32) | def inner_explicit(a, b): function outer (line 36) | def outer(a, b): function outer_explicit (line 40) | def outer_explicit(a, b): class Dummy (line 44) | class Dummy: function guadd_obj (line 48) | def guadd_obj(a, b, c): function guadd_scalar_obj (line 56) | def guadd_scalar_obj(a, b, c): class MyException (line 64) | class MyException(Exception): function guerror (line 68) | def guerror(a, b, c): FILE: numba/tests/orphaned_semaphore_usecase.py function w (line 11) | def w(): function main (line 15) | def main(): FILE: numba/tests/overload_usecases.py function impl4 (line 6) | def impl4(z, *args, kw=None): function impl5 (line 15) | def impl5(z, b, *args, kw=None): function var_positional_impl (line 22) | def var_positional_impl(a, *star_args_token, kw=None, kw1=12): FILE: numba/tests/parfor_iss9490_usecase.py function stable_fit (line 25) | def stable_fit(X, y, threshold=3): function check (line 62) | def check(): FILE: numba/tests/parfors_cache_usecases.py function arrayexprs_case (line 10) | def arrayexprs_case(arr): function prange_case (line 15) | def prange_case(arr): function caller_case (line 24) | def caller_case(arr): class _TestModule (line 28) | class _TestModule(TestCase): method check_module (line 34) | def check_module(self, mod): method run_module (line 48) | def run_module(self, mod): function self_test (line 59) | def self_test(): function self_run (line 64) | def self_run(): FILE: numba/tests/pdlike_usecase.py class Index (line 16) | class Index(object): method __init__ (line 21) | def __init__(self, data): method __iter__ (line 26) | def __iter__(self): method dtype (line 30) | def dtype(self): method flags (line 34) | def flags(self): class IndexType (line 38) | class IndexType(types.Buffer): method __init__ (line 44) | def __init__(self, dtype, layout, pyclass): method key (line 49) | def key(self): method as_array (line 53) | def as_array(self): method copy (line 56) | def copy(self, dtype=None, ndim=1, layout=None): class Series (line 64) | class Series(object): method __init__ (line 69) | def __init__(self, data, index): method __iter__ (line 76) | def __iter__(self): method dtype (line 80) | def dtype(self): method flags (line 84) | def flags(self): class SeriesType (line 88) | class SeriesType(types.ArrayCompatible): method __init__ (line 94) | def __init__(self, dtype, index): method key (line 103) | def key(self): method as_array (line 107) | def as_array(self): method copy (line 110) | def copy(self, dtype=None, ndim=1, layout='C'): function typeof_index (line 119) | def typeof_index(val, c): function typeof_series (line 125) | def typeof_series(val, c): function type_array_wrap (line 133) | def type_array_wrap(context): function type_series_constructor (line 143) | def type_series_constructor(context): class IndexModel (line 156) | class IndexModel(models.StructModel): method __init__ (line 157) | def __init__(self, dmm, fe_type): class SeriesModel (line 162) | class SeriesModel(models.StructModel): method __init__ (line 163) | def __init__(self, dmm, fe_type): function make_index (line 174) | def make_index(context, builder, typ, **kwargs): function make_series (line 177) | def make_series(context, builder, typ, **kwargs): function index_as_array (line 181) | def index_as_array(context, builder, sig, args): function series_as_array (line 186) | def series_as_array(context, builder, sig, args): function index_wrap_array (line 191) | def index_wrap_array(context, builder, sig, args): function series_wrap_array (line 197) | def series_wrap_array(context, builder, sig, args): function pdseries_constructor (line 205) | def pdseries_constructor(context, builder, sig, args): function unbox_index (line 214) | def unbox_index(typ, obj, c): function unbox_series (line 225) | def unbox_series(typ, obj, c): function box_index (line 239) | def box_index(typ, val, c): function box_series (line 251) | def box_series(typ, val, c): function index_is_monotonic_increasing (line 264) | def index_is_monotonic_increasing(index): function series_len (line 282) | def series_len(series): function series_clip (line 292) | def series_clip(series, lower, upper): FILE: numba/tests/pycc_distutils_usecase/nested/source_module.py function get_const (line 13) | def get_const(): function ones (line 19) | def ones(n): FILE: numba/tests/pycc_distutils_usecase/setup_distutils.py function run_setup (line 8) | def run_setup(): FILE: numba/tests/pycc_distutils_usecase/setup_distutils_nested.py function run_setup (line 9) | def run_setup(): FILE: numba/tests/pycc_distutils_usecase/setup_setuptools.py function run_setup (line 6) | def run_setup(): FILE: numba/tests/pycc_distutils_usecase/setup_setuptools_nested.py function run_setup (line 6) | def run_setup(): FILE: numba/tests/pycc_distutils_usecase/source_module.py function get_const (line 12) | def get_const(): function ones (line 17) | def ones(n): FILE: numba/tests/recursion_usecases.py function fib1 (line 11) | def fib1(n): function make_fib2 (line 18) | def make_fib2(): function make_type_change_self (line 30) | def make_type_change_self(jit=lambda x: x): function fib3 (line 42) | def fib3(n): function runaway_self (line 50) | def runaway_self(x): function raise_self (line 55) | def raise_self(x): function outer_fac (line 66) | def outer_fac(n): function inner_fac (line 73) | def inner_fac(n): function make_mutual2 (line 80) | def make_mutual2(jit=lambda x: x): function runaway_mutual (line 97) | def runaway_mutual(x): function runaway_mutual_inner (line 102) | def runaway_mutual_inner(x): function make_type_change_mutual (line 108) | def make_type_change_mutual(jit=lambda x: x): function make_four_level (line 130) | def make_four_level(jit=lambda x: x): function make_inner_error (line 154) | def make_inner_error(jit=lambda x: x): function make_raise_mutual (line 179) | def make_raise_mutual(jit=lambda x: x): function make_optional_return_case (line 199) | def make_optional_return_case(jit=lambda x: x): function make_growing_tuple_case (line 220) | def make_growing_tuple_case(jit=lambda x: x): FILE: numba/tests/serialize_usecases.py function add_with_sig (line 13) | def add_with_sig(a, b): function add_without_sig (line 17) | def add_without_sig(a, b): function add_nopython (line 21) | def add_nopython(a, b): function add_nopython_fail (line 25) | def add_nopython_fail(a, b): function closure (line 29) | def closure(a): function closure_with_globals (line 39) | def closure_with_globals(x, **jit_args): function other_function (line 50) | def other_function(x, y): function get_global_objmode (line 54) | def get_global_objmode(x): function get_renamed_module (line 61) | def get_renamed_module(x): function closure_calling_other_function (line 66) | def closure_calling_other_function(x): function closure_calling_other_closure (line 72) | def closure_calling_other_closure(x): function _get_dyn_func (line 84) | def _get_dyn_func(**jit_args): FILE: numba/tests/support.py function expected_failure_py311 (line 146) | def expected_failure_py311(fn): function expected_failure_py312 (line 153) | def expected_failure_py312(fn): function expected_failure_py313 (line 160) | def expected_failure_py313(fn): function expected_failure_py314 (line 166) | def expected_failure_py314(fn): function expected_failure_np2 (line 173) | def expected_failure_np2(fn): function ignore_internal_warnings (line 269) | def ignore_internal_warnings(): class TestCase (line 282) | class TestCase(unittest.TestCase): method random (line 289) | def random(self): method reset_module_warnings (line 292) | def reset_module_warnings(self, module): method assertTypingError (line 306) | def assertTypingError(self): method assertRefCount (line 317) | def assertRefCount(self, *objects): method assertRefCountEqual (line 338) | def assertRefCountEqual(self, *objects): method assertNoNRTLeak (line 349) | def assertNoNRTLeak(self): method _detect_family (line 375) | def _detect_family(self, numeric_object): method _fix_dtype (line 405) | def _fix_dtype(self, dtype): method _fix_strides (line 417) | def _fix_strides(self, arr): method assertStridesEqual (line 429) | def assertStridesEqual(self, first, second): method assertPreciseEqual (line 438) | def assertPreciseEqual(self, first, second, prec='exact', ulps=1, method _assertPreciseEqual (line 486) | def _assertPreciseEqual(self, first, second, prec='exact', ulps=1, method subprocess_test_runner (line 630) | def subprocess_test_runner(self, test_module, test_class=None, method run_test_in_subprocess (line 688) | def run_test_in_subprocess(maybefunc=None, timeout=60, envvars=None): method make_dummy_type (line 717) | def make_dummy_type(self): method skip_if_no_external_compiler (line 741) | def skip_if_no_external_compiler(self): class SerialMixin (line 755) | class SerialMixin(object): function override_config (line 764) | def override_config(name, value): function override_env_config (line 779) | def override_env_config(name, value): function compile_function (line 801) | def compile_function(name, code, globs): function _create_trashcan_dir (line 827) | def _create_trashcan_dir(): function _purge_trashcan_dir (line 833) | def _purge_trashcan_dir(): function _create_trashcan_subdir (line 846) | def _create_trashcan_subdir(prefix): function temp_directory (line 851) | def temp_directory(prefix): function import_dynamic (line 867) | def import_dynamic(modname): function captured_output (line 881) | def captured_output(stream_name): function captured_stdout (line 891) | def captured_stdout(): function captured_stderr (line 900) | def captured_stderr(): function capture_cache_log (line 911) | def capture_cache_log(): class EnableNRTStatsMixin (line 917) | class EnableNRTStatsMixin(object): method setUp (line 920) | def setUp(self): method tearDown (line 923) | def tearDown(self): class MemoryLeak (line 927) | class MemoryLeak(object): method memory_leak_setup (line 931) | def memory_leak_setup(self): method memory_leak_teardown (line 936) | def memory_leak_teardown(self): method assert_no_memory_leak (line 940) | def assert_no_memory_leak(self): method disable_leak_check (line 950) | def disable_leak_check(self): class MemoryLeakMixin (line 955) | class MemoryLeakMixin(EnableNRTStatsMixin, MemoryLeak): method setUp (line 957) | def setUp(self): method tearDown (line 961) | def tearDown(self): function forbid_codegen (line 968) | def forbid_codegen(): function redirect_fd (line 1003) | def redirect_fd(fd): function redirect_c_stdout (line 1025) | def redirect_c_stdout(): function redirect_c_stderr (line 1032) | def redirect_c_stderr(): function run_in_new_process_caching (line 1039) | def run_in_new_process_caching(func, cache_dir_prefix=__name__, verbose=... function run_in_new_process_in_cache_dir (line 1056) | def run_in_new_process_in_cache_dir(func, cache_dir, verbose=True): function _remote_runner (line 1095) | def _remote_runner(fn, qout): class CheckWarningsMixin (line 1111) | class CheckWarningsMixin(object): method check_warnings (line 1113) | def check_warnings(self, messages, category=RuntimeWarning): function _format_jit_options (line 1126) | def _format_jit_options(**jit_options): function create_temp_module (line 1138) | def create_temp_module(source_lines, **jit_options): function run_in_subprocess (line 1167) | def run_in_subprocess(code, flags=None, env=None, timeout=30): function strace (line 1186) | def strace(work, syscalls, timeout=10): function strace_supported (line 1251) | def strace_supported(): class IRPreservingTestPipeline (line 1270) | class IRPreservingTestPipeline(CompilerBase): method define_pipelines (line 1274) | def define_pipelines(self): function print_azure_matrix (line 1288) | def print_azure_matrix(): FILE: numba/tests/test_alignment.py class TestAlignment (line 8) | class TestAlignment(TestCase): method test_record_alignment (line 10) | def test_record_alignment(self): method test_record_misaligned (line 28) | def test_record_misaligned(self): FILE: numba/tests/test_analysis.py function compile_to_ir (line 27) | def compile_to_ir(func): class TestBranchPruneBase (line 40) | class TestBranchPruneBase(MemoryLeakMixin, TestCase): method find_branches (line 47) | def find_branches(self, the_ir): method assert_prune (line 54) | def assert_prune(self, func, args_tys, prune, *args, **kwargs): class TestBranchPrune (line 142) | class TestBranchPrune(TestBranchPruneBase, SerialMixin): method test_single_if (line 144) | def test_single_if(self): method test_single_if_else (line 188) | def test_single_if_else(self): method test_single_if_const_val (line 199) | def test_single_if_const_val(self): method test_single_if_else_two_const_val (line 216) | def test_single_if_else_two_const_val(self): method test_single_if_else_w_following_undetermined (line 233) | def test_single_if_else_w_following_undetermined(self): method test_double_if_else_rt_const (line 271) | def test_double_if_else_rt_const(self): method test_double_if_else_non_literal_const (line 291) | def test_double_if_else_non_literal_const(self): method test_single_two_branches_same_cond (line 305) | def test_single_two_branches_same_cond(self): method test_cond_is_kwarg_none (line 323) | def test_cond_is_kwarg_none(self): method test_cond_is_kwarg_value (line 343) | def test_cond_is_kwarg_value(self): method test_cond_rewrite_is_correct (line 364) | def test_cond_rewrite_is_correct(self): method test_global_bake_in (line 407) | def test_global_bake_in(self): method test_freevar_bake_in (line 433) | def test_freevar_bake_in(self): method test_redefined_variables_are_not_considered_in_prune (line 455) | def test_redefined_variables_are_not_considered_in_prune(self): method test_comparison_operators (line 472) | def test_comparison_operators(self): method test_redefinition_analysis_same_block (line 499) | def test_redefinition_analysis_same_block(self): method test_redefinition_analysis_different_block_can_exec (line 521) | def test_redefinition_analysis_different_block_can_exec(self): method test_redefinition_analysis_different_block_cannot_exec (line 545) | def test_redefinition_analysis_different_block_cannot_exec(self): method test_closure_and_nonlocal_can_prune (line 577) | def test_closure_and_nonlocal_can_prune(self): method test_closure_and_nonlocal_cannot_prune (line 596) | def test_closure_and_nonlocal_cannot_prune(self): class TestBranchPrunePredicates (line 616) | class TestBranchPrunePredicates(TestBranchPruneBase, SerialMixin): method _literal_const_sample_generator (line 625) | def _literal_const_sample_generator(self, pyfunc, consts): method test_literal_const_code_gen (line 648) | def test_literal_const_code_gen(self): method test_single_if_const (line 682) | def test_single_if_const(self): method test_single_if_negate_const (line 705) | def test_single_if_negate_const(self): method test_single_if_else_const (line 728) | def test_single_if_else_const(self): method test_single_if_else_negate_const (line 753) | def test_single_if_else_negate_const(self): method test_single_if_freevar (line 778) | def test_single_if_freevar(self): method test_single_if_negate_freevar (line 788) | def test_single_if_negate_freevar(self): method test_single_if_else_freevar (line 798) | def test_single_if_else_freevar(self): method test_single_if_else_negate_freevar (line 810) | def test_single_if_else_negate_freevar(self): method test_single_if_global (line 824) | def test_single_if_global(self): method test_single_if_negate_global (line 838) | def test_single_if_negate_global(self): method test_single_if_else_global (line 852) | def test_single_if_else_global(self): method test_single_if_else_negate_global (line 867) | def test_single_if_else_negate_global(self): method test_issue_5618 (line 882) | def test_issue_5618(self): class TestBranchPruneSSA (line 896) | class TestBranchPruneSSA(MemoryLeakMixin, TestCase): class SSAPrunerCompiler (line 899) | class SSAPrunerCompiler(CompilerBase): method define_pipelines (line 900) | def define_pipelines(self): method test_ssa_update_phi (line 919) | def test_ssa_update_phi(self): method test_ssa_replace_phi (line 940) | def test_ssa_replace_phi(self): class TestBranchPrunePostSemanticConstRewrites (line 962) | class TestBranchPrunePostSemanticConstRewrites(TestBranchPruneBase): method test_array_ndim_attr (line 965) | def test_array_ndim_attr(self): method test_tuple_len (line 981) | def test_tuple_len(self): method test_attr_not_len (line 997) | def test_attr_not_len(self): method test_ndim_not_on_array (line 1013) | def test_ndim_not_on_array(self): method test_semantic_const_propagates_before_static_rewrites (line 1033) | def test_semantic_const_propagates_before_static_rewrites(self): method test_tuple_const_propagation (line 1044) | def test_tuple_const_propagation(self): FILE: numba/tests/test_annotations.py class TestAnnotation (line 22) | class TestAnnotation(TestCase): method test_exercise_code_path (line 25) | def test_exercise_code_path(self): method test_exercise_code_path_with_lifted_loop (line 47) | def test_exercise_code_path_with_lifted_loop(self): method test_html_output_with_lifted_loop (line 80) | def test_html_output_with_lifted_loop(self): method test_pretty_print (line 141) | def test_pretty_print(self): class TestTypeAnnotation (line 158) | class TestTypeAnnotation(unittest.TestCase): method findpatloc (line 160) | def findpatloc(self, lines, pat): method getlines (line 166) | def getlines(self, func): method test_delete (line 171) | def test_delete(self): method _lifetimes_impl (line 190) | def _lifetimes_impl(self, extend): method test_delete_standard_lifetimes (line 212) | def test_delete_standard_lifetimes(self): method test_delete_extended_lifetimes (line 231) | def test_delete_extended_lifetimes(self): FILE: numba/tests/test_api.py class TestNumbaModule (line 10) | class TestNumbaModule(TestCase): method check_member (line 15) | def check_member(self, name): method test_numba_module (line 20) | def test_numba_module(self): class TestJitDecorator (line 35) | class TestJitDecorator(TestCase): method test_jit_nopython_forceobj (line 39) | def test_jit_nopython_forceobj(self): method test_njit_nopython_forceobj (line 60) | def test_njit_nopython_forceobj(self): FILE: numba/tests/test_array_analysis.py class ExampleClass3700 (line 42) | class ExampleClass3700(object): method __init__ (line 43) | def __init__(self, n): class TestEquivSet (line 53) | class TestEquivSet(TestCase): method test_insert_equiv (line 58) | def test_insert_equiv(self): method test_intersect (line 70) | def test_intersect(self): class ArrayAnalysisPass (line 93) | class ArrayAnalysisPass(FunctionPass): method __init__ (line 96) | def __init__(self): method run_pass (line 99) | def run_pass(self, state): class ArrayAnalysisTester (line 111) | class ArrayAnalysisTester(Compiler): method mk_pipeline (line 114) | def mk_pipeline(cls, args, return_type=None, flags=None, locals=None, method compile_to_ir (line 128) | def compile_to_ir(self, func, test_idempotence=None): class TestArrayAnalysis (line 174) | class TestArrayAnalysis(TestCase): method compare_ir (line 176) | def compare_ir(self, ir_list): method _compile_and_test (line 185) | def _compile_and_test(self, fn, arg_tys, asserts=None, equivs=None, id... method _has_assertcall (line 206) | def _has_assertcall(self, func_ir, typemap, args): method _has_shapecall (line 217) | def _has_shapecall(self, func_ir, x): method _has_no_assertcall (line 229) | def _has_no_assertcall(self, func_ir): method with_assert (line 237) | def with_assert(self, *args): method without_assert (line 241) | def without_assert(self, *args): method with_equiv (line 245) | def with_equiv(self, *args): method without_equiv (line 254) | def without_equiv(self, *args): method with_shapecall (line 263) | def with_shapecall(self, x): method without_shapecall (line 266) | def without_shapecall(self, x): method test_base_cases (line 269) | def test_base_cases(self): method test_stencilcall (line 483) | def test_stencilcall(self): method test_slice (line 524) | def test_slice(self): method test_numpy_calls (line 635) | def test_numpy_calls(self): class TestArrayAnalysisParallelRequired (line 966) | class TestArrayAnalysisParallelRequired(TestCase): method test_misc (line 974) | def test_misc(self): method test_global_namedtuple (line 992) | def test_global_namedtuple(self): method test_array_T_issue_3700 (line 1006) | def test_array_T_issue_3700(self): method test_slice_shape_issue_3380 (line 1021) | def test_slice_shape_issue_3380(self): method test_slice_dtype_issue_5056 (line 1039) | def test_slice_dtype_issue_5056(self): method test_global_tuple (line 1054) | def test_global_tuple(self): class TestArrayAnalysisInterface (line 1066) | class TestArrayAnalysisInterface(TestCase): method test_analyze_op_call_interface (line 1067) | def test_analyze_op_call_interface(self): method test_array_analysis_extensions (line 1083) | def test_array_analysis_extensions(self): FILE: numba/tests/test_array_attr.py function array_dtype (line 13) | def array_dtype(a): function use_dtype (line 17) | def use_dtype(a, b): function dtype_eq_int64 (line 21) | def dtype_eq_int64(a): function array_itemsize (line 25) | def array_itemsize(a): function array_nbytes (line 29) | def array_nbytes(a): function array_shape (line 33) | def array_shape(a, i): function array_strides (line 37) | def array_strides(a, i): function array_ndim (line 41) | def array_ndim(a): function array_size (line 45) | def array_size(a): function array_flags_contiguous (line 49) | def array_flags_contiguous(a): function array_flags_c_contiguous (line 52) | def array_flags_c_contiguous(a): function array_flags_f_contiguous (line 55) | def array_flags_f_contiguous(a): function nested_array_itemsize (line 59) | def nested_array_itemsize(a): function nested_array_nbytes (line 62) | def nested_array_nbytes(a): function nested_array_shape (line 65) | def nested_array_shape(a): function nested_array_strides (line 69) | def nested_array_strides(a): function nested_array_ndim (line 73) | def nested_array_ndim(a): function nested_array_size (line 77) | def nested_array_size(a): function size_after_slicing_usecase (line 81) | def size_after_slicing_usecase(buf, i): function array_ctypes_data (line 87) | def array_ctypes_data(arr): function array_real (line 91) | def array_real(arr): function array_imag (line 95) | def array_imag(arr): class TestArrayAttr (line 99) | class TestArrayAttr(MemoryLeakMixin, TestCase): method setUp (line 101) | def setUp(self): method check_unary (line 105) | def check_unary(self, pyfunc, arr): method check_unary_with_arrays (line 114) | def check_unary_with_arrays(self, pyfunc,): method get_cfunc (line 128) | def get_cfunc(self, pyfunc, argspec): method test_shape (line 131) | def test_shape(self): method test_strides (line 138) | def test_strides(self): method test_ndim (line 145) | def test_ndim(self): method test_size (line 148) | def test_size(self): method test_itemsize (line 151) | def test_itemsize(self): method test_nbytes (line 154) | def test_nbytes(self): method test_dtype (line 157) | def test_dtype(self): method test_use_dtype (line 164) | def test_use_dtype(self): method test_dtype_equal (line 172) | def test_dtype_equal(self): method test_flags_contiguous (line 178) | def test_flags_contiguous(self): method test_flags_c_contiguous (line 181) | def test_flags_c_contiguous(self): method test_flags_f_contiguous (line 184) | def test_flags_f_contiguous(self): class TestNestedArrayAttr (line 188) | class TestNestedArrayAttr(MemoryLeakMixin, unittest.TestCase): method setUp (line 189) | def setUp(self): method get_cfunc (line 195) | def get_cfunc(self, pyfunc): method test_shape (line 198) | def test_shape(self): method test_strides (line 204) | def test_strides(self): method test_ndim (line 210) | def test_ndim(self): method test_nbytes (line 216) | def test_nbytes(self): method test_size (line 222) | def test_size(self): method test_itemsize (line 228) | def test_itemsize(self): class TestSlicedArrayAttr (line 235) | class TestSlicedArrayAttr(MemoryLeakMixin, unittest.TestCase): method test_size_after_slicing (line 236) | def test_size_after_slicing(self): class TestArrayCTypes (line 247) | class TestArrayCTypes(MemoryLeakMixin, TestCase): method test_array_ctypes_data (line 251) | def test_array_ctypes_data(self): method test_array_ctypes_ref_error_in_parallel (line 258) | def test_array_ctypes_ref_error_in_parallel(self): class TestRealImagAttr (line 296) | class TestRealImagAttr(MemoryLeakMixin, TestCase): method check_complex (line 297) | def check_complex(self, pyfunc): method test_complex_real (line 307) | def test_complex_real(self): method test_complex_imag (line 310) | def test_complex_imag(self): method check_number_real (line 313) | def check_number_real(self, dtype): method test_number_real (line 332) | def test_number_real(self): method check_number_imag (line 339) | def check_number_imag(self, dtype): method test_number_imag (line 358) | def test_number_imag(self): method test_record_real (line 365) | def test_record_real(self): class TestJitclassFlagsSegfault (line 392) | class TestJitclassFlagsSegfault(MemoryLeakMixin, TestCase): method test (line 395) | def test(self): FILE: numba/tests/test_array_constants.py function getitem0 (line 31) | def getitem0(i): function getitem1 (line 35) | def getitem1(i): function getitem2 (line 39) | def getitem2(i): function getitem3 (line 43) | def getitem3(i): function getitem4 (line 47) | def getitem4(i): function getitem5 (line 51) | def getitem5(i): function getitem6 (line 55) | def getitem6(i): function use_arrayscalar_const (line 59) | def use_arrayscalar_const(): function write_to_global_array (line 63) | def write_to_global_array(): function bytes_as_const_array (line 67) | def bytes_as_const_array(): class TestConstantArray (line 71) | class TestConstantArray(TestCase): method check_array_const (line 76) | def check_array_const(self, pyfunc): method test_array_const_0d (line 81) | def test_array_const_0d(self): method test_array_const_1d_contig (line 84) | def test_array_const_1d_contig(self): method test_array_const_1d_noncontig (line 87) | def test_array_const_1d_noncontig(self): method test_array_const_2d (line 90) | def test_array_const_2d(self): method test_record_array_const_contig (line 93) | def test_record_array_const_contig(self): method test_record_array_const_noncontig (line 96) | def test_record_array_const_noncontig(self): method test_array_const_alignment (line 99) | def test_array_const_alignment(self): method test_arrayscalar_const (line 117) | def test_arrayscalar_const(self): method test_write_to_global_array (line 122) | def test_write_to_global_array(self): method test_issue_1850 (line 127) | def test_issue_1850(self): method test_too_big_to_freeze (line 142) | def test_too_big_to_freeze(self): class TestConstantBytes (line 182) | class TestConstantBytes(TestCase): method test_constant_bytes (line 183) | def test_constant_bytes(self): FILE: numba/tests/test_array_exprs.py class Namespace (line 28) | class Namespace(dict): method __getattr__ (line 29) | def __getattr__(s, k): function axy (line 32) | def axy(a, x, y): function ax2 (line 35) | def ax2(a, x, y): function pos_root (line 38) | def pos_root(As, Bs, Cs): function neg_root_common_subexpr (line 41) | def neg_root_common_subexpr(As, Bs, Cs): function neg_root_complex_subexpr (line 47) | def neg_root_complex_subexpr(As, Bs, Cs): function call_stuff (line 55) | def call_stuff(a0, a1): function are_roots_imaginary (line 58) | def are_roots_imaginary(As, Bs, Cs): function div_add (line 61) | def div_add(As, Bs, Cs): function cube (line 64) | def cube(As): function explicit_output (line 67) | def explicit_output(a, b, out): function variable_name_reuse (line 71) | def variable_name_reuse(a, b, c, d): function distance_matrix (line 79) | def distance_matrix(vectors): class RewritesTester (line 91) | class RewritesTester(Compiler): method mk_pipeline (line 93) | def mk_pipeline(cls, args, return_type=None, flags=None, locals=None, method mk_no_rw_pipeline (line 108) | def mk_no_rw_pipeline(cls, args, return_type=None, flags=None, locals=... class TestArrayExpressions (line 118) | class TestArrayExpressions(MemoryLeakMixin, TestCase): method _compile_function (line 120) | def _compile_function(self, fn, arg_tys): method test_simple_expr (line 134) | def test_simple_expr(self): method _get_array_exprs (line 166) | def _get_array_exprs(self, block): method _array_expr_to_set (line 173) | def _array_expr_to_set(self, expr, out=None): method _test_root_function (line 191) | def _test_root_function(self, fn=pos_root): method _test_cube_function (line 215) | def _test_cube_function(self, fn=cube): method _test_explicit_output_function (line 233) | def _test_explicit_output_function(self, fn): method _assert_array_exprs (line 256) | def _assert_array_exprs(self, block, expected_count): method _assert_total_rewrite (line 264) | def _assert_total_rewrite(self, control_ir, test_ir, trivial=False): method _assert_no_rewrite (line 282) | def _assert_no_rewrite(self, control_ir, test_ir): method test_trivial_expr (line 296) | def test_trivial_expr(self): method test_complicated_expr (line 306) | def test_complicated_expr(self): method test_common_subexpressions (line 316) | def test_common_subexpressions(self, fn=neg_root_common_subexpr): method test_complex_subexpression (line 343) | def test_complex_subexpression(self): method test_ufunc_and_dufunc_calls (line 346) | def test_ufunc_and_dufunc_calls(self): method test_cmp_op (line 379) | def test_cmp_op(self): method test_explicit_output (line 387) | def test_explicit_output(self): class TestRewriteIssues (line 396) | class TestRewriteIssues(MemoryLeakMixin, TestCase): method test_issue_1184 (line 398) | def test_issue_1184(self): method test_issue_1264 (line 417) | def test_issue_1264(self): method test_issue_1372 (line 426) | def test_issue_1372(self): method test_unary_arrayexpr (line 441) | def test_unary_arrayexpr(self): method test_bitwise_arrayexpr (line 456) | def test_bitwise_arrayexpr(self): method test_annotations (line 472) | def test_annotations(self): method test_issue_5599_name_collision (line 488) | def test_issue_5599_name_collision(self): class TestSemantics (line 504) | class TestSemantics(MemoryLeakMixin, unittest.TestCase): method test_division_by_zero (line 506) | def test_division_by_zero(self): class TestOptionals (line 521) | class TestOptionals(MemoryLeakMixin, unittest.TestCase): method test_optional_scalar_type (line 525) | def test_optional_scalar_type(self): method test_optional_array_type (line 552) | def test_optional_array_type(self): class TestOptionalsExceptions (line 581) | class TestOptionalsExceptions(MemoryLeakMixin, unittest.TestCase): method test_optional_scalar_type_exception_on_none (line 584) | def test_optional_scalar_type_exception_on_none(self): method test_optional_array_type_exception_on_none (line 614) | def test_optional_array_type_exception_on_none(self): class TestExternalTypes (line 648) | class TestExternalTypes(MemoryLeakMixin, unittest.TestCase): method make_foo_type (line 660) | def make_foo_type(self, FooType): method test_external_type (line 694) | def test_external_type(self): FILE: numba/tests/test_array_iterators.py function array_iter (line 11) | def array_iter(arr): function array_iter_items (line 17) | def array_iter_items(arr): function array_view_iter (line 20) | def array_view_iter(arr, idx): function array_flat (line 26) | def array_flat(arr, out): function array_flat_getitem (line 30) | def array_flat_getitem(arr, ind): function array_flat_setitem (line 33) | def array_flat_setitem(arr, ind, val): function array_flat_sum (line 36) | def array_flat_sum(arr): function array_flat_len (line 42) | def array_flat_len(arr): function array_ndenumerate_zero_dim (line 45) | def array_ndenumerate_zero_dim(arr): function array_ndenumerate_sum (line 50) | def array_ndenumerate_sum(arr): function np_ndindex_empty (line 56) | def np_ndindex_empty(): function np_ndindex (line 62) | def np_ndindex(x, y): function np_ndindex_array (line 69) | def np_ndindex_array(arr): function np_nditer1 (line 77) | def np_nditer1(a): function np_nditer2 (line 83) | def np_nditer2(a, b): function np_nditer3 (line 89) | def np_nditer3(a, b, c): function iter_next (line 95) | def iter_next(arr): function array_flat_premature_free (line 110) | def array_flat_premature_free(size): function array_ndenumerate_premature_free (line 117) | def array_ndenumerate_premature_free(size): class TestArrayIterators (line 125) | class TestArrayIterators(MemoryLeakMixin, TestCase): method setUp (line 130) | def setUp(self): method check_array_iter_1d (line 133) | def check_array_iter_1d(self, arr): method check_array_iter_items (line 139) | def check_array_iter_items(self, arr): method check_array_view_iter (line 145) | def check_array_view_iter(self, arr, index): method check_array_flat (line 151) | def check_array_flat(self, arr, arrty=None): method check_array_unary (line 164) | def check_array_unary(self, arr, arrty, func): method check_array_ndenumerate_sum (line 168) | def check_array_ndenumerate_sum(self, arr, arrty): method test_array_iter (line 171) | def test_array_iter(self): method test_array_iter_yielded_order (line 188) | def test_array_iter_yielded_order(self): method test_array_view_iter (line 241) | def test_array_view_iter(self): method test_array_flat_3d (line 251) | def test_array_flat_3d(self): method test_array_flat_empty (line 276) | def test_array_flat_empty(self): method test_array_flat_getitem (line 306) | def test_array_flat_getitem(self): method test_array_flat_setitem (line 334) | def test_array_flat_setitem(self): method test_array_flat_len (line 366) | def test_array_flat_len(self): method test_array_flat_premature_free (line 383) | def test_array_flat_premature_free(self): method test_array_ndenumerate_2d (line 390) | def test_array_ndenumerate_2d(self): method test_array_ndenumerate_empty (line 416) | def test_array_ndenumerate_empty(self): method test_array_ndenumerate_premature_free (line 443) | def test_array_ndenumerate_premature_free(self): method test_array_ndenumerate_zero_dim (line 450) | def test_array_ndenumerate_zero_dim(self): method test_np_ndindex (line 460) | def test_np_ndindex(self): method test_np_ndindex_array (line 468) | def test_np_ndindex_array(self): method test_np_ndindex_empty (line 477) | def test_np_ndindex_empty(self): method test_iter_next (line 482) | def test_iter_next(self): class TestNdIter (line 489) | class TestNdIter(MemoryLeakMixin, TestCase): method inputs (line 494) | def inputs(self): method basic_inputs (line 514) | def basic_inputs(self): method check_result (line 521) | def check_result(self, got, expected): method test_nditer1 (line 524) | def test_nditer1(self): method test_nditer2 (line 532) | def test_nditer2(self): method test_nditer3 (line 540) | def test_nditer3(self): method test_errors (line 550) | def test_errors(self): FILE: numba/tests/test_array_manipulation.py function from_generic (line 17) | def from_generic(pyfuncs_to_use): function array_reshape (line 40) | def array_reshape(arr, newshape): function numpy_array_reshape (line 44) | def numpy_array_reshape(arr, newshape): function numpy_broadcast_to (line 48) | def numpy_broadcast_to(arr, shape): function numpy_broadcast_shapes (line 52) | def numpy_broadcast_shapes(*args): function numpy_broadcast_arrays (line 56) | def numpy_broadcast_arrays(*args): function numpy_broadcast_to_indexing (line 60) | def numpy_broadcast_to_indexing(arr, shape, idx): function flatten_array (line 64) | def flatten_array(a): function ravel_array (line 68) | def ravel_array(a): function ravel_array_size (line 72) | def ravel_array_size(a): function numpy_ravel_array (line 76) | def numpy_ravel_array(a): function transpose_array (line 80) | def transpose_array(a): function numpy_transpose_array (line 84) | def numpy_transpose_array(a): function numpy_transpose_array_axes_kwarg (line 89) | def numpy_transpose_array_axes_kwarg(arr, axes): function numpy_transpose_array_axes_kwarg_copy (line 94) | def numpy_transpose_array_axes_kwarg_copy(arr, axes): function array_transpose_axes (line 99) | def array_transpose_axes(arr, axes): function array_transpose_axes_copy (line 104) | def array_transpose_axes_copy(arr, axes): function transpose_issue_4708 (line 109) | def transpose_issue_4708(m, n): function squeeze_array (line 118) | def squeeze_array(a): function expand_dims (line 122) | def expand_dims(a, axis): function atleast_1d (line 126) | def atleast_1d(*args): function atleast_2d (line 130) | def atleast_2d(*args): function atleast_3d (line 134) | def atleast_3d(*args): function as_strided1 (line 138) | def as_strided1(a): function as_strided2 (line 144) | def as_strided2(a): function sliding_window_view (line 153) | def sliding_window_view(x, window_shape, axis=None): function bad_index (line 157) | def bad_index(arr, arr2d): function bad_float_index (line 164) | def bad_float_index(arr): function numpy_fill_diagonal (line 170) | def numpy_fill_diagonal(arr, val, wrap=False): function numpy_shape (line 174) | def numpy_shape(arr): function numpy_size (line 177) | def numpy_size(arr): function numpy_flatnonzero (line 181) | def numpy_flatnonzero(a): function numpy_argwhere (line 185) | def numpy_argwhere(a): function numpy_resize (line 188) | def numpy_resize(a, new_shape): class TestArrayManipulation (line 192) | class TestArrayManipulation(MemoryLeakMixin, TestCase): method test_array_reshape (line 196) | def test_array_reshape(self): method test_array_transpose_axes (line 307) | def test_array_transpose_axes(self): method test_numpy_resize_basic (line 397) | def test_numpy_resize_basic(self): method test_numpy_resize_exception (line 420) | def test_numpy_resize_exception(self): method test_expand_dims (line 447) | def test_expand_dims(self): method test_expand_dims_exceptions (line 475) | def test_expand_dims_exceptions(self): method check_atleast_nd (line 489) | def check_atleast_nd(self, pyfunc, cfunc): method test_atleast_1d (line 536) | def test_atleast_1d(self): method test_atleast_2d (line 541) | def test_atleast_2d(self): method test_atleast_3d (line 546) | def test_atleast_3d(self): method check_as_strided (line 551) | def check_as_strided(self, pyfunc): method test_as_strided (line 564) | def test_as_strided(self): method test_as_strided_stride_none (line 568) | def test_as_strided_stride_none(self): method test_sliding_window_view (line 581) | def test_sliding_window_view(self): method test_sliding_window_view_errors (line 617) | def test_sliding_window_view_errors(self): method test_flatten_array (line 685) | def test_flatten_array(self, flags=enable_pyobj_flags, layout='C'): method test_flatten_array_npm (line 703) | def test_flatten_array_npm(self): method test_ravel_array (line 708) | def test_ravel_array(self, flags=enable_pyobj_flags): method test_ravel_array_size (line 742) | def test_ravel_array_size(self, flags=enable_pyobj_flags): method test_ravel_array_npm (line 753) | def test_ravel_array_npm(self): method test_ravel_array_size_npm (line 756) | def test_ravel_array_size_npm(self): method test_transpose_array (line 759) | def test_transpose_array(self, flags=enable_pyobj_flags): method test_transpose_array_npm (line 773) | def test_transpose_array_npm(self): method test_squeeze_array (line 776) | def test_squeeze_array(self, flags=enable_pyobj_flags): method test_squeeze_array_npm (line 787) | def test_squeeze_array_npm(self): method test_add_axis (line 793) | def test_add_axis(self): method test_bad_index_npm (line 837) | def test_bad_index_npm(self): method test_bad_float_index_npm (line 845) | def test_bad_float_index_npm(self): method test_fill_diagonal_basic (line 851) | def test_fill_diagonal_basic(self): method test_fill_diagonal_exception_cases (line 923) | def test_fill_diagonal_exception_cases(self): method test_broadcast_to (line 969) | def test_broadcast_to(self): method test_broadcast_to_0d_array (line 1004) | def test_broadcast_to_0d_array(self): method test_broadcast_to_raises (line 1026) | def test_broadcast_to_raises(self): method test_broadcast_to_corner_cases (line 1074) | def test_broadcast_to_corner_cases(self): method test_broadcast_to_change_view (line 1083) | def test_broadcast_to_change_view(self): method test_broadcast_to_indexing (line 1094) | def test_broadcast_to_indexing(self): method test_broadcast_to_array_attrs (line 1105) | def test_broadcast_to_array_attrs(self): method test_broadcast_shapes (line 1119) | def test_broadcast_shapes(self): method test_broadcast_shapes_raises (line 1161) | def test_broadcast_shapes_raises(self): method test_broadcast_shapes_negative_dimension (line 1184) | def test_broadcast_shapes_negative_dimension(self): method test_broadcast_shapes_invalid_type (line 1194) | def test_broadcast_shapes_invalid_type(self): method test_shape (line 1214) | def test_shape(self): method test_size (line 1238) | def test_size(self): method test_flatnonzero_basic (line 1262) | def test_flatnonzero_basic(self): method test_argwhere_basic (line 1283) | def test_argwhere_basic(self): method array_like_variations (line 1307) | def array_like_variations(): method test_flatnonzero_array_like (line 1325) | def test_flatnonzero_array_like(self): method test_argwhere_array_like (line 1334) | def test_argwhere_array_like(self): method broadcast_arrays_assert_correct_shape (line 1342) | def broadcast_arrays_assert_correct_shape(self, input_shapes, expected... method test_broadcast_arrays_same_input_shapes (line 1354) | def test_broadcast_arrays_same_input_shapes(self): method test_broadcast_arrays_two_compatible_by_ones_input_shapes (line 1384) | def test_broadcast_arrays_two_compatible_by_ones_input_shapes(self): method test_broadcast_arrays_two_compatible_by_prepending_ones_input_shapes (line 1410) | def test_broadcast_arrays_two_compatible_by_prepending_ones_input_shap... method test_broadcast_arrays_scalar_input (line 1443) | def test_broadcast_arrays_scalar_input(self): method test_broadcast_arrays_tuple_input (line 1457) | def test_broadcast_arrays_tuple_input(self): method test_broadcast_arrays_non_array_input (line 1465) | def test_broadcast_arrays_non_array_input(self): method test_broadcast_arrays_invalid_mixed_input_types (line 1473) | def test_broadcast_arrays_invalid_mixed_input_types(self): method test_broadcast_arrays_invalid_input (line 1485) | def test_broadcast_arrays_invalid_input(self): method test_broadcast_arrays_incompatible_shapes_raise_valueerror (line 1497) | def test_broadcast_arrays_incompatible_shapes_raise_valueerror(self): method test_readonly_after_flatten (line 1519) | def test_readonly_after_flatten(self): method test_readonly_after_ravel (line 1539) | def test_readonly_after_ravel(self): method test_mutability_after_ravel (line 1559) | def test_mutability_after_ravel(self): FILE: numba/tests/test_array_methods.py function np_around_array (line 21) | def np_around_array(arr, decimals, out): function np_around_binary (line 24) | def np_around_binary(val, decimals): function np_around_unary (line 27) | def np_around_unary(val): function np_round_array (line 30) | def np_round_array(arr, decimals, out): function np_round__array (line 33) | def np_round__array(arr, decimals, out): function np_round_binary (line 36) | def np_round_binary(val, decimals): function np_round_unary (line 39) | def np_round_unary(val): function _fixed_np_round (line 42) | def _fixed_np_round(arr, decimals=0, out=None): function array_T (line 68) | def array_T(arr): function array_transpose (line 71) | def array_transpose(arr): function array_copy (line 74) | def array_copy(arr): function np_copy (line 77) | def np_copy(arr): function np_asfortranarray (line 80) | def np_asfortranarray(arr): function np_ascontiguousarray (line 83) | def np_ascontiguousarray(arr): function array_view (line 86) | def array_view(arr, newtype): function array_take (line 89) | def array_take(arr, indices): function array_take_kws (line 92) | def array_take_kws(arr, indices, axis): function np_arange_1 (line 95) | def np_arange_1(arg0): function np_arange_2 (line 98) | def np_arange_2(arg0, arg1): function np_arange_3 (line 101) | def np_arange_3(arg0, arg1, arg2): function np_arange_4 (line 104) | def np_arange_4(arg0, arg1, arg2, arg3): function np_arange_1_stop (line 107) | def np_arange_1_stop(arg0, stop): function np_arange_1_step (line 110) | def np_arange_1_step(arg0, step): function np_arange_1_dtype (line 113) | def np_arange_1_dtype(arg0, dtype): function np_arange_2_step (line 116) | def np_arange_2_step(arg0, arg1, step): function np_arange_2_dtype (line 119) | def np_arange_2_dtype(arg0, arg1, dtype): function np_arange_start_stop (line 122) | def np_arange_start_stop(start, stop): function np_arange_start_stop_step (line 125) | def np_arange_start_stop_step(start, stop, step): function np_arange_start_stop_step_dtype (line 128) | def np_arange_start_stop_step_dtype(start, stop, step, dtype): function array_fill (line 131) | def array_fill(arr, val): function make_array_view (line 135) | def make_array_view(newtype): function array_sliced_view (line 140) | def array_sliced_view(arr, ): function make_array_astype (line 143) | def make_array_astype(newtype): function np_frombuffer (line 149) | def np_frombuffer(b, dtype: np.dtype = np.float64, count=-1, offset=0): function np_frombuffer_dtype (line 155) | def np_frombuffer_dtype(b, count=-1, offset=0): function np_frombuffer_dtype_str (line 158) | def np_frombuffer_dtype_str(b, count=-1, offset=0): function np_frombuffer_allocated (line 161) | def np_frombuffer_allocated(shape): function np_frombuffer_allocated_dtype (line 168) | def np_frombuffer_allocated_dtype(shape): function identity_usecase (line 172) | def identity_usecase(a, b): function array_tobytes (line 175) | def array_tobytes(a): function array_nonzero (line 178) | def array_nonzero(a): function np_nonzero (line 181) | def np_nonzero(a): function np_where_1 (line 184) | def np_where_1(c): function np_where_3 (line 187) | def np_where_3(c, x, y): function array_item (line 190) | def array_item(a): function array_itemset (line 193) | def array_itemset(a, v): function array_sum (line 196) | def array_sum(a, *args): function array_sum_axis_kws (line 199) | def array_sum_axis_kws(a, axis): function array_sum_dtype_kws (line 202) | def array_sum_dtype_kws(a, dtype): function array_sum_axis_dtype_kws (line 205) | def array_sum_axis_dtype_kws(a, dtype, axis): function array_sum_axis_dtype_pos (line 208) | def array_sum_axis_dtype_pos(a, a1, a2): function array_sum_const_multi (line 211) | def array_sum_const_multi(arr, axis): function array_sum_const_axis_neg_one (line 225) | def array_sum_const_axis_neg_one(a, axis): function array_cumsum (line 230) | def array_cumsum(a, *args): function array_cumsum_kws (line 233) | def array_cumsum_kws(a, axis): function array_real (line 236) | def array_real(a): function array_imag (line 239) | def array_imag(a): function np_clip_no_out (line 242) | def np_clip_no_out(a, a_min, a_max): function np_clip (line 245) | def np_clip(a, a_min, a_max, out=None): function np_clip_kwargs (line 248) | def np_clip_kwargs(a, a_min, a_max, out=None): function array_clip (line 251) | def array_clip(a, a_min=None, a_max=None, out=None): function array_clip_kwargs (line 254) | def array_clip_kwargs(a, a_min=None, a_max=None, out=None): function array_clip_no_out (line 257) | def array_clip_no_out(a, a_min, a_max): function array_conj (line 260) | def array_conj(a): function array_conjugate (line 263) | def array_conjugate(a): function np_unique (line 266) | def np_unique(a): function array_dot (line 270) | def array_dot(a, b): function array_dot_chain (line 273) | def array_dot_chain(a, b): function array_ctor (line 276) | def array_ctor(n, dtype): class TestArrayMethods (line 279) | class TestArrayMethods(MemoryLeakMixin, TestCase): method setUp (line 284) | def setUp(self): method check_round_scalar (line 287) | def check_round_scalar(self, unary_pyfunc, binary_pyfunc): method test_round_scalar (line 315) | def test_round_scalar(self): method test_around_scalar (line 318) | def test_around_scalar(self): method check_round_array (line 321) | def check_round_array(self, pyfunc): method test_round_array (line 363) | def test_round_array(self): method test_around_array (line 366) | def test_around_array(self): method test_round__array (line 370) | def test_round__array(self): method test_around_bad_array (line 373) | def test_around_bad_array(self): method test_around_bad_out (line 380) | def test_around_bad_out(self): method test_array_view (line 390) | def test_array_view(self): method test_array_sliced_view (line 548) | def test_array_sliced_view(self): method test_array_astype (line 563) | def test_array_astype(self): method test_array_tobytes (line 611) | def test_array_tobytes(self): method check_np_frombuffer (line 617) | def check_np_frombuffer(self, pyfunc): method test_np_frombuffer (line 653) | def test_np_frombuffer(self): method test_np_frombuffer_dtype (line 656) | def test_np_frombuffer_dtype(self): method test_np_frombuffer_dtype_str (line 659) | def test_np_frombuffer_dtype_str(self): method test_np_frombuffer_dtype_non_const_str (line 662) | def test_np_frombuffer_dtype_non_const_str(self): method test_np_frombuffer_bad_buffer (line 675) | def test_np_frombuffer_bad_buffer(self): method check_layout_dependent_func (line 684) | def check_layout_dependent_func( method test_array_transpose (line 708) | def test_array_transpose(self): method test_array_T (line 711) | def test_array_T(self): method test_array_copy (line 714) | def test_array_copy(self): method check_object_copy (line 717) | def check_object_copy(self, pyfunc): method test_np_copy (line 732) | def test_np_copy(self): method check_ascontiguousarray_scalar (line 736) | def check_ascontiguousarray_scalar(self, pyfunc): method check_bad_array (line 745) | def check_bad_array(self, pyfunc): method test_np_asfortranarray (line 750) | def test_np_asfortranarray(self): method test_np_asfortranarray_readonly (line 755) | def test_np_asfortranarray_readonly(self): method test_np_ascontiguousarray (line 777) | def test_np_ascontiguousarray(self): method test_np_ascontiguousarray_readonly (line 782) | def test_np_ascontiguousarray_readonly(self): method check_np_frombuffer_allocated (line 804) | def check_np_frombuffer_allocated(self, pyfunc): method test_np_frombuffer_allocated (line 817) | def test_np_frombuffer_allocated(self): method test_np_frombuffer_allocated2 (line 820) | def test_np_frombuffer_allocated2(self): method check_nonzero (line 823) | def check_nonzero(self, pyfunc): method test_array_nonzero (line 865) | def test_array_nonzero(self): method test_np_nonzero (line 868) | def test_np_nonzero(self): method test_np_where_1 (line 871) | def test_np_where_1(self): method test_np_where_3 (line 874) | def test_np_where_3(self): method test_np_where_3_broadcast_x_y_scalar (line 941) | def test_np_where_3_broadcast_x_y_scalar(self): method test_np_where_3_broadcast_x_or_y_scalar (line 968) | def test_np_where_3_broadcast_x_or_y_scalar(self): method test_np_where_numpy_basic (line 1006) | def test_np_where_numpy_basic(self): method test_np_where_numpy_ndim (line 1037) | def test_np_where_numpy_ndim(self): method test_np_where_numpy_dtype_mix (line 1055) | def test_np_where_numpy_dtype_mix(self): method test_np_where_numpy_test_error (line 1083) | def test_np_where_numpy_test_error(self): method test_np_where_invalid_inputs (line 1099) | def test_np_where_invalid_inputs(self): method test_arange_1_arg (line 1120) | def test_arange_1_arg(self): method test_arange_2_arg (line 1144) | def test_arange_2_arg(self): method test_arange_3_arg (line 1183) | def test_arange_3_arg(self): method test_arange_4_arg (line 1226) | def test_arange_4_arg(self): method test_arange_throws (line 1245) | def test_arange_throws(self): method test_arange_accuracy (line 1284) | def test_arange_accuracy(self): method test_item (line 1294) | def test_item(self): method test_itemset (line 1323) | def test_itemset(self): method test_sum (line 1351) | def test_sum(self): method test_sum_axis_kws1 (line 1375) | def test_sum_axis_kws1(self): method test_sum_axis_kws2 (line 1403) | def test_sum_axis_kws2(self): method test_sum_dtype_kws (line 1448) | def test_sum_dtype_kws(self): method test_sum_axis_dtype_kws (line 1485) | def test_sum_axis_dtype_kws(self): method test_sum_axis_dtype_pos_arg (line 1526) | def test_sum_axis_dtype_pos_arg(self): method test_sum_1d_kws (line 1539) | def test_sum_1d_kws(self): method test_sum_const (line 1550) | def test_sum_const(self): method test_sum_exceptions (line 1560) | def test_sum_exceptions(self): method test_sum_const_negative (line 1578) | def test_sum_const_negative(self): method test_cumsum (line 1602) | def test_cumsum(self): method test_take (line 1617) | def test_take(self): method test_fill (line 1672) | def test_fill(self): method test_real (line 1700) | def test_real(self): method test_imag (line 1711) | def test_imag(self): method _lower_clip_result_test_util (line 1722) | def _lower_clip_result_test_util(self, func, a, a_min, a_max): method test_clip (line 1732) | def test_clip(self): method test_clip_array_min_max (line 1759) | def test_clip_array_min_max(self): method test_clip_bad_array (line 1791) | def test_clip_bad_array(self): method test_clip_bad_min (line 1797) | def test_clip_bad_min(self): method test_clip_bad_max (line 1803) | def test_clip_bad_max(self): method test_clip_bad_out (line 1809) | def test_clip_bad_out(self): method test_clip_no_broadcast (line 1815) | def test_clip_no_broadcast(self): method test_conj (line 1829) | def test_conj(self): method test_unique (line 1840) | def test_unique(self): method test_array_dot (line 1859) | def test_array_dot(self): method test_array_ctor_with_dtype_arg (line 1874) | def test_array_ctor_with_dtype_arg(self): method test_frombuffer_offset (line 1888) | def test_frombuffer_offset(self): method test_frombuffer_count (line 1896) | def test_frombuffer_count(self): method test_frombuffer_count_negative_means_all (line 1904) | def test_frombuffer_count_negative_means_all(self): method test_frombuffer_offset_and_count (line 1911) | def test_frombuffer_offset_and_count(self): method test_frombuffer_invalid_offset (line 1920) | def test_frombuffer_invalid_offset(self): method test_frombuffer_invalid_count (line 1928) | def test_frombuffer_invalid_count(self): class TestArrayComparisons (line 1937) | class TestArrayComparisons(TestCase): method test_identity (line 1939) | def test_identity(self): FILE: numba/tests/test_array_reductions.py function array_all (line 11) | def array_all(arr): function array_all_global (line 14) | def array_all_global(arr): function array_any (line 17) | def array_any(arr): function array_any_global (line 20) | def array_any_global(arr): function array_cumprod (line 23) | def array_cumprod(arr): function array_cumprod_global (line 26) | def array_cumprod_global(arr): function array_nancumprod (line 29) | def array_nancumprod(arr): function array_cumsum (line 32) | def array_cumsum(arr): function array_cumsum_global (line 35) | def array_cumsum_global(arr): function array_nancumsum (line 38) | def array_nancumsum(arr): function array_sum (line 41) | def array_sum(arr): function array_sum_global (line 44) | def array_sum_global(arr): function array_prod (line 47) | def array_prod(arr): function array_prod_global (line 50) | def array_prod_global(arr): function array_mean (line 53) | def array_mean(arr): function array_mean_global (line 56) | def array_mean_global(arr): function array_var (line 59) | def array_var(arr): function array_var_global (line 62) | def array_var_global(arr): function array_std (line 65) | def array_std(arr): function array_std_global (line 68) | def array_std_global(arr): function array_min (line 71) | def array_min(arr): function array_min_global (line 74) | def array_min_global(arr): function array_amin (line 77) | def array_amin(arr): function array_max (line 80) | def array_max(arr): function array_max_global (line 83) | def array_max_global(arr): function array_amax (line 86) | def array_amax(arr): function array_argmin (line 89) | def array_argmin(arr): function array_argmin_global (line 92) | def array_argmin_global(arr): function array_argmax (line 95) | def array_argmax(arr): function array_argmax_global (line 98) | def array_argmax_global(arr): function array_median_global (line 101) | def array_median_global(arr): function array_nanmin (line 104) | def array_nanmin(arr): function array_nanmax (line 107) | def array_nanmax(arr): function array_nanmean (line 110) | def array_nanmean(arr): function array_nansum (line 113) | def array_nansum(arr): function array_nanprod (line 116) | def array_nanprod(arr): function array_nanstd (line 119) | def array_nanstd(arr): function array_nanvar (line 122) | def array_nanvar(arr): function array_nanmedian_global (line 125) | def array_nanmedian_global(arr): function array_percentile_global (line 128) | def array_percentile_global(arr, q): function array_nanpercentile_global (line 131) | def array_nanpercentile_global(arr, q): function array_ptp_global (line 134) | def array_ptp_global(a): function array_ptp (line 137) | def array_ptp(a): function array_quantile_global (line 140) | def array_quantile_global(arr, q): function array_nanquantile_global (line 143) | def array_nanquantile_global(arr, q): function base_test_arrays (line 146) | def base_test_arrays(dtype): function full_test_arrays (line 163) | def full_test_arrays(dtype): function run_comparative (line 183) | def run_comparative(compare_func, test_array): class TestArrayReductions (line 191) | class TestArrayReductions(MemoryLeakMixin, TestCase): method setUp (line 196) | def setUp(self): method check_reduction_basic (line 200) | def check_reduction_basic(self, pyfunc, **kwargs): method check_scalar_basic (line 226) | def check_scalar_basic(self, pyfunc, **kwargs): method test_all_basic (line 262) | def test_all_basic(self, pyfunc=array_all): method test_array_all (line 277) | def test_array_all(self): method test_np_all (line 294) | def test_np_all(self): method test_any_basic (line 323) | def test_any_basic(self, pyfunc=array_any): method test_array_any (line 340) | def test_array_any(self): method test_np_any (line 356) | def test_np_any(self): method test_sum_basic (line 385) | def test_sum_basic(self): method test_mean_basic (line 388) | def test_mean_basic(self): method test_np_mean_scalar (line 391) | def test_np_mean_scalar(self): method test_var_basic (line 428) | def test_var_basic(self): method test_std_basic (line 431) | def test_std_basic(self): method test_min_basic (line 434) | def test_min_basic(self): method test_amin_basic (line 440) | def test_amin_basic(self): method test_max_basic (line 447) | def test_max_basic(self): method test_amax_basic (line 453) | def test_amax_basic(self): method test_argmin_basic (line 459) | def test_argmin_basic(self): method test_argmax_basic (line 462) | def test_argmax_basic(self): method test_nanmin_basic (line 465) | def test_nanmin_basic(self): method test_nanmax_basic (line 468) | def test_nanmax_basic(self): method test_nanmean_basic (line 471) | def test_nanmean_basic(self): method test_nansum_basic (line 474) | def test_nansum_basic(self): method test_nanprod_basic (line 477) | def test_nanprod_basic(self): method test_nanstd_basic (line 480) | def test_nanstd_basic(self): method test_nanvar_basic (line 483) | def test_nanvar_basic(self): method check_median_basic (line 486) | def check_median_basic(self, pyfunc, array_variations): method _array_variations (line 515) | def _array_variations(a): method test_median_basic (line 529) | def test_median_basic(self): method check_percentile_and_quantile (line 544) | def check_percentile_and_quantile(self, pyfunc, q_upper_bound): method check_percentile_edge_cases (line 609) | def check_percentile_edge_cases(self, pyfunc, q_upper_bound=100): method check_percentile_exceptions (line 655) | def check_percentile_exceptions(self, pyfunc): method check_quantile_exceptions (line 681) | def check_quantile_exceptions(self, pyfunc): method test_percentile_basic (line 707) | def test_percentile_basic(self): method test_nanpercentile_basic (line 713) | def test_nanpercentile_basic(self): method test_quantile_basic (line 719) | def test_quantile_basic(self): method test_nanquantile_basic (line 725) | def test_nanquantile_basic(self): method test_nanmedian_basic (line 731) | def test_nanmedian_basic(self): method test_array_sum_global (line 735) | def test_array_sum_global(self): method test_array_prod_int_1d (line 744) | def test_array_prod_int_1d(self): method test_array_prod_float_1d (line 753) | def test_array_prod_float_1d(self): method test_array_prod_global (line 762) | def test_array_prod_global(self): method test_np_prod_scalar (line 771) | def test_np_prod_scalar(self): method check_cumulative (line 793) | def check_cumulative(self, pyfunc): method test_array_cumsum (line 804) | def test_array_cumsum(self): method test_array_cumsum_global (line 807) | def test_array_cumsum_global(self): method test_array_cumprod (line 810) | def test_array_cumprod(self): method test_array_cumprod_global (line 813) | def test_array_cumprod_global(self): method check_aggregation_magnitude (line 816) | def check_aggregation_magnitude(self, pyfunc, is_prod=False): method test_sum_magnitude (line 835) | def test_sum_magnitude(self): method test_cumsum_magnitude (line 839) | def test_cumsum_magnitude(self): method test_nancumsum_magnitude (line 843) | def test_nancumsum_magnitude(self): method test_prod_magnitude (line 846) | def test_prod_magnitude(self): method test_cumprod_magnitude (line 850) | def test_cumprod_magnitude(self): method test_nancumprod_magnitude (line 854) | def test_nancumprod_magnitude(self): method test_mean_magnitude (line 857) | def test_mean_magnitude(self): method test_var_magnitude (line 861) | def test_var_magnitude(self): method test_std_magnitude (line 865) | def test_std_magnitude(self): method _do_check_nptimedelta (line 869) | def _do_check_nptimedelta(self, pyfunc, arr): method check_npdatetime (line 895) | def check_npdatetime(self, pyfunc): method check_nptimedelta (line 899) | def check_nptimedelta(self, pyfunc): method test_min_npdatetime (line 903) | def test_min_npdatetime(self): method test_max_npdatetime (line 907) | def test_max_npdatetime(self): method test_argmin_npdatetime (line 911) | def test_argmin_npdatetime(self): method test_argmax_npdatetime (line 915) | def test_argmax_npdatetime(self): method test_median_npdatetime (line 919) | def test_median_npdatetime(self): method test_sum_npdatetime (line 922) | def test_sum_npdatetime(self): method test_cumsum_npdatetime (line 925) | def test_cumsum_npdatetime(self): method test_mean_npdatetime (line 928) | def test_mean_npdatetime(self): method check_nan_cumulative (line 931) | def check_nan_cumulative(self, pyfunc): method test_nancumprod_basic (line 966) | def test_nancumprod_basic(self): method test_nancumsum_basic (line 970) | def test_nancumsum_basic(self): method test_ptp_basic (line 974) | def test_ptp_basic(self): method test_ptp_method (line 1013) | def test_ptp_method(self): method test_ptp_complex (line 1024) | def test_ptp_complex(self): method test_ptp_exceptions (line 1056) | def test_ptp_exceptions(self): method test_min_max_complex_basic (line 1075) | def test_min_max_complex_basic(self): method test_nanmin_nanmax_complex_basic (line 1100) | def test_nanmin_nanmax_complex_basic(self): method test_nanmin_nanmax_non_array_inputs (line 1126) | def test_nanmin_nanmax_non_array_inputs(self): method test_argmax_axis_1d_2d_4d (line 1151) | def test_argmax_axis_1d_2d_4d(self): method test_argmax_axis_out_of_range (line 1174) | def test_argmax_axis_out_of_range(self): method test_argmax_axis_must_be_integer (line 1195) | def test_argmax_axis_must_be_integer(self): method test_argmax_method_axis (line 1206) | def test_argmax_method_axis(self): method test_argmax_return_type (line 1215) | def test_argmax_return_type(self): method test_argmin_axis_1d_2d_4d (line 1225) | def test_argmin_axis_1d_2d_4d(self): method test_argmin_axis_out_of_range (line 1248) | def test_argmin_axis_out_of_range(self): method test_argmin_axis_must_be_integer (line 1270) | def test_argmin_axis_must_be_integer(self): method test_argmin_method_axis (line 1281) | def test_argmin_method_axis(self): method test_argmin_return_type (line 1290) | def test_argmin_return_type(self): method install_generated_tests (line 1301) | def install_generated_tests(cls): class TestArrayReductionsExceptions (line 1366) | class TestArrayReductionsExceptions(MemoryLeakMixin, TestCase): method check_exception (line 1371) | def check_exception(self, pyfunc, msg): method install (line 1382) | def install(cls): FILE: numba/tests/test_array_return.py function array_return (line 8) | def array_return(a, i): function array_return_start_with_loop (line 13) | def array_return_start_with_loop(a): class TestArrayReturn (line 19) | class TestArrayReturn(MemoryLeakMixin, unittest.TestCase): method test_array_return (line 20) | def test_array_return(self): method test_array_return_start_with_loop (line 27) | def test_array_return_start_with_loop(self): FILE: numba/tests/test_asnumbatype.py class TestAsNumbaType (line 25) | class TestAsNumbaType(TestCase): method test_simple_types (line 34) | def test_simple_types(self): method test_numba_types (line 42) | def test_numba_types(self): method test_single_containers (line 55) | def test_single_containers(self): method test_optional (line 77) | def test_optional(self): method test_nested_containers (line 98) | def test_nested_containers(self): method test_jitclass_registers (line 117) | def test_jitclass_registers(self): method test_type_alias (line 128) | def test_type_alias(self): method test_overwrite_type (line 138) | def test_overwrite_type(self): method test_any_throws (line 145) | def test_any_throws(self): method test_bad_union_throws (line 165) | def test_bad_union_throws(self): method test_instance_check_usecase (line 176) | def test_instance_check_usecase(self): FILE: numba/tests/test_auto_constants.py class TestAutoConstants (line 11) | class TestAutoConstants(unittest.TestCase): method test_numpy_nan (line 12) | def test_numpy_nan(self): method test_sys_constant (line 21) | def test_sys_constant(self): method test_module_string_constant (line 29) | def test_module_string_constant(self): FILE: numba/tests/test_blackscholes.py function cnd_array (line 24) | def cnd_array(d): function cnd (line 32) | def cnd(d): function blackscholes_arrayexpr (line 42) | def blackscholes_arrayexpr(stockPrice, optionStrike, optionYears, Riskfree, function blackscholes_scalar (line 63) | def blackscholes_scalar(callResult, putResult, stockPrice, optionStrike, function randfloat (line 82) | def randfloat(rand_var, low, high): class TestBlackScholes (line 86) | class TestBlackScholes(TestCase): method test_array_expr (line 87) | def test_array_expr(self): method test_scalar (line 102) | def test_scalar(self): FILE: numba/tests/test_boundscheck.py function basic_array_access (line 11) | def basic_array_access(a): function slice_array_access (line 15) | def slice_array_access(a): function fancy_array_access (line 20) | def fancy_array_access(x): function fancy_array_modify (line 25) | def fancy_array_modify(x): class TestBoundsCheckNoError (line 31) | class TestBoundsCheckNoError(MemoryLeakMixin, TestCase): method test_basic_array_boundscheck (line 34) | def test_basic_array_boundscheck(self): method test_slice_array_boundscheck (line 51) | def test_slice_array_boundscheck(self): method test_fancy_indexing_boundscheck (line 76) | def test_fancy_indexing_boundscheck(self): class TestNoCudaBoundsCheck (line 102) | class TestNoCudaBoundsCheck(SerialMixin, TestCase): method test_no_cuda_boundscheck (line 105) | def test_no_cuda_boundscheck(self): class TestBoundsCheckError (line 132) | class TestBoundsCheckError(TestCase): method test_basic_array_boundscheck (line 134) | def test_basic_array_boundscheck(self): method test_slice_array_boundscheck (line 151) | def test_slice_array_boundscheck(self): method test_fancy_indexing_boundscheck (line 171) | def test_fancy_indexing_boundscheck(self): method test_fancy_indexing_with_modification_boundscheck (line 192) | def test_fancy_indexing_with_modification_boundscheck(self): class TestBoundsEnvironmentVariable (line 213) | class TestBoundsEnvironmentVariable(TestCase): method setUp (line 214) | def setUp(self): method test_boundscheck_unset (line 232) | def test_boundscheck_unset(self): method test_boundscheck_enabled (line 245) | def test_boundscheck_enabled(self): method test_boundscheck_disabled (line 256) | def test_boundscheck_disabled(self): FILE: numba/tests/test_buffer_protocol.py function len_usecase (line 11) | def len_usecase(buf): function getitem_usecase (line 16) | def getitem_usecase(buf, i): function getslice_usecase (line 21) | def getslice_usecase(buf, i, j): function setitem_usecase (line 27) | def setitem_usecase(buf, i, v): function iter_usecase (line 32) | def iter_usecase(buf): function attrgetter (line 40) | def attrgetter(attr): class TestBufferProtocol (line 59) | class TestBufferProtocol(MemoryLeakMixin, TestCase): method _arrays (line 64) | def _arrays(self): method _memoryviews (line 82) | def _memoryviews(self): method _readonlies (line 113) | def _readonlies(self): method _check_unary (line 120) | def _check_unary(self, jitfunc, *args): method check_len (line 124) | def check_len(self, obj): method check_iter (line 127) | def check_iter(self, obj): method check_getitem (line 130) | def check_getitem(self, obj): method check_setitem (line 158) | def check_setitem(self, obj): method check_getslice (line 168) | def check_getslice(self, obj): method test_len (line 171) | def test_len(self): method test_getitem (line 181) | def test_getitem(self): method test_getslice (line 191) | def test_getslice(self): method test_setitem (line 201) | def test_setitem(self): method test_iter (line 212) | def test_iter(self): class TestMemoryView (line 222) | class TestMemoryView(MemoryLeakMixin, TestCase): method _arrays (line 227) | def _arrays(self): method test_ndim (line 240) | def test_ndim(self): method test_shape (line 245) | def test_shape(self): method test_strides (line 250) | def test_strides(self): method test_itemsize (line 255) | def test_itemsize(self): method test_nbytes (line 260) | def test_nbytes(self): method test_readonly (line 265) | def test_readonly(self): method test_contiguous (line 274) | def test_contiguous(self): FILE: numba/tests/test_builtins.py function abs_usecase (line 27) | def abs_usecase(x): function all_usecase (line 30) | def all_usecase(x, y): function any_usecase (line 40) | def any_usecase(x, y): function bool_usecase (line 50) | def bool_usecase(x): function complex_usecase (line 53) | def complex_usecase(x, y): function divmod_usecase (line 56) | def divmod_usecase(x, y): function enumerate_usecase (line 59) | def enumerate_usecase(): function enumerate_start_usecase (line 65) | def enumerate_start_usecase(): function enumerate_invalid_start_usecase (line 71) | def enumerate_invalid_start_usecase(): function filter_usecase (line 77) | def filter_usecase(x, filter_func): function float_usecase (line 80) | def float_usecase(x): function float_inf_usecase (line 83) | def float_inf_usecase(x): function format_usecase (line 96) | def format_usecase(x, y): function globals_usecase (line 99) | def globals_usecase(): function hex_usecase (line 104) | def hex_usecase(x): function str_usecase (line 107) | def str_usecase(x): function int_usecase (line 110) | def int_usecase(x, base): function iter_next_usecase (line 113) | def iter_next_usecase(x): function locals_usecase (line 117) | def locals_usecase(x): function long_usecase (line 121) | def long_usecase(x, base): function map_usecase (line 124) | def map_usecase(x, map_func): function max_usecase1 (line 128) | def max_usecase1(x, y): function max_usecase2 (line 131) | def max_usecase2(x, y): function max_usecase3 (line 134) | def max_usecase3(x): function max_usecase4 (line 137) | def max_usecase4(): function min_usecase1 (line 141) | def min_usecase1(x, y): function min_usecase2 (line 144) | def min_usecase2(x, y): function min_usecase3 (line 147) | def min_usecase3(x): function min_usecase4 (line 150) | def min_usecase4(): function oct_usecase (line 153) | def oct_usecase(x): function reduce_usecase (line 156) | def reduce_usecase(reduce_func, x): function round_usecase1 (line 159) | def round_usecase1(x): function round_usecase2 (line 162) | def round_usecase2(x, n): function sum_usecase (line 165) | def sum_usecase(x): function type_unary_usecase (line 168) | def type_unary_usecase(a, b): function truth_usecase (line 171) | def truth_usecase(p): function unichr_usecase (line 174) | def unichr_usecase(x): function zip_usecase (line 177) | def zip_usecase(): function zip_0_usecase (line 183) | def zip_0_usecase(): function zip_1_usecase (line 189) | def zip_1_usecase(): function zip_3_usecase (line 196) | def zip_3_usecase(): function zip_first_exhausted (line 203) | def zip_first_exhausted(): function pow_op_usecase (line 214) | def pow_op_usecase(x, y): function pow_usecase (line 218) | def pow_usecase(x, y): function sum_usecase (line 222) | def sum_usecase(x): function sum_kwarg_usecase (line 226) | def sum_kwarg_usecase(x, start=0): function isinstance_usecase (line 231) | def isinstance_usecase(a): function isinstance_dict (line 253) | def isinstance_dict(): function isinstance_usecase_numba_types (line 262) | def isinstance_usecase_numba_types(a): function isinstance_usecase_numba_types_2 (line 281) | def isinstance_usecase_numba_types_2(): function invalid_isinstance_usecase (line 294) | def invalid_isinstance_usecase(x): function isinstance_usecase_invalid_type (line 301) | def isinstance_usecase_invalid_type(x): function invalid_isinstance_usecase_phi_nopropagate (line 309) | def invalid_isinstance_usecase_phi_nopropagate(x): function invalid_isinstance_usecase_phi_nopropagate2 (line 320) | def invalid_isinstance_usecase_phi_nopropagate2(a): function invalid_isinstance_optional_usecase (line 331) | def invalid_isinstance_optional_usecase(x): function invalid_isinstance_unsupported_type_usecase (line 341) | def invalid_isinstance_unsupported_type_usecase(): class TestBuiltins (line 348) | class TestBuiltins(TestCase): method run_nullary_func (line 350) | def run_nullary_func(self, pyfunc, flags): method test_abs (line 355) | def test_abs(self, flags=forceobj_flags): method test_abs_npm (line 382) | def test_abs_npm(self): method test_all (line 385) | def test_all(self, flags=forceobj_flags): method test_all_npm (line 394) | def test_all_npm(self): method test_any (line 398) | def test_any(self, flags=forceobj_flags): method test_any_npm (line 407) | def test_any_npm(self): method test_bool (line 411) | def test_bool(self, flags=forceobj_flags): method test_bool_npm (line 424) | def test_bool_npm(self): method test_bool_nonnumber (line 427) | def test_bool_nonnumber(self, flags=forceobj_flags): method test_bool_nonnumber_npm (line 438) | def test_bool_nonnumber_npm(self): method test_complex (line 442) | def test_complex(self, flags=forceobj_flags): method test_complex_npm (line 452) | def test_complex_npm(self): method test_divmod_ints (line 455) | def test_divmod_ints(self, flags=forceobj_flags): method test_divmod_ints_npm (line 480) | def test_divmod_ints_npm(self): method test_divmod_floats (line 483) | def test_divmod_floats(self, flags=forceobj_flags): method test_divmod_floats_npm (line 500) | def test_divmod_floats_npm(self): method test_enumerate (line 503) | def test_enumerate(self, flags=forceobj_flags): method test_enumerate_npm (line 506) | def test_enumerate_npm(self): method test_enumerate_start (line 509) | def test_enumerate_start(self, flags=forceobj_flags): method test_enumerate_start_npm (line 512) | def test_enumerate_start_npm(self): method test_enumerate_start_invalid_start_type (line 515) | def test_enumerate_start_invalid_start_type(self): method test_enumerate_start_invalid_start_type_npm (line 526) | def test_enumerate_start_invalid_start_type_npm(self): method test_filter (line 533) | def test_filter(self, flags=forceobj_flags): method test_filter_npm (line 543) | def test_filter_npm(self): method test_float (line 547) | def test_float(self, flags=forceobj_flags): method test_float_npm (line 562) | def test_float_npm(self): method test_float_string_literal (line 566) | def test_float_string_literal(self): method test_format (line 572) | def test_format(self, flags=forceobj_flags): method test_format_npm (line 590) | def test_format_npm(self): method test_globals (line 594) | def test_globals(self, flags=forceobj_flags): method test_globals_npm (line 600) | def test_globals_npm(self): method test_globals_jit (line 604) | def test_globals_jit(self, flags=forceobj_flags): method test_globals_jit_npm (line 612) | def test_globals_jit_npm(self): method test_hex (line 616) | def test_hex(self, flags=forceobj_flags): method test_hex_npm (line 623) | def test_hex_npm(self): method test_int_str (line 627) | def test_int_str(self): method test_int (line 670) | def test_int(self, flags=forceobj_flags): method test_int_npm (line 680) | def test_int_npm(self): method test_iter_next (line 684) | def test_iter_next(self, flags=forceobj_flags): method test_iter_next_npm (line 693) | def test_iter_next_npm(self): method test_locals (line 696) | def test_locals(self, flags=forceobj_flags): method test_locals_forceobj (line 701) | def test_locals_forceobj(self): method test_locals_npm (line 704) | def test_locals_npm(self): method test_map (line 708) | def test_map(self, flags=forceobj_flags): method test_map_npm (line 718) | def test_map_npm(self): method check_minmax_1 (line 726) | def check_minmax_1(self, pyfunc, flags): method test_max_1 (line 734) | def test_max_1(self, flags=forceobj_flags): method test_min_1 (line 740) | def test_min_1(self, flags=forceobj_flags): method test_max_npm_1 (line 746) | def test_max_npm_1(self): method test_min_npm_1 (line 749) | def test_min_npm_1(self): method check_minmax_2 (line 752) | def check_minmax_2(self, pyfunc, flags): method test_max_2 (line 760) | def test_max_2(self, flags=forceobj_flags): method test_min_2 (line 766) | def test_min_2(self, flags=forceobj_flags): method test_max_npm_2 (line 772) | def test_max_npm_2(self): method test_min_npm_2 (line 776) | def test_min_npm_2(self): method check_minmax_3 (line 780) | def check_minmax_3(self, pyfunc, flags): method test_max_3 (line 791) | def test_max_3(self, flags=forceobj_flags): method test_min_3 (line 797) | def test_min_3(self, flags=forceobj_flags): method test_max_npm_3 (line 803) | def test_max_npm_3(self): method test_min_npm_3 (line 806) | def test_min_npm_3(self): method check_min_max_invalid_types (line 809) | def check_min_max_invalid_types(self, pyfunc, flags=forceobj_flags): method test_max_1_invalid_types (line 813) | def test_max_1_invalid_types(self): method test_max_1_invalid_types_npm (line 817) | def test_max_1_invalid_types_npm(self): method test_min_1_invalid_types (line 821) | def test_min_1_invalid_types(self): method test_min_1_invalid_types_npm (line 825) | def test_min_1_invalid_types_npm(self): method check_minmax_bool1 (line 829) | def check_minmax_bool1(self, pyfunc, flags): method test_max_bool1 (line 836) | def test_max_bool1(self, flags=forceobj_flags): method test_min_bool1 (line 840) | def test_min_bool1(self, flags=forceobj_flags): method check_min_max_unary_non_iterable (line 846) | def check_min_max_unary_non_iterable(self, pyfunc, flags=forceobj_flags): method test_max_unary_non_iterable (line 850) | def test_max_unary_non_iterable(self): method test_max_unary_non_iterable_npm (line 854) | def test_max_unary_non_iterable_npm(self): method test_min_unary_non_iterable (line 858) | def test_min_unary_non_iterable(self): method test_min_unary_non_iterable_npm (line 862) | def test_min_unary_non_iterable_npm(self): method check_min_max_empty_tuple (line 868) | def check_min_max_empty_tuple(self, pyfunc, func_name): method test_max_empty_tuple (line 874) | def test_max_empty_tuple(self): method test_min_empty_tuple (line 877) | def test_min_empty_tuple(self): method test_oct (line 881) | def test_oct(self, flags=forceobj_flags): method test_oct_npm (line 888) | def test_oct_npm(self): method test_reduce (line 892) | def test_reduce(self, flags=forceobj_flags): method test_reduce_npm (line 908) | def test_reduce_npm(self): method test_round1 (line 912) | def test_round1(self, flags=forceobj_flags): method test_round1_npm (line 922) | def test_round1_npm(self): method test_round2 (line 925) | def test_round2(self, flags=forceobj_flags): method test_round2_npm (line 940) | def test_round2_npm(self): method test_sum_objmode (line 943) | def test_sum_objmode(self, flags=forceobj_flags): method test_sum (line 957) | def test_sum(self): method test_sum_exceptions (line 1021) | def test_sum_exceptions(self): method test_truth (line 1049) | def test_truth(self): method test_type_unary (line 1056) | def test_type_unary(self): method test_zip (line 1071) | def test_zip(self, flags=forceobj_flags): method test_zip_npm (line 1074) | def test_zip_npm(self): method test_zip_1 (line 1077) | def test_zip_1(self, flags=forceobj_flags): method test_zip_1_npm (line 1080) | def test_zip_1_npm(self): method test_zip_3 (line 1083) | def test_zip_3(self, flags=forceobj_flags): method test_zip_3_npm (line 1086) | def test_zip_3_npm(self): method test_zip_0 (line 1089) | def test_zip_0(self, flags=forceobj_flags): method test_zip_0_npm (line 1092) | def test_zip_0_npm(self): method test_zip_first_exhausted (line 1095) | def test_zip_first_exhausted(self, flags=forceobj_flags): method test_zip_first_exhausted_npm (line 1102) | def test_zip_first_exhausted_npm(self): method test_pow_op_usecase (line 1105) | def test_pow_op_usecase(self): method test_pow_usecase (line 1119) | def test_pow_usecase(self): method _check_min_max (line 1133) | def _check_min_max(self, pyfunc): method test_min_max_iterable_input (line 1139) | def test_min_max_iterable_input(self): class TestOperatorMixedTypes (line 1165) | class TestOperatorMixedTypes(TestCase): method test_eq_ne (line 1167) | def test_eq_ne(self): method test_eq_ne_returns_literal_on_none (line 1181) | def test_eq_ne_returns_literal_on_none(self): method test_10414 (line 1206) | def test_10414(self): method test_cmp (line 1219) | def test_cmp(self): class TestIsinstanceBuiltin (line 1236) | class TestIsinstanceBuiltin(TestCase): method test_isinstance (line 1237) | def test_isinstance(self): method test_isinstance_dict (line 1260) | def test_isinstance_dict(self): method test_isinstance_issue9125 (line 1266) | def test_isinstance_issue9125(self): method test_isinstance_numba_types (line 1271) | def test_isinstance_numba_types(self): method test_isinstance_numba_types_2 (line 1291) | def test_isinstance_numba_types_2(self): method test_isinstance_invalid_type (line 1296) | def test_isinstance_invalid_type(self): method test_isinstance_exceptions (line 1311) | def test_isinstance_exceptions(self): method test_combinations (line 1333) | def test_combinations(self): method test_numba_types (line 1355) | def test_numba_types(self): method test_python_numpy_scalar_alias_problem (line 1372) | def test_python_numpy_scalar_alias_problem(self): method test_branch_prune (line 1391) | def test_branch_prune(self): method test_branch_prune_and_bind_to_sig (line 1411) | def test_branch_prune_and_bind_to_sig(self): method test_branch_prune_non_tuples_as_star_arg (line 1442) | def test_branch_prune_non_tuples_as_star_arg(self): method test_branch_prune_literal_as_star_arg (line 1467) | def test_branch_prune_literal_as_star_arg(self): class TestGetattrBuiltin (line 1494) | class TestGetattrBuiltin(MemoryLeakMixin, TestCase): method test_getattr_func_retty (line 1497) | def test_getattr_func_retty(self): method test_getattr_value_retty (line 1507) | def test_getattr_value_retty(self): method test_getattr_module_obj (line 1517) | def test_getattr_module_obj(self): method test_getattr_module_obj_not_implemented (line 1526) | def test_getattr_module_obj_not_implemented(self): method test_getattr_raises_attribute_error (line 1539) | def test_getattr_raises_attribute_error(self): method test_getattr_with_default (line 1553) | def test_getattr_with_default(self): method test_getattr_non_literal_str (line 1563) | def test_getattr_non_literal_str(self): method test_getattr_no_optional_type_generated (line 1575) | def test_getattr_no_optional_type_generated(self): class TestHasattrBuiltin (line 1590) | class TestHasattrBuiltin(MemoryLeakMixin, TestCase): method test_hasattr (line 1593) | def test_hasattr(self): method test_hasattr_non_const_attr (line 1604) | def test_hasattr_non_const_attr(self): class TestStrAndReprBuiltin (line 1626) | class TestStrAndReprBuiltin(MemoryLeakMixin, TestCase): method test_str_default (line 1628) | def test_str_default(self): method test_str_object_kwarg (line 1636) | def test_str_object_kwarg(self): method test_str_calls_dunder_str (line 1645) | def test_str_calls_dunder_str(self): method test_str_falls_back_to_repr (line 1670) | def test_str_falls_back_to_repr(self): method test_repr (line 1689) | def test_repr(self): method test_repr_fallback (line 1697) | def test_repr_fallback(self): FILE: numba/tests/test_byteflow.py class TestByteFlowIssues (line 10) | class TestByteFlowIssues(TestCase): method test_issue_5087 (line 11) | def test_issue_5087(self): method test_issue_5097 (line 71) | def test_issue_5097(self): method test_issue_5680 (line 81) | def test_issue_5680(self): FILE: numba/tests/test_caching.py function check_access_is_preventable (line 51) | def check_access_is_preventable(): function constant_unicode_cache (line 87) | def constant_unicode_cache(): function check_constant_unicode_cache (line 92) | def check_constant_unicode_cache(): function dict_cache (line 101) | def dict_cache(): function check_dict_cache (line 105) | def check_dict_cache(): function generator_cache (line 113) | def generator_cache(): function check_generator_cache (line 118) | def check_generator_cache(): class TestCaching (line 126) | class TestCaching(SerialMixin, TestCase): method run_test (line 127) | def run_test(self, func): method test_constant_unicode_cache (line 132) | def test_constant_unicode_cache(self): method test_dict_cache (line 135) | def test_dict_cache(self): method test_generator_cache (line 138) | def test_generator_cache(self): method test_omitted (line 141) | def test_omitted(self): function omitted_child_test_wrapper (line 184) | def omitted_child_test_wrapper(result_queue, cache_dir, second_call): class BaseCacheTest (line 212) | class BaseCacheTest(TestCase): method setUp (line 218) | def setUp(self): method tearDown (line 227) | def tearDown(self): method import_module (line 231) | def import_module(self): method cache_contents (line 248) | def cache_contents(self): method get_cache_mtimes (line 255) | def get_cache_mtimes(self): method check_pycache (line 259) | def check_pycache(self, n): method dummy_test (line 263) | def dummy_test(self): class DispatcherCacheUsecasesTest (line 267) | class DispatcherCacheUsecasesTest(BaseCacheTest): method run_in_separate_process (line 272) | def run_in_separate_process(self, *, envvars=None): method check_hits (line 300) | def check_hits(self, func, hits, misses=None): class TestCache (line 308) | class TestCache(DispatcherCacheUsecasesTest): method test_caching (line 310) | def test_caching(self): method test_caching_nrt_pruned (line 340) | def test_caching_nrt_pruned(self): method test_inner_then_outer (line 353) | def test_inner_then_outer(self): method test_outer_then_inner (line 373) | def test_outer_then_inner(self): method test_no_caching (line 387) | def test_no_caching(self): method test_looplifted (line 394) | def test_looplifted(self): method test_big_array (line 409) | def test_big_array(self): method test_ctypes (line 423) | def test_ctypes(self): method test_closure (line 441) | def test_closure(self): method test_first_class_function (line 457) | def test_first_class_function(self): method test_cache_reuse (line 468) | def test_cache_reuse(self): method test_cache_invalidate (line 498) | def test_cache_invalidate(self): method test_recompile (line 513) | def test_recompile(self): method test_same_names (line 531) | def test_same_names(self): method test_frozen (line 539) | def test_frozen(self): method _test_pycache_fallback (line 562) | def _test_pycache_fallback(self): method test_non_creatable_pycache (line 590) | def test_non_creatable_pycache(self): method test_non_writable_pycache (line 601) | def test_non_writable_pycache(self): method test_ipython (line 611) | def test_ipython(self): method test_ipykernel (line 666) | def test_ipykernel(self): class TestCacheZip (line 722) | class TestCacheZip(DispatcherCacheUsecasesTest): method setUp (line 724) | def setUp(self): method tearDown (line 747) | def tearDown(self): method test_zip_caching (line 753) | def test_zip_caching(self): class TestCacheZipLib (line 781) | class TestCacheZipLib(DispatcherCacheUsecasesTest): method test_zip_locator_creation (line 785) | def test_zip_locator_creation(self): method test_zip_locator_non_zip_path (line 797) | def test_zip_locator_non_zip_path(self): class TestSequentialParForsCache (line 809) | class TestSequentialParForsCache(DispatcherCacheUsecasesTest): method setUp (line 810) | def setUp(self): method tearDown (line 815) | def tearDown(self): method test_caching (line 820) | def test_caching(self): class TestCacheWithCpuSetting (line 832) | class TestCacheWithCpuSetting(DispatcherCacheUsecasesTest): method check_later_mtimes (line 836) | def check_later_mtimes(self, mtimes_old): method test_user_set_cpu_name (line 847) | def test_user_set_cpu_name(self): method test_user_set_cpu_features (line 882) | def test_user_set_cpu_features(self): class TestMultiprocessCache (line 924) | class TestMultiprocessCache(BaseCacheTest): method test_multiprocessing (line 934) | def test_multiprocessing(self): class TestCacheFileCollision (line 954) | class TestCacheFileCollision(unittest.TestCase): method setUp (line 973) | def setUp(self): method tearDown (line 987) | def tearDown(self): method import_bar1 (line 992) | def import_bar1(self): method import_bar2 (line 995) | def import_bar2(self): method test_file_location (line 998) | def test_file_location(self): method test_no_collision (line 1010) | def test_no_collision(self): function cache_file_collision_tester (line 1070) | def cache_file_collision_tester(q, tempdir, modname_bar1, modname_bar2): class TestCacheMultipleFilesWithSignature (line 1084) | class TestCacheMultipleFilesWithSignature(unittest.TestCase): method setUp (line 1104) | def setUp(self): method tearDown (line 1115) | def tearDown(self): method test_caching_mutliple_files_with_signature (line 1118) | def test_caching_mutliple_files_with_signature(self): class TestCFuncCache (line 1136) | class TestCFuncCache(BaseCacheTest): method run_in_separate_process (line 1142) | def run_in_separate_process(self): method check_module (line 1166) | def check_module(self, mod): method test_caching (line 1169) | def test_caching(self): class TestLocator (line 1193) | class TestLocator(InTreeCacheLocator): class TestCacheLocatorEnvironmentIntegration (line 1197) | class TestCacheLocatorEnvironmentIntegration(TestCase): method test_locators_env_override_unknown (line 1200) | def test_locators_env_override_unknown(self): method test_locators_env_override_single (line 1211) | def test_locators_env_override_single(self): method test_locators_env_override_custom (line 1224) | def test_locators_env_override_custom(self): method test_locators_env_override_list (line 1237) | def test_locators_env_override_list(self): method test_default_locators (line 1252) | def test_default_locators(self): class TestInTreeCacheLocatorFsAgnostic (line 1261) | class TestInTreeCacheLocatorFsAgnostic(TestCase): method test_source_stamp_precision (line 1264) | def test_source_stamp_precision(self): method test_timestamp_precision_on_fs (line 1297) | def test_timestamp_precision_on_fs(self): FILE: numba/tests/test_casting.py function float_to_int (line 9) | def float_to_int(x): function int_to_float (line 13) | def int_to_float(x): function float_to_unsigned (line 17) | def float_to_unsigned(x): function float_to_complex (line 21) | def float_to_complex(x): function numpy_scalar_cast_error (line 25) | def numpy_scalar_cast_error(): class TestCasting (line 28) | class TestCasting(unittest.TestCase): method test_float_to_int (line 29) | def test_float_to_int(self): method test_int_to_float (line 39) | def test_int_to_float(self): method test_float_to_unsigned (line 48) | def test_float_to_unsigned(self): method test_float_to_complex (line 57) | def test_float_to_complex(self): method test_array_to_array (line 65) | def test_array_to_array(self): method test_0darrayT_to_T (line 84) | def test_0darrayT_to_T(self): method test_array_to_scalar (line 105) | def test_array_to_scalar(self): method test_optional_to_optional (line 117) | def test_optional_to_optional(self): FILE: numba/tests/test_cffi.py class TestCFFI (line 19) | class TestCFFI(TestCase): method setUp (line 25) | def setUp(self): method test_type_map (line 29) | def test_type_map(self): method _test_function (line 34) | def _test_function(self, pyfunc, flags=enable_pyobj_flags): method test_sin_function (line 40) | def test_sin_function(self): method test_bool_function_ool (line 43) | def test_bool_function_ool(self): method test_sin_function_npm (line 49) | def test_sin_function_npm(self): method test_sin_function_ool (line 52) | def test_sin_function_ool(self, flags=enable_pyobj_flags): method test_sin_function_npm_ool (line 55) | def test_sin_function_npm_ool(self): method test_two_funcs (line 58) | def test_two_funcs(self): method test_two_funcs_ool (line 62) | def test_two_funcs_ool(self): method test_function_pointer (line 65) | def test_function_pointer(self): method test_user_defined_symbols (line 87) | def test_user_defined_symbols(self): method check_vector_sin (line 92) | def check_vector_sin(self, cfunc, x, y): method _test_from_buffer_numpy_array (line 96) | def _test_from_buffer_numpy_array(self, pyfunc, dtype): method test_from_buffer_float32 (line 102) | def test_from_buffer_float32(self): method test_from_buffer_float64 (line 105) | def test_from_buffer_float64(self): method test_from_buffer_struct (line 108) | def test_from_buffer_struct(self): method test_from_buffer_pyarray (line 119) | def test_from_buffer_pyarray(self): method test_from_buffer_error (line 126) | def test_from_buffer_error(self): method test_from_buffer_numpy_multi_array (line 137) | def test_from_buffer_numpy_multi_array(self): method test_indirect_multiple_use (line 165) | def test_indirect_multiple_use(self): FILE: numba/tests/test_cfunc.py function add_usecase (line 23) | def add_usecase(a, b): function div_usecase (line 26) | def div_usecase(a, b): function square_usecase (line 30) | def square_usecase(a): function objmode_usecase (line 39) | def objmode_usecase(a, b): function make_cfarray_usecase (line 47) | def make_cfarray_usecase(func): function make_cfarray_dtype_usecase (line 70) | def make_cfarray_dtype_usecase(func): class TestCFunc (line 105) | class TestCFunc(TestCase): method test_basic (line 107) | def test_basic(self): method test_cffi (line 130) | def test_cffi(self): method test_locals (line 139) | def test_locals(self): method test_errors (line 145) | def test_errors(self): method test_llvm_ir (line 161) | def test_llvm_ir(self): method test_object_mode (line 167) | def test_object_mode(self): class TestCArray (line 178) | class TestCArray(TestCase): method run_carray_usecase (line 183) | def run_carray_usecase(self, pointer_factory, func): method check_carray_usecase (line 189) | def check_carray_usecase(self, pointer_factory, pyfunc, cfunc): method make_voidptr (line 194) | def make_voidptr(self, arr): method make_float32_pointer (line 197) | def make_float32_pointer(self, arr): method make_float64_pointer (line 200) | def make_float64_pointer(self, arr): method check_carray_farray (line 203) | def check_carray_farray(self, func, order): method test_carray (line 243) | def test_carray(self): method test_farray (line 249) | def test_farray(self): method make_carray_sigs (line 255) | def make_carray_sigs(self, formal_sig): method check_numba_carray_farray (line 266) | def check_numba_carray_farray(self, usecase, dtype_usecase): method test_numba_carray (line 290) | def test_numba_carray(self): method test_numba_farray (line 296) | def test_numba_farray(self): class TestCffiStruct (line 304) | class TestCffiStruct(TestCase): method get_ffi (line 320) | def get_ffi(self, src=c_source): method test_type_parsing (line 327) | def test_type_parsing(self): method test_cfunc_callback (line 350) | def test_cfunc_callback(self): method test_unsupport_bitsize (line 393) | def test_unsupport_bitsize(self): FILE: numba/tests/test_cgutils.py function machine_const (line 17) | def machine_const(n): class StructureTestCase (line 21) | class StructureTestCase(TestCase): method setUp (line 23) | def setUp(self): method compile_function (line 28) | def compile_function(self, nargs): method get_bytearray_addr (line 53) | def get_bytearray_addr(self, ba): method test_compile_function (line 60) | def test_compile_function(self): method run_struct_access (line 69) | def run_struct_access(self, struct_class, buf, offset=0): method run_simple_struct_test (line 82) | def run_simple_struct_test(self, struct_class, struct_fmt, struct_args): method test_int_fields (line 97) | def test_int_fields(self): method test_float_fields (line 108) | def test_float_fields(self): class TestCGContext (line 120) | class TestCGContext(TestCase): method test_printf (line 123) | def test_printf(self): FILE: numba/tests/test_chained_assign.py class TestChainedAssign (line 8) | class TestChainedAssign(MemoryLeakMixin, unittest.TestCase): method test_chain1 (line 9) | def test_chain1(self): method test_chain2 (line 17) | def test_chain2(self): method test_unpack1 (line 25) | def test_unpack1(self): method test_unpack2 (line 33) | def test_unpack2(self): method test_chain3 (line 41) | def test_chain3(self): method test_unpack3 (line 49) | def test_unpack3(self): method test_unpack4 (line 57) | def test_unpack4(self): method test_unpack5 (line 65) | def test_unpack5(self): method test_unpack6 (line 73) | def test_unpack6(self): method _test_template (line 79) | def _test_template(self, pyfunc, argcases): FILE: numba/tests/test_chrome_trace.py class TestChromeTraceModule (line 10) | class TestChromeTraceModule(TestCase): method test_trace_output (line 15) | def test_trace_output(self): FILE: numba/tests/test_cli.py function run_cmd (line 21) | def run_cmd(cmdline, env=os.environ, timeout=60): class TestCLI (line 41) | class TestCLI(TestCase): method test_as_module_exit_code (line 43) | def test_as_module_exit_code(self): method test_sysinfo_from_module (line 50) | def test_sysinfo_from_module(self): method test_json_sysinfo_from_module (line 55) | def test_json_sysinfo_from_module(self): method test_gdb_status_from_module (line 109) | def test_gdb_status_from_module(self): class TestGDBCLIInfo (line 119) | class TestGDBCLIInfo(TestCase): method setUp (line 121) | def setUp(self): method tearDown (line 167) | def tearDown(self): method test_valid (line 172) | def test_valid(self): method test_invalid_binary (line 181) | def test_invalid_binary(self): method test_no_python (line 192) | def test_no_python(self): method test_unparsable_python_version (line 201) | def test_unparsable_python_version(self): method test_no_numpy (line 209) | def test_no_numpy(self): method test_no_numpy_version (line 219) | def test_no_numpy_version(self): method test_traceback_in_numpy_version (line 227) | def test_traceback_in_numpy_version(self): class TestGDBCLIInfoBrokenGdbs (line 239) | class TestGDBCLIInfoBrokenGdbs(TestCase): method test_cannot_find_gdb_from_name (line 244) | def test_cannot_find_gdb_from_name(self): method test_cannot_find_gdb_from_path (line 254) | def test_cannot_find_gdb_from_path(self): method test_nonsense_gdb_binary (line 267) | def test_nonsense_gdb_binary(self): FILE: numba/tests/test_closure.py class TestClosure (line 12) | class TestClosure(TestCase): method run_jit_closure_variable (line 14) | def run_jit_closure_variable(self, **jitargs): method test_jit_closure_variable (line 28) | def test_jit_closure_variable(self): method test_jit_closure_variable_npm (line 31) | def test_jit_closure_variable_npm(self): method run_rejitting_closure (line 34) | def run_rejitting_closure(self, **jitargs): method test_rejitting_closure (line 52) | def test_rejitting_closure(self): method test_rejitting_closure_npm (line 55) | def test_rejitting_closure_npm(self): method run_jit_multiple_closure_variables (line 58) | def run_jit_multiple_closure_variables(self, **jitargs): method test_jit_multiple_closure_variables (line 68) | def test_jit_multiple_closure_variables(self): method test_jit_multiple_closure_variables_npm (line 71) | def test_jit_multiple_closure_variables_npm(self): method run_jit_inner_function (line 74) | def run_jit_inner_function(self, **jitargs): method test_jit_inner_function (line 90) | def test_jit_inner_function(self): method test_jit_inner_function_npm (line 93) | def test_jit_inner_function_npm(self): class TestInlinedClosure (line 97) | class TestInlinedClosure(TestCase): method test_inner_function (line 104) | def test_inner_function(self): method test_inner_function_with_closure (line 116) | def test_inner_function_with_closure(self): method test_inner_function_with_closure_2 (line 129) | def test_inner_function_with_closure_2(self): method test_inner_function_with_closure_3 (line 143) | def test_inner_function_with_closure_3(self): method test_inner_function_nested (line 163) | def test_inner_function_nested(self): method test_bulk_use_cases (line 182) | def test_bulk_use_cases(self): method test_closure_renaming_scheme (line 442) | def test_closure_renaming_scheme(self): method test_issue9222 (line 476) | def test_issue9222(self): method test_issue_9577 (line 495) | def test_issue_9577(self): FILE: numba/tests/test_codegen.py class JITCPUCodegenTestCase (line 54) | class JITCPUCodegenTestCase(TestCase): method setUp (line 59) | def setUp(self): method tearDown (line 63) | def tearDown(self): method compile_module (line 67) | def compile_module(self, asm, linking_asm=None): method _check_unserialize_sum (line 81) | def _check_unserialize_sum(cls, state): method test_get_pointer_to_function (line 90) | def test_get_pointer_to_function(self): method test_magic_tuple (line 108) | def test_magic_tuple(self): method _check_serialize_unserialize (line 116) | def _check_serialize_unserialize(self, state): method _check_unserialize_other_process (line 119) | def _check_unserialize_other_process(self, state): method test_serialize_unserialize_bitcode (line 132) | def test_serialize_unserialize_bitcode(self): method test_unserialize_other_process_bitcode (line 137) | def test_unserialize_other_process_bitcode(self): method test_serialize_unserialize_object_code (line 142) | def test_serialize_unserialize_object_code(self): method test_unserialize_other_process_object_code (line 148) | def test_unserialize_other_process_object_code(self): method test_cache_disabled_inspection (line 154) | def test_cache_disabled_inspection(self): method test_library_lifetime (line 196) | def test_library_lifetime(self): class TestWrappers (line 210) | class TestWrappers(TestCase): method test_noinline_on_main_call (line 212) | def test_noinline_on_main_call(self): FILE: numba/tests/test_compile_cache.py class TestCompileCache (line 10) | class TestCompileCache(unittest.TestCase): method _context_builder_sig_args (line 17) | def _context_builder_sig_args(self): method test_cache (line 36) | def test_cache(self): method test_closures (line 84) | def test_closures(self): method test_error_model (line 112) | def test_error_model(self): FILE: numba/tests/test_compiler_flags.py class TestCompilerFlags (line 13) | class TestCompilerFlags(TestCase): method test_setting_invalid_attribute (line 14) | def test_setting_invalid_attribute(self): class TestCompilerFlagCachedOverload (line 21) | class TestCompilerFlagCachedOverload(TestCase): method test_fastmath_in_overload (line 22) | def test_fastmath_in_overload(self): class TestFlagMangling (line 51) | class TestFlagMangling(TestCase): method test_demangle (line 53) | def test_demangle(self): method test_mangled_flags_is_shorter (line 75) | def test_mangled_flags_is_shorter(self): method test_mangled_flags_with_fastmath_parfors_inline (line 82) | def test_mangled_flags_with_fastmath_parfors_inline(self): method test_demangling_from_mangled_symbols (line 94) | def test_demangling_from_mangled_symbols(self): FILE: numba/tests/test_compiler_lock.py class TestCompilerLock (line 9) | class TestCompilerLock(TestCase): method test_gcl_as_context_manager (line 10) | def test_gcl_as_context_manager(self): method test_gcl_as_decorator (line 14) | def test_gcl_as_decorator(self): FILE: numba/tests/test_complex.py class BaseComplexTest (line 14) | class BaseComplexTest(object): method basic_values (line 16) | def basic_values(self): method more_values (line 23) | def more_values(self): method non_nan_values (line 30) | def non_nan_values(self): method run_unary (line 35) | def run_unary(self, pyfunc, x_types, x_values, ulps=1, abs_tol=None, method run_binary (line 51) | def run_binary(self, pyfunc, value_types, values, ulps=1, class TestComplex (line 72) | class TestComplex(BaseComplexTest, TestCase): method test_real (line 74) | def test_real(self, flags=enable_pyobj_flags): method test_real_npm (line 82) | def test_real_npm(self): method test_imag (line 85) | def test_imag(self, flags=enable_pyobj_flags): method test_imag_npm (line 93) | def test_imag_npm(self): method test_conjugate (line 96) | def test_conjugate(self, flags=enable_pyobj_flags): method test_conjugate_npm (line 104) | def test_conjugate_npm(self): method test_div (line 107) | def test_div(self, flags=enable_pyobj_flags): method test_div_npm (line 118) | def test_div_npm(self): class TestCMath (line 122) | class TestCMath(BaseComplexTest, TestCase): method check_predicate_func (line 127) | def check_predicate_func(self, pyfunc, flags): method check_unary_func (line 131) | def check_unary_func(self, pyfunc, flags, ulps=1, abs_tol=None, method test_phase (line 143) | def test_phase(self): method test_phase_npm (line 146) | def test_phase_npm(self): method test_polar (line 149) | def test_polar(self): method test_polar_npm (line 152) | def test_polar_npm(self): method test_rect (line 155) | def test_rect(self, flags=enable_pyobj_flags): method test_rect_npm (line 164) | def test_rect_npm(self): method test_isnan (line 169) | def test_isnan(self, flags=enable_pyobj_flags): method test_isnan_npm (line 172) | def test_isnan_npm(self): method test_isinf (line 175) | def test_isinf(self, flags=enable_pyobj_flags): method test_isinf_npm (line 178) | def test_isinf_npm(self): method test_isfinite (line 181) | def test_isfinite(self, flags=enable_pyobj_flags): method test_isfinite_npm (line 184) | def test_isfinite_npm(self): method test_exp (line 189) | def test_exp(self): method test_exp_npm (line 192) | def test_exp_npm(self): method test_log (line 198) | def test_log(self): method test_log_npm (line 201) | def test_log_npm(self): method test_log_base (line 204) | def test_log_base(self, flags=enable_pyobj_flags): method test_log_base_npm (line 212) | def test_log_base_npm(self): method test_log10 (line 215) | def test_log10(self): method test_log10_npm (line 218) | def test_log10_npm(self): method test_sqrt (line 221) | def test_sqrt(self): method test_sqrt_npm (line 224) | def test_sqrt_npm(self): method test_acos (line 234) | def test_acos(self): method test_acos_npm (line 237) | def test_acos_npm(self): method test_asin (line 240) | def test_asin(self): method test_asin_npm (line 243) | def test_asin_npm(self): method test_atan (line 246) | def test_atan(self): method test_atan_npm (line 249) | def test_atan_npm(self): method test_cos (line 252) | def test_cos(self): method test_cos_npm (line 255) | def test_cos_npm(self): method test_sin (line 258) | def test_sin(self): method test_sin_npm (line 262) | def test_sin_npm(self): method test_tan (line 265) | def test_tan(self): method test_tan_npm (line 268) | def test_tan_npm(self): method test_acosh (line 273) | def test_acosh(self): method test_acosh_npm (line 276) | def test_acosh_npm(self): method test_asinh (line 279) | def test_asinh(self): method test_asinh_npm (line 282) | def test_asinh_npm(self): method test_atanh (line 285) | def test_atanh(self): method test_atanh_npm (line 288) | def test_atanh_npm(self): method test_cosh (line 291) | def test_cosh(self): method test_cosh_npm (line 294) | def test_cosh_npm(self): method test_sinh (line 297) | def test_sinh(self): method test_sinh_npm (line 300) | def test_sinh_npm(self): method test_tanh (line 303) | def test_tanh(self): method test_tanh_npm (line 306) | def test_tanh_npm(self): FILE: numba/tests/test_comprehension.py function comp_list (line 22) | def comp_list(n): class TestListComprehension (line 30) | class TestListComprehension(TestCase): method test_comp_list (line 32) | def test_comp_list(self): method test_bulk_use_cases (line 39) | def test_bulk_use_cases(self): method test_objmode_inlining (line 227) | def test_objmode_inlining(self): class TestArrayComprehension (line 240) | class TestArrayComprehension(unittest.TestCase): method check (line 244) | def check(self, pyfunc, *args, **kwargs): method test_comp_with_array_1 (line 263) | def test_comp_with_array_1(self): method test_comp_with_array_2 (line 273) | def test_comp_with_array_2(self): method test_comp_with_array_noinline (line 280) | def test_comp_with_array_noinline(self): method test_comp_with_array_noinline_issue_6053 (line 293) | def test_comp_with_array_noinline_issue_6053(self): method test_comp_nest_with_array (line 303) | def test_comp_nest_with_array(self): method test_comp_nest_with_array_3 (line 312) | def test_comp_nest_with_array_3(self): method test_comp_nest_with_array_noinline (line 321) | def test_comp_nest_with_array_noinline(self): method test_comp_with_array_range (line 334) | def test_comp_with_array_range(self): method test_comp_with_array_range_and_step (line 341) | def test_comp_with_array_range_and_step(self): method test_comp_with_array_conditional (line 348) | def test_comp_with_array_conditional(self): method test_comp_nest_with_array_conditional (line 355) | def test_comp_nest_with_array_conditional(self): method test_comp_nest_with_dependency (line 365) | def test_comp_nest_with_dependency(self): method test_comp_unsupported_iter (line 375) | def test_comp_unsupported_iter(self): method test_no_array_comp (line 385) | def test_no_array_comp(self): method test_nested_array (line 399) | def test_nested_array(self): method test_nested_array_with_const (line 406) | def test_nested_array_with_const(self): method test_array_comp_with_iter (line 413) | def test_array_comp_with_iter(self): method test_array_comp_with_dtype (line 427) | def test_array_comp_with_dtype(self): method test_array_comp_inferred_dtype (line 434) | def test_array_comp_inferred_dtype(self): method test_array_comp_inferred_dtype_nested (line 441) | def test_array_comp_inferred_dtype_nested(self): method test_array_comp_inferred_dtype_nested_sum (line 448) | def test_array_comp_inferred_dtype_nested_sum(self): method test_array_comp_inferred_dtype_outside_setitem (line 456) | def test_array_comp_inferred_dtype_outside_setitem(self): method test_array_comp_shuffle_sideeffect (line 479) | def test_array_comp_shuffle_sideeffect(self): method test_empty_list_not_removed (line 501) | def test_empty_list_not_removed(self): method test_reuse_of_array_var (line 511) | def test_reuse_of_array_var(self): FILE: numba/tests/test_conditions_as_predicates.py class TestConditionsAsPredicates (line 7) | class TestConditionsAsPredicates(TestCase): method test_scalars (line 9) | def test_scalars(self): method test_typed_list (line 36) | def test_typed_list(self): method test_reflected_list (line 54) | def test_reflected_list(self): method test_reflected_set (line 94) | def test_reflected_set(self): method test_typed_dict (line 134) | def test_typed_dict(self): method test_arrays (line 152) | def test_arrays(self): FILE: numba/tests/test_config.py class TestConfig (line 21) | class TestConfig(TestCase): method setUp (line 26) | def setUp(self): method mock_cfg_location (line 32) | def mock_cfg_location(self): method inject_mock_cfg (line 39) | def inject_mock_cfg(self, location, cfg): method get_settings (line 47) | def get_settings(self): method create_config_effect (line 57) | def create_config_effect(self, cfg): method test_config (line 90) | def test_config(self): method test_empty_config (line 104) | def test_empty_config(self): method test_nocona_disables_avx (line 111) | def test_nocona_disables_avx(self): class TestNumbaOptLevel (line 138) | class TestNumbaOptLevel(TestCase): method check (line 142) | def check(self, expected, opt_value, raw_value): method test_opt_max (line 171) | def test_opt_max(self): method test_opt_3 (line 180) | def test_opt_3(self): method test_opt_0 (line 189) | def test_opt_0(self): method test_opt_default (line 198) | def test_opt_default(self): method test_opt_invalid (line 208) | def test_opt_invalid(self): FILE: numba/tests/test_conversion.py function identity (line 13) | def identity(x): function addition (line 16) | def addition(x, y): function equality (line 19) | def equality(x, y): function foobar (line 22) | def foobar(x, y, z): class TestConversion (line 26) | class TestConversion(TestCase): method test_complex_identity (line 31) | def test_complex_identity(self): method test_complex_addition (line 49) | def test_complex_addition(self): method test_boolean_as_int (line 73) | def test_boolean_as_int(self): method test_boolean_as_float (line 83) | def test_boolean_as_float(self): method test_boolean_eq_boolean (line 93) | def test_boolean_eq_boolean(self): method test_negative_to_unsigned (line 108) | def test_negative_to_unsigned(self): method test_multiple_args_negative_to_unsigned (line 116) | def test_multiple_args_negative_to_unsigned(self): method test_multiple_args_records (line 127) | def test_multiple_args_records(self): method test_with_no_parameters (line 155) | def test_with_no_parameters(self): method check_argument_cleanup (line 160) | def check_argument_cleanup(self, typ, obj): method test_cleanup_buffer (line 190) | def test_cleanup_buffer(self): method test_cleanup_record (line 194) | def test_cleanup_record(self): method test_cleanup_tuple (line 199) | def test_cleanup_tuple(self): method test_cleanup_optional (line 204) | def test_cleanup_optional(self): method test_stringliteral_to_unicode (line 209) | def test_stringliteral_to_unicode(self): FILE: numba/tests/test_copy_propagate.py function test_will_propagate (line 18) | def test_will_propagate(b, z, w): function test_wont_propagate (line 29) | def test_wont_propagate(b, z, w): function null_func (line 40) | def null_func(a,b,c,d): function inListVar (line 44) | def inListVar(list_var, var): function findAssign (line 51) | def findAssign(func_ir, var): class TestCopyPropagate (line 62) | class TestCopyPropagate(unittest.TestCase): method test1 (line 63) | def test1(self): method test2 (line 91) | def test2(self): method test_input_ir_extra_copies (line 117) | def test_input_ir_extra_copies(self): method test_input_ir_copy_remove_transform (line 141) | def test_input_ir_copy_remove_transform(self): FILE: numba/tests/test_ctypes.py class TestCTypesTypes (line 16) | class TestCTypesTypes(TestCase): method _conversion_tests (line 18) | def _conversion_tests(self, check): method test_from_ctypes (line 32) | def test_from_ctypes(self): method test_to_ctypes (line 47) | def test_to_ctypes(self): class TestCTypesUseCases (line 64) | class TestCTypesUseCases(MemoryLeakMixin, TestCase): method test_c_sin (line 66) | def test_c_sin(self): method test_two_funcs (line 72) | def test_two_funcs(self): method test_stdcall (line 80) | def test_stdcall(self): method test_ctype_wrapping (line 86) | def test_ctype_wrapping(self): method test_ctype_voidptr (line 92) | def test_ctype_voidptr(self): method test_function_pointer (line 99) | def test_function_pointer(self): method test_untyped_function (line 113) | def test_untyped_function(self): method test_python_call_back (line 119) | def test_python_call_back(self): method test_python_call_back_threaded (line 136) | def test_python_call_back_threaded(self): method test_passing_array_ctypes_data (line 175) | def test_passing_array_ctypes_data(self): method check_array_ctypes (line 192) | def check_array_ctypes(self, pyfunc): method test_passing_array_ctypes_voidptr (line 201) | def test_passing_array_ctypes_voidptr(self): method test_passing_array_ctypes_voidptr_pass_ptr (line 208) | def test_passing_array_ctypes_voidptr_pass_ptr(self): method test_storing_voidptr_to_int_array (line 222) | def test_storing_voidptr_to_int_array(self): FILE: numba/tests/test_dataflow.py function assignments (line 11) | def assignments(a): function assignments2 (line 16) | def assignments2(a): function var_propagate1 (line 23) | def var_propagate1(a, b): function var_propagate2 (line 28) | def var_propagate2(a, b): function var_propagate3 (line 33) | def var_propagate3(a, b): function var_propagate4 (line 38) | def var_propagate4(a, b): function chained_compare (line 44) | def chained_compare(a): function stack_effect_error (line 49) | def stack_effect_error(x): function for_break (line 58) | def for_break(n, x): function var_swapping (line 68) | def var_swapping(a, b, c, d, e): class TestDataFlow (line 74) | class TestDataFlow(TestCase): method test_assignments (line 76) | def test_assignments(self, flags=force_pyobj_jit_opt): method test_assignments2 (line 82) | def test_assignments2(self, flags=force_pyobj_jit_opt): method run_propagate_func (line 94) | def run_propagate_func(self, func, args): method test_var_propagate1 (line 97) | def test_var_propagate1(self): method test_var_propagate2 (line 102) | def test_var_propagate2(self): method test_var_propagate3 (line 107) | def test_var_propagate3(self): method test_var_propagate4 (line 116) | def test_var_propagate4(self): method test_chained_compare (line 128) | def test_chained_compare(self, flags=force_pyobj_jit_opt): method test_chained_compare_npm (line 134) | def test_chained_compare_npm(self): method test_stack_effect_error (line 137) | def test_stack_effect_error(self, flags=force_pyobj_jit_opt): method test_stack_effect_error_npm (line 145) | def test_stack_effect_error_npm(self): method test_var_swapping (line 148) | def test_var_swapping(self, flags=force_pyobj_jit_opt): method test_var_swapping_npm (line 154) | def test_var_swapping_npm(self): method test_for_break (line 157) | def test_for_break(self, flags=force_pyobj_jit_opt): method test_for_break_npm (line 164) | def test_for_break_npm(self): FILE: numba/tests/test_datamodel.py class TestBool (line 10) | class TestBool(test_factory()): class TestPyObject (line 14) | class TestPyObject(test_factory()): class TestInt8 (line 18) | class TestInt8(test_factory()): class TestInt16 (line 22) | class TestInt16(test_factory()): class TestInt32 (line 26) | class TestInt32(test_factory()): class TestInt64 (line 30) | class TestInt64(test_factory()): class TestUInt8 (line 34) | class TestUInt8(test_factory()): class TestUInt16 (line 38) | class TestUInt16(test_factory()): class TestUInt32 (line 42) | class TestUInt32(test_factory()): class TestUInt64 (line 46) | class TestUInt64(test_factory()): class TestFloat (line 50) | class TestFloat(test_factory()): class TestDouble (line 54) | class TestDouble(test_factory()): class TestComplex (line 58) | class TestComplex(test_factory()): class TestDoubleComplex (line 62) | class TestDoubleComplex(test_factory()): class TestPointerOfInt32 (line 66) | class TestPointerOfInt32(test_factory()): class TestUniTupleOf2xInt32 (line 70) | class TestUniTupleOf2xInt32(test_factory()): class TestUniTupleEmpty (line 74) | class TestUniTupleEmpty(test_factory()): class TestTupleInt32Float32 (line 78) | class TestTupleInt32Float32(test_factory()): class TestTupleEmpty (line 82) | class TestTupleEmpty(test_factory()): class Test1DArrayOfInt32 (line 86) | class Test1DArrayOfInt32(test_factory()): class Test2DArrayOfComplex128 (line 90) | class Test2DArrayOfComplex128(test_factory()): class Test0DArrayOfInt32 (line 94) | class Test0DArrayOfInt32(test_factory()): class TestArgInfo (line 98) | class TestArgInfo(unittest.TestCase): method _test_as_arguments (line 100) | def _test_as_arguments(self, fe_args): method test_int32_array_complex (line 137) | def test_int32_array_complex(self): method test_two_arrays (line 143) | def test_two_arrays(self): method test_two_0d_arrays (line 147) | def test_two_0d_arrays(self): method test_tuples (line 151) | def test_tuples(self): method test_empty_tuples (line 164) | def test_empty_tuples(self): method test_nested_empty_tuples (line 171) | def test_nested_empty_tuples(self): class TestMemInfo (line 178) | class TestMemInfo(unittest.TestCase): method setUp (line 179) | def setUp(self): method test_number (line 182) | def test_number(self): method test_array (line 187) | def test_array(self): method test_tuple_of_number (line 192) | def test_tuple_of_number(self): method test_tuple_of_array (line 197) | def test_tuple_of_array(self): class TestMisc (line 203) | class TestMisc(unittest.TestCase): method test_issue2921 (line 205) | def test_issue2921(self): class TestDMMChaining (line 220) | class TestDMMChaining(unittest.TestCase): method test_basic (line 221) | def test_basic(self): FILE: numba/tests/test_debug.py function simple_nopython (line 20) | def simple_nopython(somearg): function simple_gen (line 24) | def simple_gen(x, y): class SimpleClass (line 29) | class SimpleClass(object): method __init__ (line 30) | def __init__(self): function simple_class_user (line 35) | def simple_class_user(obj): function unsupported_parfor (line 38) | def unsupported_parfor(a, b): function supported_parfor (line 41) | def supported_parfor(n): function unsupported_prange (line 47) | def unsupported_prange(n): class DebugTestBase (line 55) | class DebugTestBase(TestCase): method assert_fails (line 60) | def assert_fails(self, *args, **kwargs): method check_debug_output (line 63) | def check_debug_output(self, out, dump_names): method _check_dump_bytecode (line 75) | def _check_dump_bytecode(self, out): method _check_dump_cfg (line 83) | def _check_dump_cfg(self, out): method _check_dump_ir (line 86) | def _check_dump_ir(self, out): method _check_dump_typeinfer (line 89) | def _check_dump_typeinfer(self, out): method _check_dump_llvm (line 92) | def _check_dump_llvm(self, out): method _check_dump_func_opt_llvm (line 97) | def _check_dump_func_opt_llvm(self, out): method _check_dump_optimized_llvm (line 102) | def _check_dump_optimized_llvm(self, out): method _check_dump_assembly (line 106) | def _check_dump_assembly(self, out): class FunctionDebugTestBase (line 112) | class FunctionDebugTestBase(DebugTestBase): method compile_simple_nopython (line 116) | def compile_simple_nopython(self): class TestFunctionDebugOutput (line 124) | class TestFunctionDebugOutput(FunctionDebugTestBase): method test_dump_bytecode (line 126) | def test_dump_bytecode(self): method test_dump_ir (line 131) | def test_dump_ir(self): method test_dump_cfg (line 136) | def test_dump_cfg(self): method test_dump_llvm (line 141) | def test_dump_llvm(self): method test_dump_func_opt_llvm (line 146) | def test_dump_func_opt_llvm(self): method test_dump_optimized_llvm (line 151) | def test_dump_optimized_llvm(self): method test_dump_assembly (line 156) | def test_dump_assembly(self): class TestGeneratorDebugOutput (line 162) | class TestGeneratorDebugOutput(DebugTestBase): method compile_simple_gen (line 166) | def compile_simple_gen(self): method test_dump_ir_generator (line 173) | def test_dump_ir_generator(self): class TestDisableJIT (line 186) | class TestDisableJIT(DebugTestBase): method test_jit (line 191) | def test_jit(self): method test_jitclass (line 197) | def test_jitclass(self): class TestEnvironmentOverride (line 209) | class TestEnvironmentOverride(FunctionDebugTestBase): method test_debug (line 217) | def test_debug(self): class TestParforsDebug (line 230) | class TestParforsDebug(TestCase): method check_parfors_warning (line 238) | def check_parfors_warning(self, warn_list): method check_parfors_unsupported_prange_warning (line 248) | def check_parfors_unsupported_prange_warning(self, warn_list): method test_warns (line 261) | def test_warns(self): method test_unsupported_prange_warns (line 274) | def test_unsupported_prange_warns(self): method test_array_debug_opt_stats (line 284) | def test_array_debug_opt_stats(self): FILE: numba/tests/test_debuginfo.py class TestDebugInfo (line 23) | class TestDebugInfo(TestCase): method _getasm (line 28) | def _getasm(self, fn, sig): method _check (line 32) | def _check(self, fn, sig, expect): method test_no_debuginfo_in_asm (line 38) | def test_no_debuginfo_in_asm(self): method test_debuginfo_in_asm (line 45) | def test_debuginfo_in_asm(self): method test_environment_override (line 52) | def test_environment_override(self): method test_llvm_inliner_flag_conflict (line 66) | def test_llvm_inliner_flag_conflict(self): class TestDebugInfoEmission (line 123) | class TestDebugInfoEmission(TestCase): method _get_llvmir (line 129) | def _get_llvmir(self, fn, sig): method _get_metadata (line 134) | def _get_metadata(self, fn, sig): method _get_metadata_map (line 143) | def _get_metadata_map(self, metadata): method _get_lines_from_debuginfo (line 156) | def _get_lines_from_debuginfo(self, metadata): method test_DW_LANG (line 168) | def test_DW_LANG(self): method test_DILocation (line 181) | def test_DILocation(self): method test_DILocation_entry_blk (line 306) | def test_DILocation_entry_blk(self): method test_DILocation_decref (line 363) | def test_DILocation_decref(self): method test_DILocation_undefined (line 395) | def test_DILocation_undefined(self): method test_DILocation_versioned_variables (line 427) | def test_DILocation_versioned_variables(self): method test_numeric_scalars (line 473) | def test_numeric_scalars(self): method test_arrays (line 528) | def test_arrays(self): method test_debug_optnone (line 602) | def test_debug_optnone(self): method test_omitted_arg (line 667) | def test_omitted_arg(self): method test_missing_source (line 714) | def test_missing_source(self): method test_irregularly_indented_source (line 737) | def test_irregularly_indented_source(self): method test_no_if_op_bools_declared (line 757) | def test_no_if_op_bools_declared(self): FILE: numba/tests/test_deprecations.py function _catch_numba_deprecation_warnings (line 12) | def _catch_numba_deprecation_warnings(): class TestDeprecation (line 19) | class TestDeprecation(TestCase): method check_warning (line 21) | def check_warning(self, warnings, expected_str, category, check_rtd=Tr... method test_explicit_false_nopython_kwarg (line 30) | def test_explicit_false_nopython_kwarg(self): method test_vectorize_missing_nopython_kwarg_not_reported (line 45) | def test_vectorize_missing_nopython_kwarg_not_reported(self): method test_vectorize_nopython_false_is_reported (line 58) | def test_vectorize_nopython_false_is_reported(self): method test_vectorize_objmode_direct_compilation_no_warnings (line 72) | def test_vectorize_objmode_direct_compilation_no_warnings(self): method test_vectorize_objmode_compilation_nopython_false_warns (line 85) | def test_vectorize_objmode_compilation_nopython_false_warns(self): method test_vectorize_parallel_true_no_warnings (line 100) | def test_vectorize_parallel_true_no_warnings(self): method test_vectorize_parallel_true_nopython_true_no_warnings (line 112) | def test_vectorize_parallel_true_nopython_true_no_warnings(self): method test_vectorize_parallel_true_nopython_false_warns (line 123) | def test_vectorize_parallel_true_nopython_false_warns(self): method test_vectorize_calling_jit_with_nopython_false_warns_from_jit (line 135) | def test_vectorize_calling_jit_with_nopython_false_warns_from_jit(self): method test_guvectorize_implicit_nopython_no_warnings (line 153) | def test_guvectorize_implicit_nopython_no_warnings(self): method test_guvectorize_forceobj_no_warnings (line 165) | def test_guvectorize_forceobj_no_warnings(self): method test_guvectorize_parallel_implicit_nopython_no_warnings (line 179) | def test_guvectorize_parallel_implicit_nopython_no_warnings(self): method test_guvectorize_parallel_forceobj_no_warnings (line 192) | def test_guvectorize_parallel_forceobj_no_warnings(self): method test_reflection_of_mutable_container (line 208) | def test_reflection_of_mutable_container(self): method test_pycc_module (line 236) | def test_pycc_module(self): method test_pycc_CC (line 249) | def test_pycc_CC(self): FILE: numba/tests/test_dictimpl.py class Dict (line 21) | class Dict(object): method __init__ (line 25) | def __init__(self, tc, keysize, valsize): method __del__ (line 40) | def __del__(self): method __len__ (line 43) | def __len__(self): method __setitem__ (line 46) | def __setitem__(self, k, v): method __getitem__ (line 53) | def __getitem__(self, k): method __delitem__ (line 62) | def __delitem__(self, k): method get (line 68) | def get(self, k): method items (line 74) | def items(self): method popitem (line 77) | def popitem(self): method dict_new_minsize (line 85) | def dict_new_minsize(self, key_size, val_size): method dict_length (line 93) | def dict_length(self): method dict_insert (line 96) | def dict_insert(self, key_bytes, val_bytes): method dict_lookup (line 103) | def dict_lookup(self, key_bytes): method dict_delitem (line 112) | def dict_delitem(self, key_bytes): method dict_popitem (line 121) | def dict_popitem(self): method dict_iter (line 132) | def dict_iter(self, itptr): method dict_iter_next (line 135) | def dict_iter_next(self, itptr): class DictIter (line 159) | class DictIter(object): method __init__ (line 165) | def __init__(self, parent): method __iter__ (line 172) | def __iter__(self): method __next__ (line 175) | def __next__(self): class Parametrized (line 186) | class Parametrized(tuple): method __init__ (line 189) | def __init__(self, tup): class ParametrizedType (line 193) | class ParametrizedType(types.Type): method __init__ (line 197) | def __init__(self, value): method key (line 203) | def key(self): method __len__ (line 206) | def __len__(self): class TestDictImpl (line 210) | class TestDictImpl(TestCase): method setUp (line 211) | def setUp(self): method test_simple_c_test (line 347) | def test_simple_c_test(self): method test_insertion_small (line 352) | def test_insertion_small(self): method check_insertion_many (line 382) | def check_insertion_many(self, nmax): method test_insertion_many (line 401) | def test_insertion_many(self): method test_deletion_small (line 420) | def test_deletion_small(self): method check_delete_randomly (line 461) | def check_delete_randomly(self, nmax, ndrop, nrefill, seed=0): method test_delete_randomly (line 516) | def test_delete_randomly(self): method test_delete_randomly_large (line 526) | def test_delete_randomly_large(self): method test_popitem (line 533) | def test_popitem(self): method test_iter_items (line 567) | def test_iter_items(self): method check_sizing (line 586) | def check_sizing(self, key_size, val_size, nmax): method test_sizing (line 604) | def test_sizing(self): method test_parameterized_types (line 609) | def test_parameterized_types(self): FILE: numba/tests/test_dictobject.py class TestDictObject (line 27) | class TestDictObject(MemoryLeakMixin, TestCase): method test_dict_bool (line 28) | def test_dict_bool(self): method test_dict_create (line 48) | def test_dict_create(self): method test_dict_get (line 68) | def test_dict_get(self): method test_dict_get_with_default (line 88) | def test_dict_get_with_default(self): method test_dict_getitem (line 104) | def test_dict_getitem(self): method test_dict_popitem (line 132) | def test_dict_popitem(self): method test_dict_popitem_many (line 154) | def test_dict_popitem_many(self): method test_dict_pop (line 195) | def test_dict_pop(self): method test_dict_pop_many (line 231) | def test_dict_pop_many(self): method test_dict_delitem (line 262) | def test_dict_delitem(self): method test_dict_clear (line 284) | def test_dict_clear(self): method test_dict_items (line 303) | def test_dict_items(self): method test_dict_keys (line 337) | def test_dict_keys(self): method test_dict_keys_len (line 360) | def test_dict_keys_len(self): method test_dict_values (line 380) | def test_dict_values(self): method test_dict_values_len (line 403) | def test_dict_values_len(self): method test_dict_items_len (line 423) | def test_dict_items_len(self): method test_dict_iter (line 442) | def test_dict_iter(self): method test_dict_contains (line 465) | def test_dict_contains(self): method test_dict_copy (line 488) | def test_dict_copy(self): method test_dict_setdefault (line 505) | def test_dict_setdefault(self): method test_dict_equality (line 523) | def test_dict_equality(self): method test_dict_equality_more (line 546) | def test_dict_equality_more(self): method test_dict_equality_diff_type (line 589) | def test_dict_equality_diff_type(self): method test_dict_to_from_meminfo (line 605) | def test_dict_to_from_meminfo(self): method test_001_cannot_downcast_key (line 635) | def test_001_cannot_downcast_key(self): method test_002_cannot_downcast_default (line 652) | def test_002_cannot_downcast_default(self): method test_003_cannot_downcast_key (line 669) | def test_003_cannot_downcast_key(self): method test_004_cannot_downcast_key (line 687) | def test_004_cannot_downcast_key(self): method test_005_cannot_downcast_value (line 701) | def test_005_cannot_downcast_value(self): method test_006_cannot_downcast_key (line 715) | def test_006_cannot_downcast_key(self): method test_007_collision_checks (line 730) | def test_007_collision_checks(self): method test_008_lifo_popitem (line 747) | def test_008_lifo_popitem(self): method test_010_cannot_downcast_default (line 768) | def test_010_cannot_downcast_default(self): method test_011_cannot_downcast_key (line 784) | def test_011_cannot_downcast_key(self): method test_012_cannot_downcast_key (line 800) | def test_012_cannot_downcast_key(self): method test_013_contains_empty_dict (line 815) | def test_013_contains_empty_dict(self): method test_014_not_contains_empty_dict (line 824) | def test_014_not_contains_empty_dict(self): method test_015_dict_clear (line 833) | def test_015_dict_clear(self): method test_016_cannot_downcast_key (line 847) | def test_016_cannot_downcast_key(self): method test_017_cannot_downcast_default (line 861) | def test_017_cannot_downcast_default(self): method test_018_keys_iter_are_views (line 875) | def test_018_keys_iter_are_views(self): method test_019 (line 895) | def test_019(self): method test_020_string_key (line 907) | def test_020_string_key(self): method test_021_long_str_key (line 924) | def test_021_long_str_key(self): method test_022_references_juggle (line 937) | def test_022_references_juggle(self): method test_023_closure (line 961) | def test_023_closure(self): method test_024_unicode_getitem_keys (line 974) | def test_024_unicode_getitem_keys(self): method test_issue6570_alignment_padding (line 992) | def test_issue6570_alignment_padding(self): method test_dict_update (line 1010) | def test_dict_update(self): class TestDictTypeCasting (line 1052) | class TestDictTypeCasting(TestCase): method check_good (line 1053) | def check_good(self, fromty, toty): method check_bad (line 1056) | def check_bad(self, fromty, toty): method test_cast_int_to (line 1064) | def test_cast_int_to(self): method test_cast_float_to (line 1072) | def test_cast_float_to(self): method test_cast_bool_to (line 1077) | def test_cast_bool_to(self): class TestTypedDict (line 1083) | class TestTypedDict(MemoryLeakMixin, TestCase): method test_basic (line 1084) | def test_basic(self): method test_copy_from_dict (line 1133) | def test_copy_from_dict(self): method test_compiled (line 1141) | def test_compiled(self): method test_gh7908 (line 1156) | def test_gh7908(self): method check_stringify (line 1165) | def check_stringify(self, strfn, prefix=False): method test_repr (line 1182) | def test_repr(self): method test_str (line 1185) | def test_str(self): class DictIterableCtor (line 1189) | class DictIterableCtor: method test_iterable_type_constructor (line 1191) | def test_iterable_type_constructor(self): class TestDictIterableCtorJit (line 1262) | class TestDictIterableCtorJit(TestCase, DictIterableCtor): method setUp (line 1264) | def setUp(self): method test_exception_no_iterable_arg (line 1267) | def test_exception_no_iterable_arg(self): method test_exception_dict_mapping (line 1276) | def test_exception_dict_mapping(self): method test_exception_setitem (line 1285) | def test_exception_setitem(self): class TestDictIterableCtorNoJit (line 1295) | class TestDictIterableCtorNoJit(TestCase, DictIterableCtor): method setUp (line 1297) | def setUp(self): method test_exception_nargs (line 1300) | def test_exception_nargs(self): method test_exception_mapping_ctor (line 1305) | def test_exception_mapping_ctor(self): method test_exception_non_iterable_arg (line 1310) | def test_exception_non_iterable_arg(self): method test_exception_setitem (line 1315) | def test_exception_setitem(self): class TestDictRefctTypes (line 1321) | class TestDictRefctTypes(MemoryLeakMixin, TestCase): method test_str_key (line 1323) | def test_str_key(self): method test_str_val (line 1353) | def test_str_val(self): method test_str_key_array_value (line 1382) | def test_str_key_array_value(self): method test_dict_of_dict_int_keyval (line 1425) | def test_dict_of_dict_int_keyval(self): method test_dict_of_dict_npm (line 1459) | def test_dict_of_dict_npm(self): method test_delitem (line 1493) | def test_delitem(self): method test_getitem_return_type (line 1505) | def test_getitem_return_type(self): method test_storage_model_mismatch (line 1523) | def test_storage_model_mismatch(self): class TestDictForbiddenTypes (line 1540) | class TestDictForbiddenTypes(TestCase): method assert_disallow (line 1541) | def assert_disallow(self, expect, callable): method assert_disallow_key (line 1547) | def assert_disallow_key(self, ty): method assert_disallow_value (line 1556) | def assert_disallow_value(self, ty): method test_disallow_list (line 1565) | def test_disallow_list(self): method test_disallow_set (line 1569) | def test_disallow_set(self): class TestDictInferred (line 1574) | class TestDictInferred(TestCase): method test_simple_literal (line 1575) | def test_simple_literal(self): method test_simple_args (line 1588) | def test_simple_args(self): method test_simple_upcast (line 1601) | def test_simple_upcast(self): method test_conflicting_value_type (line 1615) | def test_conflicting_value_type(self): method test_conflicting_key_type (line 1631) | def test_conflicting_key_type(self): method test_conflict_key_type_non_number (line 1647) | def test_conflict_key_type_non_number(self): method test_ifelse_filled_both_branches (line 1671) | def test_ifelse_filled_both_branches(self): method test_ifelse_empty_one_branch (line 1689) | def test_ifelse_empty_one_branch(self): method test_loop (line 1707) | def test_loop(self): method test_unused (line 1720) | def test_unused(self): method test_define_after_use (line 1733) | def test_define_after_use(self): method test_dict_of_dict (line 1756) | def test_dict_of_dict(self): method test_comprehension_basic (line 1778) | def test_comprehension_basic(self): method test_comprehension_basic_mixed_type (line 1785) | def test_comprehension_basic_mixed_type(self): method test_comprehension_involved (line 1792) | def test_comprehension_involved(self): method test_comprehension_fail_mixed_type (line 1800) | def test_comprehension_fail_mixed_type(self): class TestNonCompiledInfer (line 1813) | class TestNonCompiledInfer(TestCase): method test_check_untyped_dict_ops (line 1814) | def test_check_untyped_dict_ops(self): method test_getitem (line 1854) | def test_getitem(self): method test_setdefault (line 1862) | def test_setdefault(self): class Bag (line 1872) | class Bag(object): method __init__ (line 1873) | def __init__(self, a): method __hash__ (line 1876) | def __hash__(self): class TestDictWithJitclass (line 1880) | class TestDictWithJitclass(TestCase): method test_jitclass_as_value (line 1881) | def test_jitclass_as_value(self): class TestNoJit (line 1894) | class TestNoJit(TestCase): method test_dict_create_no_jit_using_new_dict (line 1897) | def test_dict_create_no_jit_using_new_dict(self): method test_dict_create_no_jit_using_Dict (line 1903) | def test_dict_create_no_jit_using_Dict(self): method test_dict_create_no_jit_using_empty (line 1909) | def test_dict_create_no_jit_using_empty(self): class TestDictIterator (line 1916) | class TestDictIterator(TestCase): method test_dict_iterator (line 1917) | def test_dict_iterator(self): class TestTypedDictInitialValues (line 1946) | class TestTypedDictInitialValues(MemoryLeakMixin, TestCase): method test_homogeneous_and_literal (line 1949) | def test_homogeneous_and_literal(self): method test_heterogeneous_but_castable_to_homogeneous (line 1970) | def test_heterogeneous_but_castable_to_homogeneous(self): method test_heterogeneous_but_not_castable_to_homogeneous (line 1992) | def test_heterogeneous_but_not_castable_to_homogeneous(self): method test_mutation_not_carried (line 2019) | def test_mutation_not_carried(self): method test_mutation_not_carried_single_function (line 2041) | def test_mutation_not_carried_single_function(self): method test_unify_across_function_call (line 2076) | def test_unify_across_function_call(self): class TestLiteralStrKeyDict (line 2101) | class TestLiteralStrKeyDict(MemoryLeakMixin, TestCase): method test_basic_const_lowering_boxing (line 2104) | def test_basic_const_lowering_boxing(self): method test_basic_nonconst_in_scope (line 2112) | def test_basic_nonconst_in_scope(self): method test_basic_nonconst_freevar (line 2126) | def test_basic_nonconst_freevar(self): method test_literal_value (line 2151) | def test_literal_value(self): method test_list_and_array_as_value (line 2174) | def test_list_and_array_as_value(self): method test_repeated_key_literal_value (line 2199) | def test_repeated_key_literal_value(self): method test_read_only (line 2223) | def test_read_only(self): method test_mutation_failure (line 2248) | def test_mutation_failure(self): method test_get (line 2283) | def test_get(self): method test_dict_keys (line 2302) | def test_dict_keys(self): method test_dict_values (line 2311) | def test_dict_values(self): method test_dict_items (line 2320) | def test_dict_items(self): method test_dict_return (line 2329) | def test_dict_return(self): method test_dict_unify (line 2343) | def test_dict_unify(self): method test_dict_not_unify (line 2358) | def test_dict_not_unify(self): method test_dict_value_coercion (line 2396) | def test_dict_value_coercion(self): method test_build_map_op_code (line 2437) | def test_build_map_op_code(self): method test_dict_as_arg (line 2458) | def test_dict_as_arg(self): method test_dict_with_single_literallist_value (line 2477) | def test_dict_with_single_literallist_value(self): method test_tuple_not_in_mro (line 2486) | def test_tuple_not_in_mro(self): method test_const_key_not_in_dict (line 2505) | def test_const_key_not_in_dict(self): method test_uncommon_identifiers (line 2517) | def test_uncommon_identifiers(self): method test_update_error (line 2537) | def test_update_error(self): FILE: numba/tests/test_dicts.py function build_map (line 8) | def build_map(): function build_map_from_local_vars (line 11) | def build_map_from_local_vars(): class DictTestCase (line 17) | class DictTestCase(TestCase): method check (line 19) | def check(self, pyfunc): method test_build_map (line 23) | def test_build_map(self): method test_build_map_from_local_vars (line 26) | def test_build_map_from_local_vars(self): class TestCompiledDict (line 30) | class TestCompiledDict(TestCase): method test_use_dict (line 34) | def test_use_dict(self): method test_use_dict_iterable_args (line 45) | def test_use_dict_iterable_args(self): method test_ctor_iterable_tuple (line 69) | def test_ctor_iterable_tuple(self): method test_unsupported_dict_usage (line 78) | def test_unsupported_dict_usage(self): method test_use_curlybraces (line 117) | def test_use_curlybraces(self): method test_use_curlybraces_with_init1 (line 128) | def test_use_curlybraces_with_init1(self): method test_use_curlybraces_with_initmany (line 137) | def test_use_curlybraces_with_initmany(self): method test_curlybraces_init_with_coercion (line 146) | def test_curlybraces_init_with_coercion(self): method test_use_curlybraces_with_manyvar (line 154) | def test_use_curlybraces_with_manyvar(self): method test_mixed_curlybraces_and_dict (line 163) | def test_mixed_curlybraces_and_dict(self): method test_dict_use_with_none_value (line 174) | def test_dict_use_with_none_value(self): method test_dict_use_with_optional_value (line 189) | def test_dict_use_with_optional_value(self): method test_dict_use_with_optional_key (line 204) | def test_dict_use_with_optional_key(self): method test_dict_use_with_none_key (line 218) | def test_dict_use_with_none_key(self): FILE: numba/tests/test_dispatcher.py function dummy (line 38) | def dummy(x): function add (line 42) | def add(x, y): function addsub (line 46) | def addsub(x, y, z): function addsub_defaults (line 50) | def addsub_defaults(x, y=2, z=3): function star_defaults (line 54) | def star_defaults(x, y=2, *z): function generated_usecase (line 58) | def generated_usecase(x, y=5): function bad_generated_usecase (line 68) | def bad_generated_usecase(x, y=5): function dtype_generated_usecase (line 78) | def dtype_generated_usecase(a, b, dtype=None): class BaseTest (line 93) | class BaseTest(TestCase): method compile_func (line 97) | def compile_func(self, pyfunc): class TestDispatcher (line 106) | class TestDispatcher(BaseTest): method test_equality (line 108) | def test_equality(self): method test_dyn_pyfunc (line 124) | def test_dyn_pyfunc(self): method test_no_argument (line 134) | def test_no_argument(self): method test_coerce_input_types (line 142) | def test_coerce_input_types(self): method test_ambiguous_new_version (line 160) | def test_ambiguous_new_version(self): method test_lock (line 181) | def test_lock(self): method test_explicit_signatures (line 205) | def test_explicit_signatures(self): method test_signature_mismatch (line 243) | def test_signature_mismatch(self): method test_matching_error_message (line 261) | def test_matching_error_message(self): method test_disabled_compilation (line 269) | def test_disabled_compilation(self): method test_disabled_compilation_through_list (line 281) | def test_disabled_compilation_through_list(self): method test_disabled_compilation_nested_call (line 291) | def test_disabled_compilation_nested_call(self): method test_fingerprint_failure (line 307) | def test_fingerprint_failure(self): method test_serialization (line 344) | def test_serialization(self): method test_misaligned_array_dispatch (line 391) | def test_misaligned_array_dispatch(self): method test_immutability_in_array_dispatch (line 430) | def test_immutability_in_array_dispatch(self): method test_misaligned_high_dimension_array_dispatch (line 472) | def test_misaligned_high_dimension_array_dispatch(self): method test_dispatch_recompiles_for_scalars (line 521) | def test_dispatch_recompiles_for_scalars(self): method test_dispatcher_raises_for_invalid_decoration (line 549) | def test_dispatcher_raises_for_invalid_decoration(self): class TestSignatureHandling (line 571) | class TestSignatureHandling(BaseTest): method test_named_args (line 576) | def test_named_args(self): method test_default_args (line 599) | def test_default_args(self): method test_star_args (line 626) | def test_star_args(self): class TestSignatureHandlingObjectMode (line 650) | class TestSignatureHandlingObjectMode(TestSignatureHandling): class TestDispatcherMethods (line 658) | class TestDispatcherMethods(TestCase): method test_recompile (line 660) | def test_recompile(self): method test_recompile_signatures (line 678) | def test_recompile_signatures(self): method test_inspect_llvm (line 694) | def test_inspect_llvm(self): method test_inspect_asm (line 718) | def test_inspect_asm(self): method _check_cfg_display (line 738) | def _check_cfg_display(self, cfg, wrapper=''): method test_inspect_cfg (line 752) | def test_inspect_cfg(self): method test_inspect_cfg_with_python_wrapper (line 786) | def test_inspect_cfg_with_python_wrapper(self): method test_inspect_types (line 807) | def test_inspect_types(self): method test_inspect_types_with_signature (line 822) | def test_inspect_types_with_signature(self): method test_inspect_types_pretty (line 843) | def test_inspect_types_pretty(self): method test_get_annotation_info (line 869) | def test_get_annotation_info(self): method test_issue_with_array_layout_conflict (line 882) | def test_issue_with_array_layout_conflict(self): class TestDispatcherFunctionBoundaries (line 910) | class TestDispatcherFunctionBoundaries(TestCase): method test_pass_dispatcher_as_arg (line 911) | def test_pass_dispatcher_as_arg(self): method test_dispatcher_as_arg_usecase (line 936) | def test_dispatcher_as_arg_usecase(self): method test_dispatcher_can_return_to_python (line 955) | def test_dispatcher_can_return_to_python(self): method test_dispatcher_in_sequence_arg (line 964) | def test_dispatcher_in_sequence_arg(self): class TestBoxingDefaultError (line 987) | class TestBoxingDefaultError(unittest.TestCase): method test_unbox_runtime_error (line 989) | def test_unbox_runtime_error(self): method test_box_runtime_error (line 1003) | def test_box_runtime_error(self): class TestNoRetryFailedSignature (line 1013) | class TestNoRetryFailedSignature(unittest.TestCase): method run_test (line 1017) | def run_test(self, func): method test_direct_call (line 1033) | def test_direct_call(self): method test_nested_call (line 1040) | def test_nested_call(self): method test_error_count (line 1055) | def test_error_count(self): function add_y1 (line 1114) | def add_y1(x, y=1): function add_ynone (line 1119) | def add_ynone(x, y=None): function mult (line 1124) | def mult(x, y): function add_func (line 1129) | def add_func(x, func=mult): function _checker (line 1133) | def _checker(f1, arg): class TestMultiprocessingDefaultParameters (line 1137) | class TestMultiprocessingDefaultParameters(SerialMixin, unittest.TestCase): method run_fc_multiproc (line 1138) | def run_fc_multiproc(self, fc): method test_int_def_param (line 1155) | def test_int_def_param(self): method test_none_def_param (line 1160) | def test_none_def_param(self): method test_function_def_param (line 1165) | def test_function_def_param(self): class TestVectorizeDifferentTargets (line 1171) | class TestVectorizeDifferentTargets(unittest.TestCase): method test_cpu_vs_parallel (line 1175) | def test_cpu_vs_parallel(self): FILE: numba/tests/test_doctest.py class TestDocTest (line 6) | class TestDocTest(TestCase): method test_basic_decorators (line 7) | def test_basic_decorators(self): FILE: numba/tests/test_dyn_array.py function np_concatenate1 (line 20) | def np_concatenate1(a, b, c): function np_concatenate2 (line 23) | def np_concatenate2(a, b, c, axis): function np_stack1 (line 26) | def np_stack1(a, b, c): function np_stack2 (line 29) | def np_stack2(a, b, c, axis): function np_hstack (line 32) | def np_hstack(a, b, c): function np_vstack (line 35) | def np_vstack(a, b, c): function np_row_stack (line 38) | def np_row_stack(a, b, c): function np_dstack (line 41) | def np_dstack(a, b, c): function np_column_stack (line 44) | def np_column_stack(a, b, c): class BaseTest (line 48) | class BaseTest(TestCase): method check_outputs (line 50) | def check_outputs(self, pyfunc, argslist, exact=True): class NrtRefCtTest (line 64) | class NrtRefCtTest(MemoryLeakMixin): method assert_array_nrt_refct (line 65) | def assert_array_nrt_refct(self, arr, expect): class TestDynArray (line 69) | class TestDynArray(NrtRefCtTest, TestCase): method test_empty_0d (line 71) | def test_empty_0d(self): method test_empty_1d (line 89) | def test_empty_1d(self): method test_empty_2d (line 110) | def test_empty_2d(self): method test_empty_3d (line 133) | def test_empty_3d(self): method test_empty_2d_sliced (line 158) | def test_empty_2d_sliced(self): method test_return_global_array (line 182) | def test_return_global_array(self): method test_return_global_array_sliced (line 209) | def test_return_global_array_sliced(self): method test_array_pass_through (line 224) | def test_array_pass_through(self): method test_array_pass_through_sliced (line 239) | def test_array_pass_through_sliced(self): method test_ufunc_with_allocated_output (line 261) | def test_ufunc_with_allocated_output(self): method test_allocation_mt (line 297) | def test_allocation_mt(self): method test_refct_mt (line 362) | def test_refct_mt(self): method test_invalid_size_array (line 424) | def test_invalid_size_array(self): method test_swap (line 438) | def test_swap(self): method test_return_tuple_of_array (line 464) | def test_return_tuple_of_array(self): method test_return_tuple_of_array_created (line 487) | def test_return_tuple_of_array_created(self): method test_issue_with_return_leak (line 514) | def test_issue_with_return_leak(self): class ConstructorBaseTest (line 543) | class ConstructorBaseTest(NrtRefCtTest): method check_0d (line 545) | def check_0d(self, pyfunc): method check_1d (line 561) | def check_1d(self, pyfunc): method check_2d (line 582) | def check_2d(self, pyfunc): method check_alloc_size (line 603) | def check_alloc_size(self, pyfunc): class TestNdZeros (line 614) | class TestNdZeros(ConstructorBaseTest, TestCase): method setUp (line 616) | def setUp(self): method check_result_value (line 620) | def check_result_value(self, ret, expected): method test_0d (line 623) | def test_0d(self): method test_1d (line 629) | def test_1d(self): method test_1d_dtype (line 635) | def test_1d_dtype(self): method test_1d_dtype_instance (line 641) | def test_1d_dtype_instance(self): method test_1d_dtype_str (line 649) | def test_1d_dtype_str(self): method test_1d_dtype_str_alternative_spelling (line 660) | def test_1d_dtype_str_alternative_spelling(self): method test_1d_dtype_str_structured_dtype (line 672) | def test_1d_dtype_str_structured_dtype(self): method test_1d_dtype_non_const_str (line 680) | def test_1d_dtype_non_const_str(self): method test_1d_dtype_invalid_str (line 695) | def test_1d_dtype_invalid_str(self): method test_2d (line 708) | def test_2d(self): method test_2d_shape_dtypes (line 714) | def test_2d_shape_dtypes(self): method test_2d_dtype_kwarg (line 730) | def test_2d_dtype_kwarg(self): method test_2d_dtype_str_kwarg (line 736) | def test_2d_dtype_str_kwarg(self): method test_2d_dtype_str_kwarg_alternative_spelling (line 742) | def test_2d_dtype_str_kwarg_alternative_spelling(self): method test_alloc_size (line 749) | def test_alloc_size(self): class TestNdOnes (line 759) | class TestNdOnes(TestNdZeros): method setUp (line 761) | def setUp(self): method test_1d_dtype_str_structured_dtype (line 766) | def test_1d_dtype_str_structured_dtype(self): class TestNdFull (line 770) | class TestNdFull(ConstructorBaseTest, TestCase): method check_result_value (line 772) | def check_result_value(self, ret, expected): method test_0d (line 775) | def test_0d(self): method test_1d (line 780) | def test_1d(self): method test_1d_dtype (line 785) | def test_1d_dtype(self): method test_1d_dtype_instance (line 790) | def test_1d_dtype_instance(self): method test_1d_dtype_str (line 796) | def test_1d_dtype_str(self): method test_1d_dtype_str_alternative_spelling (line 801) | def test_1d_dtype_str_alternative_spelling(self): method test_1d_dtype_non_const_str (line 807) | def test_1d_dtype_non_const_str(self): method test_1d_dtype_invalid_str (line 821) | def test_1d_dtype_invalid_str(self): method test_2d (line 833) | def test_2d(self): method test_2d_dtype_kwarg (line 838) | def test_2d_dtype_kwarg(self): method test_2d_dtype_from_type (line 843) | def test_2d_dtype_from_type(self): method test_2d_shape_dtypes (line 859) | def test_2d_shape_dtypes(self): method test_alloc_size (line 874) | def test_alloc_size(self): class ConstructorLikeBaseTest (line 883) | class ConstructorLikeBaseTest(object): method mutate_array (line 885) | def mutate_array(self, arr): method check_like (line 893) | def check_like(self, pyfunc, dtype): class TestNdEmptyLike (line 929) | class TestNdEmptyLike(ConstructorLikeBaseTest, TestCase): method setUp (line 931) | def setUp(self): method check_result_value (line 935) | def check_result_value(self, ret, expected): method test_like (line 938) | def test_like(self): method test_like_structured (line 944) | def test_like_structured(self): method test_like_dtype (line 951) | def test_like_dtype(self): method test_like_dtype_instance (line 957) | def test_like_dtype_instance(self): method test_like_dtype_structured (line 964) | def test_like_dtype_structured(self): method test_like_dtype_kwarg (line 971) | def test_like_dtype_kwarg(self): method test_like_dtype_str_kwarg (line 977) | def test_like_dtype_str_kwarg(self): method test_like_dtype_str_kwarg_alternative_spelling (line 983) | def test_like_dtype_str_kwarg_alternative_spelling(self): method test_like_dtype_non_const_str (line 989) | def test_like_dtype_non_const_str(self): method test_like_dtype_invalid_str (line 1007) | def test_like_dtype_invalid_str(self): class TestNdZerosLike (line 1021) | class TestNdZerosLike(TestNdEmptyLike): method setUp (line 1023) | def setUp(self): method check_result_value (line 1027) | def check_result_value(self, ret, expected): method test_like_structured (line 1030) | def test_like_structured(self): method test_like_dtype_structured (line 1033) | def test_like_dtype_structured(self): class TestNdOnesLike (line 1037) | class TestNdOnesLike(TestNdZerosLike): method setUp (line 1039) | def setUp(self): method test_like_structured (line 1047) | def test_like_structured(self): method test_like_dtype_structured (line 1051) | def test_like_dtype_structured(self): class TestNdFullLike (line 1055) | class TestNdFullLike(ConstructorLikeBaseTest, TestCase): method check_result_value (line 1057) | def check_result_value(self, ret, expected): method test_like (line 1060) | def test_like(self): method test_like_structured (line 1067) | def test_like_structured(self): method test_like_dtype (line 1073) | def test_like_dtype(self): method test_like_dtype_instance (line 1078) | def test_like_dtype_instance(self): method test_like_dtype_kwarg (line 1084) | def test_like_dtype_kwarg(self): method test_like_dtype_str_kwarg (line 1089) | def test_like_dtype_str_kwarg(self): method test_like_dtype_str_kwarg_alternative_spelling (line 1094) | def test_like_dtype_str_kwarg_alternative_spelling(self): method test_like_dtype_non_const_str_kwarg (line 1099) | def test_like_dtype_non_const_str_kwarg(self): method test_like_dtype_invalid_str (line 1113) | def test_like_dtype_invalid_str(self): class TestNdIdentity (line 1126) | class TestNdIdentity(BaseTest): method check_identity (line 1128) | def check_identity(self, pyfunc): method test_identity (line 1131) | def test_identity(self): method test_identity_dtype (line 1136) | def test_identity_dtype(self): method test_like_dtype_non_const_str_kwarg (line 1143) | def test_like_dtype_non_const_str_kwarg(self): class TestNdEye (line 1159) | class TestNdEye(BaseTest): method test_eye_n (line 1161) | def test_eye_n(self): method test_eye_n_dtype (line 1166) | def test_eye_n_dtype(self): method test_eye_n_m (line 1173) | def test_eye_n_m(self): method check_eye_n_m_k (line 1178) | def check_eye_n_m_k(self, func): method test_eye_n_m_k (line 1186) | def test_eye_n_m_k(self): method test_eye_n_m_k_dtype (line 1191) | def test_eye_n_m_k_dtype(self): method test_eye_n_m_k_dtype_instance (line 1196) | def test_eye_n_m_k_dtype_instance(self): class TestNdDiag (line 1203) | class TestNdDiag(TestCase): method setUp (line 1205) | def setUp(self): method check_diag (line 1223) | def check_diag(self, pyfunc, nrtfunc, *args, **kwargs): method test_diag_vect_create (line 1232) | def test_diag_vect_create(self): method test_diag_vect_create_kwarg (line 1237) | def test_diag_vect_create_kwarg(self): method test_diag_extract (line 1243) | def test_diag_extract(self): method test_diag_extract_kwarg (line 1248) | def test_diag_extract_kwarg(self): method test_error_handling (line 1254) | def test_error_handling(self): method test_bad_shape (line 1269) | def test_bad_shape(self): class TestLinspace (line 1275) | class TestLinspace(BaseTest): method test_linspace_2 (line 1277) | def test_linspace_2(self): method test_linspace_3 (line 1284) | def test_linspace_3(self): method test_linspace_accuracy (line 1292) | def test_linspace_accuracy(self): class TestNpyEmptyKeyword (line 1303) | class TestNpyEmptyKeyword(TestCase): method _test_with_dtype_kw (line 1304) | def _test_with_dtype_kw(self, dtype): method test_with_dtype_kws (line 1317) | def test_with_dtype_kws(self): method _test_with_shape_and_dtype_kw (line 1321) | def _test_with_shape_and_dtype_kw(self, dtype): method test_with_shape_and_dtype_kws (line 1334) | def test_with_shape_and_dtype_kws(self): method test_empty_no_args (line 1338) | def test_empty_no_args(self): class TestNpArray (line 1351) | class TestNpArray(MemoryLeakMixin, BaseTest): method test_0d (line 1353) | def test_0d(self): method test_0d_with_dtype (line 1363) | def test_0d_with_dtype(self): method test_1d (line 1369) | def test_1d(self): method test_1d_with_dtype (line 1384) | def test_1d_with_dtype(self): method test_1d_with_str_dtype (line 1395) | def test_1d_with_str_dtype(self): method test_1d_with_non_const_str_dtype (line 1406) | def test_1d_with_non_const_str_dtype(self): method test_2d (line 1420) | def test_2d(self): method test_2d_with_dtype (line 1441) | def test_2d_with_dtype(self): method test_raises (line 1449) | def test_raises(self): method test_bad_array (line 1478) | def test_bad_array(self): method test_bad_dtype (line 1487) | def test_bad_dtype(self): class TestNpConcatenate (line 1497) | class TestNpConcatenate(MemoryLeakMixin, TestCase): method _3d_arrays (line 1502) | def _3d_arrays(self): method assert_invalid_sizes_over_dim (line 1511) | def assert_invalid_sizes_over_dim(self, axis): method test_3d (line 1517) | def test_3d(self): method test_3d_no_axis (line 1567) | def test_3d_no_axis(self): method test_typing_errors (line 1603) | def test_typing_errors(self): class TestNpStack (line 1637) | class TestNpStack(MemoryLeakMixin, TestCase): method _3d_arrays (line 1642) | def _3d_arrays(self): method assert_invalid_sizes (line 1651) | def assert_invalid_sizes(self): method check_stack (line 1657) | def check_stack(self, pyfunc, cfunc, args): method check_3d (line 1667) | def check_3d(self, pyfunc, cfunc, generate_starargs): method check_runtime_errors (line 1693) | def check_runtime_errors(self, cfunc, generate_starargs): method test_3d (line 1704) | def test_3d(self): method test_3d_no_axis (line 1719) | def test_3d_no_axis(self): method test_0d (line 1732) | def test_0d(self): method check_xxstack (line 1745) | def check_xxstack(self, pyfunc, cfunc): method test_hstack (line 1759) | def test_hstack(self): method test_vstack (line 1773) | def test_vstack(self): method test_dstack (line 1791) | def test_dstack(self): method test_column_stack (line 1805) | def test_column_stack(self): method test_bad_arrays (line 1826) | def test_bad_arrays(self): function benchmark_refct_speed (line 1837) | def benchmark_refct_speed(): FILE: numba/tests/test_dyn_func.py class Issue455 (line 7) | class Issue455(object): method __init__ (line 12) | def __init__(self): method create_f (line 15) | def create_f(self): method call_f (line 26) | def call_f(self): class TestDynFunc (line 33) | class TestDynFunc(TestCase): method test_issue_455 (line 35) | def test_issue_455(self): FILE: numba/tests/test_entrypoints.py class _DummyClass (line 20) | class _DummyClass(object): method __init__ (line 21) | def __init__(self, value): method __repr__ (line 24) | def __repr__(self): class TestEntrypoints (line 28) | class TestEntrypoints(TestCase): method test_init_entrypoint (line 33) | def test_init_entrypoint(self): method test_entrypoint_tolerance (line 71) | def test_entrypoint_tolerance(self): method test_entrypoint_handles_type_extensions (line 120) | def test_entrypoint_handles_type_extensions(self): method run_cmd (line 197) | def run_cmd(self, cmdline, env): method test_entrypoint_extension_sequence (line 216) | def test_entrypoint_extension_sequence(self): FILE: numba/tests/test_enums.py function compare_usecase (line 16) | def compare_usecase(a, b): function getattr_usecase (line 20) | def getattr_usecase(a): function getitem_usecase (line 25) | def getitem_usecase(a): function identity_usecase (line 30) | def identity_usecase(a, b, c): function make_constant_usecase (line 37) | def make_constant_usecase(const): function return_usecase (line 43) | def return_usecase(a, b, pred): function int_coerce_usecase (line 47) | def int_coerce_usecase(x): function int_cast_usecase (line 54) | def int_cast_usecase(x): function vectorize_usecase (line 62) | def vectorize_usecase(x): class BaseEnumTest (line 69) | class BaseEnumTest(object): method test_compare (line 71) | def test_compare(self): method test_return (line 78) | def test_return(self): method check_constant_usecase (line 90) | def check_constant_usecase(self, pyfunc): method test_constant (line 96) | def test_constant(self): class TestEnum (line 102) | class TestEnum(BaseEnumTest, TestCase): method test_identity (line 116) | def test_identity(self): class TestIntEnum (line 126) | class TestIntEnum(BaseEnumTest, TestCase): method test_int_coerce (line 139) | def test_int_coerce(self): method test_int_cast (line 146) | def test_int_cast(self): method test_vectorize (line 153) | def test_vectorize(self): method test_hash (line 159) | def test_hash(self): method test_int_shape_cast (line 166) | def test_int_shape_cast(self): FILE: numba/tests/test_errorhandling.py class TestErrorHandlingBeforeLowering (line 28) | class TestErrorHandlingBeforeLowering(unittest.TestCase): method test_unsupported_make_function_return_inner_func (line 30) | def test_unsupported_make_function_return_inner_func(self): class TestUnsupportedReporting (line 47) | class TestUnsupportedReporting(unittest.TestCase): method test_unsupported_numpy_function (line 49) | def test_unsupported_numpy_function(self): class TestMiscErrorHandling (line 62) | class TestMiscErrorHandling(unittest.TestCase): method test_use_of_exception_for_flow_control (line 64) | def test_use_of_exception_for_flow_control(self): method test_commented_func_definition_is_not_a_definition (line 76) | def test_commented_func_definition_is_not_a_definition(self): method test_use_of_ir_unknown_loc (line 96) | def test_use_of_ir_unknown_loc(self): method check_write_to_globals (line 125) | def check_write_to_globals(self, func): method test_handling_of_write_to_reflected_global (line 133) | def test_handling_of_write_to_reflected_global(self): method test_handling_of_write_to_typed_dict_global (line 137) | def test_handling_of_write_to_typed_dict_global(self): method test_handling_forgotten_numba_internal_import (line 142) | def test_handling_forgotten_numba_internal_import(self): method test_handling_unsupported_generator_expression (line 155) | def test_handling_unsupported_generator_expression(self): method test_handling_undefined_variable (line 166) | def test_handling_undefined_variable(self): class TestErrorMessages (line 178) | class TestErrorMessages(unittest.TestCase): method test_specific_error (line 180) | def test_specific_error(self): method test_no_match_error (line 202) | def test_no_match_error(self): method test_error_function_source_is_correct (line 222) | def test_error_function_source_is_correct(self): method test_concrete_template_source (line 240) | def test_concrete_template_source(self): method test_abstract_template_source (line 256) | def test_abstract_template_source(self): method test_callable_template_source (line 268) | def test_callable_template_source(self): method test_overloadfunction_template_source (line 281) | def test_overloadfunction_template_source(self): method test_intrinsic_template_source (line 307) | def test_intrinsic_template_source(self): method test_overloadmethod_template_source (line 340) | def test_overloadmethod_template_source(self): method test_overloadattribute_template_source (line 357) | def test_overloadattribute_template_source(self): method test_external_function_pointer_template_source (line 374) | def test_external_function_pointer_template_source(self): method test_cffi_function_pointer_template_source (line 388) | def test_cffi_function_pointer_template_source(self): method test_missing_source (line 403) | def test_missing_source(self): class TestDeveloperSpecificErrorMessages (line 423) | class TestDeveloperSpecificErrorMessages(SerialMixin, unittest.TestCase): method test_bound_function_error_string (line 425) | def test_bound_function_error_string(self): class TestCapturedErrorHandling (line 438) | class TestCapturedErrorHandling(SerialMixin, TestCase): method test_error_in_overload (line 442) | def test_error_in_overload(self): class TestCurlyBracesInPaths (line 468) | class TestCurlyBracesInPaths(unittest.TestCase): method test_placeholders_with_positional_args (line 473) | def test_placeholders_with_positional_args(self): method test_preformatted_string_no_args (line 488) | def test_preformatted_string_no_args(self): FILE: numba/tests/test_errormodels.py class TestErrorModel (line 9) | class TestErrorModel(unittest.TestCase): method test_div_by_zero_python (line 11) | def test_div_by_zero_python(self): method test_div_by_zero_numpy (line 19) | def test_div_by_zero_numpy(self): FILE: numba/tests/test_event.py class TestEvent (line 12) | class TestEvent(TestCase): method setUp (line 14) | def setUp(self): method tearDown (line 19) | def tearDown(self): method test_recording_listener (line 23) | def test_recording_listener(self): method test_compiler_lock_event (line 36) | def test_compiler_lock_event(self): method test_llvm_lock_event (line 47) | def test_llvm_lock_event(self): method test_run_pass_event (line 58) | def test_run_pass_event(self): method test_install_listener (line 77) | def test_install_listener(self): method test_global_register (line 109) | def test_global_register(self): method test_lifted_dispatcher (line 140) | def test_lifted_dispatcher(self): method test_timing_properties (line 169) | def test_timing_properties(self): FILE: numba/tests/test_exceptions.py class MyError (line 21) | class MyError(Exception): class OtherError (line 25) | class OtherError(Exception): class UDEArgsToSuper (line 29) | class UDEArgsToSuper(Exception): method __init__ (line 30) | def __init__(self, arg, value0): method __eq__ (line 34) | def __eq__(self, other): method __hash__ (line 42) | def __hash__(self): class UDENoArgSuper (line 46) | class UDENoArgSuper(Exception): method __init__ (line 47) | def __init__(self, arg, value0): method __eq__ (line 52) | def __eq__(self, other): method __hash__ (line 61) | def __hash__(self): function raise_class (line 66) | def raise_class(exc): function raise_instance (line 79) | def raise_instance(exc, arg): function raise_instance_runtime_args (line 91) | def raise_instance_runtime_args(exc): function reraise (line 103) | def reraise(): function outer_function (line 107) | def outer_function(inner): function assert_usecase (line 115) | def assert_usecase(i): function ude_bug_usecase (line 119) | def ude_bug_usecase(): function raise_runtime_value (line 123) | def raise_runtime_value(arg): class TestRaising (line 127) | class TestRaising(TestCase): method test_unituple_index_error (line 129) | def test_unituple_index_error(self): method check_against_python (line 143) | def check_against_python(self, exec_mode, pyfunc, cfunc, method check_raise_class (line 185) | def check_raise_class(self, flags): method test_raise_class_nopython (line 194) | def test_raise_class_nopython(self): method test_raise_class_objmode (line 197) | def test_raise_class_objmode(self): method check_raise_instance (line 200) | def check_raise_instance(self, flags): method test_raise_instance_objmode (line 212) | def test_raise_instance_objmode(self): method test_raise_instance_nopython (line 215) | def test_raise_instance_nopython(self): method check_raise_nested (line 218) | def check_raise_nested(self, flags, **jit_args): method test_raise_nested_objmode (line 233) | def test_raise_nested_objmode(self): method test_raise_nested_nopython (line 236) | def test_raise_nested_nopython(self): method check_reraise (line 239) | def check_reraise(self, flags): method test_reraise_objmode (line 261) | def test_reraise_objmode(self): method test_reraise_nopython (line 264) | def test_reraise_nopython(self): method check_raise_invalid_class (line 267) | def check_raise_invalid_class(self, cls, flags): method test_raise_invalid_class_objmode (line 275) | def test_raise_invalid_class_objmode(self): method test_raise_invalid_class_nopython (line 279) | def test_raise_invalid_class_nopython(self): method test_raise_bare_string_nopython (line 288) | def test_raise_bare_string_nopython(self): method check_assert_statement (line 298) | def check_assert_statement(self, flags): method test_assert_statement_objmode (line 304) | def test_assert_statement_objmode(self): method test_assert_statement_nopython (line 307) | def test_assert_statement_nopython(self): method check_raise_from_exec_string (line 310) | def check_raise_from_exec_string(self, flags): method test_assert_from_exec_string_objmode (line 332) | def test_assert_from_exec_string_objmode(self): method test_assert_from_exec_string_nopython (line 335) | def test_assert_from_exec_string_nopython(self): method check_user_code_error_traceback (line 338) | def check_user_code_error_traceback(self, flags): method test_user_code_error_traceback_objmode (line 346) | def test_user_code_error_traceback_objmode(self): method test_user_code_error_traceback_nopython (line 349) | def test_user_code_error_traceback_nopython(self): method check_raise_runtime_value (line 352) | def check_raise_runtime_value(self, flags): method test_raise_runtime_value_objmode (line 357) | def test_raise_runtime_value_objmode(self): method test_raise_runtime_value_nopython (line 360) | def test_raise_runtime_value_nopython(self): method test_raise_runtime_value_nogil (line 363) | def test_raise_runtime_value_nogil(self): method check_raise_instance_with_runtime_args (line 366) | def check_raise_instance_with_runtime_args(self, flags): method test_raise_instance_with_runtime_args_objmode (line 379) | def test_raise_instance_with_runtime_args_objmode(self): method test_raise_instance_with_runtime_args_nopython (line 382) | def test_raise_instance_with_runtime_args_nopython(self): method test_raise_instance_with_runtime_args_nogil (line 385) | def test_raise_instance_with_runtime_args_nogil(self): method test_dynamic_raise_bad_args (line 388) | def test_dynamic_raise_bad_args(self): method test_dynamic_raise_dict (line 409) | def test_dynamic_raise_dict(self): method test_disable_nrt (line 418) | def test_disable_nrt(self): method test_try_raise (line 427) | def test_try_raise(self): method test_dynamic_raise (line 447) | def test_dynamic_raise(self): FILE: numba/tests/test_extended_arg.py class TestExtendedArg (line 11) | class TestExtendedArg(TestCase): method get_extended_arg_load_const (line 17) | def get_extended_arg_load_const(self): method test_extended_arg_load_const (line 41) | def test_extended_arg_load_const(self): FILE: numba/tests/test_extending.py class MyDummy (line 74) | class MyDummy(object): class MyDummyType (line 78) | class MyDummyType(types.Opaque): method can_convert_to (line 79) | def can_convert_to(self, context, toty): function typeof_mydummy (line 91) | def typeof_mydummy(val, c): function mydummy_to_number (line 96) | def mydummy_to_number(context, builder, fromty, toty, val): function get_dummy (line 103) | def get_dummy(): function unbox_index (line 111) | def unbox_index(typ, obj, c): function base_dummy_type_factory (line 119) | def base_dummy_type_factory(name): function unbox_index2 (line 140) | def unbox_index2(typ, obj, c): function func1 (line 149) | def func1(x=None): function type_func1_ (line 153) | def type_func1_(context): function func1_nullary (line 170) | def func1_nullary(context, builder, sig, args): function func1_unary (line 175) | def func1_unary(context, builder, sig, args): class PrintDummy (line 187) | class PrintDummy(ConcreteTemplate): function print_dummy (line 193) | def print_dummy(context, builder, sig, args): function where (line 206) | def where(cond, x, y): function np_where (line 210) | def np_where(cond, x, y): function call_where (line 217) | def call_where(cond, x, y): function overload_where_arrays (line 222) | def overload_where_arrays(cond, x, y): function overload_where_scalars (line 272) | def overload_where_scalars(cond, x, y): function overload_len_dummy (line 298) | def overload_len_dummy(arg): function overload_add_dummy (line 308) | def overload_add_dummy(arg1, arg2): function overload_dummy_delitem (line 320) | def overload_dummy_delitem(obj, idx): function overload_dummy_getitem (line 330) | def overload_dummy_getitem(obj, idx): function overload_dummy_setitem (line 340) | def overload_dummy_setitem(obj, idx, val): function call_add_operator (line 355) | def call_add_operator(arg1, arg2): function call_add_binop (line 359) | def call_add_binop(arg1, arg2): function overload_iadd_dummy (line 364) | def overload_iadd_dummy(arg1, arg2): function call_iadd_operator (line 375) | def call_iadd_operator(arg1, arg2): function call_iadd_binop (line 379) | def call_iadd_binop(arg1, arg2): function call_delitem (line 385) | def call_delitem(obj, idx): function call_getitem (line 389) | def call_getitem(obj, idx): function call_setitem (line 393) | def call_setitem(obj, idx, val): function overload_method_length (line 398) | def overload_method_length(arg): function cache_overload_method_usecase (line 405) | def cache_overload_method_usecase(x): function call_func1_nullary (line 409) | def call_func1_nullary(): function call_func1_unary (line 413) | def call_func1_unary(x): function len_usecase (line 417) | def len_usecase(x): function print_usecase (line 421) | def print_usecase(x): function getitem_usecase (line 425) | def getitem_usecase(x, key): function npyufunc_usecase (line 429) | def npyufunc_usecase(x): function get_data_usecase (line 433) | def get_data_usecase(x): function get_index_usecase (line 437) | def get_index_usecase(x): function is_monotonic_usecase (line 441) | def is_monotonic_usecase(x): function make_series_usecase (line 445) | def make_series_usecase(data, index): function clip_usecase (line 449) | def clip_usecase(x, lo, hi): function return_non_boxable (line 456) | def return_non_boxable(): function overload_return_non_boxable (line 461) | def overload_return_non_boxable(): function non_boxable_ok_usecase (line 468) | def non_boxable_ok_usecase(sz): function non_boxable_bad_usecase (line 473) | def non_boxable_bad_usecase(): function mk_func_input (line 477) | def mk_func_input(f): class MkFuncTyping (line 482) | class MkFuncTyping(AbstractTemplate): method generic (line 483) | def generic(self, args, kws): function mk_func_test_impl (line 488) | def mk_func_test_impl(): class MyClass (line 496) | class MyClass(object): class CallableTypeRef (line 500) | class CallableTypeRef(types.Callable): method __init__ (line 502) | def __init__(self, instance_type): method get_call_type (line 509) | def get_call_type(self, context, args, kws): method get_call_signatures (line 526) | def get_call_signatures(self): method get_impl_key (line 530) | def get_impl_key(self, sig): class CallableTypeModel (line 535) | class CallableTypeModel(models.OpaqueModel): method __init__ (line 537) | def __init__(self, dmm, fe_type): function constant_callable_typeref (line 546) | def constant_callable_typeref(context, builder, ty, pyval): function overload_np_exp (line 554) | def overload_np_exp(obj): class TestLowLevelExtending (line 564) | class TestLowLevelExtending(TestCase): method test_func1 (line 572) | def test_func1(self): method test_func1_isolated (line 582) | def test_func1_isolated(self): method test_type_callable_keeps_function (line 585) | def test_type_callable_keeps_function(self): method test_cast_mydummy (line 590) | def test_cast_mydummy(self): method test_mk_func_literal (line 595) | def test_mk_func_literal(self): class TestPandasLike (line 613) | class TestPandasLike(TestCase): method test_index_len (line 619) | def test_index_len(self): method test_index_getitem (line 624) | def test_index_getitem(self): method test_index_ufunc (line 632) | def test_index_ufunc(self): method test_index_get_data (line 642) | def test_index_get_data(self): method test_index_is_monotonic (line 649) | def test_index_is_monotonic(self): method test_series_len (line 662) | def test_series_len(self): method test_series_get_index (line 668) | def test_series_get_index(self): method test_series_ufunc (line 676) | def test_series_ufunc(self): method test_series_constructor (line 689) | def test_series_constructor(self): method test_series_clip (line 699) | def test_series_clip(self): class TestHighLevelExtending (line 710) | class TestHighLevelExtending(TestCase): method test_where (line 715) | def test_where(self): method test_len (line 742) | def test_len(self): method test_print (line 750) | def test_print(self): method test_add_operator (line 759) | def test_add_operator(self): method test_add_binop (line 773) | def test_add_binop(self): method test_iadd_operator (line 787) | def test_iadd_operator(self): method test_iadd_binop (line 801) | def test_iadd_binop(self): method test_delitem (line 815) | def test_delitem(self): method test_getitem (line 831) | def test_getitem(self): method test_setitem (line 836) | def test_setitem(self): method test_no_cpython_wrapper (line 852) | def test_no_cpython_wrapper(self): method test_typing_vs_impl_signature_mismatch_handling (line 871) | def test_typing_vs_impl_signature_mismatch_handling(self): method test_typing_vs_impl_signature_mismatch_handling_var_positional (line 1017) | def test_typing_vs_impl_signature_mismatch_handling_var_positional(self): method test_typing_vs_impl_signature_mismatch_handling_var_keyword (line 1040) | def test_typing_vs_impl_signature_mismatch_handling_var_keyword(self): method test_overload_method_kwargs (line 1084) | def test_overload_method_kwargs(self): method test_overload_method_literal_unpack (line 1101) | def test_overload_method_literal_unpack(self): method test_overload_ufunc (line 1123) | def test_overload_ufunc(self): method test_overload_method_stararg (line 1133) | def test_overload_method_stararg(self): method test_overload_classmethod (line 1176) | def test_overload_classmethod(self): method test_overload_callable_typeref (line 1208) | def test_overload_callable_typeref(self): function _assert_cache_stats (line 1234) | def _assert_cache_stats(cfunc, expect_hit, expect_misses): class TestOverloadMethodCaching (line 1244) | class TestOverloadMethodCaching(TestCase): method test_caching_overload_method (line 1249) | def test_caching_overload_method(self): method run_caching_overload_method (line 1254) | def run_caching_overload_method(self): function run_caching_overload_method (line 1284) | def run_caching_overload_method(q, cache_dir): class TestIntrinsic (line 1297) | class TestIntrinsic(TestCase): method test_void_return (line 1298) | def test_void_return(self): method test_ll_pointer_cast (line 1340) | def test_ll_pointer_cast(self): method test_serialization (line 1406) | def test_serialization(self): method test_deserialization (line 1452) | def test_deserialization(self): method test_docstring (line 1492) | def test_docstring(self): class TestRegisterJitable (line 1513) | class TestRegisterJitable(unittest.TestCase): method test_no_flags (line 1514) | def test_no_flags(self): method test_flags_no_nrt (line 1528) | def test_flags_no_nrt(self): class TestImportCythonFunction (line 1548) | class TestImportCythonFunction(unittest.TestCase): method test_getting_function (line 1550) | def test_getting_function(self): method test_missing_module (line 1559) | def test_missing_module(self): method test_missing_function (line 1568) | def test_missing_function(self): function ov_method_jit_option_check_nrt (line 1583) | def ov_method_jit_option_check_nrt(obj): function ov_method_jit_option_check_no_nrt (line 1593) | def ov_method_jit_option_check_no_nrt(obj): function ov_attr_jit_option_check_nrt (line 1603) | def ov_attr_jit_option_check_nrt(obj): function ov_attr_jit_option_check_no_nrt (line 1613) | def ov_attr_jit_option_check_no_nrt(obj): class TestJitOptionsNoNRT (line 1620) | class TestJitOptionsNoNRT(TestCase): method check_error_no_nrt (line 1623) | def check_error_no_nrt(self, func, *args, **kwargs): method no_nrt_overload_check (line 1633) | def no_nrt_overload_check(self, flag): method test_overload_no_nrt (line 1653) | def test_overload_no_nrt(self): method test_overload_method_no_nrt (line 1657) | def test_overload_method_no_nrt(self): method test_overload_attribute_no_nrt (line 1670) | def test_overload_attribute_no_nrt(self): class TestBoxingCallingJIT (line 1684) | class TestBoxingCallingJIT(TestCase): method setUp (line 1685) | def setUp(self): method test_unboxer_basic (line 1691) | def test_unboxer_basic(self): method test_unboxer_raise (line 1733) | def test_unboxer_raise(self): method test_boxer (line 1764) | def test_boxer(self): method test_boxer_raise (line 1801) | def test_boxer_raise(self): function with_objmode_cache_ov_example (line 1835) | def with_objmode_cache_ov_example(x): class TestCachingOverloadObjmode (line 1842) | class TestCachingOverloadObjmode(TestCase): method setUp (line 1848) | def setUp(self): method tearDown (line 1851) | def tearDown(self): method test_caching_overload_objmode (line 1854) | def test_caching_overload_objmode(self): method check_objmode_cache_ndarray (line 1889) | def check_objmode_cache_ndarray(cls): method populate_objmode_cache_ndarray_check_cache (line 1919) | def populate_objmode_cache_ndarray_check_cache(cls): method check_objmode_cache_ndarray_check_cache (line 1923) | def check_objmode_cache_ndarray_check_cache(cls): method test_check_objmode_cache_ndarray (line 1930) | def test_check_objmode_cache_ndarray(self): class TestMisc (line 1946) | class TestMisc(TestCase): method test_is_jitted (line 1947) | def test_is_jitted(self): method test_overload_arg_binding (line 1959) | def test_overload_arg_binding(self): class TestOverloadPreferLiteral (line 1974) | class TestOverloadPreferLiteral(TestCase): method test_overload (line 1975) | def test_overload(self): method test_overload_method (line 2017) | def test_overload_method(self): class TestIntrinsicPreferLiteral (line 2069) | class TestIntrinsicPreferLiteral(TestCase): method test_intrinsic (line 2070) | def test_intrinsic(self): class TestNumbaInternalOverloads (line 2114) | class TestNumbaInternalOverloads(TestCase): method test_signatures_match_overloaded_api (line 2116) | def test_signatures_match_overloaded_api(self): FILE: numba/tests/test_extending_types.py function gen_mock_float (line 19) | def gen_mock_float(): class TestExtTypDummy (line 27) | class TestExtTypDummy(unittest.TestCase): method setUp (line 29) | def setUp(self): method _add_float_overload (line 72) | def _add_float_overload(self, mock_float_inst): method test_overload_float (line 82) | def test_overload_float(self): method test_overload_float_error_msg (line 93) | def test_overload_float_error_msg(self): method test_unboxing (line 107) | def test_unboxing(self): method test_boxing (line 127) | def test_boxing(self): method test_issue5565_literal_getitem (line 141) | def test_issue5565_literal_getitem(self): FILE: numba/tests/test_fancy_indexing.py function getitem_usecase (line 13) | def getitem_usecase(a, b): function setitem_usecase (line 16) | def setitem_usecase(a, idx, b): function np_take (line 19) | def np_take(A, indices): function np_take_kws (line 22) | def np_take_kws(A, indices, axis): class TestFancyIndexing (line 25) | class TestFancyIndexing(MemoryLeakMixin, TestCase): method generate_advanced_indices (line 27) | def generate_advanced_indices(self, N, many=True): method generate_basic_index_tuples (line 34) | def generate_basic_index_tuples(self, N, maxdim, many=True): method generate_advanced_index_tuples (line 57) | def generate_advanced_index_tuples(self, N, maxdim, many=True): method generate_advanced_index_tuples_with_ellipsis (line 70) | def generate_advanced_index_tuples_with_ellipsis(self, N, maxdim, many... method check_getitem_indices (line 79) | def check_getitem_indices(self, arr, indices): method test_getitem_tuple (line 101) | def test_getitem_tuple(self): method test_getitem_tuple_and_ellipsis (line 110) | def test_getitem_tuple_and_ellipsis(self): method test_ellipsis_getsetitem (line 120) | def test_ellipsis_getsetitem(self): method test_getitem_array (line 130) | def test_getitem_array(self): method check_setitem_indices (line 138) | def check_setitem_indices(self, arr, indices): method test_setitem_tuple (line 154) | def test_setitem_tuple(self): method test_setitem_tuple_and_ellipsis (line 162) | def test_setitem_tuple_and_ellipsis(self): method test_setitem_array (line 172) | def test_setitem_array(self): method test_setitem_0d (line 180) | def test_setitem_0d(self): method test_np_take (line 203) | def test_np_take(self): method test_np_take_axis (line 255) | def test_np_take_axis(self): method test_np_take_axis_exception (line 308) | def test_np_take_axis_exception(self): method test_newaxis (line 318) | def test_newaxis(self): class TestFancyIndexingMultiDim (line 363) | class TestFancyIndexingMultiDim(MemoryLeakMixin, TestCase): method setUp (line 388) | def setUp(self): method generate_random_indices (line 392) | def generate_random_indices(self): method check_getitem_indices (line 456) | def check_getitem_indices(self, arr_shape, index): method check_setitem_indices (line 479) | def check_setitem_indices(self, arr_shape, index): method test_getitem (line 499) | def test_getitem(self): method test_setitem (line 510) | def test_setitem(self): method test_unsupported_condition_exceptions (line 521) | def test_unsupported_condition_exceptions(self): FILE: numba/tests/test_fastmath.py class TestFastMath (line 9) | class TestFastMath(unittest.TestCase): method test_jit (line 10) | def test_jit(self): method test_jit_subset_behaviour (line 24) | def test_jit_subset_behaviour(self): method test_jit_subset_code (line 32) | def test_jit_subset_code(self): method test_jit_subset_errors (line 58) | def test_jit_subset_errors(self): method test_vectorize (line 80) | def test_vectorize(self): method test_guvectorize (line 100) | def test_guvectorize(self): FILE: numba/tests/test_findlib.py class TestFindlib (line 5) | class TestFindlib(TestCase): method test_find_file_nonexistent_path (line 6) | def test_find_file_nonexistent_path(self): FILE: numba/tests/test_firstlinefinder.py class TestFirstLineFinder (line 11) | class TestFirstLineFinder(TestCase): method _get_grandparent_caller_code (line 17) | def _get_grandparent_caller_code(self): method assert_line_location (line 22) | def assert_line_location(self, expected, offset_from_caller): method test_decorated_odd_comment_indent (line 27) | def test_decorated_odd_comment_indent(self): method test_undecorated_odd_comment_indent (line 36) | def test_undecorated_odd_comment_indent(self): method test_unnamed_lambda (line 44) | def test_unnamed_lambda(self): method test_nested_function (line 50) | def test_nested_function(self): method test_pass_statement (line 63) | def test_pass_statement(self): method test_string_eval (line 71) | def test_string_eval(self): method _test_with_patched_linecache (line 84) | def _test_with_patched_linecache(self, filename, source, method test_string_eval_linecache_basic (line 106) | def test_string_eval_linecache_basic(self): method test_string_eval_linecache_indent (line 117) | def test_string_eval_linecache_indent(self): method test_string_eval_linecache_closure (line 131) | def test_string_eval_linecache_closure(self): method test_string_eval_linecache_stacked_decorators (line 147) | def test_string_eval_linecache_stacked_decorators(self): method test_string_eval_linecache_all (line 165) | def test_string_eval_linecache_all(self): method test_single_line_function (line 189) | def test_single_line_function(self): method test_docstring (line 196) | def test_docstring(self): method test_docstring_2 (line 206) | def test_docstring_2(self): FILE: numba/tests/test_flow_control.py function for_loop_usecase1 (line 15) | def for_loop_usecase1(x, y): function for_loop_usecase2 (line 22) | def for_loop_usecase2(x, y): function for_loop_usecase3 (line 29) | def for_loop_usecase3(x, y): function for_loop_usecase4 (line 37) | def for_loop_usecase4(x, y): function for_loop_usecase5 (line 45) | def for_loop_usecase5(x, y): function for_loop_usecase6 (line 54) | def for_loop_usecase6(x, y): function for_loop_usecase7 (line 63) | def for_loop_usecase7(x, y): function for_loop_usecase8 (line 73) | def for_loop_usecase8(x, y): function for_loop_usecase9 (line 80) | def for_loop_usecase9(x, y): function for_loop_usecase10 (line 94) | def for_loop_usecase10(x, y): function while_loop_usecase1 (line 104) | def while_loop_usecase1(x, y): function while_loop_usecase2 (line 113) | def while_loop_usecase2(x, y): function while_loop_usecase3 (line 120) | def while_loop_usecase3(x, y): function while_loop_usecase4 (line 132) | def while_loop_usecase4(x, y): function while_loop_usecase5 (line 141) | def while_loop_usecase5(x, y): function ifelse_usecase1 (line 151) | def ifelse_usecase1(x, y): function ifelse_usecase2 (line 161) | def ifelse_usecase2(x, y): function ifelse_usecase3 (line 170) | def ifelse_usecase3(x, y): function ifelse_usecase4 (line 184) | def ifelse_usecase4(x, y): function ternary_ifelse_usecase1 (line 189) | def ternary_ifelse_usecase1(x, y): function double_infinite_loop (line 193) | def double_infinite_loop(x, y): function try_except_usecase (line 209) | def try_except_usecase(): class TestFlowControl (line 216) | class TestFlowControl(TestCase): method run_test (line 218) | def run_test(self, pyfunc, x_operands, y_operands, method test_for_loop1 (line 242) | def test_for_loop1(self, flags=enable_pyobj_flags): method test_for_loop1_npm (line 245) | def test_for_loop1_npm(self): method test_for_loop2 (line 248) | def test_for_loop2(self, flags=enable_pyobj_flags): method test_for_loop2_npm (line 252) | def test_for_loop2_npm(self): method test_for_loop3 (line 255) | def test_for_loop3(self, flags=enable_pyobj_flags): method test_for_loop3_npm (line 262) | def test_for_loop3_npm(self): method test_for_loop4 (line 265) | def test_for_loop4(self, flags=enable_pyobj_flags): method test_for_loop4_npm (line 268) | def test_for_loop4_npm(self): method test_for_loop5 (line 271) | def test_for_loop5(self, flags=enable_pyobj_flags): method test_for_loop5_npm (line 274) | def test_for_loop5_npm(self): method test_for_loop6 (line 277) | def test_for_loop6(self, flags=enable_pyobj_flags): method test_for_loop6_npm (line 280) | def test_for_loop6_npm(self): method test_for_loop7 (line 283) | def test_for_loop7(self, flags=enable_pyobj_flags): method test_for_loop7_npm (line 286) | def test_for_loop7_npm(self): method test_for_loop8 (line 289) | def test_for_loop8(self, flags=enable_pyobj_flags): method test_for_loop8_npm (line 292) | def test_for_loop8_npm(self): method test_for_loop9 (line 295) | def test_for_loop9(self, flags=enable_pyobj_flags): method test_for_loop9_npm (line 298) | def test_for_loop9_npm(self): method test_for_loop10 (line 301) | def test_for_loop10(self, flags=enable_pyobj_flags): method test_for_loop10_npm (line 304) | def test_for_loop10_npm(self): method test_while_loop1 (line 307) | def test_while_loop1(self, flags=enable_pyobj_flags): method test_while_loop1_npm (line 310) | def test_while_loop1_npm(self): method test_while_loop2 (line 313) | def test_while_loop2(self, flags=enable_pyobj_flags): method test_while_loop2_npm (line 316) | def test_while_loop2_npm(self): method test_while_loop3 (line 319) | def test_while_loop3(self, flags=enable_pyobj_flags): method test_while_loop3_npm (line 322) | def test_while_loop3_npm(self): method test_while_loop4 (line 325) | def test_while_loop4(self, flags=enable_pyobj_flags): method test_while_loop4_npm (line 328) | def test_while_loop4_npm(self): method test_while_loop5 (line 331) | def test_while_loop5(self, flags=enable_pyobj_flags): method test_while_loop5_npm (line 334) | def test_while_loop5_npm(self): method test_ifelse1 (line 337) | def test_ifelse1(self, flags=enable_pyobj_flags): method test_ifelse1_npm (line 340) | def test_ifelse1_npm(self): method test_ifelse2 (line 343) | def test_ifelse2(self, flags=enable_pyobj_flags): method test_ifelse2_npm (line 346) | def test_ifelse2_npm(self): method test_ifelse3 (line 349) | def test_ifelse3(self, flags=enable_pyobj_flags): method test_ifelse3_npm (line 352) | def test_ifelse3_npm(self): method test_ifelse4 (line 355) | def test_ifelse4(self, flags=enable_pyobj_flags): method test_ifelse4_npm (line 358) | def test_ifelse4_npm(self): method test_ternary_ifelse1 (line 361) | def test_ternary_ifelse1(self, flags=enable_pyobj_flags): method test_ternary_ifelse1_npm (line 365) | def test_ternary_ifelse1_npm(self): method test_double_infinite_loop (line 368) | def test_double_infinite_loop(self, flags=enable_pyobj_flags): method test_double_infinite_loop_npm (line 372) | def test_double_infinite_loop_npm(self): class TestCFGraph (line 376) | class TestCFGraph(TestCase): method from_adj_list (line 381) | def from_adj_list(self, d, entry_point=0): method loopless1 (line 394) | def loopless1(self): method loopless1_dead_nodes (line 406) | def loopless1_dead_nodes(self): method loopless2 (line 425) | def loopless2(self): method multiple_loops (line 444) | def multiple_loops(self): method multiple_exits (line 481) | def multiple_exits(self): method infinite_loop1 (line 507) | def infinite_loop1(self): method infinite_loop2 (line 525) | def infinite_loop2(self): method test_simple_properties (line 540) | def test_simple_properties(self): method test_exit_points (line 547) | def test_exit_points(self): method test_dead_nodes (line 563) | def test_dead_nodes(self): method test_descendents (line 585) | def test_descendents(self): method test_topo_order (line 609) | def test_topo_order(self): method test_topo_sort (line 624) | def test_topo_sort(self): method check_dominators (line 646) | def check_dominators(self, got, expected): method test_dominators_loopless (line 652) | def test_dominators_loopless(self): method test_dominators_loops (line 670) | def test_dominators_loops(self): method test_post_dominators_loopless (line 715) | def test_post_dominators_loopless(self): method test_post_dominators_loops (line 733) | def test_post_dominators_loops(self): method test_post_dominators_infinite_loops (line 768) | def test_post_dominators_infinite_loops(self): method test_dominator_tree (line 790) | def test_dominator_tree(self): method test_immediate_dominators (line 816) | def test_immediate_dominators(self): method test_dominance_frontier (line 838) | def test_dominance_frontier(self): method test_backbone_loopless (line 861) | def test_backbone_loopless(self): method test_backbone_loops (line 867) | def test_backbone_loops(self): method test_loops (line 875) | def test_loops(self): method test_loop_dfs_pathological (line 947) | def test_loop_dfs_pathological(self): method test_equals (line 1021) | def test_equals(self): class TestRealCodeDomFront (line 1064) | class TestRealCodeDomFront(TestCase): method cfa (line 1076) | def cfa(self, bc): method get_cfa_and_namedblocks (line 1081) | def get_cfa_and_namedblocks(self, fn): method _scan_namedblocks (line 1100) | def _scan_namedblocks(self, bc, cfa): method test_loop (line 1125) | def test_loop(self): method test_loop_nested_and_break (line 1146) | def test_loop_nested_and_break(self): method test_if_else (line 1174) | def test_if_else(self): method test_if_else_nested (line 1216) | def test_if_else_nested(self): method test_infinite_loop (line 1253) | def test_infinite_loop(self): FILE: numba/tests/test_func_interface.py class TestFuncInterface (line 5) | class TestFuncInterface(unittest.TestCase): method test_jit_function_docstring (line 6) | def test_jit_function_docstring(self): method test_jit_function_name (line 15) | def test_jit_function_name(self): method test_jit_function_module (line 23) | def test_jit_function_module(self): method test_jit_function_code_object (line 33) | def test_jit_function_code_object(self): FILE: numba/tests/test_func_lifetime.py class Dummy (line 10) | class Dummy(object): method __add__ (line 12) | def __add__(self, other): function global_usecase1 (line 16) | def global_usecase1(x): function global_usecase2 (line 19) | def global_usecase2(): class TestFuncLifetime (line 23) | class TestFuncLifetime(TestCase): method get_impl (line 28) | def get_impl(self, dispatcher): method check_local_func_lifetime (line 36) | def check_local_func_lifetime(self, **jitargs): method test_local_func_lifetime (line 54) | def test_local_func_lifetime(self): method test_local_func_lifetime_npm (line 57) | def test_local_func_lifetime_npm(self): method check_global_func_lifetime (line 60) | def check_global_func_lifetime(self, **jitargs): method test_global_func_lifetime (line 72) | def test_global_func_lifetime(self): method test_global_func_lifetime_npm (line 75) | def test_global_func_lifetime_npm(self): method check_global_obj_lifetime (line 78) | def check_global_obj_lifetime(self, **jitargs): method test_global_obj_lifetime (line 93) | def test_global_obj_lifetime(self): method check_inner_function_lifetime (line 96) | def check_inner_function_lifetime(self, **jitargs): method test_inner_function_lifetime (line 124) | def test_inner_function_lifetime(self): method test_inner_function_lifetime_npm (line 127) | def test_inner_function_lifetime_npm(self): class TestLifeTimeIssue (line 131) | class TestLifeTimeIssue(TestCase): method test_double_free (line 132) | def test_double_free(self): FILE: numba/tests/test_funcdesc.py class TestModule (line 10) | class TestModule(unittest.TestCase): method test_module_not_in_namespace (line 11) | def test_module_not_in_namespace(self): class TestFuncDescMangledName (line 31) | class TestFuncDescMangledName(unittest.TestCase): method test_mangling_abi_tags (line 32) | def test_mangling_abi_tags(self): FILE: numba/tests/test_function_type.py function dump (line 17) | def dump(foo): # FOR DEBUGGING, TO BE REMOVED function mk_cfunc_func (line 30) | def mk_cfunc_func(sig): function njit_func (line 39) | def njit_func(func): function mk_njit_with_sig_func (line 46) | def mk_njit_with_sig_func(sig): function mk_ctypes_func (line 55) | def mk_ctypes_func(sig): class WAP (line 69) | class WAP(types.WrapperAddressProtocol): method __init__ (line 73) | def __init__(self, func, sig): method __wrapper_address__ (line 78) | def __wrapper_address__(self): method signature (line 81) | def signature(self): method __call__ (line 84) | def __call__(self, *args, **kwargs): function mk_wap_func (line 88) | def mk_wap_func(sig): class TestFunctionType (line 94) | class TestFunctionType(TestCase): method test_in__ (line 100) | def test_in__(self): method test_in_call__ (line 123) | def test_in_call__(self): method test_in_call_out (line 151) | def test_in_call_out(self): method test_in_seq_call (line 174) | def test_in_seq_call(self): method test_in_ns_seq_call (line 202) | def test_in_ns_seq_call(self): method test_ns_call (line 234) | def test_ns_call(self): method test_ns_out (line 257) | def test_ns_out(self): method test_ns_call_out (line 280) | def test_ns_call_out(self): method test_in_overload (line 305) | def test_in_overload(self): method test_ns_overload (line 325) | def test_ns_overload(self): method test_in_choose (line 347) | def test_in_choose(self): method test_ns_choose (line 379) | def test_ns_choose(self): method test_in_choose_out (line 415) | def test_in_choose_out(self): method test_in_choose_func_value (line 447) | def test_in_choose_func_value(self): method test_in_pick_func_call (line 480) | def test_in_pick_func_call(self): method test_in_iter_func_call (line 509) | def test_in_iter_func_call(self): method test_experimental_feature_warning (line 538) | def test_experimental_feature_warning(self): class TestFunctionTypeExtensions (line 568) | class TestFunctionTypeExtensions(TestCase): method test_wrapper_address_protocol_libm (line 574) | def test_wrapper_address_protocol_libm(self): method test_compilation_results (line 632) | def test_compilation_results(self): class TestMiscIssues (line 666) | class TestMiscIssues(TestCase): method test_issue_3405_using_cfunc (line 672) | def test_issue_3405_using_cfunc(self): method test_issue_3405_using_njit (line 692) | def test_issue_3405_using_njit(self): method test_pr4967_example (line 712) | def test_pr4967_example(self): method test_pr4967_array (line 735) | def test_pr4967_array(self): method test_reference_example (line 761) | def test_reference_example(self): method test_apply_function_in_function (line 785) | def test_apply_function_in_function(self): method test_function_with_none_argument (line 801) | def test_function_with_none_argument(self): method test_constant_functions (line 813) | def test_constant_functions(self): method test_generators (line 832) | def test_generators(self): method test_jit_support (line 853) | def test_jit_support(self): method test_signature_mismatch (line 882) | def test_signature_mismatch(self): method test_unique_dispatcher (line 907) | def test_unique_dispatcher(self): method test_zero_address (line 936) | def test_zero_address(self): method test_issue_5470 (line 1015) | def test_issue_5470(self): method test_issue_5540 (line 1045) | def test_issue_5540(self): method test_issue_5615 (line 1072) | def test_issue_5615(self): method test_issue_5685 (line 1097) | def test_issue_5685(self): class TestBasicSubtyping (line 1123) | class TestBasicSubtyping(TestCase): method test_basic (line 1124) | def test_basic(self): method test_basic2 (line 1144) | def test_basic2(self): method test_basic3 (line 1163) | def test_basic3(self): method test_basic4 (line 1187) | def test_basic4(self): method test_basic5 (line 1213) | def test_basic5(self): class TestMultiFunctionType (line 1252) | class TestMultiFunctionType(MemoryLeakMixin, TestCase): method test_base (line 1254) | def test_base(self): class TestInliningFunctionType (line 1281) | class TestInliningFunctionType(MemoryLeakMixin, TestCase): method count_num_bb_in_cfg (line 1282) | def count_num_bb_in_cfg(self, dispatcher): method test_inlining_global_dispatcher (line 1287) | def test_inlining_global_dispatcher(self): method test_not_inlining_dispatcher_args (line 1311) | def test_not_inlining_dispatcher_args(self): class TestExceptionInFunctionType (line 1333) | class TestExceptionInFunctionType(MemoryLeakMixin, TestCase): method test_exception_raising (line 1334) | def test_exception_raising(self): method test_exception_ignored_in_cfunc (line 1368) | def test_exception_ignored_in_cfunc(self): FILE: numba/tests/test_gdb_bindings.py function impl_gdb_call (line 44) | def impl_gdb_call(a): function impl_gdb_call_w_bp (line 52) | def impl_gdb_call_w_bp(a): function impl_gdb_split_init_and_break_w_parallel (line 61) | def impl_gdb_split_init_and_break_w_parallel(a): class TestGdbBindImpls (line 74) | class TestGdbBindImpls(TestCase): method test_gdb_cmd_lang_cpython_quick_impl (line 86) | def test_gdb_cmd_lang_cpython_quick_impl(self): method test_gdb_cmd_lang_nopython_quick_impl (line 91) | def test_gdb_cmd_lang_nopython_quick_impl(self): method test_gdb_cmd_lang_objmode_quick_impl (line 96) | def test_gdb_cmd_lang_objmode_quick_impl(self): method test_gdb_split_init_and_break_cpython_impl (line 101) | def test_gdb_split_init_and_break_cpython_impl(self): method test_gdb_split_init_and_break_nopython_impl (line 106) | def test_gdb_split_init_and_break_nopython_impl(self): method test_gdb_split_init_and_break_objmode_impl (line 111) | def test_gdb_split_init_and_break_objmode_impl(self): method test_gdb_split_init_and_break_w_parallel_cpython_impl (line 117) | def test_gdb_split_init_and_break_w_parallel_cpython_impl(self): method test_gdb_split_init_and_break_w_parallel_nopython_impl (line 123) | def test_gdb_split_init_and_break_w_parallel_nopython_impl(self): method test_gdb_split_init_and_break_w_parallel_objmode_impl (line 129) | def test_gdb_split_init_and_break_w_parallel_objmode_impl(self): class TestGdbBinding (line 137) | class TestGdbBinding(TestCase): method run_cmd (line 149) | def run_cmd(self, cmdline, env, kill_is_ok=False): method run_test_in_separate_process (line 176) | def run_test_in_separate_process(self, test, **kwargs): method _inject (line 186) | def _inject(cls, name): method generate (line 212) | def generate(cls): class TestGdbMisc (line 224) | class TestGdbMisc(TestCase): method test_call_gdb_twice (line 227) | def test_call_gdb_twice(self): class TestGdbExceptions (line 261) | class TestGdbExceptions(TestCase): method test_call_gdb (line 263) | def test_call_gdb(self): FILE: numba/tests/test_gdb_dwarf.py class TestGDBDwarf (line 15) | class TestGDBDwarf(TestCase): method _gdb_has_numpy (line 24) | def _gdb_has_numpy(self): method _subprocess_test_runner (line 31) | def _subprocess_test_runner(self, test_mod): method test_basic (line 38) | def test_basic(self): method test_array_arg (line 41) | def test_array_arg(self): method test_conditional_breakpoint (line 44) | def test_conditional_breakpoint(self): method test_break_on_symbol (line 47) | def test_break_on_symbol(self): method test_break_on_symbol_version (line 50) | def test_break_on_symbol_version(self): method test_pretty_print (line 53) | def test_pretty_print(self): class TestGDBPrettyPrinterLogic (line 61) | class TestGDBPrettyPrinterLogic(TestCase): method setUp (line 67) | def setUp(self): method tearDown (line 93) | def tearDown(self): method get_gdb_repr (line 97) | def get_gdb_repr(self, array): method check (line 180) | def check(self, array): method test_np_array_printer_simple_numeric_types (line 184) | def test_np_array_printer_simple_numeric_types(self): method test_np_array_printer_simple_numeric_types_strided (line 193) | def test_np_array_printer_simple_numeric_types_strided(self): method test_np_array_printer_simple_structured_dtype (line 216) | def test_np_array_printer_simple_structured_dtype(self): method test_np_array_printer_chr_array (line 230) | def test_np_array_printer_chr_array(self): method test_np_array_printer_unichr_structured_dtype (line 235) | def test_np_array_printer_unichr_structured_dtype(self): method test_np_array_printer_nested_array_structured_dtype (line 247) | def test_np_array_printer_nested_array_structured_dtype(self): FILE: numba/tests/test_generators.py function make_consumer (line 13) | def make_consumer(gen_func): function gen1 (line 23) | def gen1(x): function gen2 (line 28) | def gen2(x): function gen3 (line 35) | def gen3(x): function gen4 (line 42) | def gen4(x, y, z): function gen5 (line 50) | def gen5(): function gen6 (line 58) | def gen6(a, b): function gen7 (line 66) | def gen7(arr): function gen8 (line 73) | def gen8(x=1, y=2, b=False): function genobj (line 82) | def genobj(x): function return_generator_expr (line 87) | def return_generator_expr(x): function gen_ndindex (line 91) | def gen_ndindex(shape): function gen_flat (line 96) | def gen_flat(arr): function gen_ndenumerate (line 101) | def gen_ndenumerate(arr): function gen_bool (line 106) | def gen_bool(): function gen_unification_error (line 110) | def gen_unification_error(): function gen_optional_and_type_unification_error (line 115) | def gen_optional_and_type_unification_error(): function gen_changing_tuple_type (line 123) | def gen_changing_tuple_type(): function gen_changing_number_type (line 129) | def gen_changing_number_type(): class TestGenerators (line 136) | class TestGenerators(MemoryLeakMixin, TestCase): method check_generator (line 137) | def check_generator(self, pygen, cgen): method check_gen1 (line 147) | def check_gen1(self, **kwargs): method test_gen1 (line 154) | def test_gen1(self): method test_gen1_objmode (line 157) | def test_gen1_objmode(self): method check_gen2 (line 160) | def check_gen2(self, **kwargs): method test_gen2 (line 167) | def test_gen2(self): method test_gen2_objmode (line 170) | def test_gen2_objmode(self): method check_gen3 (line 173) | def check_gen3(self, **kwargs): method test_gen3 (line 180) | def test_gen3(self): method test_gen3_objmode (line 183) | def test_gen3_objmode(self): method check_gen4 (line 186) | def check_gen4(self, **kwargs): method test_gen4 (line 193) | def test_gen4(self): method test_gen4_objmode (line 196) | def test_gen4_objmode(self): method test_gen5 (line 199) | def test_gen5(self): method test_gen5_objmode (line 205) | def test_gen5_objmode(self): method check_gen6 (line 211) | def check_gen6(self, **kwargs): method test_gen6 (line 219) | def test_gen6(self): method test_gen6_objmode (line 222) | def test_gen6_objmode(self): method check_gen7 (line 225) | def check_gen7(self, **kwargs): method test_gen7 (line 233) | def test_gen7(self): method test_gen7_objmode (line 236) | def test_gen7_objmode(self): method check_gen8 (line 239) | def check_gen8(self, **jit_args): method test_gen8 (line 252) | def test_gen8(self): method test_gen8_objmode (line 255) | def test_gen8_objmode(self): method check_gen9 (line 258) | def check_gen9(self, **kwargs): method test_gen9 (line 265) | def test_gen9(self): method test_gen9_objmode (line 268) | def test_gen9_objmode(self): method check_consume_generator (line 271) | def check_consume_generator(self, gen_func): method test_consume_gen1 (line 279) | def test_consume_gen1(self): method test_consume_gen2 (line 282) | def test_consume_gen2(self): method test_consume_gen3 (line 285) | def test_consume_gen3(self): method check_ndindex (line 290) | def check_ndindex(self, **kwargs): method test_ndindex (line 298) | def test_ndindex(self): method test_ndindex_objmode (line 301) | def test_ndindex_objmode(self): method check_np_flat (line 304) | def check_np_flat(self, pyfunc, **kwargs): method test_np_flat (line 312) | def test_np_flat(self): method test_np_flat_objmode (line 315) | def test_np_flat_objmode(self): method test_ndenumerate (line 318) | def test_ndenumerate(self): method test_ndenumerate_objmode (line 321) | def test_ndenumerate_objmode(self): method test_type_unification_error (line 324) | def test_type_unification_error(self): method test_optional_expansion_type_unification_error (line 333) | def test_optional_expansion_type_unification_error(self): method test_changing_tuple_type (line 342) | def test_changing_tuple_type(self): method test_changing_number_type (line 349) | def test_changing_number_type(self): function nrt_gen0 (line 357) | def nrt_gen0(ary): function nrt_gen1 (line 362) | def nrt_gen1(ary1, ary2): class TestNrtArrayGen (line 368) | class TestNrtArrayGen(MemoryLeakMixin, TestCase): method test_nrt_gen0 (line 369) | def test_nrt_gen0(self): method test_nrt_gen1 (line 384) | def test_nrt_gen1(self): method test_combine_gen0_gen1 (line 404) | def test_combine_gen0_gen1(self): method test_nrt_gen0_stop_iteration (line 414) | def test_nrt_gen0_stop_iteration(self): method test_nrt_gen0_no_iter (line 444) | def test_nrt_gen0_no_iter(self): class TestNrtNestedGen (line 468) | class TestNrtNestedGen(TestCase): method test_nrt_nested_gen (line 469) | def test_nrt_nested_gen(self): method test_nrt_nested_gen_refct (line 505) | def test_nrt_nested_gen_refct(self): method test_nrt_nested_nopython_gen (line 528) | def test_nrt_nested_nopython_gen(self): class TestGeneratorWithNRT (line 564) | class TestGeneratorWithNRT(MemoryLeakMixin, TestCase): method test_issue_1254 (line 565) | def test_issue_1254(self): method test_issue_1265 (line 585) | def test_issue_1265(self): method test_issue_1808 (line 628) | def test_issue_1808(self): class TestGeneratorModel (line 653) | class TestGeneratorModel(test_factory()): FILE: numba/tests/test_getitem_on_types.py class TestGetitemOnTypes (line 7) | class TestGetitemOnTypes(TestCase): method test_static_getitem_on_type (line 10) | def test_static_getitem_on_type(self): method test_shorthand_syntax (line 45) | def test_shorthand_syntax(self): method test_static_getitem_on_invalid_type (line 64) | def test_static_getitem_on_invalid_type(self): method test_standard_getitem_on_type (line 86) | def test_standard_getitem_on_type(self): FILE: numba/tests/test_gil.py function f (line 34) | def f(a, indices): function lifted_f (line 46) | def lifted_f(a, indices): function object_f (line 56) | def object_f(a, indices): class TestGILRelease (line 67) | class TestGILRelease(TestCase): method make_test_array (line 69) | def make_test_array(self, n_members): method run_in_threads (line 72) | def run_in_threads(self, func, n_threads): method check_gil_held (line 92) | def check_gil_held(self, func): method check_gil_released (line 97) | def check_gil_released(self, func): method test_gil_held (line 112) | def test_gil_held(self): method test_gil_released (line 120) | def test_gil_released(self): method test_gil_released_inside_lifted_loop (line 128) | def test_gil_released_inside_lifted_loop(self): method test_gil_released_by_caller (line 136) | def test_gil_released_by_caller(self): method test_gil_released_by_caller_and_callee (line 147) | def test_gil_released_by_caller_and_callee(self): method test_gil_ignored_by_callee (line 158) | def test_gil_ignored_by_callee(self): method test_object_mode (line 168) | def test_object_mode(self): FILE: numba/tests/test_globals.py function global_ndarray_func (line 10) | def global_ndarray_func(x): function global_cplx_arr_copy (line 21) | def global_cplx_arr_copy(a): function global_rec_arr_copy (line 34) | def global_rec_arr_copy(a): function global_rec_arr_extract_fields (line 39) | def global_rec_arr_extract_fields(a, b): function global_two_rec_arrs (line 53) | def global_two_rec_arrs(a, b, c, d): function global_record_func (line 67) | def global_record_func(x): function global_module_func (line 72) | def global_module_func(x, y): function global_int_tuple (line 84) | def global_int_tuple(): function global_str_tuple (line 88) | def global_str_tuple(): function global_mixed_tuple (line 92) | def global_mixed_tuple(): function global_float_tuple (line 98) | def global_float_tuple(): function global_npy_int_tuple (line 102) | def global_npy_int_tuple(): function global_write_to_arr_in_tuple (line 106) | def global_write_to_arr_in_tuple(): function global_write_to_arr_in_mixed_tuple (line 110) | def global_write_to_arr_in_mixed_tuple(): function _sink (line 119) | def _sink(*args): function global_npy_bool (line 122) | def global_npy_bool(): class TestGlobals (line 127) | class TestGlobals(unittest.TestCase): method check_global_ndarray (line 129) | def check_global_ndarray(self, **jitargs): method test_global_ndarray (line 134) | def test_global_ndarray(self): method test_global_ndarray_npm (line 139) | def test_global_ndarray_npm(self): method check_global_complex_arr (line 143) | def check_global_complex_arr(self, **jitargs): method test_global_complex_arr (line 150) | def test_global_complex_arr(self): method test_global_complex_arr_npm (line 153) | def test_global_complex_arr_npm(self): method check_global_rec_arr (line 157) | def check_global_rec_arr(self, **jitargs): method test_global_rec_arr (line 164) | def test_global_rec_arr(self): method test_global_rec_arr_npm (line 167) | def test_global_rec_arr_npm(self): method check_global_rec_arr_extract (line 171) | def check_global_rec_arr_extract(self, **jitargs): method test_global_rec_arr_extract (line 180) | def test_global_rec_arr_extract(self): method test_global_rec_arr_extract_npm (line 183) | def test_global_rec_arr_extract_npm(self): method check_two_global_rec_arrs (line 187) | def check_two_global_rec_arrs(self, **jitargs): method test_two_global_rec_arrs (line 200) | def test_two_global_rec_arrs(self): method test_two_global_rec_arrs_npm (line 203) | def test_two_global_rec_arrs_npm(self): method test_global_module (line 206) | def test_global_module(self): method test_global_record (line 211) | def test_global_record(self): method test_global_int_tuple (line 221) | def test_global_int_tuple(self): method test_global_str_tuple (line 226) | def test_global_str_tuple(self): method test_global_mixed_tuple (line 231) | def test_global_mixed_tuple(self): method test_global_float_tuple (line 236) | def test_global_float_tuple(self): method test_global_npy_int_tuple (line 241) | def test_global_npy_int_tuple(self): method test_global_write_to_arr_in_tuple (line 246) | def test_global_write_to_arr_in_tuple(self): method test_global_npy_bool (line 257) | def test_global_npy_bool(self): FILE: numba/tests/test_hashing.py function hash_usecase (line 27) | def hash_usecase(x): class TestHashingSetup (line 31) | class TestHashingSetup(TestCase): method test_warn_on_fnv (line 33) | def test_warn_on_fnv(self): class TestHashAlgs (line 76) | class TestHashAlgs(TestCase): method get_expected_hash (line 120) | def get_expected_hash(self, position, length): method get_hash_command (line 133) | def get_hash_command(self, repr_): method get_hash (line 136) | def get_hash(self, repr_, seed=None): method test_against_cpython_gold (line 147) | def test_against_cpython_gold(self): class BaseTest (line 159) | class BaseTest(TestCase): method setUp (line 161) | def setUp(self): method check_hash_values (line 164) | def check_hash_values(self, values): method int_samples (line 178) | def int_samples(self, typ=np.int64): method safe_construct (line 189) | def safe_construct(self, typ, value): method float_samples (line 192) | def float_samples(self, typ): method complex_samples (line 215) | def complex_samples(self, typ, float_ty): class TestNumberHashing (line 228) | class TestNumberHashing(BaseTest): method setUp (line 233) | def setUp(self): method tearDown (line 242) | def tearDown(self) -> None: method check_floats (line 250) | def check_floats(self, typ): method check_complex (line 255) | def check_complex(self, typ, float_ty): method test_floats (line 260) | def test_floats(self): method test_complex (line 264) | def test_complex(self): method test_bool (line 268) | def test_bool(self): method test_ints (line 271) | def test_ints(self): method test_py310_nan_hash (line 327) | def test_py310_nan_hash(self): class TestTupleHashing (line 340) | class TestTupleHashing(BaseTest): method setUp (line 345) | def setUp(self): method tearDown (line 354) | def tearDown(self) -> None: method check_tuples (line 362) | def check_tuples(self, value_generator, split): method test_homogeneous_tuples (line 367) | def test_homogeneous_tuples(self): method test_heterogeneous_tuples (line 398) | def test_heterogeneous_tuples(self): class TestUnicodeHashing (line 409) | class TestUnicodeHashing(BaseTest): method test_basic_unicode (line 411) | def test_basic_unicode(self): method test_hash_passthrough (line 429) | def test_hash_passthrough(self): method test_hash_passthrough_call (line 442) | def test_hash_passthrough_call(self): method test_hash_literal (line 455) | def test_hash_literal(self): method test_hash_on_str_creation (line 466) | def test_hash_on_str_creation(self): class TestUnhashable (line 499) | class TestUnhashable(TestCase): method test_hash_unhashable (line 503) | def test_hash_unhashable(self): method test_no_generic_hash (line 514) | def test_no_generic_hash(self): FILE: numba/tests/test_heapq.py function heapify (line 10) | def heapify(x): function heappop (line 14) | def heappop(heap): function heappush (line 18) | def heappush(heap, item): function heappushpop (line 22) | def heappushpop(heap, item): function heapreplace (line 26) | def heapreplace(heap, item): function nsmallest (line 30) | def nsmallest(n, iterable): function nlargest (line 34) | def nlargest(n, iterable): class _TestHeapq (line 38) | class _TestHeapq(MemoryLeakMixin): method setUp (line 40) | def setUp(self): method test_heapify_basic_sanity (line 44) | def test_heapify_basic_sanity(self): method check_invariant (line 83) | def check_invariant(self, heap): method test_push_pop (line 89) | def test_push_pop(self): method test_heapify (line 116) | def test_heapify(self): method test_heapify_exceptions (line 127) | def test_heapify_exceptions(self): method test_heappop_basic_sanity (line 147) | def test_heappop_basic_sanity(self): method test_heappop_exceptions (line 167) | def test_heappop_exceptions(self): method iterables (line 180) | def iterables(self): method test_heappush_basic (line 188) | def test_heappush_basic(self): method test_heappush_exceptions (line 205) | def test_heappush_exceptions(self): method test_nsmallest_basic (line 224) | def test_nsmallest_basic(self): method test_nlargest_basic (line 248) | def test_nlargest_basic(self): method _assert_typing_error (line 272) | def _assert_typing_error(self, cfunc): method test_nsmallest_exceptions (line 289) | def test_nsmallest_exceptions(self): method test_nlargest_exceptions (line 294) | def test_nlargest_exceptions(self): method test_heapreplace_basic (line 299) | def test_heapreplace_basic(self): method test_heapreplace_exceptions (line 326) | def test_heapreplace_exceptions(self): method heapiter (line 345) | def heapiter(self, heap): method test_nbest (line 352) | def test_nbest(self): method test_heapsort (line 369) | def test_heapsort(self): method test_nsmallest (line 391) | def test_nsmallest(self): method test_nlargest (line 402) | def test_nlargest(self): method test_nbest_with_pushpop (line 414) | def test_nbest_with_pushpop(self): method test_heappushpop (line 435) | def test_heappushpop(self): method test_heappushpop_exceptions (line 455) | def test_heappushpop_exceptions(self): class TestHeapqReflectedList (line 475) | class TestHeapqReflectedList(_TestHeapq, TestCase): class TestHeapqTypedList (line 481) | class TestHeapqTypedList(_TestHeapq, TestCase): FILE: numba/tests/test_help.py class TestInspector (line 14) | class TestInspector(TestCase): method check_function_descriptor (line 15) | def check_function_descriptor(self, info, must_be_defined=False): method test_inspect_function_on_range (line 28) | def test_inspect_function_on_range(self): method test_inspect_function_on_np_all (line 32) | def test_inspect_function_on_np_all(self): method test_inspect_module (line 48) | def test_inspect_module(self): method test_inspect_cli (line 58) | def test_inspect_cli(self): FILE: numba/tests/test_import.py class TestNumbaImport (line 7) | class TestNumbaImport(TestCase): method test_laziness (line 12) | def test_laziness(self): method test_no_impl_import (line 47) | def test_no_impl_import(self): method test_no_accidental_warnings (line 101) | def test_no_accidental_warnings(self): method test_import_star (line 110) | def test_import_star(self): FILE: numba/tests/test_indexing.py function slicing_1d_usecase (line 19) | def slicing_1d_usecase(a, start, stop, step): function slicing_1d_usecase2 (line 22) | def slicing_1d_usecase2(a, start, stop, step): function slicing_1d_usecase3 (line 29) | def slicing_1d_usecase3(a, start, stop): function slicing_1d_usecase4 (line 36) | def slicing_1d_usecase4(a): function slicing_1d_usecase5 (line 43) | def slicing_1d_usecase5(a, start): function slicing_1d_usecase6 (line 50) | def slicing_1d_usecase6(a, stop): function slicing_1d_usecase7 (line 57) | def slicing_1d_usecase7(a, start): function slicing_1d_usecase8 (line 65) | def slicing_1d_usecase8(a, start): function slicing_2d_usecase (line 74) | def slicing_2d_usecase(a, start1, stop1, step1, start2, stop2, step2): function slicing_2d_usecase3 (line 78) | def slicing_2d_usecase3(a, start1, stop1, step1, index): function slicing_3d_usecase (line 82) | def slicing_3d_usecase(a, index0, start1, index2): function slicing_3d_usecase2 (line 89) | def slicing_3d_usecase2(a, index0, stop1, index2): function partial_1d_usecase (line 96) | def partial_1d_usecase(a, index): function integer_indexing_1d_usecase (line 103) | def integer_indexing_1d_usecase(a, i): function integer_indexing_2d_usecase (line 106) | def integer_indexing_2d_usecase(a, i1, i2): function integer_indexing_2d_usecase2 (line 109) | def integer_indexing_2d_usecase2(a, i1, i2): function ellipsis_usecase1 (line 112) | def ellipsis_usecase1(a, i, j): function ellipsis_usecase2 (line 115) | def ellipsis_usecase2(a, i, j): function ellipsis_usecase3 (line 118) | def ellipsis_usecase3(a, i, j): function none_index_usecase (line 121) | def none_index_usecase(a): function empty_tuple_usecase (line 124) | def empty_tuple_usecase(a): function setitem_usecase (line 129) | def setitem_usecase(a, index, value): function setitem_broadcast_usecase (line 134) | def setitem_broadcast_usecase(a, value): function slicing_1d_usecase_set (line 138) | def slicing_1d_usecase_set(a, b, start, stop, step): function slicing_1d_usecase_add (line 142) | def slicing_1d_usecase_add(a, b, start, stop): function slicing_2d_usecase_set (line 148) | def slicing_2d_usecase_set(a, b, start, stop, step, start2, stop2, step2): class TestGetItem (line 153) | class TestGetItem(TestCase): method test_1d_slicing (line 159) | def test_1d_slicing(self, flags=enable_pyobj_flags): method test_1d_slicing_npm (line 178) | def test_1d_slicing_npm(self): method test_1d_slicing2 (line 181) | def test_1d_slicing2(self, flags=enable_pyobj_flags): method test_1d_slicing2_npm (line 217) | def test_1d_slicing2_npm(self): method test_1d_slicing3 (line 220) | def test_1d_slicing3(self, flags=enable_pyobj_flags): method test_1d_slicing3_npm (line 250) | def test_1d_slicing3_npm(self): method test_1d_slicing4 (line 253) | def test_1d_slicing4(self, flags=enable_pyobj_flags): method test_1d_slicing4_npm (line 272) | def test_1d_slicing4_npm(self): method check_1d_slicing_with_arg (line 275) | def check_1d_slicing_with_arg(self, pyfunc, flags): method test_1d_slicing5 (line 297) | def test_1d_slicing5(self, flags=enable_pyobj_flags): method test_1d_slicing5_npm (line 301) | def test_1d_slicing5_npm(self): method test_1d_slicing6 (line 304) | def test_1d_slicing6(self, flags=enable_pyobj_flags): method test_1d_slicing6_npm (line 308) | def test_1d_slicing6_npm(self): method test_1d_slicing7 (line 311) | def test_1d_slicing7(self, flags=enable_pyobj_flags): method test_1d_slicing7_npm (line 315) | def test_1d_slicing7_npm(self): method test_1d_slicing8 (line 318) | def test_1d_slicing8(self, flags=enable_pyobj_flags): method test_1d_slicing8_npm (line 322) | def test_1d_slicing8_npm(self): method test_2d_slicing (line 325) | def test_2d_slicing(self, flags=enable_pyobj_flags): method test_2d_slicing_npm (line 340) | def test_2d_slicing_npm(self): method test_2d_slicing2 (line 343) | def test_2d_slicing2(self, flags=enable_pyobj_flags): method test_2d_slicing2_npm (line 384) | def test_2d_slicing2_npm(self): method test_2d_slicing3 (line 387) | def test_2d_slicing3(self, flags=enable_pyobj_flags): method test_2d_slicing3_npm (line 424) | def test_2d_slicing3_npm(self): method test_3d_slicing (line 427) | def test_3d_slicing(self, flags=enable_pyobj_flags): method test_3d_slicing_npm (line 456) | def test_3d_slicing_npm(self): method test_3d_slicing2 (line 459) | def test_3d_slicing2(self, flags=enable_pyobj_flags): method test_3d_slicing2_npm (line 488) | def test_3d_slicing2_npm(self): method test_1d_integer_indexing (line 491) | def test_1d_integer_indexing(self, flags=enable_pyobj_flags): method test_1d_integer_indexing_npm (line 527) | def test_1d_integer_indexing_npm(self): method test_integer_indexing_1d_for_2d (line 530) | def test_integer_indexing_1d_for_2d(self, flags=enable_pyobj_flags): method test_integer_indexing_1d_for_2d_npm (line 549) | def test_integer_indexing_1d_for_2d_npm(self): method test_2d_integer_indexing (line 552) | def test_2d_integer_indexing(self, flags=enable_pyobj_flags, method test_2d_integer_indexing_npm (line 589) | def test_2d_integer_indexing_npm(self): method test_2d_integer_indexing2 (line 592) | def test_2d_integer_indexing2(self): method test_2d_integer_indexing_via_call (line 597) | def test_2d_integer_indexing_via_call(self): method test_2d_float_indexing (line 609) | def test_2d_float_indexing(self, flags=enable_pyobj_flags): method test_partial_1d_indexing (line 620) | def test_partial_1d_indexing(self, flags=enable_pyobj_flags): method check_ellipsis (line 643) | def check_ellipsis(self, pyfunc, flags): method test_ellipsis1 (line 658) | def test_ellipsis1(self, flags=enable_pyobj_flags): method test_ellipsis1_npm (line 661) | def test_ellipsis1_npm(self): method test_ellipsis2 (line 664) | def test_ellipsis2(self, flags=enable_pyobj_flags): method test_ellipsis2_npm (line 667) | def test_ellipsis2_npm(self): method test_ellipsis3 (line 670) | def test_ellipsis3(self, flags=enable_pyobj_flags): method test_ellipsis3_npm (line 673) | def test_ellipsis3_npm(self): method test_ellipsis_issue1498 (line 676) | def test_ellipsis_issue1498(self): method test_ellipsis_issue1499 (line 697) | def test_ellipsis_issue1499(self): method test_none_index (line 709) | def test_none_index(self, flags=enable_pyobj_flags): method test_none_index_npm (line 718) | def test_none_index_npm(self): method test_none_index_0d (line 721) | def test_none_index_0d(self, flags=enable_pyobj_flags): method test_none_index_0d_npm (line 730) | def test_none_index_0d_npm(self): method test_empty_tuple_indexing (line 733) | def test_empty_tuple_indexing(self, flags=enable_pyobj_flags): method test_empty_tuple_indexing_npm (line 742) | def test_empty_tuple_indexing_npm(self): class TestSetItem (line 746) | class TestSetItem(TestCase): method test_conversion_setitem (line 752) | def test_conversion_setitem(self, flags=enable_pyobj_flags): method test_1d_slicing_set (line 768) | def test_1d_slicing_set(self, flags=enable_pyobj_flags): method check_1d_slicing_set_sequence (line 798) | def check_1d_slicing_set_sequence(self, flags, seqty, seq): method test_1d_slicing_set_tuple (line 829) | def test_1d_slicing_set_tuple(self, flags=enable_pyobj_flags): method test_1d_slicing_set_list (line 836) | def test_1d_slicing_set_list(self, flags=enable_pyobj_flags): method test_1d_slicing_broadcast (line 843) | def test_1d_slicing_broadcast(self, flags=enable_pyobj_flags): method test_1d_slicing_add (line 866) | def test_1d_slicing_add(self, flags=enable_pyobj_flags): method test_1d_slicing_set_npm (line 878) | def test_1d_slicing_set_npm(self): method test_1d_slicing_set_list_npm (line 881) | def test_1d_slicing_set_list_npm(self): method test_1d_slicing_set_tuple_npm (line 884) | def test_1d_slicing_set_tuple_npm(self): method test_1d_slicing_broadcast_npm (line 887) | def test_1d_slicing_broadcast_npm(self): method test_1d_slicing_add_npm (line 890) | def test_1d_slicing_add_npm(self): method test_2d_slicing_set (line 893) | def test_2d_slicing_set(self, flags=enable_pyobj_flags): method test_2d_slicing_broadcast (line 916) | def test_2d_slicing_broadcast(self, flags=enable_pyobj_flags): method test_2d_slicing_set_npm (line 942) | def test_2d_slicing_set_npm(self): method test_2d_slicing_broadcast_npm (line 945) | def test_2d_slicing_broadcast_npm(self): method test_setitem (line 948) | def test_setitem(self): method test_setitem_broadcast (line 963) | def test_setitem_broadcast(self): method test_setitem_broadcast_error (line 993) | def test_setitem_broadcast_error(self): method test_slicing_1d_broadcast (line 1023) | def test_slicing_1d_broadcast(self): method test_setitem_readonly (line 1040) | def test_setitem_readonly(self): class TestTyping (line 1049) | class TestTyping(TestCase): method test_layout (line 1054) | def test_layout(self): FILE: numba/tests/test_init_utils.py class TestGenerateVersionInfo (line 8) | class TestGenerateVersionInfo(TestCase): method test_major_minor_patch (line 10) | def test_major_minor_patch(self): method test_unknown (line 17) | def test_unknown(self): method test_dev (line 24) | def test_dev(self): method test_full_rev (line 31) | def test_full_rev(self): FILE: numba/tests/test_inlining.py class InlineTestPass (line 29) | class InlineTestPass(FunctionPass): method __init__ (line 32) | def __init__(self): method run_pass (line 35) | def run_pass(self, state): function gen_pipeline (line 52) | def gen_pipeline(state, test_pass): class InlineTestPipeline (line 94) | class InlineTestPipeline(compiler.CompilerBase): method define_pipelines (line 97) | def define_pipelines(self): class TestInlining (line 102) | class TestInlining(TestCase): method make_pattern (line 110) | def make_pattern(self, fullname): method assert_has_pattern (line 117) | def assert_has_pattern(self, fullname, text): method assert_not_has_pattern (line 122) | def assert_not_has_pattern(self, fullname, text): method test_inner_function (line 127) | def test_inner_function(self): method test_multiple_inner_functions (line 141) | def test_multiple_inner_functions(self): method test_inline_call_after_parfor (line 157) | def test_inline_call_after_parfor(self): method test_inline_update_target_def (line 170) | def test_inline_update_target_def(self): method test_inline_var_dict_ret (line 197) | def test_inline_var_dict_ret(self): method test_inline_call_branch_pruning (line 226) | def test_inline_call_branch_pruning(self): FILE: numba/tests/test_interpreter.py function sum_jit_func (line 17) | def sum_jit_func( class TestCallFunctionExPeepHole (line 117) | class TestCallFunctionExPeepHole(MemoryLeakMixin, TestCase): method gen_func (line 133) | def gen_func(self, n_args, n_kws): method test_all_args (line 161) | def test_all_args(self): method test_all_kws (line 176) | def test_all_kws(self): method test_small_args_small_kws (line 190) | def test_small_args_small_kws(self): method test_small_args_large_kws (line 206) | def test_small_args_large_kws(self): method test_large_args_small_kws (line 222) | def test_large_args_small_kws(self): method test_large_args_large_kws (line 238) | def test_large_args_large_kws(self): method test_large_kws_objmode (line 254) | def test_large_kws_objmode(self): method test_large_args_inline_controlflow (line 345) | def test_large_args_inline_controlflow(self): method test_large_args_noninlined_controlflow (line 399) | def test_large_args_noninlined_controlflow(self): method test_all_args_inline_controlflow (line 454) | def test_all_args_inline_controlflow(self): method test_all_args_noninlined_controlflow (line 509) | def test_all_args_noninlined_controlflow(self): method test_large_kws_inline_controlflow (line 563) | def test_large_kws_inline_controlflow(self): method test_large_kws_noninlined_controlflow (line 596) | def test_large_kws_noninlined_controlflow(self): class TestLargeConstDict (line 630) | class TestLargeConstDict(TestCase, MemoryLeakMixin): method test_large_heterogeneous_const_dict (line 647) | def test_large_heterogeneous_const_dict(self): method test_large_heterogeneous_LiteralStrKeyDict_literal_values (line 686) | def test_large_heterogeneous_LiteralStrKeyDict_literal_values(self): method test_large_heterogeneous_const_keys_dict (line 757) | def test_large_heterogeneous_const_keys_dict(self): method test_large_dict_mutation_not_carried (line 798) | def test_large_dict_mutation_not_carried(self): method test_usercode_update_use_d2 (line 866) | def test_usercode_update_use_d2(self): method test_large_const_dict_inline_controlflow (line 942) | def test_large_const_dict_inline_controlflow(self): method test_large_const_dict_noninline_controlflow (line 984) | def test_large_const_dict_noninline_controlflow(self): method test_fuse_twice_literal_values (line 1026) | def test_fuse_twice_literal_values(self): class TestListExtendInStarArgNonTupleIterable (line 1128) | class TestListExtendInStarArgNonTupleIterable(MemoryLeakMixin, TestCase): method test_list_extend_forceobj (line 1139) | def test_list_extend_forceobj(self): FILE: numba/tests/test_interproc.py function foo (line 7) | def foo(a, b): function bar (line 11) | def bar(a, b): function inner (line 15) | def inner(x, y): function outer (line 19) | def outer(x, y): class TestInterProc (line 23) | class TestInterProc(unittest.TestCase): method test_bar_call_foo (line 25) | def test_bar_call_foo(self): method test_bar_call_foo_compiled_twice (line 31) | def test_bar_call_foo_compiled_twice(self): method test_callsite_compilation (line 42) | def test_callsite_compilation(self): FILE: numba/tests/test_intwidth.py function usecase_uint64_global (line 13) | def usecase_uint64_global(): function usecase_uint64_constant (line 16) | def usecase_uint64_constant(): function usecase_uint64_func (line 19) | def usecase_uint64_func(): function usecase_int64_pos (line 22) | def usecase_int64_pos(): function usecase_int64_neg (line 25) | def usecase_int64_neg(): function usecase_int64_func (line 28) | def usecase_int64_func(): class IntWidthTest (line 33) | class IntWidthTest(TestCase): method check_nullary_func (line 35) | def check_nullary_func(self, pyfunc, **kwargs): method test_global_uint64 (line 39) | def test_global_uint64(self, nopython=False): method test_global_uint64_npm (line 43) | def test_global_uint64_npm(self): method test_constant_uint64 (line 46) | def test_constant_uint64(self, nopython=False): method test_constant_uint64_npm (line 50) | def test_constant_uint64_npm(self): method test_constant_uint64_function_call (line 53) | def test_constant_uint64_function_call(self, nopython=False): method test_constant_uint64_function_call_npm (line 57) | def test_constant_uint64_function_call_npm(self): method test_bit_length (line 60) | def test_bit_length(self): method test_constant_int64 (line 79) | def test_constant_int64(self, nopython=False): method test_constant_int64_npm (line 84) | def test_constant_int64_npm(self): FILE: numba/tests/test_ir.py class TestIR (line 25) | class TestIR(unittest.TestCase): method test_IRScope (line 27) | def test_IRScope(self): class CheckEquality (line 56) | class CheckEquality(unittest.TestCase): method check (line 67) | def check(self, base, same=None, different=None): class TestIRMeta (line 78) | class TestIRMeta(CheckEquality): method test_loc (line 82) | def test_loc(self): method test_scope (line 94) | def test_scope(self): class TestIRNodes (line 112) | class TestIRNodes(CheckEquality): method test_terminator (line 116) | def test_terminator(self): method test_jump (line 122) | def test_jump(self): method test_return (line 129) | def test_return(self): method test_raise (line 136) | def test_raise(self): method test_staticraise (line 143) | def test_staticraise(self): method test_branch (line 151) | def test_branch(self): method test_expr (line 160) | def test_expr(self): method test_setitem (line 167) | def test_setitem(self): method test_staticsetitem (line 176) | def test_staticsetitem(self): method test_delitem (line 186) | def test_delitem(self): method test_del (line 194) | def test_del(self): method test_setattr (line 201) | def test_setattr(self): method test_delattr (line 210) | def test_delattr(self): method test_assign (line 218) | def test_assign(self): method test_print (line 226) | def test_print(self): method test_storemap (line 234) | def test_storemap(self): method test_yield (line 243) | def test_yield(self): method test_enterwith (line 251) | def test_enterwith(self): method test_arg (line 260) | def test_arg(self): method test_const (line 268) | def test_const(self): method test_global (line 275) | def test_global(self): method test_var (line 283) | def test_var(self): method test_undefinedtype (line 291) | def test_undefinedtype(self): method test_loop (line 296) | def test_loop(self): method test_with (line 303) | def test_with(self): class TestIRCompounds (line 315) | class TestIRCompounds(CheckEquality): method test_varmap (line 319) | def test_varmap(self): method test_block (line 334) | def test_block(self): method test_functionir (line 352) | def test_functionir(self): class TestIRPedanticChecks (line 493) | class TestIRPedanticChecks(TestCase): method test_var_in_scope_assumption (line 494) | def test_var_in_scope_assumption(self): FILE: numba/tests/test_ir_inlining.py function _global_func (line 39) | def _global_func(x): function _global_defn (line 44) | def _global_defn(x): function _global_overload (line 49) | def _global_overload(x): class InliningBase (line 53) | class InliningBase(TestCase): method sentinel_17_cost_model (line 62) | def sentinel_17_cost_model(self, func_ir): method check (line 75) | def check(self, test_impl, *args, **kwargs): function _gen_involved (line 120) | def _gen_involved(): class TestFunctionInlining (line 158) | class TestFunctionInlining(MemoryLeakMixin, InliningBase): method test_basic_inline_never (line 160) | def test_basic_inline_never(self): method test_basic_inline_always (line 169) | def test_basic_inline_always(self): method test_basic_inline_combos (line 178) | def test_basic_inline_combos(self): method test_recursive_inline (line 208) | def test_recursive_inline(self): method test_freevar_bindings (line 229) | def test_freevar_bindings(self): method test_global_binding (line 258) | def test_global_binding(self): method test_inline_from_another_module (line 266) | def test_inline_from_another_module(self): method test_inline_from_another_module_w_getattr (line 276) | def test_inline_from_another_module_w_getattr(self): method test_inline_from_another_module_w_2_getattr (line 286) | def test_inline_from_another_module_w_2_getattr(self): method test_inline_from_another_module_as_freevar (line 297) | def test_inline_from_another_module_as_freevar(self): method test_inline_w_freevar_from_another_module (line 315) | def test_inline_w_freevar_from_another_module(self): method test_inlining_models (line 330) | def test_inlining_models(self): method test_inline_inside_loop (line 370) | def test_inline_inside_loop(self): method test_inline_inside_closure_inside_loop (line 383) | def test_inline_inside_closure_inside_loop(self): method test_inline_closure_inside_inlinable_inside_closure (line 398) | def test_inline_closure_inside_inlinable_inside_closure(self): method test_inline_involved (line 414) | def test_inline_involved(self): method test_inline_renaming_scheme (line 457) | def test_inline_renaming_scheme(self): class TestRegisterJitableInlining (line 495) | class TestRegisterJitableInlining(MemoryLeakMixin, InliningBase): method test_register_jitable_inlines (line 497) | def test_register_jitable_inlines(self): class TestOverloadInlining (line 509) | class TestOverloadInlining(MemoryLeakMixin, InliningBase): method test_basic_inline_never (line 511) | def test_basic_inline_never(self): method test_basic_inline_always (line 526) | def test_basic_inline_always(self): method test_inline_always_kw_no_default (line 542) | def test_inline_always_kw_no_default(self): method test_inline_operators_unary (line 556) | def test_inline_operators_unary(self): method test_inline_operators_binop (line 582) | def test_inline_operators_binop(self): method test_inline_operators_inplace_binop (line 609) | def test_inline_operators_inplace_binop(self): method test_inline_always_operators_getitem (line 648) | def test_inline_always_operators_getitem(self): method test_inline_never_operators_getitem (line 672) | def test_inline_never_operators_getitem(self): method test_inline_stararg_error (line 696) | def test_inline_stararg_error(self): method test_basic_inline_combos (line 713) | def test_basic_inline_combos(self): method test_freevar_bindings (line 757) | def test_freevar_bindings(self): method test_global_overload_binding (line 808) | def test_global_overload_binding(self): method test_inline_from_another_module (line 816) | def test_inline_from_another_module(self): method test_inline_from_another_module_w_getattr (line 826) | def test_inline_from_another_module_w_getattr(self): method test_inline_from_another_module_w_2_getattr (line 836) | def test_inline_from_another_module_w_2_getattr(self): method test_inline_from_another_module_as_freevar (line 847) | def test_inline_from_another_module_as_freevar(self): method test_inline_w_freevar_from_another_module (line 865) | def test_inline_w_freevar_from_another_module(self): method test_inlining_models (line 880) | def test_inlining_models(self): method test_multiple_overloads_with_different_inline_characteristics (line 930) | def test_multiple_overloads_with_different_inline_characteristics(self): method test_overload_inline_always_with_literally_in_inlinee (line 986) | def test_overload_inline_always_with_literally_in_inlinee(self): method test_inline_always_ssa (line 1028) | def test_inline_always_ssa(self): method test_inline_always_ssa_scope_validity (line 1054) | def test_inline_always_ssa_scope_validity(self): class TestOverloadMethsAttrsInlining (line 1082) | class TestOverloadMethsAttrsInlining(InliningBase): method setUp (line 1083) | def setUp(self): method check_method (line 1087) | def check_method(self, test_impl, args, expected, block_count, method check_getattr (line 1109) | def check_getattr(self, test_impl, args, expected, block_count, method test_overload_method_default_args_always (line 1131) | def test_overload_method_default_args_always(self): method make_overload_method_test (line 1151) | def make_overload_method_test(self, costmodel, should_inline): method test_overload_method_cost_driven_always (line 1174) | def test_overload_method_cost_driven_always(self): method test_overload_method_cost_driven_never (line 1180) | def test_overload_method_cost_driven_never(self): method test_overload_method_cost_driven_must_inline (line 1186) | def test_overload_method_cost_driven_must_inline(self): method test_overload_method_cost_driven_no_inline (line 1192) | def test_overload_method_cost_driven_no_inline(self): method make_overload_attribute_test (line 1198) | def make_overload_attribute_test(self, costmodel, should_inline): method test_overload_attribute_always (line 1218) | def test_overload_attribute_always(self): method test_overload_attribute_never (line 1224) | def test_overload_attribute_never(self): method test_overload_attribute_costmodel_must_inline (line 1230) | def test_overload_attribute_costmodel_must_inline(self): method test_overload_attribute_costmodel_no_inline (line 1236) | def test_overload_attribute_costmodel_no_inline(self): class TestGeneralInlining (line 1243) | class TestGeneralInlining(MemoryLeakMixin, InliningBase): method test_with_inlined_and_noninlined_variants (line 1245) | def test_with_inlined_and_noninlined_variants(self): method test_with_kwargs (line 1261) | def test_with_kwargs(self): method test_with_kwargs2 (line 1277) | def test_with_kwargs2(self): method test_inlining_optional_constant (line 1288) | def test_inlining_optional_constant(self): class TestInlineOptions (line 1303) | class TestInlineOptions(TestCase): method test_basic (line 1305) | def test_basic(self): class TestInlineMiscIssues (line 1327) | class TestInlineMiscIssues(TestCase): method test_issue4691 (line 1329) | def test_issue4691(self): method test_issue4693 (line 1354) | def test_issue4693(self): method test_issue5476 (line 1369) | def test_issue5476(self): method test_issue5792 (line 1386) | def test_issue5792(self): method test_issue5824 (line 1456) | def test_issue5824(self): method test_issue7380 (line 1486) | def test_issue7380(self): FILE: numba/tests/test_ir_utils.py class Dummy (line 19) | class Dummy(object): method __init__ (line 20) | def __init__(self, val): class TestIrUtils (line 24) | class TestIrUtils(TestCase): method test_obj_func_match (line 29) | def test_obj_func_match(self): method test_dead_code_elimination (line 48) | def test_dead_code_elimination(self): method test_find_const_global (line 159) | def test_find_const_global(self): method test_flatten_labels (line 187) | def test_flatten_labels(self): FILE: numba/tests/test_itanium_mangler.py class TestItaniumManager (line 8) | class TestItaniumManager(unittest.TestCase): method test_ident (line 9) | def test_ident(self): method test_types (line 22) | def test_types(self): method test_function (line 47) | def test_function(self): method test_custom_type (line 58) | def test_custom_type(self): method test_mangle_literal (line 64) | def test_mangle_literal(self): method test_mangle_unicode (line 73) | def test_mangle_unicode(self): FILE: numba/tests/test_iteration.py function int_tuple_iter_usecase (line 14) | def int_tuple_iter_usecase(): function float_tuple_iter_usecase (line 20) | def float_tuple_iter_usecase(): function tuple_tuple_iter_usecase (line 26) | def tuple_tuple_iter_usecase(): function enumerate_nested_tuple_usecase (line 35) | def enumerate_nested_tuple_usecase(): function nested_enumerate_usecase (line 43) | def nested_enumerate_usecase(): function enumerate_array_usecase (line 52) | def enumerate_array_usecase(): function scalar_iter_usecase (line 60) | def scalar_iter_usecase(iterable): function record_iter_usecase (line 66) | def record_iter_usecase(iterable): function record_iter_mutate_usecase (line 72) | def record_iter_mutate_usecase(iterable): class IterationTest (line 82) | class IterationTest(MemoryLeakMixin, TestCase): method run_nullary_func (line 84) | def run_nullary_func(self, pyfunc, flags): method test_int_tuple_iter (line 89) | def test_int_tuple_iter(self, flags=force_pyobj_flags): method test_int_tuple_iter_npm (line 92) | def test_int_tuple_iter_npm(self): method test_float_tuple_iter (line 98) | def test_float_tuple_iter(self, flags=force_pyobj_flags): method test_float_tuple_iter_npm (line 101) | def test_float_tuple_iter_npm(self): method test_tuple_tuple_iter (line 104) | def test_tuple_tuple_iter(self, flags=force_pyobj_flags): method test_tuple_tuple_iter_npm (line 107) | def test_tuple_tuple_iter_npm(self): method test_enumerate_nested_tuple (line 110) | def test_enumerate_nested_tuple(self, flags=force_pyobj_flags): method test_enumerate_nested_tuple_npm (line 113) | def test_enumerate_nested_tuple_npm(self): method test_nested_enumerate (line 116) | def test_nested_enumerate(self, flags=force_pyobj_flags): method test_nested_enumerate_npm (line 119) | def test_nested_enumerate_npm(self): method test_enumerate_refct (line 122) | def test_enumerate_refct(self): method run_array_1d (line 129) | def run_array_1d(self, item_type, arg, flags): method test_array_1d_float (line 135) | def test_array_1d_float(self, flags=force_pyobj_flags): method test_array_1d_float_npm (line 138) | def test_array_1d_float_npm(self): method test_array_1d_complex (line 141) | def test_array_1d_complex(self, flags=force_pyobj_flags): method test_array_1d_complex_npm (line 144) | def test_array_1d_complex_npm(self): method test_array_1d_record (line 147) | def test_array_1d_record(self, flags=force_pyobj_flags): method test_array_1d_record_npm (line 158) | def test_array_1d_record_npm(self): method test_array_1d_record_mutate_npm (line 161) | def test_array_1d_record_mutate_npm(self, flags=no_pyobj_flags): method test_array_1d_record_mutate (line 175) | def test_array_1d_record_mutate(self): method test_array_0d_raises (line 178) | def test_array_0d_raises(self): method test_tuple_iter_issue1504 (line 191) | def test_tuple_iter_issue1504(self): method test_tuple_of_arrays_iter (line 208) | def test_tuple_of_arrays_iter(self): class TestIterationRefct (line 227) | class TestIterationRefct(MemoryLeakMixin, TestCase): method test_zip_with_arrays (line 228) | def test_zip_with_arrays(self): FILE: numba/tests/test_jit_module.py function captured_logs (line 15) | def captured_logs(l): class TestJitModule (line 25) | class TestJitModule(SerialMixin, unittest.TestCase): method test_create_temp_jitted_module (line 49) | def test_create_temp_jitted_module(self): method test_create_temp_jitted_module_with_exception (line 61) | def test_create_temp_jitted_module_with_exception(self): method test_jit_module (line 72) | def test_jit_module(self): method test_jit_module_jit_options (line 89) | def test_jit_module_jit_options(self): method test_jit_module_jit_options_override (line 99) | def test_jit_module_jit_options_override(self): method test_jit_module_logging_output (line 125) | def test_jit_module_logging_output(self): method test_jit_module_logging_level (line 140) | def test_jit_module_logging_level(self): FILE: numba/tests/test_jitclasses.py class TestClass1 (line 24) | class TestClass1(object): method __init__ (line 25) | def __init__(self, x, y, z=1, *, a=5): class TestClass2 (line 32) | class TestClass2(object): method __init__ (line 33) | def __init__(self, x, y, z=1, *args, a=5): function _get_meminfo (line 41) | def _get_meminfo(box): class TestJitClass (line 48) | class TestJitClass(TestCase, MemoryLeakMixin): method _check_spec (line 50) | def _check_spec(self, spec=None, test_cls=None, all_expected=None): method test_ordereddict_spec (line 76) | def test_ordereddict_spec(self): method test_list_spec (line 82) | def test_list_spec(self): method test_type_annotations (line 87) | def test_type_annotations(self): method test_type_annotation_inheritance (line 100) | def test_type_annotation_inheritance(self): method test_spec_errors (line 117) | def test_spec_errors(self): method test_init_errors (line 135) | def test_init_errors(self): method _make_Float2AndArray (line 148) | def _make_Float2AndArray(self): method _make_Vector2 (line 169) | def _make_Vector2(self): method test_jit_class_1 (line 183) | def test_jit_class_1(self): method test_jitclass_usage_from_python (line 205) | def test_jitclass_usage_from_python(self): method test_jitclass_datalayout (line 259) | def test_jitclass_datalayout(self): method test_deferred_type (line 273) | def test_deferred_type(self): method test_c_structure (line 335) | def test_c_structure(self): method test_is (line 364) | def test_is(self): method test_isinstance (line 377) | def test_isinstance(self): method test_subclassing (line 382) | def test_subclassing(self): method test_base_class (line 390) | def test_base_class(self): method test_globals (line 405) | def test_globals(self): method test_user_getter_setter (line 419) | def test_user_getter_setter(self): method test_user_deleter_error (line 457) | def test_user_deleter_error(self): method test_name_shadowing_error (line 476) | def test_name_shadowing_error(self): method test_distinct_classes (line 497) | def test_distinct_classes(self): method test_parameterized (line 527) | def test_parameterized(self): method test_protected_attrs (line 549) | def test_protected_attrs(self): method test_annotations (line 638) | def test_annotations(self): method test_docstring (line 651) | def test_docstring(self): method test_kwargs (line 672) | def test_kwargs(self): method test_default_args (line 690) | def test_default_args(self): method test_default_args_keyonly (line 717) | def test_default_args_keyonly(self): method test_default_args_starargs_and_keyonly (line 749) | def test_default_args_starargs_and_keyonly(self): method test_generator_method (line 762) | def test_generator_method(self): method test_getitem (line 782) | def test_getitem(self): method test_getitem_unbox (line 813) | def test_getitem_unbox(self): method test_getitem_complex_key (line 839) | def test_getitem_complex_key(self): method test_getitem_tuple_key (line 869) | def test_getitem_tuple_key(self): method test_getitem_slice_key (line 898) | def test_getitem_slice_key(self): method test_jitclass_longlabel_not_truncated (line 935) | def test_jitclass_longlabel_not_truncated(self): method test_pickling (line 958) | def test_pickling(self): method test_static_methods (line 970) | def test_static_methods(self): method test_jitclass_decorator_usecases (line 1053) | def test_jitclass_decorator_usecases(self): method test_jitclass_function_usecases (line 1094) | def test_jitclass_function_usecases(self): method test_jitclass_isinstance (line 1116) | def test_jitclass_isinstance(self): method test_jitclass_unsupported_dunder (line 1157) | def test_jitclass_unsupported_dunder(self): method test_modulename (line 1169) | def test_modulename(self): class TestJitClassOverloads (line 1180) | class TestJitClassOverloads(MemoryLeakMixin, TestCase): class PyList (line 1182) | class PyList: method __init__ (line 1183) | def __init__(self): method append (line 1186) | def append(self, y): method clear (line 1189) | def clear(self): method __abs__ (line 1192) | def __abs__(self): method __bool__ (line 1195) | def __bool__(self): method __complex__ (line 1198) | def __complex__(self): method __contains__ (line 1204) | def __contains__(self, y): method __float__ (line 1207) | def __float__(self): method __int__ (line 1213) | def __int__(self): method __len__ (line 1219) | def __len__(self): method __str__ (line 1222) | def __str__(self): method get_int_wrapper (line 1229) | def get_int_wrapper(): method get_float_wrapper (line 1259) | def get_float_wrapper(): method assertSame (line 1313) | def assertSame(self, first, second, msg=None): method test_overloads (line 1317) | def test_overloads(self): method test_bool_fallback (line 1367) | def test_bool_fallback(self): method test_numeric_fallback (line 1409) | def test_numeric_fallback(self): method test_arithmetic_logical (line 1508) | def test_arithmetic_logical(self): method test_arithmetic_logical_inplace (line 1578) | def test_arithmetic_logical_inplace(self): method test_hash_eq_ne (line 1687) | def test_hash_eq_ne(self): method test_bool_fallback_len (line 1747) | def test_bool_fallback_len(self): method test_bool_fallback_default (line 1790) | def test_bool_fallback_default(self): method test_operator_reflection (line 1813) | def test_operator_reflection(self): method test_matmul_operator (line 1863) | def test_matmul_operator(self): method test_arithmetic_logical_reflection (line 1926) | def test_arithmetic_logical_reflection(self): method test_implicit_hash_compiles (line 2002) | def test_implicit_hash_compiles(self): method test_invert_operator (line 2018) | def test_invert_operator(self): FILE: numba/tests/test_jitmethod.py class TestJITMethod (line 9) | class TestJITMethod(unittest.TestCase): method test_bound_jit_method_with_loop_lift (line 10) | def test_bound_jit_method_with_loop_lift(self): method test_unbound_jit_method (line 35) | def test_unbound_jit_method(self): class TestDisabledJIT (line 48) | class TestDisabledJIT(unittest.TestCase): method test_decorated_function (line 49) | def test_decorated_function(self): method test_decorated_function_with_kwargs (line 59) | def test_decorated_function_with_kwargs(self): FILE: numba/tests/test_linalg.py function dot2 (line 19) | def dot2(a, b): function dot3 (line 23) | def dot3(a, b, out): function vdot (line 27) | def vdot(a, b): class TestProduct (line 31) | class TestProduct(EnableNRTStatsMixin, TestCase): method setUp (line 38) | def setUp(self): method sample_vector (line 43) | def sample_vector(self, n, dtype): method sample_matrix (line 52) | def sample_matrix(self, m, n, dtype): method check_contiguity_warning (line 56) | def check_contiguity_warning(self, pyfunc): method check_func (line 70) | def check_func(self, pyfunc, cfunc, args): method _aligned_copy (line 78) | def _aligned_copy(self, arr): method check_func_out (line 99) | def check_func_out(self, pyfunc, cfunc, args, out): method assert_mismatching_sizes (line 109) | def assert_mismatching_sizes(self, cfunc, args, is_out=False): method assert_mismatching_dtypes (line 116) | def assert_mismatching_dtypes(self, cfunc, args, func_name="np.dot()"): method check_dot_vv (line 123) | def check_dot_vv(self, pyfunc, func_name): method test_dot_vv (line 143) | def test_dot_vv(self): method test_vdot (line 150) | def test_vdot(self): method check_dot_vm (line 156) | def check_dot_vm(self, pyfunc2, pyfunc3, func_name): method test_dot_vm (line 213) | def test_dot_vm(self): method check_dot_mm (line 219) | def check_dot_mm(self, pyfunc2, pyfunc3, func_name): method test_dot_mm (line 282) | def test_dot_mm(self): method test_matmul_vv (line 289) | def test_matmul_vv(self): method test_matmul_vm (line 296) | def test_matmul_vm(self): method test_matmul_mm (line 303) | def test_matmul_mm(self): method test_contiguity_warnings (line 310) | def test_contiguity_warnings(self): function invert_matrix (line 334) | def invert_matrix(a): function cholesky_matrix (line 338) | def cholesky_matrix(a): function eig_matrix (line 342) | def eig_matrix(a): function eigvals_matrix (line 346) | def eigvals_matrix(a): function eigh_matrix (line 350) | def eigh_matrix(a): function eigvalsh_matrix (line 354) | def eigvalsh_matrix(a): function svd_matrix (line 358) | def svd_matrix(a, full_matrices=1): function qr_matrix (line 362) | def qr_matrix(a): function lstsq_system (line 366) | def lstsq_system(A, B, rcond=-1): function solve_system (line 370) | def solve_system(A, B): function pinv_matrix (line 374) | def pinv_matrix(A, rcond=1e-15): # 1e-15 from numpy impl function slogdet_matrix (line 378) | def slogdet_matrix(a): function det_matrix (line 382) | def det_matrix(a): function norm_matrix (line 386) | def norm_matrix(a, ord=None): function cond_matrix (line 390) | def cond_matrix(a, p=None): function matrix_rank_matrix (line 394) | def matrix_rank_matrix(a, tol=None): function matrix_power_matrix (line 398) | def matrix_power_matrix(a, n): function trace_matrix (line 402) | def trace_matrix(a, offset=0): function trace_matrix_no_offset (line 406) | def trace_matrix_no_offset(a): function outer_matrix (line 410) | def outer_matrix(a, b, out=None): function kron_matrix (line 414) | def kron_matrix(a, b): class TestLinalgBase (line 418) | class TestLinalgBase(EnableNRTStatsMixin, TestCase): method setUp (line 426) | def setUp(self): method sample_vector (line 431) | def sample_vector(self, n, dtype): method specific_sample_matrix (line 440) | def specific_sample_matrix( method assert_error (line 524) | def assert_error(self, cfunc, args, msg, err=ValueError): method assert_non_square (line 529) | def assert_non_square(self, cfunc, args): method assert_wrong_dtype (line 533) | def assert_wrong_dtype(self, name, cfunc, args): method assert_wrong_dimensions (line 537) | def assert_wrong_dimensions(self, name, cfunc, args, la_prefix=True): method assert_no_nan_or_inf (line 542) | def assert_no_nan_or_inf(self, cfunc, args): method assert_contig_sanity (line 546) | def assert_contig_sanity(self, got, expected_contig): method assert_raise_on_singular (line 583) | def assert_raise_on_singular(self, cfunc, args): method assert_is_identity_matrix (line 587) | def assert_is_identity_matrix(self, got, rtol=None, atol=None): method assert_invalid_norm_kind (line 603) | def assert_invalid_norm_kind(self, cfunc, args): method assert_raise_on_empty (line 610) | def assert_raise_on_empty(self, cfunc, args): class TestTestLinalgBase (line 615) | class TestTestLinalgBase(TestCase): method test_specific_sample_matrix (line 621) | def test_specific_sample_matrix(self): class TestLinalgInv (line 721) | class TestLinalgInv(TestLinalgBase): method test_linalg_inv (line 727) | def test_linalg_inv(self): method test_no_input_mutation (line 778) | def test_no_input_mutation(self): class TestLinalgCholesky (line 802) | class TestLinalgCholesky(TestLinalgBase): method sample_matrix (line 807) | def sample_matrix(self, m, dtype, order): method assert_not_pd (line 819) | def assert_not_pd(self, cfunc, args): method test_linalg_cholesky (line 824) | def test_linalg_cholesky(self): class TestLinalgEigenSystems (line 885) | class TestLinalgEigenSystems(TestLinalgBase): method sample_matrix (line 890) | def sample_matrix(self, m, dtype, order): method assert_no_domain_change (line 901) | def assert_no_domain_change(self, name, cfunc, args): method _check_worker (line 905) | def _check_worker(self, cfunc, name, expected_res_len, method checker_for_linalg_eig (line 1001) | def checker_for_linalg_eig( method test_linalg_eig (line 1064) | def test_linalg_eig(self): method test_linalg_eigvals (line 1068) | def test_linalg_eigvals(self): method test_linalg_eigh (line 1072) | def test_linalg_eigh(self): method test_linalg_eigvalsh (line 1076) | def test_linalg_eigvalsh(self): method test_no_input_mutation (line 1080) | def test_no_input_mutation(self): class TestLinalgSvd (line 1122) | class TestLinalgSvd(TestLinalgBase): method check_reconstruction (line 1133) | def check_reconstruction(self, a, got, expected): method test_linalg_svd (line 1154) | def test_linalg_svd(self): method test_no_input_mutation (line 1222) | def test_no_input_mutation(self): class TestLinalgQr (line 1250) | class TestLinalgQr(TestLinalgBase): method test_linalg_qr (line 1256) | def test_linalg_qr(self): method test_no_input_mutation (line 1345) | def test_no_input_mutation(self): class TestLinalgSystems (line 1370) | class TestLinalgSystems(TestLinalgBase): method assert_wrong_dimensions_1D (line 1377) | def assert_wrong_dimensions_1D(self, name, cfunc, args, la_prefix=True): method assert_dimensionally_invalid (line 1383) | def assert_dimensionally_invalid(self, cfunc, args): method assert_homogeneous_dtypes (line 1388) | def assert_homogeneous_dtypes(self, name, cfunc, args): class TestLinalgLstsq (line 1393) | class TestLinalgLstsq(TestLinalgSystems): method test_linalg_lstsq (line 1408) | def test_linalg_lstsq(self): method test_issue3368 (line 1635) | def test_issue3368(self): class TestLinalgSolve (line 1657) | class TestLinalgSolve(TestLinalgSystems): method test_linalg_solve (line 1663) | def test_linalg_solve(self): method test_no_input_mutation (line 1780) | def test_no_input_mutation(self): class TestLinalgPinv (line 1808) | class TestLinalgPinv(TestLinalgBase): method test_linalg_pinv (line 1814) | def test_linalg_pinv(self): method test_issue5870 (line 1930) | def test_issue5870(self): class TestLinalgDetAndSlogdet (line 1953) | class TestLinalgDetAndSlogdet(TestLinalgBase): method check_det (line 1961) | def check_det(self, cfunc, a, **kwargs): method check_slogdet (line 1974) | def check_slogdet(self, cfunc, a, **kwargs): method do_test (line 2009) | def do_test(self, rn, check, cfunc): method test_linalg_det (line 2043) | def test_linalg_det(self): method test_linalg_slogdet (line 2048) | def test_linalg_slogdet(self): method test_no_input_mutation (line 2053) | def test_no_input_mutation(self): class TestLinalgNorm (line 2080) | class TestLinalgNorm(TestLinalgSystems): method test_linalg_norm (line 2086) | def test_linalg_norm(self): class TestLinalgCond (line 2185) | class TestLinalgCond(TestLinalgBase): method test_linalg_cond (line 2191) | def test_linalg_cond(self): class TestLinalgMatrixRank (line 2269) | class TestLinalgMatrixRank(TestLinalgSystems): method test_linalg_matrix_rank (line 2275) | def test_linalg_matrix_rank(self): method test_no_input_mutation (line 2376) | def test_no_input_mutation(self): class TestLinalgMatrixPower (line 2404) | class TestLinalgMatrixPower(TestLinalgBase): method assert_int_exponenent (line 2409) | def assert_int_exponenent(self, cfunc, args): method test_linalg_matrix_power (line 2417) | def test_linalg_matrix_power(self): class TestTrace (line 2470) | class TestTrace(TestLinalgBase): method setUp (line 2475) | def setUp(self): method assert_int_offset (line 2481) | def assert_int_offset(self, cfunc, a, **kwargs): method test_trace (line 2488) | def test_trace(self): method test_trace_w_optional_input (line 2538) | def test_trace_w_optional_input(self): class TestBasics (line 2554) | class TestBasics(TestLinalgSystems): # TestLinalgSystems for 1d test method _assert_wrong_dim (line 2563) | def _assert_wrong_dim(self, rn, cfunc): method _gen_input (line 2570) | def _gen_input(self, size, dtype, order): method _get_input (line 2582) | def _get_input(self, size1, size2, dtype): method test_outer (line 2592) | def test_outer(self): method test_kron (line 2627) | def test_kron(self): class TestHelpers (line 2654) | class TestHelpers(TestCase): method test_copy_to_fortran_order (line 2655) | def test_copy_to_fortran_order(self): FILE: numba/tests/test_listimpl.py class List (line 20) | class List(object): method __init__ (line 24) | def __init__(self, tc, item_size, allocated): method __del__ (line 40) | def __del__(self): method __len__ (line 43) | def __len__(self): method __setitem__ (line 46) | def __setitem__(self, i, item): method __getitem__ (line 49) | def __getitem__(self, i): method __iter__ (line 52) | def __iter__(self): method __delitem__ (line 55) | def __delitem__(self, i): method handle_index (line 58) | def handle_index(self, i): method allocated (line 68) | def allocated(self): method is_mutable (line 72) | def is_mutable(self): method set_mutable (line 75) | def set_mutable(self): method set_immutable (line 78) | def set_immutable(self): method append (line 81) | def append(self, item): method pop (line 84) | def pop(self, i=-1): method list_new (line 89) | def list_new(self, item_size, allocated): method list_length (line 97) | def list_length(self): method list_allocated (line 100) | def list_allocated(self): method list_is_mutable (line 103) | def list_is_mutable(self): method list_set_is_mutable (line 106) | def list_set_is_mutable(self, is_mutable): method list_setitem (line 109) | def list_setitem(self, i, item): method list_getitem (line 118) | def list_getitem(self, i): method list_append (line 128) | def list_append(self, item): method list_pop (line 134) | def list_pop(self, i): method list_delitem (line 141) | def list_delitem(self, i): method list_iter (line 161) | def list_iter(self, itptr): method list_iter_next (line 164) | def list_iter_next(self, itptr): class ListIter (line 179) | class ListIter(object): method __init__ (line 182) | def __init__(self, parent): method __iter__ (line 189) | def __iter__(self): method __next__ (line 192) | def __next__(self): class TestListImpl (line 198) | class TestListImpl(TestCase): method setUp (line 199) | def setUp(self): method test_simple_c_test (line 308) | def test_simple_c_test(self): method test_length (line 313) | def test_length(self): method test_allocation (line 317) | def test_allocation(self): method test_append_get_string (line 323) | def test_append_get_string(self): method test_append_get_int (line 330) | def test_append_get_int(self): method test_append_get_string_realloc (line 337) | def test_append_get_string_realloc(self): method test_set_item_getitem_index_error (line 346) | def test_set_item_getitem_index_error(self): method test_iter (line 353) | def test_iter(self): method test_pop (line 363) | def test_pop(self): method test_pop_index_error (line 388) | def test_pop_index_error(self): method test_pop_byte (line 393) | def test_pop_byte(self): method test_delitem (line 419) | def test_delitem(self): method test_delete_slice (line 439) | def test_delete_slice(self): method check_sizing (line 467) | def check_sizing(self, item_size, nmax): method test_sizing (line 483) | def test_sizing(self): method test_mutability (line 488) | def test_mutability(self): FILE: numba/tests/test_listobject.py class TestCreateAppendLength (line 26) | class TestCreateAppendLength(MemoryLeakMixin, TestCase): method test_list_create (line 29) | def test_list_create(self): method test_list_create_no_jit (line 40) | def test_list_create_no_jit(self): method test_nonempty_list_create_no_jit (line 46) | def test_nonempty_list_create_no_jit(self): class TestBool (line 55) | class TestBool(MemoryLeakMixin, TestCase): method test_list_bool (line 58) | def test_list_bool(self): class TestAllocation (line 70) | class TestAllocation(MemoryLeakMixin, TestCase): method test_list_allocation (line 72) | def test_list_allocation(self): method test_list_allocation_negative (line 88) | def test_list_allocation_negative(self): class TestToFromMeminfo (line 102) | class TestToFromMeminfo(MemoryLeakMixin, TestCase): method test_list_to_from_meminfo (line 104) | def test_list_to_from_meminfo(self): class TestGetitem (line 131) | class TestGetitem(MemoryLeakMixin, TestCase): method test_list_getitem_singleton (line 134) | def test_list_getitem_singleton(self): method test_list_getitem_singleton_negtive_index (line 143) | def test_list_getitem_singleton_negtive_index(self): method test_list_getitem_multiple (line 152) | def test_list_getitem_multiple(self): method test_list_getitem_empty_index_error (line 163) | def test_list_getitem_empty_index_error(self): method test_list_getitem_multiple_index_error (line 179) | def test_list_getitem_multiple_index_error(self): method test_list_getitem_empty_typing_error (line 197) | def test_list_getitem_empty_typing_error(self): method test_list_getitem_integer_types_as_index (line 213) | def test_list_getitem_integer_types_as_index(self): method test_list_getitem_different_sized_uint_index (line 226) | def test_list_getitem_different_sized_uint_index(self): method test_list_getitem_different_sized_int_index (line 240) | def test_list_getitem_different_sized_int_index(self): class TestGetitemSlice (line 255) | class TestGetitemSlice(MemoryLeakMixin, TestCase): method test_list_getitem_empty_slice_defaults (line 258) | def test_list_getitem_empty_slice_defaults(self): method test_list_getitem_singleton_slice_defaults (line 267) | def test_list_getitem_singleton_slice_defaults(self): method test_list_getitem_multiple_slice_defaults (line 277) | def test_list_getitem_multiple_slice_defaults(self): method test_list_getitem_multiple_slice_pos_start (line 289) | def test_list_getitem_multiple_slice_pos_start(self): method test_list_getitem_multiple_slice_pos_stop (line 302) | def test_list_getitem_multiple_slice_pos_stop(self): method test_list_getitem_multiple_slice_pos_start_pos_stop (line 315) | def test_list_getitem_multiple_slice_pos_start_pos_stop(self): method test_list_getitem_multiple_slice_pos_start_pos_stop_pos_step (line 328) | def test_list_getitem_multiple_slice_pos_start_pos_stop_pos_step(self): method test_list_getitem_multiple_slice_neg_start (line 341) | def test_list_getitem_multiple_slice_neg_start(self): method test_list_getitem_multiple_slice_neg_stop (line 354) | def test_list_getitem_multiple_slice_neg_stop(self): method test_list_getitem_multiple_slice_neg_step (line 367) | def test_list_getitem_multiple_slice_neg_step(self): method test_list_getitem_multiple_slice_pos_start_neg_step (line 380) | def test_list_getitem_multiple_slice_pos_start_neg_step(self): method test_list_getitem_multiple_slice_neg_start_neg_step (line 393) | def test_list_getitem_multiple_slice_neg_start_neg_step(self): method test_list_getitem_multiple_slice_pos_stop_neg_step (line 406) | def test_list_getitem_multiple_slice_pos_stop_neg_step(self): method test_list_getitem_multiple_slice_neg_stop_neg_step (line 419) | def test_list_getitem_multiple_slice_neg_stop_neg_step(self): method test_list_getitem_multiple_slice_pos_start_pos_stop_neg_step (line 432) | def test_list_getitem_multiple_slice_pos_start_pos_stop_neg_step(self): method test_list_getitem_multiple_slice_neg_start_neg_stop_neg_step (line 445) | def test_list_getitem_multiple_slice_neg_start_neg_stop_neg_step(self): method test_list_getitem_multiple_slice_start_out_of_range (line 458) | def test_list_getitem_multiple_slice_start_out_of_range(self): method test_list_getitem_multiple_slice_stop_zero (line 469) | def test_list_getitem_multiple_slice_stop_zero(self): method test_list_getitem_multiple_slice_zero_step_index_error (line 480) | def test_list_getitem_multiple_slice_zero_step_index_error(self): class TestSetitem (line 498) | class TestSetitem(MemoryLeakMixin, TestCase): method test_list_setitem_singleton (line 501) | def test_list_setitem_singleton(self): method test_list_setitem_singleton_negative_index (line 512) | def test_list_setitem_singleton_negative_index(self): method test_list_setitem_singleton_index_error (line 523) | def test_list_setitem_singleton_index_error(self): method test_list_setitem_multiple (line 538) | def test_list_setitem_multiple(self): method test_list_setitem_multiple_index_error (line 551) | def test_list_setitem_multiple_index_error(self): method test_list_setitem_singleton_typing_error_on_index (line 567) | def test_list_setitem_singleton_typing_error_on_index(self): method test_list_setitem_singleton_typing_error_on_item (line 585) | def test_list_setitem_singleton_typing_error_on_item(self): method test_list_setitem_integer_types_as_index (line 603) | def test_list_setitem_integer_types_as_index(self): class TestPop (line 618) | class TestPop(MemoryLeakMixin, TestCase): method test_list_pop_singleton (line 621) | def test_list_pop_singleton(self): method test_list_pop_singleton_index (line 630) | def test_list_pop_singleton_index(self): method test_list_pop_multiple (line 640) | def test_list_pop_multiple(self): method test_list_pop_multiple_index (line 650) | def test_list_pop_multiple_index(self): method test_list_pop_integer_types_as_index (line 664) | def test_list_pop_integer_types_as_index(self): method test_list_pop_empty_index_error_no_index (line 677) | def test_list_pop_empty_index_error_no_index(self): method test_list_pop_empty_index_error_with_index (line 692) | def test_list_pop_empty_index_error_with_index(self): method test_list_pop_mutiple_index_error_with_index (line 721) | def test_list_pop_mutiple_index_error_with_index(self): method test_list_pop_singleton_typing_error_on_index (line 745) | def test_list_pop_singleton_typing_error_on_index(self): class TestListObjectDelitem (line 764) | class TestListObjectDelitem(MemoryLeakMixin, TestCase): method test_list_singleton_delitem_index (line 768) | def test_list_singleton_delitem_index(self): method test_list_singleton_delitem_slice_defaults (line 778) | def test_list_singleton_delitem_slice_defaults(self): method test_list_singleton_delitem_slice_start (line 788) | def test_list_singleton_delitem_slice_start(self): method test_list_singleton_delitem_slice_stop (line 798) | def test_list_singleton_delitem_slice_stop(self): method test_list_singleton_delitem_slice_start_stop (line 808) | def test_list_singleton_delitem_slice_start_stop(self): method test_list_singleton_delitem_slice_start_step (line 818) | def test_list_singleton_delitem_slice_start_step(self): method test_list_singleton_delitem_slice_start_stop_step (line 828) | def test_list_singleton_delitem_slice_start_stop_step(self): method test_list_multiple_delitem (line 838) | def test_list_multiple_delitem(self): method test_list_multiple_delitem_slice (line 849) | def test_list_multiple_delitem_slice(self): method test_list_multiple_delitem_off_by_one (line 860) | def test_list_multiple_delitem_off_by_one(self): class TestContains (line 877) | class TestContains(MemoryLeakMixin, TestCase): method test_list_contains_empty (line 880) | def test_list_contains_empty(self): method test_list_contains_singleton (line 889) | def test_list_contains_singleton(self): method test_list_contains_multiple (line 899) | def test_list_contains_multiple(self): class TestCount (line 914) | class TestCount(MemoryLeakMixin, TestCase): method test_list_count_empty (line 917) | def test_list_count_empty(self): method test_list_count_singleton (line 925) | def test_list_count_singleton(self): method test_list_count_mutiple (line 935) | def test_list_count_mutiple(self): class TestExtend (line 949) | class TestExtend(MemoryLeakMixin, TestCase): method test_list_extend_empty (line 952) | def test_list_extend_empty(self): method test_list_extend_typing_error_non_iterable (line 963) | def test_list_extend_typing_error_non_iterable(self): class TestInsert (line 979) | class TestInsert(MemoryLeakMixin, TestCase): method test_list_insert_empty (line 982) | def test_list_insert_empty(self): method test_list_insert_singleton (line 992) | def test_list_insert_singleton(self): method test_list_insert_multiple (line 1008) | def test_list_insert_multiple(self): method test_list_insert_multiple_before (line 1020) | def test_list_insert_multiple_before(self): method test_list_insert_multiple_after (line 1032) | def test_list_insert_multiple_after(self): method test_list_insert_typing_error (line 1044) | def test_list_insert_typing_error(self): class TestRemove (line 1060) | class TestRemove(MemoryLeakMixin, TestCase): method test_list_remove_empty (line 1063) | def test_list_remove_empty(self): method test_list_remove_singleton (line 1074) | def test_list_remove_singleton(self): method test_list_remove_singleton_value_error (line 1084) | def test_list_remove_singleton_value_error(self): method test_list_remove_multiple (line 1096) | def test_list_remove_multiple(self): method test_list_remove_multiple_value_error (line 1108) | def test_list_remove_multiple_value_error(self): class TestClear (line 1122) | class TestClear(MemoryLeakMixin, TestCase): method test_list_clear_empty (line 1125) | def test_list_clear_empty(self): method test_list_clear_singleton (line 1134) | def test_list_clear_singleton(self): method test_list_clear_multiple (line 1144) | def test_list_clear_multiple(self): class TestReverse (line 1155) | class TestReverse(MemoryLeakMixin, TestCase): method test_list_reverse_empty (line 1158) | def test_list_reverse_empty(self): method test_list_reverse_singleton (line 1167) | def test_list_reverse_singleton(self): method test_list_reverse_multiple (line 1177) | def test_list_reverse_multiple(self): class TestCopy (line 1188) | class TestCopy(MemoryLeakMixin, TestCase): method test_list_copy_empty (line 1191) | def test_list_copy_empty(self): method test_list_copy_singleton (line 1200) | def test_list_copy_singleton(self): method test_list_copy_multiple (line 1210) | def test_list_copy_multiple(self): class TestIndex (line 1222) | class TestIndex(MemoryLeakMixin, TestCase): method test_index_singleton (line 1224) | def test_index_singleton(self): method test_index_multiple (line 1233) | def test_index_multiple(self): method test_index_duplicate (line 1244) | def test_index_duplicate(self): method test_index_duplicate_with_start (line 1254) | def test_index_duplicate_with_start(self): method test_index_singleton_value_error (line 1265) | def test_index_singleton_value_error(self): method test_index_multiple_value_error (line 1281) | def test_index_multiple_value_error(self): method test_index_multiple_value_error_start (line 1298) | def test_index_multiple_value_error_start(self): method test_index_multiple_value_error_end (line 1317) | def test_index_multiple_value_error_end(self): method test_index_typing_error_start (line 1336) | def test_index_typing_error_start(self): method test_index_typing_error_end (line 1352) | def test_index_typing_error_end(self): class TestEqualNotEqual (line 1369) | class TestEqualNotEqual(MemoryLeakMixin, TestCase): method test_list_empty_equal (line 1372) | def test_list_empty_equal(self): method test_list_singleton_equal (line 1381) | def test_list_singleton_equal(self): method test_list_singleton_not_equal (line 1392) | def test_list_singleton_not_equal(self): method test_list_length_mismatch (line 1403) | def test_list_length_mismatch(self): method test_list_multiple_equal (line 1413) | def test_list_multiple_equal(self): method test_list_multiple_not_equal (line 1425) | def test_list_multiple_not_equal(self): class TestIter (line 1439) | class TestIter(MemoryLeakMixin, TestCase): method test_list_iter (line 1442) | def test_list_iter(self): method test_list_iter_self_mutation (line 1460) | def test_list_iter_self_mutation(self): class TestStringItem (line 1478) | class TestStringItem(MemoryLeakMixin, TestCase): method test_string_item (line 1481) | def test_string_item(self): class TestItemCasting (line 1495) | class TestItemCasting(TestCase): method foo (line 1498) | def foo(fromty, toty): method check_good (line 1502) | def check_good(self, fromty, toty): method check_bad (line 1505) | def check_bad(self, fromty, toty): method test_cast_int_to (line 1513) | def test_cast_int_to(self): method test_cast_float_to (line 1521) | def test_cast_float_to(self): method test_cast_bool_to (line 1526) | def test_cast_bool_to(self): method test_cast_fail_unicode_int (line 1531) | def test_cast_fail_unicode_int(self): method test_cast_fail_int_unicode (line 1545) | def test_cast_fail_int_unicode(self): function make_test_list (line 1561) | def make_test_list(): class TestImmutable (line 1567) | class TestImmutable(MemoryLeakMixin, TestCase): method test_is_immutable (line 1569) | def test_is_immutable(self): method test_make_immutable_is_immutable (line 1576) | def test_make_immutable_is_immutable(self): method test_length_still_works_when_immutable (line 1584) | def test_length_still_works_when_immutable(self): method test_getitem_still_works_when_immutable (line 1594) | def test_getitem_still_works_when_immutable(self): method test_append_fails (line 1604) | def test_append_fails(self): method test_mutation_fails (line 1619) | def test_mutation_fails(self): FILE: numba/tests/test_lists.py function noop (line 20) | def noop(x): function unbox_usecase (line 23) | def unbox_usecase(x): function unbox_usecase2 (line 32) | def unbox_usecase2(x): function unbox_usecase3 (line 41) | def unbox_usecase3(x): function unbox_usecase4 (line 51) | def unbox_usecase4(x): function create_list (line 62) | def create_list(x, y, z): function create_nested_list (line 65) | def create_nested_list(x, y, z, a, b, c): function list_comprehension1 (line 68) | def list_comprehension1(): function list_comprehension2 (line 71) | def list_comprehension2(): function list_comprehension3 (line 74) | def list_comprehension3(): function list_comprehension4 (line 77) | def list_comprehension4(): function list_comprehension5 (line 80) | def list_comprehension5(): function list_comprehension6 (line 83) | def list_comprehension6(): function list_constructor (line 87) | def list_constructor(n): function list_constructor_empty (line 90) | def list_constructor_empty(): function list_constructor_empty_but_typeable (line 95) | def list_constructor_empty_but_typeable(n): function list_append (line 101) | def list_append(n): function list_append_heterogeneous (line 108) | def list_append_heterogeneous(n): function list_extend (line 115) | def list_extend(n): function list_extend_heterogeneous (line 123) | def list_extend_heterogeneous(n): function list_pop0 (line 132) | def list_pop0(n): function list_pop1 (line 139) | def list_pop1(n, i): function list_len (line 144) | def list_len(n): function list_getitem (line 148) | def list_getitem(n): function list_setitem (line 159) | def list_setitem(n): function list_getslice2 (line 172) | def list_getslice2(n, start, stop): function list_getslice3 (line 176) | def list_getslice3(n, start, stop, step): function list_setslice2 (line 180) | def list_setslice2(n, n_source, start, stop): function list_setslice3 (line 187) | def list_setslice3(n, start, stop, step): function list_setslice3_arbitrary (line 195) | def list_setslice3_arbitrary(n, n_src, start, stop, step): function list_delslice0 (line 200) | def list_delslice0(n): function list_delslice1 (line 205) | def list_delslice1(n, start, stop): function list_delslice2 (line 211) | def list_delslice2(n, start, stop): function list_clear (line 216) | def list_clear(n): function list_copy (line 221) | def list_copy(n): function list_iteration (line 227) | def list_iteration(n): function list_contains (line 234) | def list_contains(n): function list_index1 (line 240) | def list_index1(n, v): function list_index2 (line 244) | def list_index2(n, v, start): function list_index3 (line 248) | def list_index3(n, v, start, stop): function list_remove (line 252) | def list_remove(n, v): function list_insert (line 257) | def list_insert(n, pos, v): function list_count (line 262) | def list_count(n, v): function list_reverse (line 268) | def list_reverse(n): function list_add (line 273) | def list_add(m, n): function list_add_heterogeneous (line 280) | def list_add_heterogeneous(): function list_add_inplace (line 290) | def list_add_inplace(m, n): function list_add_inplace_heterogeneous (line 296) | def list_add_inplace_heterogeneous(): function list_mul (line 303) | def list_mul(n, v): function list_mul2 (line 307) | def list_mul2(n, v): function list_mul_inplace (line 311) | def list_mul_inplace(n, v): function list_bool (line 316) | def list_bool(n): function eq_usecase (line 320) | def eq_usecase(a, b): function ne_usecase (line 323) | def ne_usecase(a, b): function gt_usecase (line 326) | def gt_usecase(a, b): function ge_usecase (line 329) | def ge_usecase(a, b): function lt_usecase (line 332) | def lt_usecase(a, b): function le_usecase (line 335) | def le_usecase(a, b): function identity_usecase (line 338) | def identity_usecase(n): function bool_list_usecase (line 344) | def bool_list_usecase(): function reflect_simple (line 353) | def reflect_simple(l, ll): function reflect_conditional (line 360) | def reflect_conditional(l, ll): function reflect_exception (line 370) | def reflect_exception(l): function reflect_dual (line 374) | def reflect_dual(l, ll): class TestLists (line 379) | class TestLists(MemoryLeakMixin, TestCase): method test_create_list (line 381) | def test_create_list(self): method test_create_nested_list (line 386) | def test_create_nested_list(self): method check_unary_with_size (line 392) | def check_unary_with_size(self, pyfunc, precise=True): method test_constructor (line 399) | def test_constructor(self): method test_constructor_empty (line 402) | def test_constructor_empty(self): method test_constructor_empty_but_typeable (line 413) | def test_constructor_empty_but_typeable(self): method test_append (line 422) | def test_append(self): method test_append_heterogeneous (line 425) | def test_append_heterogeneous(self): method test_extend (line 428) | def test_extend(self): method test_extend_heterogeneous (line 431) | def test_extend_heterogeneous(self): method test_pop0 (line 434) | def test_pop0(self): method test_pop1 (line 437) | def test_pop1(self): method test_pop_errors (line 445) | def test_pop_errors(self): method test_insert (line 456) | def test_insert(self): method test_len (line 465) | def test_len(self): method test_getitem (line 468) | def test_getitem(self): method test_setitem (line 471) | def test_setitem(self): method check_slicing2 (line 474) | def check_slicing2(self, pyfunc): method test_getslice2 (line 483) | def test_getslice2(self): method test_setslice2 (line 486) | def test_setslice2(self): method test_getslice3 (line 496) | def test_getslice3(self): method test_setslice3 (line 506) | def test_setslice3(self): method test_setslice3_resize (line 516) | def test_setslice3_resize(self): method test_delslice0 (line 528) | def test_delslice0(self): method test_delslice1 (line 531) | def test_delslice1(self): method test_delslice2 (line 534) | def test_delslice2(self): method test_invalid_slice (line 537) | def test_invalid_slice(self): method test_iteration (line 545) | def test_iteration(self): method test_reverse (line 548) | def test_reverse(self): method test_contains (line 551) | def test_contains(self): method check_index_result (line 554) | def check_index_result(self, pyfunc, cfunc, args): method test_index1 (line 563) | def test_index1(self): method test_index2 (line 570) | def test_index2(self): method test_index3 (line 580) | def test_index3(self): method test_index_exception1 (line 590) | def test_index_exception1(self): method test_index_exception2 (line 597) | def test_index_exception2(self): method test_remove (line 604) | def test_remove(self): method test_remove_error (line 612) | def test_remove_error(self): method test_count (line 620) | def test_count(self): method test_clear (line 626) | def test_clear(self): method test_copy (line 629) | def test_copy(self): method check_add (line 632) | def check_add(self, pyfunc): method test_add (line 639) | def test_add(self): method test_add_heterogeneous (line 642) | def test_add_heterogeneous(self): method test_add_inplace (line 648) | def test_add_inplace(self): method test_add_inplace_heterogeneous (line 651) | def test_add_inplace_heterogeneous(self): method check_mul (line 657) | def check_mul(self, pyfunc): method test_mul (line 664) | def test_mul(self): method test_mul2 (line 667) | def test_mul2(self): method test_mul_inplace (line 670) | def test_mul_inplace(self): method test_mul_error (line 675) | def test_mul_error(self): method test_bool (line 691) | def test_bool(self): method test_list_passing (line 698) | def test_list_passing(self): method _test_compare (line 711) | def _test_compare(self, pyfunc): method test_eq (line 724) | def test_eq(self): method test_ne (line 727) | def test_ne(self): method test_le (line 730) | def test_le(self): method test_lt (line 733) | def test_lt(self): method test_ge (line 736) | def test_ge(self): method test_gt (line 739) | def test_gt(self): method test_identity (line 742) | def test_identity(self): method test_bool_list (line 747) | def test_bool_list(self): class TestUnboxing (line 754) | class TestUnboxing(MemoryLeakMixin, TestCase): method assert_type_error (line 760) | def assert_type_error(self, msg): method check_unary (line 766) | def check_unary(self, pyfunc): method test_numbers (line 774) | def test_numbers(self): method test_tuples (line 779) | def test_tuples(self): method test_list_inside_tuple (line 785) | def test_list_inside_tuple(self): method test_list_of_tuples_inside_tuple (line 789) | def test_list_of_tuples_inside_tuple(self): method test_errors (line 793) | def test_errors(self): class TestListReflection (line 822) | class TestListReflection(MemoryLeakMixin, TestCase): method check_reflection (line 827) | def check_reflection(self, pyfunc): method test_reflect_simple (line 843) | def test_reflect_simple(self): method test_reflect_conditional (line 846) | def test_reflect_conditional(self): method test_reflect_exception (line 849) | def test_reflect_exception(self): method test_reflect_same_list (line 862) | def test_reflect_same_list(self): method test_reflect_clean (line 877) | def test_reflect_clean(self): class ManagedListTestCase (line 889) | class ManagedListTestCase(MemoryLeakMixin, TestCase): method assert_list_element_precise_equal (line 891) | def assert_list_element_precise_equal(self, expect, got): class TestListManagedElements (line 897) | class TestListManagedElements(ManagedListTestCase): method _check_element_equal (line 900) | def _check_element_equal(self, pyfunc): method test_reflect_passthru (line 911) | def test_reflect_passthru(self): method test_reflect_appended (line 916) | def test_reflect_appended(self): method test_reflect_setitem (line 922) | def test_reflect_setitem(self): method test_reflect_popped (line 928) | def test_reflect_popped(self): method test_reflect_insert (line 934) | def test_reflect_insert(self): method test_append (line 943) | def test_append(self): method test_append_noret (line 958) | def test_append_noret(self): method test_reassign_refct (line 975) | def test_reassign_refct(self): method test_get_slice (line 991) | def test_get_slice(self): method test_set_slice (line 1006) | def test_set_slice(self): method test_pop (line 1022) | def test_pop(self): method test_pop_loc (line 1039) | def test_pop_loc(self): method test_del_range (line 1056) | def test_del_range(self): method test_list_of_list (line 1072) | def test_list_of_list(self): function expect_reflection_failure (line 1087) | def expect_reflection_failure(fn): class TestListOfList (line 1098) | class TestListOfList(ManagedListTestCase): method compile_and_test (line 1100) | def compile_and_test(self, pyfunc, *args): method test_returning_list_of_list (line 1117) | def test_returning_list_of_list(self): method test_heterogeneous_list_error (line 1125) | def test_heterogeneous_list_error(self): method test_list_of_list_reflected (line 1174) | def test_list_of_list_reflected(self): method test_heterogeneous_list (line 1189) | def test_heterogeneous_list(self): method test_c01 (line 1200) | def test_c01(self): method test_c02 (line 1217) | def test_c02(self): method test_c03 (line 1231) | def test_c03(self): method test_c04 (line 1249) | def test_c04(self): method test_c05 (line 1267) | def test_c05(self): method test_c06 (line 1276) | def test_c06(self): method test_c07 (line 1288) | def test_c07(self): method test_c08 (line 1300) | def test_c08(self): method test_c09 (line 1313) | def test_c09(self): method test_c10 (line 1324) | def test_c10(self): method test_c11 (line 1333) | def test_c11(self): method test_c12 (line 1341) | def test_c12(self): class Item (line 1350) | class Item(object): method __init__ (line 1351) | def __init__(self, many, scalar): class Container (line 1356) | class Container(object): method __init__ (line 1357) | def __init__(self, n): method more (line 1360) | def more(self, n): class TestListAndJitClasses (line 1365) | class TestListAndJitClasses(ManagedListTestCase): method make_jitclass_element (line 1366) | def make_jitclass_element(self): method make_jitclass_container (line 1374) | def make_jitclass_container(self): method assert_list_element_with_tester (line 1381) | def assert_list_element_with_tester(self, tester, expect, got): method test_jitclass_instance_elements (line 1385) | def test_jitclass_instance_elements(self): method test_jitclass_containing_list (line 1410) | def test_jitclass_containing_list(self): class TestListInitialValues (line 1421) | class TestListInitialValues(MemoryLeakMixin, TestCase): method test_homogeneous_and_literal (line 1424) | def test_homogeneous_and_literal(self): method test_heterogeneous_but_castable_to_homogeneous (line 1445) | def test_heterogeneous_but_castable_to_homogeneous(self): method test_mutation_not_carried (line 1467) | def test_mutation_not_carried(self): method test_mutation_not_carried_single_function (line 1489) | def test_mutation_not_carried_single_function(self): method test_list_of_list_ctor (line 1524) | def test_list_of_list_ctor(self): class TestLiteralLists (line 1541) | class TestLiteralLists(MemoryLeakMixin, TestCase): method test_basic_compile (line 1543) | def test_basic_compile(self): method test_literal_value_passthrough (line 1550) | def test_literal_value_passthrough(self): method test_literal_value_involved_passthrough (line 1580) | def test_literal_value_involved_passthrough(self): method test_mutation_failure (line 1640) | def test_mutation_failure(self): method test_count (line 1692) | def test_count(self): method test_len (line 1703) | def test_len(self): method test_contains (line 1711) | def test_contains(self): method test_getitem (line 1722) | def test_getitem(self): method test_staticgetitem (line 1734) | def test_staticgetitem(self): method test_staticgetitem_slice (line 1743) | def test_staticgetitem_slice(self): method test_setitem (line 1756) | def test_setitem(self): method test_unify (line 1768) | def test_unify(self): method test_not_unify (line 1781) | def test_not_unify(self): method test_index (line 1796) | def test_index(self): method test_copy (line 1807) | def test_copy(self): method test_tuple_not_in_mro (line 1815) | def test_tuple_not_in_mro(self): FILE: numba/tests/test_literal_dispatch.py class TestLiteralDispatch (line 16) | class TestLiteralDispatch(TestCase): method check_literal_basic (line 17) | def check_literal_basic(self, literal_args): method test_literal_basic (line 29) | def test_literal_basic(self): method test_literal_nested (line 33) | def test_literal_nested(self): method test_literally_freevar (line 50) | def test_literally_freevar(self): method test_mutual_recursion_literal (line 61) | def test_mutual_recursion_literal(self): method test_literal_nested_multi_arg (line 88) | def test_literal_nested_multi_arg(self): method test_unsupported_literal_type (line 104) | def test_unsupported_literal_type(self): method test_biliteral (line 118) | def test_biliteral(self): method test_literally_varargs (line 139) | def test_literally_varargs(self): method test_literally_defaults (line 159) | def test_literally_defaults(self): method test_literally_defaults_inner (line 167) | def test_literally_defaults_inner(self): method test_literally_from_module (line 179) | def test_literally_from_module(self): method test_non_literal (line 189) | def test_non_literal(self): method test_inlined_literal (line 201) | def test_inlined_literal(self): method test_aliased_variable (line 220) | def test_aliased_variable(self): method test_overload_explicit (line 243) | def test_overload_explicit(self): method test_overload_implicit (line 267) | def test_overload_implicit(self): method test_overload_error_loop (line 297) | def test_overload_error_loop(self): class TestLiteralDispatchWithCustomType (line 332) | class TestLiteralDispatchWithCustomType(TestCase): method make_dummy_type (line 333) | def make_dummy_type(self): method test_overload_method (line 368) | def test_overload_method(self): FILE: numba/tests/test_llvm_pass_timings.py class TestLLVMPassTimings (line 35) | class TestLLVMPassTimings(TestCase): method test_usage (line 37) | def test_usage(self): method test_analyze (line 64) | def test_analyze(self): method test_parse_raw (line 91) | def test_parse_raw(self): class TestLLVMPassTimingsDisabled (line 101) | class TestLLVMPassTimingsDisabled(TestCase): method test_disabled_behavior (line 102) | def test_disabled_behavior(self): FILE: numba/tests/test_llvm_version_check.py class TestLlvmVersion (line 7) | class TestLlvmVersion(unittest.TestCase): method test_llvmlite_version (line 9) | def test_llvmlite_version(self): FILE: numba/tests/test_locals.py function foo (line 5) | def foo(): class TestLocals (line 10) | class TestLocals(unittest.TestCase): method test_seed_types (line 12) | def test_seed_types(self): FILE: numba/tests/test_looplifting.py function compile_isolated (line 18) | def compile_isolated(pyfunc, argtypes, **kwargs): function lift1 (line 32) | def lift1(x): function lift2 (line 41) | def lift2(x): function lift3 (line 51) | def lift3(x): function lift4 (line 60) | def lift4(x): function lift5 (line 71) | def lift5(x): function lift_gen1 (line 80) | def lift_gen1(x): function lift_issue2561 (line 89) | def lift_issue2561(): function reject1 (line 96) | def reject1(x): function reject_gen1 (line 104) | def reject_gen1(x): function reject_gen2 (line 111) | def reject_gen2(x): function reject_npm1 (line 123) | def reject_npm1(x): class TestLoopLifting (line 133) | class TestLoopLifting(MemoryLeakMixin, TestCase): method try_lift (line 135) | def try_lift(self, pyfunc, argtypes): method assert_lifted_native (line 148) | def assert_lifted_native(self, cres): method check_lift_ok (line 154) | def check_lift_ok(self, pyfunc, argtypes, args): method check_lift_generator_ok (line 165) | def check_lift_generator_ok(self, pyfunc, argtypes, args): method check_no_lift (line 177) | def check_no_lift(self, pyfunc, argtypes, args): method check_no_lift_generator (line 189) | def check_no_lift_generator(self, pyfunc, argtypes, args): method test_lift1 (line 200) | def test_lift1(self): method test_lift2 (line 203) | def test_lift2(self): method test_lift3 (line 206) | def test_lift3(self): method test_lift4 (line 209) | def test_lift4(self): method test_lift5 (line 212) | def test_lift5(self): method test_lift_issue2561 (line 215) | def test_lift_issue2561(self): method test_lift_gen1 (line 218) | def test_lift_gen1(self): method test_reject1 (line 221) | def test_reject1(self): method test_reject_gen1 (line 224) | def test_reject_gen1(self): method test_reject_gen2 (line 227) | def test_reject_gen2(self): class TestLoopLiftingAnnotate (line 231) | class TestLoopLiftingAnnotate(TestCase): method test_annotate_1 (line 232) | def test_annotate_1(self): method test_annotate_2 (line 266) | def test_annotate_2(self): class TestLoopLiftingInAction (line 305) | class TestLoopLiftingInAction(MemoryLeakMixin, TestCase): method assert_has_lifted (line 306) | def assert_has_lifted(self, jitted, loopcount): method test_issue_734 (line 310) | def test_issue_734(self): method test_issue_812 (line 329) | def test_issue_812(self): method test_issue_2368 (line 351) | def test_issue_2368(self): method test_no_iteration_w_redef (line 376) | def test_no_iteration_w_redef(self): method test_no_iteration (line 395) | def test_no_iteration(self): method test_define_in_loop_body (line 412) | def test_define_in_loop_body(self): method test_invalid_argument (line 426) | def test_invalid_argument(self): method test_conditionally_defined_in_loop (line 454) | def test_conditionally_defined_in_loop(self): method test_stack_offset_error_when_has_no_return (line 469) | def test_stack_offset_error_when_has_no_return(self): method test_variable_scope_bug (line 484) | def test_variable_scope_bug(self): method test_recompilation_loop (line 505) | def test_recompilation_loop(self): method test_lift_objectmode_issue_4223 (line 537) | def test_lift_objectmode_issue_4223(self): method test_lift_zip_and_enumerate (line 558) | def test_lift_zip_and_enumerate(self): FILE: numba/tests/test_make_function_to_jit_function.py function consumer (line 10) | def consumer(func, *args): function consumer2arg (line 15) | def consumer2arg(func1, func2): class TestMakeFunctionToJITFunction (line 22) | class TestMakeFunctionToJITFunction(unittest.TestCase): method test_escape (line 35) | def test_escape(self): method test_nested_escape (line 49) | def test_nested_escape(self): method test_closure_in_escaper (line 66) | def test_closure_in_escaper(self): method test_close_over_consts (line 82) | def test_close_over_consts(self): method test_close_over_consts_w_args (line 98) | def test_close_over_consts_w_args(self): method test_with_overload (line 115) | def test_with_overload(self): method test_basic_apply_like_case (line 153) | def test_basic_apply_like_case(self): method test_jit_option_inheritance (line 172) | def test_jit_option_inheritance(self): method test_multiply_defined_freevar (line 188) | def test_multiply_defined_freevar(self): method test_non_const_in_escapee (line 214) | def test_non_const_in_escapee(self): method test_escape_with_kwargs (line 230) | def test_escape_with_kwargs(self): method test_escape_with_kwargs_override_kwargs (line 252) | def test_escape_with_kwargs_override_kwargs(self): FILE: numba/tests/test_mandelbrot.py function is_in_mandelbrot (line 6) | def is_in_mandelbrot(c): class TestMandelbrot (line 16) | class TestMandelbrot(unittest.TestCase): method test_mandelbrot (line 18) | def test_mandelbrot(self): FILE: numba/tests/test_mangling.py class TestMangling (line 11) | class TestMangling(TestCase): method test_one_args (line 12) | def test_one_args(self): method test_two_args (line 18) | def test_two_args(self): method test_unicode_fname (line 24) | def test_unicode_fname(self): FILE: numba/tests/test_map_filter_reduce.py class TestMap (line 7) | class TestMap(unittest.TestCase): method test_basic_map_external_func (line 9) | def test_basic_map_external_func(self): method test_basic_map_closure (line 19) | def test_basic_map_closure(self): method test_basic_map_closure_multiple_iterator (line 27) | def test_basic_map_closure_multiple_iterator(self): class TestFilter (line 37) | class TestFilter(unittest.TestCase): method test_basic_filter_external_func (line 39) | def test_basic_filter_external_func(self): method test_basic_filter_closure (line 49) | def test_basic_filter_closure(self): method test_basic_filter_none_func (line 57) | def test_basic_filter_none_func(self): class TestReduce (line 66) | class TestReduce(unittest.TestCase): method test_basic_reduce_external_func (line 68) | def test_basic_reduce_external_func(self): method test_basic_reduce_closure (line 78) | def test_basic_reduce_closure(self): FILE: numba/tests/test_mathlib.py function sin (line 15) | def sin(x): function cos (line 19) | def cos(x): function tan (line 23) | def tan(x): function sinh (line 27) | def sinh(x): function cosh (line 31) | def cosh(x): function tanh (line 35) | def tanh(x): function asin (line 39) | def asin(x): function acos (line 43) | def acos(x): function atan (line 47) | def atan(x): function atan2 (line 51) | def atan2(y, x): function asinh (line 55) | def asinh(x): function acosh (line 59) | def acosh(x): function atanh (line 63) | def atanh(x): function sqrt (line 67) | def sqrt(x): function npy_sqrt (line 71) | def npy_sqrt(x): function exp (line 75) | def exp(x): function exp2 (line 78) | def exp2(x): function expm1 (line 81) | def expm1(x): function log (line 85) | def log(x): function log1p (line 89) | def log1p(x): function log10 (line 93) | def log10(x): function log2 (line 97) | def log2(x): function floor (line 101) | def floor(x): function ceil (line 105) | def ceil(x): function trunc (line 109) | def trunc(x): function isnan (line 113) | def isnan(x): function isinf (line 117) | def isinf(x): function isfinite (line 121) | def isfinite(x): function hypot (line 125) | def hypot(x, y): function nextafter (line 129) | def nextafter(x, y): function degrees (line 133) | def degrees(x): function radians (line 137) | def radians(x): function erf (line 141) | def erf(x): function erfc (line 145) | def erfc(x): function gamma (line 149) | def gamma(x): function lgamma (line 153) | def lgamma(x): function pow (line 157) | def pow(x, y): function gcd (line 160) | def gcd(x, y): function copysign (line 163) | def copysign(x, y): function frexp (line 167) | def frexp(x): function ldexp (line 171) | def ldexp(x, e): function get_constants (line 175) | def get_constants(): class TestMathLib (line 179) | class TestMathLib(TestCase): method test_constants (line 181) | def test_constants(self): method run_unary (line 185) | def run_unary(self, pyfunc, x_types, x_values, prec='exact', **kwargs): method run_binary (line 195) | def run_binary(self, pyfunc, x_types, x_values, y_values, prec='exact'): method check_predicate_func (line 204) | def check_predicate_func(self, pyfunc): method test_sin (line 214) | def test_sin(self): method test_cos (line 224) | def test_cos(self): method test_tan (line 232) | def test_tan(self): method test_sqrt (line 240) | def test_sqrt(self): method test_npy_sqrt (line 248) | def test_npy_sqrt(self): method test_exp (line 259) | def test_exp(self): method test_exp2 (line 268) | def test_exp2(self): method test_expm1 (line 276) | def test_expm1(self): method test_log (line 284) | def test_log(self): method test_log1p (line 292) | def test_log1p(self): method test_log10 (line 300) | def test_log10(self): method test_log2 (line 308) | def test_log2(self): method test_asin (line 316) | def test_asin(self): method test_acos (line 324) | def test_acos(self): method test_atan (line 332) | def test_atan(self): method test_atan2 (line 340) | def test_atan2(self): method test_asinh (line 349) | def test_asinh(self): method test_acosh (line 357) | def test_acosh(self): method test_atanh (line 365) | def test_atanh(self): method test_sinh (line 373) | def test_sinh(self): method test_cosh (line 381) | def test_cosh(self): method test_tanh (line 389) | def test_tanh(self): method test_floor (line 397) | def test_floor(self): method test_ceil (line 405) | def test_ceil(self): method test_trunc (line 413) | def test_trunc(self): method test_isnan (line 421) | def test_isnan(self): method test_isinf (line 424) | def test_isinf(self): method test_isfinite (line 427) | def test_isfinite(self): method test_hypot (line 430) | def test_hypot(self): method test_nextafter (line 459) | def test_nextafter(self): method test_degrees (line 478) | def test_degrees(self): method test_radians (line 486) | def test_radians(self): method test_erf (line 494) | def test_erf(self): method test_erfc (line 500) | def test_erfc(self): method test_gamma (line 506) | def test_gamma(self): method test_lgamma (line 515) | def test_lgamma(self): method test_pow (line 521) | def test_pow(self): method test_gcd (line 530) | def test_gcd(self): method test_copysign (line 542) | def test_copysign(self): method test_frexp (line 551) | def test_frexp(self): method test_ldexp (line 558) | def test_ldexp(self): FILE: numba/tests/test_maxmin.py function domax3 (line 6) | def domax3(a, b, c): function domin3 (line 10) | def domin3(a, b, c): class TestMaxMin (line 14) | class TestMaxMin(unittest.TestCase): method test_max3 (line 15) | def test_max3(self): method test_min3 (line 26) | def test_min3(self): FILE: numba/tests/test_misc_coverage_support.py class TestMiscCoverageSupport (line 11) | class TestMiscCoverageSupport(TestCase): method test_custom_loc_notifier (line 13) | def test_custom_loc_notifier(self): FILE: numba/tests/test_mixed_tuple_unroller.py class TestLiteralTupleInterpretation (line 26) | class TestLiteralTupleInterpretation(MemoryLeakMixin, TestCase): method check (line 28) | def check(self, func, var): method test_homogeneous_literal (line 35) | def test_homogeneous_literal(self): method test_heterogeneous_literal (line 44) | def test_heterogeneous_literal(self): method test_non_literal (line 53) | def test_non_literal(self): class ResetTypeInfo (line 67) | class ResetTypeInfo(FunctionPass): method __init__ (line 70) | def __init__(self): method run_pass (line 73) | def run_pass(self, state): class TestLoopCanonicalisation (line 80) | class TestLoopCanonicalisation(MemoryLeakMixin, TestCase): method get_pipeline (line 82) | def get_pipeline(use_canonicaliser, use_partial_typing=False): method test_simple_loop_in_depth (line 126) | def test_simple_loop_in_depth(self): method test_transform_scope (line 184) | def test_transform_scope(self): method test_influence_of_typed_transform (line 243) | def test_influence_of_typed_transform(self): method test_influence_of_typed_transform_literal_unroll (line 305) | def test_influence_of_typed_transform_literal_unroll(self): method test_lots_of_loops (line 368) | def test_lots_of_loops(self): method test_inlined_loops (line 414) | def test_inlined_loops(self): class TestMixedTupleUnroll (line 461) | class TestMixedTupleUnroll(MemoryLeakMixin, TestCase): method test_01 (line 463) | def test_01(self): method test_02 (line 482) | def test_02(self): method test_03 (line 502) | def test_03(self): method test_04 (line 524) | def test_04(self): method test_05 (line 537) | def test_05(self): method test_06 (line 564) | def test_06(self): method test_07 (line 581) | def test_07(self): method test_08 (line 595) | def test_08(self): method test_09 (line 619) | def test_09(self): method test_10 (line 656) | def test_10(self): method test_11 (line 700) | def test_11(self): method test_11a (line 718) | def test_11a(self): method test_12 (line 736) | def test_12(self): method test_13 (line 759) | def test_13(self): method test_14 (line 791) | def test_14(self): method test_15 (line 804) | def test_15(self): method test_16 (line 823) | def test_16(self): method test_17 (line 864) | def test_17(self): method test_18 (line 913) | def test_18(self): method test_19 (line 927) | def test_19(self): method test_20 (line 944) | def test_20(self): method test_21 (line 959) | def test_21(self): method test_22 (line 980) | def test_22(self): method test_23 (line 1025) | def test_23(self): method test_24 (line 1054) | def test_24(self): method test_25 (line 1067) | def test_25(self): method test_26 (line 1081) | def test_26(self): method test_27 (line 1107) | def test_27(self): method test_28 (line 1124) | def test_28(self): method test_29 (line 1142) | def test_29(self): method test_30 (line 1159) | def test_30(self): method test_31 (line 1175) | def test_31(self): method test_32 (line 1197) | def test_32(self): method test_33 (line 1210) | def test_33(self): method test_34 (line 1232) | def test_34(self): class TestConstListUnroll (line 1257) | class TestConstListUnroll(MemoryLeakMixin, TestCase): method test_01 (line 1259) | def test_01(self): method test_02 (line 1275) | def test_02(self): method test_03 (line 1292) | def test_03(self): method test_04 (line 1311) | def test_04(self): method test_05 (line 1330) | def test_05(self): method test_06 (line 1351) | def test_06(self): method test_7 (line 1369) | def test_7(self): method test_8 (line 1413) | def test_8(self): method test_9 (line 1431) | def test_9(self): method test_10 (line 1454) | def test_10(self): method test_11 (line 1487) | def test_11(self): method test_12 (line 1501) | def test_12(self): method test_13 (line 1516) | def test_13(self): method test_14 (line 1532) | def test_14(self): class TestMore (line 1551) | class TestMore(TestCase): method test_invalid_use_of_unroller (line 1552) | def test_invalid_use_of_unroller(self): method test_non_constant_list (line 1568) | def test_non_constant_list(self): method test_literally_constant_list (line 1587) | def test_literally_constant_list(self): method test_inlined_unroll_list (line 1612) | def test_inlined_unroll_list(self): method test_unroll_tuple_arg (line 1627) | def test_unroll_tuple_arg(self): method test_unroll_tuple_arg2 (line 1639) | def test_unroll_tuple_arg2(self): method test_unroll_tuple_alias (line 1650) | def test_unroll_tuple_alias(self): method test_unroll_tuple_nested (line 1663) | def test_unroll_tuple_nested(self): method test_unroll_tuple_of_dict (line 1681) | def test_unroll_tuple_of_dict(self): method test_unroll_named_tuple (line 1704) | def test_unroll_named_tuple(self): method test_unroll_named_tuple_arg (line 1717) | def test_unroll_named_tuple_arg(self): method test_unroll_named_unituple (line 1731) | def test_unroll_named_unituple(self): method test_unroll_named_unituple_arg (line 1744) | def test_unroll_named_unituple_arg(self): method test_unroll_global_tuple (line 1758) | def test_unroll_global_tuple(self): method test_unroll_freevar_tuple (line 1769) | def test_unroll_freevar_tuple(self): method test_unroll_function_tuple (line 1781) | def test_unroll_function_tuple(self): method test_unroll_indexing_list (line 1801) | def test_unroll_indexing_list(self): method test_unroller_as_freevar (line 1830) | def test_unroller_as_freevar(self): method test_unroll_with_non_conformant_loops_present (line 1843) | def test_unroll_with_non_conformant_loops_present(self): method test_literal_unroll_legalize_var_names01 (line 1855) | def test_literal_unroll_legalize_var_names01(self): method test_literal_unroll_legalize_var_names02 (line 1869) | def test_literal_unroll_legalize_var_names02(self): function capture (line 1885) | def capture(real_pass): class CapturingCompiler (line 1905) | class CapturingCompiler(CompilerBase): method define_pipelines (line 1908) | def define_pipelines(self): class TestLiteralUnrollPassTriggering (line 1933) | class TestLiteralUnrollPassTriggering(TestCase): method test_literal_unroll_not_invoked (line 1935) | def test_literal_unroll_not_invoked(self): method test_literal_unroll_is_invoked (line 1947) | def test_literal_unroll_is_invoked(self): method test_literal_unroll_is_invoked_via_alias (line 1959) | def test_literal_unroll_is_invoked_via_alias(self): method test_literal_unroll_assess_empty_function (line 1973) | def test_literal_unroll_assess_empty_function(self): method test_literal_unroll_not_in_globals (line 1982) | def test_literal_unroll_not_in_globals(self): method test_literal_unroll_globals_and_locals (line 1991) | def test_literal_unroll_globals_and_locals(self): FILE: numba/tests/test_moved_modules.py class TestMovedModule (line 6) | class TestMovedModule(TestCase): method tests_numba_types (line 9) | def tests_numba_types(self): FILE: numba/tests/test_multi3.py class TestMulti3 (line 9) | class TestMulti3(unittest.TestCase): method test_multi3 (line 20) | def test_multi3(self): FILE: numba/tests/test_nan.py function isnan (line 9) | def isnan(x): function isequal (line 13) | def isequal(x): class TestNaN (line 17) | class TestNaN(unittest.TestCase): method test_nans (line 19) | def test_nans(self, flags=enable_pyobj_flags): method test_nans_npm (line 32) | def test_nans_npm(self): FILE: numba/tests/test_ndarray_subclasses.py function _do_log (line 31) | def _do_log(*args): function log (line 37) | def log(*args): function use_logger (line 42) | def use_logger(fn): class MyArray (line 51) | class MyArray(np.ndarray): method __array_ufunc__ (line 61) | def __array_ufunc__(self, ufunc, method, *inputs, **kwargs): class MyArrayType (line 86) | class MyArrayType(types.Array): method __init__ (line 87) | def __init__(self, dtype, ndim, layout, readonly=False, aligned=True): method copy (line 92) | def copy(self, *args, **kwargs): method __array_ufunc__ (line 98) | def __array_ufunc__(self, ufunc, method, *inputs, **kwargs): method box_type (line 111) | def box_type(self): function typeof_ta_ndarray (line 116) | def typeof_ta_ndarray(val, c): class MyArrayTypeModel (line 127) | class MyArrayTypeModel(numba.core.datamodel.models.StructModel): method __init__ (line 128) | def __init__(self, dmm, fe_type): function type_myarray (line 144) | def type_myarray(context): function impl_myarray (line 155) | def impl_myarray(context, builder, sig, args): function box_array (line 178) | def box_array(typ, val, c): function _ol_array_allocate (line 189) | def _ol_array_allocate(cls, allocsize, align): function allocator_MyArray (line 200) | def allocator_MyArray(typingctx, allocsize, align): class TestNdarraySubclasses (line 233) | class TestNdarraySubclasses(MemoryLeakMixin, TestCase): method test_myarray_return (line 235) | def test_myarray_return(self): method test_myarray_passthru (line 250) | def test_myarray_passthru(self): method test_myarray_convert (line 263) | def test_myarray_convert(self): method test_myarray_asarray_non_jit (line 275) | def test_myarray_asarray_non_jit(self): method test_myarray_asarray (line 286) | def test_myarray_asarray(self): method test_myarray_ufunc_unsupported (line 300) | def test_myarray_ufunc_unsupported(self): method test_myarray_allocator_override (line 316) | def test_myarray_allocator_override(self): FILE: numba/tests/test_nested_calls.py function f_inner (line 16) | def f_inner(a, b, c): function f (line 19) | def f(x, y, z): function g_inner (line 23) | def g_inner(a, b=2, c=3): function g (line 26) | def g(x, y, z): function star_inner (line 30) | def star_inner(a=5, *b): function star (line 33) | def star(x, y, z): function star_call (line 36) | def star_call(x, y, z): function argcast_inner (line 40) | def argcast_inner(a, b): function argcast (line 46) | def argcast(a, b): function generated_inner (line 50) | def generated_inner(x, y=5, z=6): function ol_generated_inner (line 55) | def ol_generated_inner(x, y=5, z=6): function call_generated (line 65) | def call_generated(a, b): function nested_annotated (line 69) | def nested_annotated() -> int: class TestNestedCall (line 75) | class TestNestedCall(TestCase): method compile_func (line 77) | def compile_func(self, pyfunc, objmode=False): method test_boolean_return (line 86) | def test_boolean_return(self): method test_named_args (line 101) | def test_named_args(self, objmode=False): method test_named_args_objmode (line 109) | def test_named_args_objmode(self): method test_default_args (line 112) | def test_default_args(self, objmode=False): method test_default_args_objmode (line 120) | def test_default_args_objmode(self): method test_star_args (line 123) | def test_star_args(self): method test_star_call (line 130) | def test_star_call(self, objmode=False): method test_star_call_objmode (line 137) | def test_star_call_objmode(self): method test_argcast (line 140) | def test_argcast(self): method test_call_generated (line 149) | def test_call_generated(self): method test_nested_annotated (line 157) | def test_nested_annotated(self): FILE: numba/tests/test_np_functions.py function sinc (line 29) | def sinc(x): function angle1 (line 33) | def angle1(x): function angle2 (line 37) | def angle2(x, deg): function array_equal (line 41) | def array_equal(a, b): function intersect1d_2 (line 45) | def intersect1d_2(a, b): function intersect1d_3 (line 49) | def intersect1d_3(a, b, assume_unique=False): function append (line 53) | def append(arr, values, axis): function count_nonzero (line 57) | def count_nonzero(arr, axis): function delete (line 61) | def delete(arr, obj): function diff1 (line 65) | def diff1(a): function diff2 (line 69) | def diff2(a, n): function bincount1 (line 73) | def bincount1(a): function bincount2 (line 77) | def bincount2(a, w): function bincount3 (line 81) | def bincount3(a, w=None, minlength=0): function searchsorted (line 85) | def searchsorted(a, v): function searchsorted_left (line 89) | def searchsorted_left(a, v): function searchsorted_right (line 93) | def searchsorted_right(a, v): function digitize (line 97) | def digitize(*args): function histogram (line 101) | def histogram(*args): function machar (line 105) | def machar(*args): function iscomplex (line 109) | def iscomplex(x): function iscomplexobj (line 113) | def iscomplexobj(x): function isscalar (line 117) | def isscalar(x): function isreal (line 121) | def isreal(x): function isrealobj (line 125) | def isrealobj(x): function isneginf (line 129) | def isneginf(x, out=None): function isposinf (line 133) | def isposinf(x, out=None): function isclose (line 137) | def isclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False): function isnat (line 141) | def isnat(x): function iinfo (line 145) | def iinfo(*args): function finfo (line 149) | def finfo(*args): function finfo_machar (line 153) | def finfo_machar(*args): function fliplr (line 157) | def fliplr(a): function flipud (line 161) | def flipud(a): function flip (line 165) | def flip(a): function logspace2 (line 169) | def logspace2(start, stop): function logspace3 (line 173) | def logspace3(start, stop, num=50): function geomspace2 (line 177) | def geomspace2(start, stop): function geomspace3 (line 181) | def geomspace3(start, stop, num=50): function rot90 (line 185) | def rot90(a): function rot90_k (line 189) | def rot90_k(a, k=1): function array_split (line 193) | def array_split(a, indices, axis=0): function split (line 197) | def split(a, indices, axis=0): function vsplit (line 201) | def vsplit(a, ind_or_sec): function hsplit (line 205) | def hsplit(a, ind_or_sec): function dsplit (line 209) | def dsplit(a, ind_or_sec): function correlate (line 213) | def correlate(a, v, mode="valid"): function convolve (line 217) | def convolve(a, v, mode="full"): function tri_n (line 221) | def tri_n(N): function tri_n_m (line 225) | def tri_n_m(N, M=None): function tri_n_k (line 229) | def tri_n_k(N, k=0): function tri_n_m_k (line 233) | def tri_n_m_k(N, M=None, k=0): function tril_m (line 237) | def tril_m(m): function tril_m_k (line 241) | def tril_m_k(m, k=0): function tril_indices_n (line 245) | def tril_indices_n(n): function tril_indices_n_k (line 249) | def tril_indices_n_k(n, k=0): function tril_indices_n_m (line 253) | def tril_indices_n_m(n, m=None): function tril_indices_n_k_m (line 257) | def tril_indices_n_k_m(n, k=0, m=None): function tril_indices_from_arr (line 261) | def tril_indices_from_arr(arr): function tril_indices_from_arr_k (line 265) | def tril_indices_from_arr_k(arr, k=0): function triu_m (line 269) | def triu_m(m): function triu_m_k (line 273) | def triu_m_k(m, k=0): function triu_indices_n (line 277) | def triu_indices_n(n): function triu_indices_n_k (line 281) | def triu_indices_n_k(n, k=0): function triu_indices_n_m (line 285) | def triu_indices_n_m(n, m=None): function triu_indices_n_k_m (line 289) | def triu_indices_n_k_m(n, k=0, m=None): function triu_indices_from_arr (line 293) | def triu_indices_from_arr(arr): function triu_indices_from_arr_k (line 297) | def triu_indices_from_arr_k(arr, k=0): function vander (line 301) | def vander(x, N=None, increasing=False): function partition (line 305) | def partition(a, kth): function argpartition (line 309) | def argpartition(a, kth): function cov (line 313) | def cov(m, y=None, rowvar=True, bias=False, ddof=None): function corrcoef (line 317) | def corrcoef(x, y=None, rowvar=True): function ediff1d (line 321) | def ediff1d(ary, to_end=None, to_begin=None): function roll (line 325) | def roll(a, shift): function asarray (line 329) | def asarray(a): function asarray_kws (line 333) | def asarray_kws(a, dtype): function asfarray (line 337) | def asfarray(a, dtype=np.float64): function asfarray_default_kwarg (line 341) | def asfarray_default_kwarg(a): function extract (line 345) | def extract(condition, arr): function np_trapz (line 349) | def np_trapz(y): function np_trapz_x (line 353) | def np_trapz_x(y, x): function np_trapz_dx (line 357) | def np_trapz_dx(y, dx): function np_trapz_x_dx (line 361) | def np_trapz_x_dx(y, x, dx): function np_trapezoid (line 365) | def np_trapezoid(y): function np_trapezoid_x (line 369) | def np_trapezoid_x(y, x): function np_trapezoid_dx (line 373) | def np_trapezoid_dx(y, dx): function np_trapezoid_x_dx (line 377) | def np_trapezoid_x_dx(y, x, dx): function np_allclose (line 381) | def np_allclose(a, b, rtol=1e-05, atol=1e-08, equal_nan=False): function np_average (line 385) | def np_average(a, axis=None, weights=None): function interp (line 389) | def interp(x, xp, fp): function np_repeat (line 393) | def np_repeat(a, repeats): function array_repeat (line 397) | def array_repeat(a, repeats): function np_select (line 401) | def np_select(condlist, choicelist, default=0): function np_select_defaults (line 405) | def np_select_defaults(condlist, choicelist): function np_bartlett (line 409) | def np_bartlett(M): function np_blackman (line 413) | def np_blackman(M): function np_hamming (line 417) | def np_hamming(M): function np_hanning (line 421) | def np_hanning(M): function np_kaiser (line 425) | def np_kaiser(M, beta): function np_cross (line 429) | def np_cross(a, b): function np_trim_zeros (line 433) | def np_trim_zeros(a, trim='fb'): function nb_cross2d (line 437) | def nb_cross2d(a, b): function flip_lr (line 441) | def flip_lr(a): function flip_ud (line 445) | def flip_ud(a): function np_union1d (line 449) | def np_union1d(a, b): function np_asarray_chkfinite (line 453) | def np_asarray_chkfinite(a, dtype=None): function unwrap (line 457) | def unwrap(p, discont=None, axis=-1, period=6.283185307179586): function unwrap1 (line 461) | def unwrap1(p): function unwrap13 (line 465) | def unwrap13(p, period): function unwrap123 (line 469) | def unwrap123(p, period, discont): function array_contains (line 473) | def array_contains(a, key): function swapaxes (line 477) | def swapaxes(a, a1, a2): function moveaxis (line 481) | def moveaxis(a, source, destination): function nan_to_num (line 485) | def nan_to_num(X, copy=True, nan=0.0, posinf=None, neginf=None): function np_indices (line 489) | def np_indices(dimensions): function diagflat1 (line 493) | def diagflat1(v): function diagflat2 (line 497) | def diagflat2(v, k=0): function np_setxor1d_2 (line 501) | def np_setxor1d_2(a, b): function np_setxor1d_3 (line 505) | def np_setxor1d_3(a, b, assume_unique=False): function np_setdiff1d_2 (line 509) | def np_setdiff1d_2(a, b): function np_setdiff1d_3 (line 513) | def np_setdiff1d_3(a, b, assume_unique=False): function np_in1d_2 (line 517) | def np_in1d_2(a, b): function np_in1d_3a (line 521) | def np_in1d_3a(a, b, assume_unique=False): function np_in1d_3b (line 525) | def np_in1d_3b(a, b, invert=False): function np_in1d_4 (line 529) | def np_in1d_4(a, b, assume_unique=False, invert=False): function np_isin_2 (line 533) | def np_isin_2(a, b): function np_isin_3a (line 537) | def np_isin_3a(a, b, assume_unique=False): function np_isin_3b (line 541) | def np_isin_3b(a, b, invert=False): function np_isin_4 (line 545) | def np_isin_4(a, b, assume_unique=False, invert=False): class TestNPFunctions (line 549) | class TestNPFunctions(MemoryLeakMixin, TestCase): method setUp (line 554) | def setUp(self): method run_unary (line 558) | def run_unary(self, pyfunc, x_types, x_values, func_extra_types=None, method test_sinc (line 603) | def test_sinc(self): method test_sinc_exceptions (line 666) | def test_sinc_exceptions(self): method test_contains (line 677) | def test_contains(self): method test_angle (line 733) | def test_angle(self): method test_angle_return_type (line 780) | def test_angle_return_type(self): method test_angle_exceptions (line 796) | def test_angle_exceptions(self): method test_array_equal (line 807) | def test_array_equal(self): method test_array_equal_exception (line 833) | def test_array_equal_exception(self): method test_intersect1d_2 (line 844) | def test_intersect1d_2(self): method test_intersect1d_3 (line 876) | def test_intersect1d_3(self): method test_intersect1d_errors (line 910) | def test_intersect1d_errors(self): method test_count_nonzero (line 924) | def test_count_nonzero(self): method test_np_append (line 943) | def test_np_append(self): method test_np_append_exceptions (line 961) | def test_np_append_exceptions(self): method test_delete (line 994) | def test_delete(self): method test_delete_exceptions (line 1024) | def test_delete_exceptions(self): method diff_arrays (line 1059) | def diff_arrays(self): method test_diff1 (line 1070) | def test_diff1(self): method test_diff2 (line 1083) | def test_diff2(self): method test_diff2_exceptions (line 1093) | def test_diff2_exceptions(self): method test_isscalar (line 1114) | def test_isscalar(self): method test_isobj_functions (line 1137) | def test_isobj_functions(self): method test_is_real_or_complex (line 1169) | def test_is_real_or_complex(self): method test_isneg_or_ispos_inf (line 1188) | def test_isneg_or_ispos_inf(self): method test_isclose (line 1208) | def test_isclose(self): method isclose_exception (line 1278) | def isclose_exception(self): method bincount_sequences (line 1308) | def bincount_sequences(self): method test_bincount1 (line 1317) | def test_bincount1(self): method test_bincount1_exceptions (line 1325) | def test_bincount1_exceptions(self): method test_bincount2 (line 1340) | def test_bincount2(self): method test_bincount2_exceptions (line 1351) | def test_bincount2_exceptions(self): method test_bincount3 (line 1370) | def test_bincount3(self): method test_bincount3_exceptions (line 1382) | def test_bincount3_exceptions(self): method test_searchsorted (line 1401) | def test_searchsorted(self): method test_searchsorted_supplemental (line 1499) | def test_searchsorted_supplemental(self): method test_searchsorted_complex (line 1578) | def test_searchsorted_complex(self): method test_digitize (line 1626) | def test_digitize(self): method test_digitize_non_monotonic_bins (line 1667) | def test_digitize_non_monotonic_bins(self): method test_digitize_supplemental (line 1693) | def test_digitize_supplemental(self): method test_digitize_raise_if_x_complex (line 1755) | def test_digitize_raise_if_x_complex(self): method test_histogram (line 1771) | def test_histogram(self): method _test_correlate_convolve (line 1806) | def _test_correlate_convolve(self, pyfunc): method test_correlate (line 1850) | def test_correlate(self): method _test_correlate_convolve_exceptions (line 1853) | def _test_correlate_convolve_exceptions(self, fn): method test_correlate_exceptions (line 1874) | def test_correlate_exceptions(self): method test_convolve (line 1878) | def test_convolve(self): method test_convolve_exceptions (line 1881) | def test_convolve_exceptions(self): method _check_output (line 1884) | def _check_output(self, pyfunc, cfunc, params, abs_tol=None): method test_vander_basic (line 1889) | def test_vander_basic(self): method test_vander_exceptions (line 1954) | def test_vander_exceptions(self): method test_tri_n_basic (line 1989) | def test_tri_n_basic(self): method test_tri_n_m_basic (line 2002) | def test_tri_n_m_basic(self): method test_tri_n_k_basic (line 2025) | def test_tri_n_k_basic(self): method test_tri_n_m_k_basic (line 2047) | def test_tri_n_m_k_basic(self): method test_tri_exceptions (line 2086) | def test_tri_exceptions(self): method _triangular_matrix_tests_m (line 2101) | def _triangular_matrix_tests_m(self, pyfunc): method _triangular_matrix_tests_m_k (line 2113) | def _triangular_matrix_tests_m_k(self, pyfunc): method _triangular_matrix_tests_inner (line 2131) | def _triangular_matrix_tests_inner(self, pyfunc, _check): method _triangular_matrix_exceptions (line 2162) | def _triangular_matrix_exceptions(self, pyfunc): method _triangular_indices_tests_base (line 2173) | def _triangular_indices_tests_base(self, pyfunc, args): method _triangular_indices_tests_n (line 2184) | def _triangular_indices_tests_n(self, pyfunc): method _triangular_indices_tests_n_k (line 2190) | def _triangular_indices_tests_n_k(self, pyfunc): method _triangular_indices_tests_n_m (line 2196) | def _triangular_indices_tests_n_m(self, pyfunc): method _triangular_indices_tests_n_k_m (line 2202) | def _triangular_indices_tests_n_k_m(self, pyfunc): method _triangular_indices_from_tests_arr (line 2214) | def _triangular_indices_from_tests_arr(self, pyfunc): method _triangular_indices_from_tests_arr_k (line 2227) | def _triangular_indices_from_tests_arr_k(self, pyfunc): method _triangular_indices_exceptions (line 2241) | def _triangular_indices_exceptions(self, pyfunc): method _triangular_indices_from_exceptions (line 2259) | def _triangular_indices_from_exceptions(self, pyfunc, test_k=True): method test_tril_basic (line 2274) | def test_tril_basic(self): method test_tril_exceptions (line 2278) | def test_tril_exceptions(self): method test_tril_indices (line 2281) | def test_tril_indices(self): method test_tril_indices_from (line 2291) | def test_tril_indices_from(self): method test_triu_basic (line 2297) | def test_triu_basic(self): method test_triu_exceptions (line 2301) | def test_triu_exceptions(self): method test_triu_indices (line 2304) | def test_triu_indices(self): method test_triu_indices_from (line 2314) | def test_triu_indices_from(self): method test_indices_basic (line 2320) | def test_indices_basic(self): method test_indices_exception (line 2334) | def test_indices_exception(self): method partition_sanity_check (line 2355) | def partition_sanity_check(self, pyfunc, cfunc, a, kth): method argpartition_sanity_check (line 2368) | def argpartition_sanity_check(self, pyfunc, cfunc, a, kth): method test_partition_fuzz (line 2383) | def test_partition_fuzz(self): method test_argpartition_fuzz (line 2415) | def test_argpartition_fuzz(self): method test_partition_exception_out_of_range (line 2448) | def test_partition_exception_out_of_range(self): method test_argpartition_exception_out_of_range (line 2469) | def test_argpartition_exception_out_of_range(self): method test_partition_exception_non_integer_kth (line 2490) | def test_partition_exception_non_integer_kth(self): method test_argpartition_exception_non_integer_kth (line 2510) | def test_argpartition_exception_non_integer_kth(self): method test_partition_exception_a_not_array_like (line 2530) | def test_partition_exception_a_not_array_like(self): method test_argpartition_exception_a_not_array_like (line 2546) | def test_argpartition_exception_a_not_array_like(self): method test_partition_exception_a_zero_dim (line 2562) | def test_partition_exception_a_zero_dim(self): method test_argpartition_exception_a_zero_dim (line 2577) | def test_argpartition_exception_a_zero_dim(self): method test_partition_exception_kth_multi_dimensional (line 2592) | def test_partition_exception_kth_multi_dimensional(self): method test_argpartition_exception_kth_multi_dimensional (line 2606) | def test_argpartition_exception_kth_multi_dimensional(self): method test_partition_empty_array (line 2620) | def test_partition_empty_array(self): method test_argpartition_empty_array (line 2639) | def test_argpartition_empty_array(self): method test_partition_basic (line 2658) | def test_partition_basic(self): method test_argpartition_basic (line 2773) | def test_argpartition_basic(self): method assert_partitioned (line 2882) | def assert_partitioned(self, pyfunc, cfunc, d, kth): method assert_argpartitioned (line 2893) | def assert_argpartitioned(self, pyfunc, cfunc, d, kth): method test_partition_iterative (line 2904) | def test_partition_iterative(self): method test_argpartition_iterative (line 2938) | def test_argpartition_iterative(self): method test_partition_multi_dim (line 2974) | def test_partition_multi_dim(self): method test_argpartition_multi_dim (line 3008) | def test_argpartition_multi_dim(self): method test_partition_boolean_inputs (line 3046) | def test_partition_boolean_inputs(self): method test_argpartition_boolean_inputs (line 3057) | def test_argpartition_boolean_inputs(self): method test_cov_invalid_ddof (line 3069) | def test_cov_invalid_ddof(self): method corr_corrcoef_basic (line 3095) | def corr_corrcoef_basic(self, pyfunc, first_arg_name): method test_corrcoef_basic (line 3132) | def test_corrcoef_basic(self): method test_cov_basic (line 3137) | def test_cov_basic(self): method test_cov_explicit_arguments (line 3142) | def test_cov_explicit_arguments(self): method test_corrcoef_explicit_arguments (line 3161) | def test_corrcoef_explicit_arguments(self): method cov_corrcoef_edge_cases (line 3174) | def cov_corrcoef_edge_cases(self, pyfunc, first_arg_name): method test_corrcoef_edge_cases (line 3236) | def test_corrcoef_edge_cases(self): method test_corrcoef_edge_case_extreme_values (line 3248) | def test_corrcoef_edge_case_extreme_values(self): method test_cov_edge_cases (line 3259) | def test_cov_edge_cases(self): method test_cov_exceptions (line 3272) | def test_cov_exceptions(self): method test_ediff1d_basic (line 3321) | def test_ediff1d_basic(self): method test_ediff1d_exceptions (line 3356) | def test_ediff1d_exceptions(self): method test_fliplr_basic (line 3369) | def test_fliplr_basic(self): method test_fliplr_exception (line 3390) | def test_fliplr_exception(self): method test_flipud_basic (line 3403) | def test_flipud_basic(self): method test_flipud_exception (line 3426) | def test_flipud_exception(self): method test_flip_basic (line 3439) | def test_flip_basic(self): method test_logspace2_basic (line 3459) | def test_logspace2_basic(self): method test_logspace2_exception (line 3487) | def test_logspace2_exception(self): method test_logspace3_basic (line 3502) | def test_logspace3_basic(self): method test_logspace3_with_num_basic (line 3530) | def test_logspace3_with_num_basic(self): method test_logspace3_exception (line 3559) | def test_logspace3_exception(self): method test_geomspace2_basic (line 3579) | def test_geomspace2_basic(self): method test_geomspace2_exception (line 3610) | def test_geomspace2_exception(self): method test_geomspace3_basic (line 3635) | def test_geomspace3_basic(self): method test_geomspace3_exception (line 3667) | def test_geomspace3_exception(self): method test_geomspace_numpy (line 3697) | def test_geomspace_numpy(self): method test_rot90_basic (line 3783) | def test_rot90_basic(self): method test_rot90_with_k_basic (line 3797) | def test_rot90_with_k_basic(self): method test_rot90_exception (line 3812) | def test_rot90_exception(self): method _check_split (line 3836) | def _check_split(self, func): method _check_array_split (line 3894) | def _check_array_split(self, func): method test_array_split_basic (line 3911) | def test_array_split_basic(self): method test_split_basic (line 3915) | def test_split_basic(self): method test_vhdsplit_basic (line 3931) | def test_vhdsplit_basic(self): method test_vhdsplit_exception (line 3973) | def test_vhdsplit_exception(self): method test_roll_basic (line 3999) | def test_roll_basic(self): method test_roll_exceptions (line 4025) | def test_roll_exceptions(self): method test_extract_basic (line 4039) | def test_extract_basic(self): method test_extract_exceptions (line 4118) | def test_extract_exceptions(self): method test_np_trapezoid_basic (line 4159) | def test_np_trapezoid_basic(self): method test_np_trapz_basic (line 4163) | def test_np_trapz_basic(self, pyfunc=np_trapz): method test_np_trapezoid_x_basic (line 4198) | def test_np_trapezoid_x_basic(self): method test_np_trapz_x_basic (line 4202) | def test_np_trapz_x_basic(self, pyfunc=np_trapz_x): method test_trapezoid_numpy_questionable (line 4261) | def test_trapezoid_numpy_questionable(self): method test_trapz_numpy_questionable (line 4266) | def test_trapz_numpy_questionable(self, pyfunc=np_trapz): method test_np_trapezoid_dx_basic (line 4280) | def test_np_trapezoid_dx_basic(self): method test_np_trapz_dx_basic (line 4284) | def test_np_trapz_dx_basic(self, pyfunc=np_trapz_dx): method test_np_trapezoid_x_dx_basic (line 4330) | def test_np_trapezoid_x_dx_basic(self): method test_np_trapz_x_dx_basic (line 4334) | def test_np_trapz_x_dx_basic(self, pyfunc=np_trapz_x_dx): method test_np_trapezoid_x_dx_exceptions (line 4359) | def test_np_trapezoid_x_dx_exceptions(self): method test_np_trapz_x_dx_exceptions (line 4363) | def test_np_trapz_x_dx_exceptions(self, pyfunc=np_trapz_x_dx): method test_average (line 4407) | def test_average(self): method test_allclose (line 4502) | def test_allclose(self): method test_ip_allclose_numpy (line 4566) | def test_ip_allclose_numpy(self): method test_ip_not_allclose_numpy (line 4591) | def test_ip_not_allclose_numpy(self): method test_return_class_is_ndarray_numpy (line 4618) | def test_return_class_is_ndarray_numpy(self): method test_equalnan_numpy (line 4631) | def test_equalnan_numpy(self): method test_no_parameter_modification_numpy (line 4641) | def test_no_parameter_modification_numpy(self): method test_min_int_numpy (line 4654) | def test_min_int_numpy(self): method test_allclose_exception (line 4665) | def test_allclose_exception(self): method test_interp_basic (line 4698) | def test_interp_basic(self): method _make_some_values_non_finite (line 4862) | def _make_some_values_non_finite(self, a): method arrays (line 4868) | def arrays(self, ndata): method test_interp_stress_tests (line 4913) | def test_interp_stress_tests(self): method test_interp_complex_stress_tests (line 4963) | def test_interp_complex_stress_tests(self): method test_interp_exceptions (line 4990) | def test_interp_exceptions(self): method test_interp_non_finite_calibration (line 5059) | def test_interp_non_finite_calibration(self): method test_interp_supplemental_tests (line 5078) | def test_interp_supplemental_tests(self): method test_interp_supplemental_complex_tests (line 5119) | def test_interp_supplemental_complex_tests(self): method test_interp_float_precision_handled_per_numpy (line 5131) | def test_interp_float_precision_handled_per_numpy(self): method test_isnat (line 5147) | def test_isnat(self): method test_asarray (line 5177) | def test_asarray(self): method test_asarray_literal (line 5255) | def test_asarray_literal(self): method test_asarray_rejects_List_with_illegal_dtype (line 5280) | def test_asarray_rejects_List_with_illegal_dtype(self): method test_asfarray (line 5323) | def test_asfarray(self): method test_repeat (line 5354) | def test_repeat(self): method test_repeat_exception (line 5441) | def test_repeat_exception(self): method test_select (line 5499) | def test_select(self): method test_select_exception (line 5550) | def test_select_exception(self): method test_windowing (line 5605) | def test_windowing(self): method test_cross (line 5652) | def test_cross(self): method test_cross_exceptions (line 5703) | def test_cross_exceptions(self): method test_cross2d (line 5768) | def test_cross2d(self): method test_cross2d_exceptions (line 5814) | def test_cross2d_exceptions(self): method test_trim_zeros (line 5851) | def test_trim_zeros(self): method test_trim_zeros_numpy (line 5887) | def test_trim_zeros_numpy(self): method test_trim_zeros_exceptions (line 5944) | def test_trim_zeros_exceptions(self): method test_union1d (line 5976) | def test_union1d(self): method test_union1d_exceptions (line 6012) | def test_union1d_exceptions(self): method test_asarray_chkfinite (line 6062) | def test_asarray_chkfinite(self): method test_asarray_chkfinite_exceptions (line 6106) | def test_asarray_chkfinite_exceptions(self): method test_unwrap_basic (line 6131) | def test_unwrap_basic(self): method test_unwrap_exception (line 6189) | def test_unwrap_exception(self): method test_swapaxes_basic (line 6218) | def test_swapaxes_basic(self): method test_swapaxes_exception (line 6234) | def test_swapaxes_exception(self): method test_moveaxis_basic (line 6271) | def test_moveaxis_basic(self): method test_moveaxis_exception (line 6288) | def test_moveaxis_exception(self): method test_take_along_axis (line 6339) | def test_take_along_axis(self): method test_take_along_axis_broadcasting (line 6362) | def test_take_along_axis_broadcasting(self): method test_take_along_axis_exceptions (line 6384) | def test_take_along_axis_exceptions(self): method test_nan_to_num (line 6450) | def test_nan_to_num(self): method test_nan_to_num_copy_false (line 6485) | def test_nan_to_num_copy_false(self): method test_nan_to_num_invalid_argument (line 6521) | def test_nan_to_num_invalid_argument(self): method test_diagflat_basic (line 6529) | def test_diagflat_basic(self): method test_diagflat1_exception (line 6546) | def test_diagflat1_exception(self): method test_diagflat2_exception (line 6557) | def test_diagflat2_exception(self): method _setxor_arrays (line 6579) | def _setxor_arrays(): method test_setxor1d_2 (line 6598) | def test_setxor1d_2(self): method test_setxor1d_3 (line 6614) | def test_setxor1d_3(self): method test_setxor1d_errors (line 6632) | def test_setxor1d_errors(self): method _setdiff_arrays (line 6647) | def _setdiff_arrays(): method test_setdiff1d_2 (line 6667) | def test_setdiff1d_2(self): method test_setdiff1d_3 (line 6683) | def test_setdiff1d_3(self): method test_setdiff1d_errors (line 6701) | def test_setdiff1d_errors(self): method _in1d_arrays (line 6716) | def _in1d_arrays(): method test_in1d_2 (line 6733) | def test_in1d_2(self): method test_in1d_3a (line 6750) | def test_in1d_3a(self): method test_in1d_3b (line 6769) | def test_in1d_3b(self): method test_in1d_4 (line 6787) | def test_in1d_4(self): method test_in1d_errors (line 6808) | def test_in1d_errors(self): method _isin_arrays (line 6837) | def _isin_arrays(cls): method _isin_arrays_reduced (line 6844) | def _isin_arrays_reduced(): method _isin_arrays_full (line 6856) | def _isin_arrays_full(): method test_isin_2 (line 6941) | def test_isin_2(self): method test_isin_3a (line 6958) | def test_isin_3a(self): method test_isin_3b (line 6986) | def test_isin_3b(self): method test_isin_4 (line 7004) | def test_isin_4(self): method test_isin_errors (line 7033) | def test_isin_errors(self): method test_setops_manyways (line 7061) | def test_setops_manyways(self): class TestNPMachineParameters (line 7078) | class TestNPMachineParameters(TestCase): method check (line 7087) | def check(self, func, attrs, *args): method create_harcoded_variant (line 7099) | def create_harcoded_variant(self, basefunc, ty): method test_MachAr (line 7110) | def test_MachAr(self): method test_finfo (line 7116) | def test_finfo(self): method test_iinfo (line 7137) | def test_iinfo(self): method test_np_MachAr_deprecation_np122 (line 7154) | def test_np_MachAr_deprecation_np122(self): class TestRegistryImports (line 7173) | class TestRegistryImports(TestCase): method test_unsafe_import_in_registry (line 7175) | def test_unsafe_import_in_registry(self): FILE: numba/tests/test_np_randomgen.py class TestHelperFuncs (line 25) | class TestHelperFuncs(TestCase): method test_proper_func_provider (line 26) | def test_proper_func_provider(self): method test_check_types (line 52) | def test_check_types(self): method test_integers_arg_check (line 72) | def test_integers_arg_check(self): function test_generator_caching (line 154) | def test_generator_caching(): class TestRandomGenerators (line 162) | class TestRandomGenerators(MemoryLeakMixin, TestCase): method check_numpy_parity (line 163) | def check_numpy_parity(self, distribution_func, method _test_bitgen_func_parity (line 203) | def _test_bitgen_func_parity(self, func_name, bitgen_func, seed=1): method _check_invalid_types (line 215) | def _check_invalid_types(self, dist_func, arg_list, method test_npgen_boxing_unboxing (line 230) | def test_npgen_boxing_unboxing(self): method test_npgen_boxing_refcount (line 236) | def test_npgen_boxing_refcount(self): method test_bitgen_funcs (line 251) | def test_bitgen_funcs(self): method test_integers (line 259) | def test_integers(self): method test_integers_cases (line 310) | def test_integers_cases(self): method test_random (line 368) | def test_random(self): method test_standard_normal (line 393) | def test_standard_normal(self): method test_standard_exponential (line 419) | def test_standard_exponential(self): method test_standard_exponential_inv (line 446) | def test_standard_exponential_inv(self): method test_standard_gamma (line 461) | def test_standard_gamma(self): method test_normal (line 481) | def test_normal(self): method test_uniform (line 507) | def test_uniform(self): method test_exponential (line 533) | def test_exponential(self): method test_gamma (line 557) | def test_gamma(self): method test_beta (line 577) | def test_beta(self): method test_f (line 596) | def test_f(self): method test_chisquare (line 616) | def test_chisquare(self): method test_standard_cauchy (line 636) | def test_standard_cauchy(self): method test_pareto (line 660) | def test_pareto(self): method test_weibull (line 678) | def test_weibull(self): method test_power (line 696) | def test_power(self): method test_laplace (line 714) | def test_laplace(self): method test_logistic (line 742) | def test_logistic(self): method test_lognormal (line 770) | def test_lognormal(self): method test_rayleigh (line 798) | def test_rayleigh(self): method test_standard_t (line 822) | def test_standard_t(self): method test_wald (line 841) | def test_wald(self): method test_geometric (line 861) | def test_geometric(self): method test_zipf (line 880) | def test_zipf(self): method test_triangular (line 898) | def test_triangular(self): method test_poisson (line 918) | def test_poisson(self): method test_negative_binomial (line 937) | def test_negative_binomial(self): method test_shuffle (line 961) | def test_shuffle(self): method test_shuffle_empty (line 978) | def test_shuffle_empty(self): method test_shuffle_check (line 991) | def test_shuffle_check(self): method test_permutation (line 1012) | def test_permutation(self): method test_permutation_exception (line 1036) | def test_permutation_exception(self): method test_permutation_empty (line 1059) | def test_permutation_empty(self): method test_noncentral_chisquare (line 1071) | def test_noncentral_chisquare(self): method test_noncentral_f (line 1110) | def test_noncentral_f(self): method test_logseries (line 1156) | def test_logseries(self): method test_binomial (line 1190) | def test_binomial(self): method test_binomial_cases (line 1211) | def test_binomial_cases(self): method test_binomial_specific_issues (line 1227) | def test_binomial_specific_issues(self): class TestGeneratorCaching (line 1262) | class TestGeneratorCaching(TestCase, SerialMixin): method test_randomgen_caching (line 1263) | def test_randomgen_caching(self): FILE: numba/tests/test_npdatetime.py function value_unit (line 26) | def value_unit(val): function add_usecase (line 37) | def add_usecase(x, y): function sub_usecase (line 40) | def sub_usecase(x, y): function mul_usecase (line 43) | def mul_usecase(x, y): function div_usecase (line 46) | def div_usecase(x, y): function floordiv_usecase (line 49) | def floordiv_usecase(x, y): function eq_usecase (line 52) | def eq_usecase(x, y): function ne_usecase (line 55) | def ne_usecase(x, y): function lt_usecase (line 58) | def lt_usecase(x, y): function le_usecase (line 61) | def le_usecase(x, y): function gt_usecase (line 64) | def gt_usecase(x, y): function ge_usecase (line 67) | def ge_usecase(x, y): function pos_usecase (line 70) | def pos_usecase(x): function neg_usecase (line 73) | def neg_usecase(x): function abs_usecase (line 76) | def abs_usecase(x): function hash_usecase (line 79) | def hash_usecase(x): function min_usecase (line 82) | def min_usecase(x, y): function max_usecase (line 85) | def max_usecase(x, y): function int_cast_usecase (line 88) | def int_cast_usecase(x): function make_add_constant (line 91) | def make_add_constant(const): class TestModuleHelpers (line 97) | class TestModuleHelpers(TestCase): method test_can_cast_timedelta (line 102) | def test_can_cast_timedelta(self): method test_timedelta_conversion (line 124) | def test_timedelta_conversion(self): method test_datetime_timedelta_scaling (line 149) | def test_datetime_timedelta_scaling(self): method test_combine_datetime_timedelta_units (line 188) | def test_combine_datetime_timedelta_units(self): method test_same_kind (line 200) | def test_same_kind(self): class TestMiscCompiling (line 219) | class TestMiscCompiling(TestCase): method test_jit_explicit_signature (line 221) | def test_jit_explicit_signature(self): method test_vectorize_explicit_signature (line 236) | def test_vectorize_explicit_signature(self): method test_constant_datetime (line 251) | def test_constant_datetime(self): method test_constant_timedelta (line 261) | def test_constant_timedelta(self): class TestTimedeltaArithmetic (line 273) | class TestTimedeltaArithmetic(TestCase): method jit (line 277) | def jit(self, pyfunc): method test_add (line 280) | def test_add(self): method test_sub (line 299) | def test_sub(self): method test_mul (line 318) | def test_mul(self): method test_div (line 340) | def test_div(self): method test_homogeneous_div (line 364) | def test_homogeneous_div(self): method test_eq_ne (line 384) | def test_eq_ne(self): method test_lt_ge (line 427) | def test_lt_ge(self): method test_le_gt (line 466) | def test_le_gt(self): method test_pos (line 505) | def test_pos(self): method test_neg (line 517) | def test_neg(self): method test_abs (line 529) | def test_abs(self): method test_hash (line 541) | def test_hash(self): method _test_min_max (line 582) | def _test_min_max(self, usecase): method test_min (line 594) | def test_min(self): method test_max (line 597) | def test_max(self): class TestTimedeltaArithmeticNoPython (line 601) | class TestTimedeltaArithmeticNoPython(TestTimedeltaArithmetic): method test_int_cast (line 605) | def test_int_cast(self): class TestDatetimeArithmetic (line 627) | class TestDatetimeArithmetic(TestCase): method jit (line 631) | def jit(self, pyfunc): method silence_numpy_warnings (line 635) | def silence_numpy_warnings(self): method test_add_sub_timedelta (line 644) | def test_add_sub_timedelta(self): method datetime_samples (line 709) | def datetime_samples(self): method test_datetime_difference (line 718) | def test_datetime_difference(self): method test_comparisons (line 745) | def test_comparisons(self): method _test_min_max (line 847) | def _test_min_max(self, usecase): method test_min (line 859) | def test_min(self): method test_max (line 862) | def test_max(self): class TestDatetimeArithmeticNoPython (line 865) | class TestDatetimeArithmeticNoPython(TestDatetimeArithmetic): class TestMetadataScalingFactor (line 870) | class TestMetadataScalingFactor(TestCase): method test_datetime (line 876) | def test_datetime(self, jitargs=None): method test_datetime_npm (line 882) | def test_datetime_npm(self): method test_timedelta (line 886) | def test_timedelta(self, jitargs=None): method test_timedelta_npm (line 892) | def test_timedelta_npm(self): class TestDatetimeDeltaOps (line 897) | class TestDatetimeDeltaOps(TestCase): method test_div (line 898) | def test_div(self): class TestDatetimeArrayOps (line 920) | class TestDatetimeArrayOps(TestCase): method _test_td_add_or_sub (line 922) | def _test_td_add_or_sub(self, operation, parallel): method test_add_td (line 960) | def test_add_td(self): method test_add_td_parallel (line 964) | def test_add_td_parallel(self): method test_sub_td (line 967) | def test_sub_td(self): method test_sub_td_parallel (line 971) | def test_sub_td_parallel(self): method _test_add_sub_td_no_match (line 974) | def _test_add_sub_td_no_match(self, operation): method test_add_td_no_match (line 993) | def test_add_td_no_match(self): method test_sub_td_no_match (line 996) | def test_sub_td_no_match(self): method _get_testcases (line 999) | def _get_testcases(self): method _test_min_max (line 1083) | def _test_min_max(self, operation, parallel, method): method test_min_func (line 1108) | def test_min_func(self): method test_np_min_func (line 1111) | def test_np_min_func(self): method test_min_method (line 1114) | def test_min_method(self): method test_max_func (line 1117) | def test_max_func(self): method test_np_max_func (line 1120) | def test_np_max_func(self): method test_max_method (line 1123) | def test_max_method(self): method test_min_func_parallel (line 1127) | def test_min_func_parallel(self): method test_min_method_parallel (line 1131) | def test_min_method_parallel(self): method test_max_func_parallel (line 1135) | def test_max_func_parallel(self): method test_max_method_parallel (line 1139) | def test_max_method_parallel(self): method test_searchsorted_datetime (line 1142) | def test_searchsorted_datetime(self): class TestDatetimeTypeOps (line 1168) | class TestDatetimeTypeOps(TestCase): method test_isinstance_datetime (line 1169) | def test_isinstance_datetime(self): class TestDatetimeIssues (line 1204) | class TestDatetimeIssues(TestCase): method test_10y_issue_9585 (line 1205) | def test_10y_issue_9585(self): FILE: numba/tests/test_nrt.py class Dummy (line 37) | class Dummy(object): method __init__ (line 40) | def __init__(self): method __del__ (line 43) | def __del__(self): class TestNrtMemInfoNotInitialized (line 47) | class TestNrtMemInfoNotInitialized(unittest.TestCase): method test_init_fail (line 54) | def test_init_fail(self): class TestNrtMemInfo (line 73) | class TestNrtMemInfo(unittest.TestCase): method setUp (line 78) | def setUp(self): method test_meminfo_refct_1 (line 85) | def test_meminfo_refct_1(self): method test_meminfo_refct_2 (line 102) | def test_meminfo_refct_2(self): method test_fake_memoryview (line 121) | def test_fake_memoryview(self): method test_memoryview (line 143) | def test_memoryview(self): method test_buffer (line 184) | def test_buffer(self): method test_allocate_invalid_size (line 221) | def test_allocate_invalid_size(self): method test_allocate_negative_size (line 230) | def test_allocate_negative_size(self): class TestTracemalloc (line 241) | class TestTracemalloc(unittest.TestCase): method measure_memory_diff (line 246) | def measure_memory_diff(self, func): method test_snapshot (line 262) | def test_snapshot(self): class TestNRTIssue (line 305) | class TestNRTIssue(TestCase): method test_issue_with_refct_op_pruning (line 306) | def test_issue_with_refct_op_pruning(self): method test_incref_after_cast (line 349) | def test_incref_after_cast(self): method test_refct_pruning_issue_1511 (line 363) | def test_refct_pruning_issue_1511(self): method test_refct_pruning_issue_1526 (line 374) | def test_refct_pruning_issue_1526(self): method test_no_nrt_on_njit_decoration (line 398) | def test_no_nrt_on_njit_decoration(self): class TestRefCtPruning (line 422) | class TestRefCtPruning(unittest.TestCase): method test_refct_pruning_op_recognize (line 496) | def test_refct_pruning_op_recognize(self): method test_refct_pruning_with_branches (line 528) | def test_refct_pruning_with_branches(self): method test_inline_asm (line 566) | def test_inline_asm(self): class TestNrtExternalCFFI (line 595) | class TestNrtExternalCFFI(EnableNRTStatsMixin, TestCase): method setUp (line 598) | def setUp(self): method compile_cffi_module (line 603) | def compile_cffi_module(self, name, source, cdef): method get_nrt_api_table (line 619) | def get_nrt_api_table(self): method test_manage_memory (line 627) | def test_manage_memory(self): method test_allocate (line 668) | def test_allocate(self): method test_get_api (line 700) | def test_get_api(self): class TestNrtStatistics (line 713) | class TestNrtStatistics(TestCase): method setUp (line 715) | def setUp(self): method tearDown (line 719) | def tearDown(self): method test_stats_env_var_explicit_on (line 726) | def test_stats_env_var_explicit_on(self): method check_env_var_off (line 760) | def check_env_var_off(self, env): method test_stats_env_var_explicit_off (line 779) | def test_stats_env_var_explicit_off(self): method test_stats_env_var_default_off (line 785) | def test_stats_env_var_default_off(self): method test_stats_status_toggle (line 792) | def test_stats_status_toggle(self): method test_rtsys_stats_query_raises_exception_when_disabled (line 828) | def test_rtsys_stats_query_raises_exception_when_disabled(self): method test_nrt_explicit_stats_query_raises_exception_when_disabled (line 840) | def test_nrt_explicit_stats_query_raises_exception_when_disabled(self): FILE: numba/tests/test_nrt_refct.py class TestNrtRefCt (line 16) | class TestNrtRefCt(EnableNRTStatsMixin, TestCase): method setUp (line 18) | def setUp(self): method test_no_return (line 23) | def test_no_return(self): method test_escaping_var_init_in_loop (line 41) | def test_escaping_var_init_in_loop(self): method test_invalid_computation_of_lifetime (line 65) | def test_invalid_computation_of_lifetime(self): method test_del_at_beginning_of_loop (line 89) | def test_del_at_beginning_of_loop(self): FILE: numba/tests/test_num_threads.py class TestNumThreads (line 20) | class TestNumThreads(TestCase): method setUp (line 23) | def setUp(self): method check_mask (line 28) | def check_mask(self, expected, result): method test_set_num_threads_type (line 39) | def test_set_num_threads_type(self): method _test_set_num_threads_basic (line 53) | def _test_set_num_threads_basic(self): method _test_set_num_threads_basic_jit (line 70) | def _test_set_num_threads_basic_jit(self): method _test_set_num_threads_basic_guvectorize (line 93) | def _test_set_num_threads_basic_guvectorize(self): method _test_set_num_threads_outside_jit (line 134) | def _test_set_num_threads_outside_jit(self): method _test_set_num_threads_inside_jit (line 163) | def _test_set_num_threads_inside_jit(self): method _test_set_num_threads_inside_guvectorize (line 180) | def _test_set_num_threads_inside_guvectorize(self): method _test_get_num_threads_truth_outside_jit (line 198) | def _test_get_num_threads_truth_outside_jit(self): method _test_get_num_threads_truth_inside_jit (line 233) | def _test_get_num_threads_truth_inside_jit(self): method _test_nested_parallelism_1 (line 271) | def _test_nested_parallelism_1(self): method _test_nested_parallelism_2 (line 360) | def _test_nested_parallelism_2(self): method _test_nested_parallelism_3 (line 465) | def _test_nested_parallelism_3(self): method _test_threadmask_across_fork (line 527) | def _test_threadmask_across_fork(self): method tearDown (line 548) | def tearDown(self): method _test_get_thread_id_not_parallel (line 552) | def _test_get_thread_id_not_parallel(self): class TestNumThreadsBackends (line 581) | class TestNumThreadsBackends(TestInSubprocess, TestCase): method run_test_in_separate_process (line 588) | def run_test_in_separate_process(self, test, threading_layer, num_thre... method _inject (line 596) | def _inject(cls, name, backend, backend_guard, num_threads): method generate (line 620) | def generate(cls): FILE: numba/tests/test_numberctor.py function dobool (line 10) | def dobool(a): function doint (line 14) | def doint(a): function dofloat (line 18) | def dofloat(a): function docomplex (line 22) | def docomplex(a): function docomplex2 (line 26) | def docomplex2(a, b): function complex_calc (line 30) | def complex_calc(a): function complex_calc2 (line 35) | def complex_calc2(a, b): function converter (line 40) | def converter(tp): function real_np_types (line 46) | def real_np_types(): function complex_np_types (line 53) | def complex_np_types(): class TestScalarNumberCtor (line 58) | class TestScalarNumberCtor(TestCase): method check_int_constructor (line 63) | def check_int_constructor(self, pyfunc): method test_bool (line 73) | def test_bool(self): method test_int (line 76) | def test_int(self): method test_float (line 79) | def test_float(self): method test_complex (line 92) | def test_complex(self): method test_complex2 (line 118) | def test_complex2(self): method check_type_converter (line 142) | def check_type_converter(self, tp, np_type, values): method check_number_types (line 164) | def check_number_types(self, tp_factory): method test_numba_types (line 177) | def test_numba_types(self): method test_numpy_types (line 185) | def test_numpy_types(self): class TestArrayNumberCtor (line 194) | class TestArrayNumberCtor(TestCase): method check_type_constructor (line 199) | def check_type_constructor(self, np_type, values): method test_1d (line 207) | def test_1d(self): method test_2d (line 225) | def test_2d(self): FILE: numba/tests/test_numbers.py function gen_view (line 11) | def gen_view(a,b): class TestViewIntFloat (line 17) | class TestViewIntFloat(TestCase): method do_testing (line 20) | def do_testing(self, inputs, dtypes): method test_8_bits (line 36) | def test_8_bits(self): method test_32_bits (line 43) | def test_32_bits(self): method test_64_bits (line 51) | def test_64_bits(self): method test_python_scalar_exception (line 62) | def test_python_scalar_exception(self): method do_testing_exceptions (line 76) | def do_testing_exceptions(self, pair): method test_exceptions32 (line 84) | def test_exceptions32(self): method test_exceptions64 (line 88) | def test_exceptions64(self): FILE: numba/tests/test_numconv.py function template (line 7) | def template(fromty, toty): class TestNumberConversion (line 19) | class TestNumberConversion(unittest.TestCase): method automatic_populate (line 27) | def automatic_populate(cls): FILE: numba/tests/test_numpy_support.py class TestFromDtype (line 19) | class TestFromDtype(TestCase): method test_number_types (line 21) | def test_number_types(self): method test_string_types (line 74) | def test_string_types(self): method check_datetime_types (line 88) | def check_datetime_types(self, letter, nb_class): method test_datetime_types (line 99) | def test_datetime_types(self): method test_timedelta_types (line 105) | def test_timedelta_types(self): method test_struct_types (line 111) | def test_struct_types(self): method test_enum_type (line 139) | def test_enum_type(self): class ValueTypingTestBase (line 158) | class ValueTypingTestBase(object): method check_number_values (line 163) | def check_number_values(self, func): method _base_check_datetime_values (line 184) | def _base_check_datetime_values(self, func, np_type, nb_type): method check_datetime_values (line 199) | def check_datetime_values(self, func): method check_timedelta_values (line 205) | def check_timedelta_values(self, func): class TestArrayScalars (line 213) | class TestArrayScalars(ValueTypingTestBase, TestCase): method test_number_values (line 215) | def test_number_values(self): method test_datetime_values (line 221) | def test_datetime_values(self): method test_timedelta_values (line 232) | def test_timedelta_values(self): class FakeUFunc (line 244) | class FakeUFunc(object): method __init__ (line 248) | def __init__(self, types): class TestUFuncs (line 276) | class TestUFuncs(TestCase): method test_ufunc_find_matching_loop (line 281) | def test_ufunc_find_matching_loop(self): method test_layout_checker (line 393) | def test_layout_checker(self): FILE: numba/tests/test_numpyadapt.py class ArrayStruct3D (line 9) | class ArrayStruct3D(Structure): class TestArrayAdaptor (line 22) | class TestArrayAdaptor(unittest.TestCase): method test_array_adaptor (line 23) | def test_array_adaptor(self): FILE: numba/tests/test_obj_lifetime.py class _Dummy (line 16) | class _Dummy(object): method __init__ (line 18) | def __init__(self, recorder, name): method __add__ (line 23) | def __add__(self, other): method __iter__ (line 27) | def __iter__(self): class _DummyIterator (line 31) | class _DummyIterator(_Dummy): method __next__ (line 35) | def __next__(self): class RefRecorder (line 44) | class RefRecorder(object): method __init__ (line 51) | def __init__(self): method make_dummy (line 56) | def make_dummy(self, name): method _add_dummy (line 62) | def _add_dummy(self, dummy): method mark (line 68) | def mark(self, event): method _on_disposal (line 77) | def _on_disposal(self, wr): method alive (line 82) | def alive(self): method recorded (line 89) | def recorded(self): function simple_usecase1 (line 96) | def simple_usecase1(rec): function simple_usecase2 (line 106) | def simple_usecase2(rec): function looping_usecase1 (line 115) | def looping_usecase1(rec): function looping_usecase2 (line 127) | def looping_usecase2(rec): function generator_usecase1 (line 152) | def generator_usecase1(rec): function generator_usecase2 (line 158) | def generator_usecase2(rec): class MyError (line 166) | class MyError(RuntimeError): function do_raise (line 169) | def do_raise(x): function raising_usecase1 (line 172) | def raising_usecase1(rec): function raising_usecase2 (line 182) | def raising_usecase2(rec): function raising_usecase3 (line 190) | def raising_usecase3(rec): function del_before_definition (line 197) | def del_before_definition(rec): function inf_loop_multiple_back_edge (line 220) | def inf_loop_multiple_back_edge(rec): class TestObjLifetime (line 234) | class TestObjLifetime(TestCase): method compile (line 239) | def compile(self, pyfunc): method compile_and_record (line 245) | def compile_and_record(self, pyfunc, raises=None): method assertRecordOrder (line 255) | def assertRecordOrder(self, rec, expected): method test_simple1 (line 272) | def test_simple1(self): method test_simple2 (line 279) | def test_simple2(self): method test_looping1 (line 284) | def test_looping1(self): method test_looping2 (line 296) | def test_looping2(self): method exercise_generator (line 318) | def exercise_generator(self, genfunc): method test_generator1 (line 345) | def test_generator1(self): method test_generator2 (line 348) | def test_generator2(self): method test_del_before_definition (line 351) | def test_del_before_definition(self): method test_raising1 (line 355) | def test_raising1(self): method test_raising2 (line 360) | def test_raising2(self): method test_raising3 (line 365) | def test_raising3(self): method test_inf_loop_multiple_back_edge (line 370) | def test_inf_loop_multiple_back_edge(self): class TestExtendingVariableLifetimes (line 384) | class TestExtendingVariableLifetimes(SerialMixin, TestCase): method test_lifetime_basic (line 389) | def test_lifetime_basic(self): method test_dbg_extend_lifetimes (line 439) | def test_dbg_extend_lifetimes(self): FILE: numba/tests/test_object_mode.py function complex_constant (line 15) | def complex_constant(n): function long_constant (line 20) | def long_constant(n): function delitem_usecase (line 24) | def delitem_usecase(x): function loop_nest_3 (line 28) | def loop_nest_3(x, y): function array_of_object (line 38) | def array_of_object(x): class TestObjectMode (line 42) | class TestObjectMode(TestCase): method test_complex_constant (line 44) | def test_complex_constant(self): method test_long_constant (line 49) | def test_long_constant(self): method test_loop_nest (line 54) | def test_loop_nest(self): method test_array_of_object (line 72) | def test_array_of_object(self): method test_sequence_contains (line 77) | def test_sequence_contains(self): method test_delitem (line 103) | def test_delitem(self): method test_starargs_non_tuple (line 113) | def test_starargs_non_tuple(self): method test_expr_undef (line 127) | def test_expr_undef(self): class TestObjectModeInvalidRewrite (line 136) | class TestObjectModeInvalidRewrite(TestCase): method _ensure_objmode (line 141) | def _ensure_objmode(self, disp): method test_static_raise_in_objmode_fallback (line 146) | def test_static_raise_in_objmode_fallback(self): method test_static_setitem_in_objmode_fallback (line 165) | def test_static_setitem_in_objmode_fallback(self): method test_dynamic_func_objmode (line 186) | def test_dynamic_func_objmode(self): method test_issue_9725_label_renaming (line 199) | def test_issue_9725_label_renaming(self): FILE: numba/tests/test_objects.py class C (line 12) | class C(object): function setattr_usecase (line 16) | def setattr_usecase(o, v): function delattr_usecase (line 20) | def delattr_usecase(o): class TestAttributes (line 24) | class TestAttributes(TestCase): method test_setattr (line 25) | def test_setattr(self): method test_setattr_attribute_error (line 32) | def test_setattr_attribute_error(self): method test_delattr (line 39) | def test_delattr(self): method test_delattr_attribute_error (line 48) | def test_delattr_attribute_error(self): FILE: numba/tests/test_operators.py function make_static_power (line 20) | def make_static_power(exp): class LiteralOperatorImpl (line 26) | class LiteralOperatorImpl(object): method add_usecase (line 29) | def add_usecase(x, y): method iadd_usecase (line 33) | def iadd_usecase(x, y): method sub_usecase (line 38) | def sub_usecase(x, y): method isub_usecase (line 42) | def isub_usecase(x, y): method mul_usecase (line 47) | def mul_usecase(x, y): method imul_usecase (line 51) | def imul_usecase(x, y): method floordiv_usecase (line 56) | def floordiv_usecase(x, y): method ifloordiv_usecase (line 60) | def ifloordiv_usecase(x, y): method truediv_usecase (line 65) | def truediv_usecase(x, y): method itruediv_usecase (line 69) | def itruediv_usecase(x, y): method mod_usecase (line 78) | def mod_usecase(x, y): method imod_usecase (line 82) | def imod_usecase(x, y): method pow_usecase (line 87) | def pow_usecase(x, y): method ipow_usecase (line 91) | def ipow_usecase(x, y): method bitshift_left_usecase (line 96) | def bitshift_left_usecase(x, y): method bitshift_ileft_usecase (line 100) | def bitshift_ileft_usecase(x, y): method bitshift_right_usecase (line 105) | def bitshift_right_usecase(x, y): method bitshift_iright_usecase (line 109) | def bitshift_iright_usecase(x, y): method bitwise_and_usecase (line 114) | def bitwise_and_usecase(x, y): method bitwise_iand_usecase (line 118) | def bitwise_iand_usecase(x, y): method bitwise_or_usecase (line 123) | def bitwise_or_usecase(x, y): method bitwise_ior_usecase (line 127) | def bitwise_ior_usecase(x, y): method bitwise_xor_usecase (line 132) | def bitwise_xor_usecase(x, y): method bitwise_ixor_usecase (line 136) | def bitwise_ixor_usecase(x, y): method bitwise_not_usecase_binary (line 141) | def bitwise_not_usecase_binary(x, _unused): method bitwise_not_usecase (line 145) | def bitwise_not_usecase(x): method not_usecase (line 149) | def not_usecase(x): method negate_usecase (line 153) | def negate_usecase(x): method unary_positive_usecase (line 157) | def unary_positive_usecase(x): method lt_usecase (line 161) | def lt_usecase(x, y): method le_usecase (line 165) | def le_usecase(x, y): method gt_usecase (line 169) | def gt_usecase(x, y): method ge_usecase (line 173) | def ge_usecase(x, y): method eq_usecase (line 177) | def eq_usecase(x, y): method ne_usecase (line 181) | def ne_usecase(x, y): method in_usecase (line 185) | def in_usecase(x, y): method not_in_usecase (line 189) | def not_in_usecase(x, y): method is_usecase (line 193) | def is_usecase(x, y): class FunctionalOperatorImpl (line 197) | class FunctionalOperatorImpl(object): method add_usecase (line 200) | def add_usecase(x, y): method iadd_usecase (line 204) | def iadd_usecase(x, y): method sub_usecase (line 208) | def sub_usecase(x, y): method isub_usecase (line 212) | def isub_usecase(x, y): method mul_usecase (line 216) | def mul_usecase(x, y): method imul_usecase (line 220) | def imul_usecase(x, y): method floordiv_usecase (line 224) | def floordiv_usecase(x, y): method ifloordiv_usecase (line 228) | def ifloordiv_usecase(x, y): method truediv_usecase (line 232) | def truediv_usecase(x, y): method itruediv_usecase (line 236) | def itruediv_usecase(x, y): method mod_usecase (line 240) | def mod_usecase(x, y): method imod_usecase (line 244) | def imod_usecase(x, y): method pow_usecase (line 248) | def pow_usecase(x, y): method ipow_usecase (line 252) | def ipow_usecase(x, y): method matmul_usecase (line 256) | def matmul_usecase(x, y): method imatmul_usecase (line 260) | def imatmul_usecase(x, y): method bitshift_left_usecase (line 264) | def bitshift_left_usecase(x, y): method bitshift_ileft_usecase (line 268) | def bitshift_ileft_usecase(x, y): method bitshift_right_usecase (line 272) | def bitshift_right_usecase(x, y): method bitshift_iright_usecase (line 276) | def bitshift_iright_usecase(x, y): method bitwise_and_usecase (line 280) | def bitwise_and_usecase(x, y): method bitwise_iand_usecase (line 284) | def bitwise_iand_usecase(x, y): method bitwise_or_usecase (line 288) | def bitwise_or_usecase(x, y): method bitwise_ior_usecase (line 292) | def bitwise_ior_usecase(x, y): method bitwise_xor_usecase (line 296) | def bitwise_xor_usecase(x, y): method bitwise_ixor_usecase (line 300) | def bitwise_ixor_usecase(x, y): method bitwise_not_usecase_binary (line 304) | def bitwise_not_usecase_binary(x, _unused): method bitwise_not_usecase (line 308) | def bitwise_not_usecase(x): method not_usecase (line 312) | def not_usecase(x): method negate_usecase (line 316) | def negate_usecase(x): method unary_positive_usecase (line 320) | def unary_positive_usecase(x): method lt_usecase (line 324) | def lt_usecase(x, y): method le_usecase (line 328) | def le_usecase(x, y): method gt_usecase (line 332) | def gt_usecase(x, y): method ge_usecase (line 336) | def ge_usecase(x, y): method eq_usecase (line 340) | def eq_usecase(x, y): method ne_usecase (line 344) | def ne_usecase(x, y): method in_usecase (line 348) | def in_usecase(x, y): method not_in_usecase (line 352) | def not_in_usecase(x, y): method is_usecase (line 356) | def is_usecase(x, y): class TestOperators (line 360) | class TestOperators(TestCase): method run_test_ints (line 383) | def run_test_ints(self, pyfunc, x_operands, y_operands, types_list, method run_test_floats (line 403) | def run_test_floats(self, pyfunc, x_operands, y_operands, types_list, method coerce_operand (line 417) | def coerce_operand(self, op, numba_type): method run_test_scalar_compare (line 429) | def run_test_scalar_compare(self, pyfunc, flags=force_pyobj_flags, method test_lt_scalar (line 459) | def test_lt_scalar(self, flags=force_pyobj_flags): method test_lt_scalar_npm (line 462) | def test_lt_scalar_npm(self): method test_le_scalar (line 465) | def test_le_scalar(self, flags=force_pyobj_flags): method test_le_scalar_npm (line 468) | def test_le_scalar_npm(self): method test_gt_scalar (line 471) | def test_gt_scalar(self, flags=force_pyobj_flags): method test_gt_scalar_npm (line 474) | def test_gt_scalar_npm(self): method test_ge_scalar (line 477) | def test_ge_scalar(self, flags=force_pyobj_flags): method test_ge_scalar_npm (line 480) | def test_ge_scalar_npm(self): method test_eq_scalar (line 483) | def test_eq_scalar(self, flags=force_pyobj_flags): method test_eq_scalar_npm (line 486) | def test_eq_scalar_npm(self): method test_ne_scalar (line 489) | def test_ne_scalar(self, flags=force_pyobj_flags): method test_ne_scalar_npm (line 492) | def test_ne_scalar_npm(self): method test_is_ellipsis (line 495) | def test_is_ellipsis(self): method test_is_void_ptr (line 499) | def test_is_void_ptr(self): method run_binop_bools (line 517) | def run_binop_bools(self, pyfunc, flags=force_pyobj_flags): method run_binop_ints (line 526) | def run_binop_ints(self, pyfunc, flags=force_pyobj_flags): method run_binop_floats (line 546) | def run_binop_floats(self, pyfunc, flags=force_pyobj_flags): method run_binop_floats_floordiv (line 556) | def run_binop_floats_floordiv(self, pyfunc, flags=force_pyobj_flags): method run_binop_complex (line 559) | def run_binop_complex(self, pyfunc, flags=force_pyobj_flags): method generate_binop_tests (line 569) | def generate_binop_tests(ns, usecases, tp_runners, npm_array=False): method check_div_errors (line 621) | def check_div_errors(self, usecase_name, msg, flags=force_pyobj_flags, method test_truediv_errors (line 637) | def test_truediv_errors(self, flags=force_pyobj_flags): method test_truediv_errors_npm (line 641) | def test_truediv_errors_npm(self): method test_floordiv_errors (line 644) | def test_floordiv_errors(self, flags=force_pyobj_flags): method test_floordiv_errors_npm (line 647) | def test_floordiv_errors_npm(self): method test_mod_errors (line 650) | def test_mod_errors(self, flags=force_pyobj_flags): method test_mod_errors_npm (line 653) | def test_mod_errors_npm(self): method run_pow_ints (line 656) | def run_pow_ints(self, pyfunc, flags=force_pyobj_flags): method run_pow_floats (line 676) | def run_pow_floats(self, pyfunc, flags=force_pyobj_flags): method test_add_complex (line 702) | def test_add_complex(self, flags=force_pyobj_flags): method test_add_complex_npm (line 714) | def test_add_complex_npm(self): method test_sub_complex (line 717) | def test_sub_complex(self, flags=force_pyobj_flags): method test_sub_complex_npm (line 729) | def test_sub_complex_npm(self): method test_mul_complex (line 732) | def test_mul_complex(self, flags=force_pyobj_flags): method test_mul_complex_npm (line 744) | def test_mul_complex_npm(self): method test_truediv_complex (line 747) | def test_truediv_complex(self, flags=force_pyobj_flags): method test_truediv_complex_npm (line 759) | def test_truediv_complex_npm(self): method test_mod_complex (line 762) | def test_mod_complex(self, flags=force_pyobj_flags): method test_mod_complex_npm (line 776) | def test_mod_complex_npm(self): method check_matmul_objmode (line 786) | def check_matmul_objmode(self, pyfunc, inplace): method test_matmul (line 799) | def test_matmul(self): method test_imatmul (line 802) | def test_imatmul(self): method check_matmul_npm (line 806) | def check_matmul_npm(self, pyfunc): method test_matmul_npm (line 817) | def test_matmul_npm(self): method test_imatmul_npm (line 820) | def test_imatmul_npm(self): method run_bitshift_left (line 828) | def run_bitshift_left(self, pyfunc, flags=force_pyobj_flags): method run_bitshift_right (line 866) | def run_bitshift_right(self, pyfunc, flags=force_pyobj_flags): method run_logical (line 904) | def run_logical(self, pyfunc, flags=force_pyobj_flags): method test_bitwise_not (line 949) | def test_bitwise_not(self, flags=force_pyobj_flags): method test_bitwise_not_npm (line 996) | def test_bitwise_not_npm(self): method test_bitwise_float (line 999) | def test_bitwise_float(self): method test_not (line 1033) | def test_not(self): method test_not_npm (line 1048) | def test_not_npm(self): method test_negate_npm (line 1073) | def test_negate_npm(self): method test_negate (line 1101) | def test_negate(self): method test_unary_positive_npm (line 1116) | def test_unary_positive_npm(self): method test_unary_positive (line 1143) | def test_unary_positive(self): method _check_in (line 1158) | def _check_in(self, pyfunc, flags): method test_in (line 1165) | def test_in(self, flags=force_pyobj_flags): method test_in_npm (line 1168) | def test_in_npm(self): method test_not_in (line 1171) | def test_not_in(self, flags=force_pyobj_flags): method test_not_in_npm (line 1174) | def test_not_in_npm(self): class TestOperatorModule (line 1178) | class TestOperatorModule(TestOperators): class TestMixedInts (line 1197) | class TestMixedInts(TestCase): method int_in_dtype_range (line 1215) | def int_in_dtype_range(self, val, tp): method get_numpy_signed_upcast (line 1219) | def get_numpy_signed_upcast(self, *vals): method get_numpy_unsigned_upcast (line 1224) | def get_numpy_unsigned_upcast(self, *vals): method get_typed_int (line 1229) | def get_typed_int(self, typ, val): method get_control_signed (line 1232) | def get_control_signed(self, opname): method get_control_unsigned (line 1239) | def get_control_unsigned(self, opname): method run_binary (line 1246) | def run_binary(self, pyfunc, control_func, operands, types, method run_unary (line 1267) | def run_unary(self, pyfunc, control_func, operands, types, method run_arith_binop (line 1283) | def run_arith_binop(self, pyfunc, opname, samples, method test_add (line 1295) | def test_add(self): method test_sub (line 1298) | def test_sub(self): method test_mul (line 1301) | def test_mul(self): method test_floordiv (line 1304) | def test_floordiv(self): method test_mod (line 1308) | def test_mod(self): method test_pow (line 1312) | def test_pow(self): method test_pow_precision (line 1339) | def test_pow_precision(self): method test_truediv (line 1350) | def test_truediv(self): method test_and (line 1365) | def test_and(self): method test_or (line 1368) | def test_or(self): method test_xor (line 1371) | def test_xor(self): method run_shift_binop (line 1374) | def run_shift_binop(self, pyfunc, opname): method test_lshift (line 1415) | def test_lshift(self): method test_rshift (line 1418) | def test_rshift(self): method test_unary_positive (line 1421) | def test_unary_positive(self): method test_unary_negative (line 1429) | def test_unary_negative(self): method test_invert (line 1442) | def test_invert(self): class TestMixedIntsOperatorModule (line 1456) | class TestMixedIntsOperatorModule(TestMixedInts): class TestStaticPower (line 1461) | class TestStaticPower(TestCase): method _check_pow (line 1467) | def _check_pow(self, exponents, values): method test_int_values (line 1485) | def test_int_values(self): method test_real_values (line 1491) | def test_real_values(self): class TestStringConstComparison (line 1497) | class TestStringConstComparison(TestCase): method test_eq (line 1501) | def test_eq(self): method test_neq (line 1515) | def test_neq(self): class TestBooleanLiteralOperators (line 1529) | class TestBooleanLiteralOperators(TestCase): method test_eq (line 1533) | def test_eq(self): method test_ne (line 1559) | def test_ne(self): method test_is (line 1585) | def test_is(self): method test_not (line 1604) | def test_not(self): method test_bool (line 1613) | def test_bool(self): method test_bool_to_str (line 1622) | def test_bool_to_str(self): FILE: numba/tests/test_optimisation_pipelines.py class TestPassManagerOptimization (line 9) | class TestPassManagerOptimization(TestCase): method _get_llvmir (line 14) | def _get_llvmir(self, fn, sig): method test_override_config (line 19) | def test_override_config(self): FILE: numba/tests/test_optional.py function return_double_or_none (line 11) | def return_double_or_none(x): function return_different_statement (line 19) | def return_different_statement(x): function return_bool_optional_or_none (line 26) | def return_bool_optional_or_none(x, y): function is_this_a_none (line 42) | def is_this_a_none(x): function a_is_b (line 55) | def a_is_b(a, b): function a_is_not_b (line 64) | def a_is_not_b(a, b): class TestOptional (line 71) | class TestOptional(TestCase): method test_return_double_or_none (line 75) | def test_return_double_or_none(self): method test_return_different_statement (line 82) | def test_return_different_statement(self): method test_return_bool_optional_or_none (line 89) | def test_return_bool_optional_or_none(self): method test_is_this_a_none (line 96) | def test_is_this_a_none(self): method test_is_this_a_none_objmode (line 103) | def test_is_this_a_none_objmode(self): method test_a_is_b_intp (line 110) | def test_a_is_b_intp(self): method test_a_is_not_b_intp (line 117) | def test_a_is_not_b_intp(self): method test_optional_float (line 124) | def test_optional_float(self): method test_optional_array (line 135) | def test_optional_array(self): method test_optional_array_error (line 150) | def test_optional_array_error(self): method test_optional_array_attribute (line 163) | def test_optional_array_attribute(self): method test_assign_to_optional (line 177) | def test_assign_to_optional(self): method test_optional_thru_omitted_arg (line 199) | def test_optional_thru_omitted_arg(self): method test_optional_unpack (line 213) | def test_optional_unpack(self): method test_many_optional_none_returns (line 231) | def test_many_optional_none_returns(self): FILE: numba/tests/test_overlap.py function array_overlap1 (line 11) | def array_overlap1(src, dest, k=1): function array_overlap2 (line 15) | def array_overlap2(src, dest, k=1): function array_overlap3 (line 19) | def array_overlap3(src, dest, k=1): function array_overlap4 (line 23) | def array_overlap4(src, dest, k=1): function array_overlap5 (line 27) | def array_overlap5(src, dest, k=1): function array_overlap6 (line 31) | def array_overlap6(src, dest, k=1): function array_overlap11 (line 37) | def array_overlap11(src, dest): function array_overlap12 (line 41) | def array_overlap12(src, dest): function array_overlap13 (line 45) | def array_overlap13(src, dest): function array_overlap14 (line 49) | def array_overlap14(src, dest): function array_overlap15 (line 53) | def array_overlap15(src, dest): function array_overlap16 (line 57) | def array_overlap16(src, dest): class TestArrayOverlap (line 62) | class TestArrayOverlap(TestCase): method check_overlap (line 64) | def check_overlap(self, pyfunc, min_ndim, have_k_argument=False): method check_overlap_with_k (line 93) | def check_overlap_with_k(self, pyfunc, min_ndim): method test_overlap1 (line 96) | def test_overlap1(self): method test_overlap2 (line 99) | def test_overlap2(self): method test_overlap3 (line 102) | def test_overlap3(self): method test_overlap4 (line 105) | def test_overlap4(self): method test_overlap5 (line 108) | def test_overlap5(self): method test_overlap6 (line 111) | def test_overlap6(self): method test_overlap11 (line 114) | def test_overlap11(self): method test_overlap12 (line 117) | def test_overlap12(self): method test_overlap13 (line 120) | def test_overlap13(self): method test_overlap14 (line 123) | def test_overlap14(self): method test_overlap15 (line 126) | def test_overlap15(self): method test_overlap16 (line 129) | def test_overlap16(self): FILE: numba/tests/test_parallel_backend.py function foo (line 72) | def foo(n, v): function linalg (line 77) | def linalg(n, v): function linalg (line 81) | def linalg(n, v): function ufunc_foo (line 86) | def ufunc_foo(a, b): function gufunc_foo (line 90) | def gufunc_foo(a, b, out): class runnable (line 94) | class runnable(object): method __init__ (line 95) | def __init__(self, **options): class jit_runner (line 99) | class jit_runner(runnable): method __call__ (line 101) | def __call__(self): class mask_runner (line 110) | class mask_runner(object): method __init__ (line 111) | def __init__(self, runner, mask, **options): method __call__ (line 115) | def __call__(self): class linalg_runner (line 123) | class linalg_runner(runnable): method __call__ (line 125) | def __call__(self): class vectorize_runner (line 134) | class vectorize_runner(runnable): method __call__ (line 136) | def __call__(self): class guvectorize_runner (line 144) | class guvectorize_runner(runnable): method __call__ (line 146) | def __call__(self): function chooser (line 155) | def chooser(fnlist, **kwargs): function compile_factory (line 166) | def compile_factory(parallel_class, queue_impl): class _proc_class_impl (line 189) | class _proc_class_impl(object): method __init__ (line 191) | def __init__(self, method): method __call__ (line 194) | def __call__(self, *args, **kwargs): function _get_mp_classes (line 199) | def _get_mp_classes(method): class TestParallelBackendBase (line 219) | class TestParallelBackendBase(TestCase): method run_compile (line 280) | def run_compile(self, fnlist, parallelism='threading'): class TestParallelBackend (line 311) | class TestParallelBackend(TestParallelBackendBase): method generate (line 324) | def generate(cls): class TestInSubprocess (line 347) | class TestInSubprocess(object): method run_cmd (line 352) | def run_cmd(self, cmdline, env): method run_test_in_separate_process (line 371) | def run_test_in_separate_process(self, test, threading_layer): class TestSpecificBackend (line 378) | class TestSpecificBackend(TestInSubprocess, TestParallelBackendBase): method _inject (line 390) | def _inject(cls, p, name, backend, backend_guard): method generate (line 414) | def generate(cls): class ThreadLayerTestHelper (line 437) | class ThreadLayerTestHelper(TestCase): method run_cmd (line 469) | def run_cmd(self, cmdline, env=None): class TestThreadingLayerSelection (line 492) | class TestThreadingLayerSelection(ThreadLayerTestHelper): method _inject (line 503) | def _inject(cls, backend, backend_guard): method generate (line 524) | def generate(cls): class TestThreadingLayerPriority (line 533) | class TestThreadingLayerPriority(ThreadLayerTestHelper): method each_env_var (line 535) | def each_env_var(self, env_var: str): method test_valid_env_var (line 570) | def test_valid_env_var(self): method test_invalid_env_var (line 578) | def test_invalid_env_var(self): method test_omp (line 589) | def test_omp(self): method test_tbb (line 594) | def test_tbb(self): method test_workqueue (line 598) | def test_workqueue(self): class TestMiscBackendIssues (line 604) | class TestMiscBackendIssues(ThreadLayerTestHelper): method test_omp_stack_overflow (line 611) | def test_omp_stack_overflow(self): method test_single_thread_tbb (line 634) | def test_single_thread_tbb(self): method test_workqueue_aborts_on_nested_parallelism (line 658) | def test_workqueue_aborts_on_nested_parallelism(self): method test_workqueue_handles_fork_from_non_main_thread (line 700) | def test_workqueue_handles_fork_from_non_main_thread(self): class TestForkSafetyIssues (line 744) | class TestForkSafetyIssues(ThreadLayerTestHelper): method test_check_threading_layer_is_gnu (line 750) | def test_check_threading_layer_is_gnu(self): method test_par_parent_os_fork_par_child (line 758) | def test_par_parent_os_fork_par_child(self): method test_par_parent_implicit_mp_fork_par_child (line 780) | def test_par_parent_implicit_mp_fork_par_child(self): method test_par_parent_explicit_mp_fork_par_child (line 814) | def test_par_parent_explicit_mp_fork_par_child(self): method test_par_parent_mp_spawn_par_child_par_parent (line 848) | def test_par_parent_mp_spawn_par_child_par_parent(self): method test_serial_parent_implicit_mp_fork_par_child_then_par_parent (line 892) | def test_serial_parent_implicit_mp_fork_par_child_then_par_parent(self): method test_serial_parent_explicit_mp_fork_par_child_then_par_parent (line 934) | def test_serial_parent_explicit_mp_fork_par_child_then_par_parent(self): class TestTBBSpecificIssues (line 977) | class TestTBBSpecificIssues(ThreadLayerTestHelper): method test_fork_from_non_main_thread (line 982) | def test_fork_from_non_main_thread(self): method test_lifetime_of_task_scheduler_handle (line 1073) | def test_lifetime_of_task_scheduler_handle(self): class TestInitSafetyIssues (line 1172) | class TestInitSafetyIssues(TestCase): method run_cmd (line 1176) | def run_cmd(self, cmdline): method test_orphaned_semaphore (line 1194) | def test_orphaned_semaphore(self): method test_lazy_lock_init (line 1210) | def test_lazy_lock_init(self): class TestOpenMPVendors (line 1234) | class TestOpenMPVendors(TestCase): method test_vendors (line 1236) | def test_vendors(self): FILE: numba/tests/test_parfors.py class TestParforsRunner (line 68) | class TestParforsRunner(TestCase): method runner (line 81) | def runner(self): method test_TestParforBasic (line 89) | def test_TestParforBasic(self): method test_TestParforNumericalMisc (line 92) | def test_TestParforNumericalMisc(self): method test_TestParforNumPy (line 95) | def test_TestParforNumPy(self): method test_TestParfors (line 98) | def test_TestParfors(self): method test_TestParforsBitMask (line 101) | def test_TestParforsBitMask(self): method test_TestParforsDiagnostics (line 104) | def test_TestParforsDiagnostics(self): method test_TestParforsLeaks (line 107) | def test_TestParforsLeaks(self): method test_TestParforsMisc (line 110) | def test_TestParforsMisc(self): method test_TestParforsOptions (line 113) | def test_TestParforsOptions(self): method test_TestParforsSlice (line 116) | def test_TestParforsSlice(self): method test_TestParforsVectorizer (line 119) | def test_TestParforsVectorizer(self): method test_TestPrangeBasic (line 122) | def test_TestPrangeBasic(self): method test_TestPrangeSpecific (line 125) | def test_TestPrangeSpecific(self): function null_comparer (line 137) | def null_comparer(a, b): class TestParforsBase (line 147) | class TestParforsBase(TestCase): method _compile_this (line 156) | def _compile_this(self, func, sig, **flags): method compile_parallel (line 161) | def compile_parallel(self, func, sig): method compile_parallel_fastmath (line 164) | def compile_parallel_fastmath(self, func, sig): method compile_njit (line 167) | def compile_njit(self, func, sig): method compile_all (line 170) | def compile_all(self, pyfunc, *args, **kwargs): method check_parfors_vs_others (line 181) | def check_parfors_vs_others(self, pyfunc, cfunc, cpfunc, *args, **kwar... method check (line 275) | def check(self, pyfunc, *args, **kwargs): method check_variants (line 281) | def check_variants(self, impl, arg_gen, **kwargs): method count_parfors_variants (line 288) | def count_parfors_variants(self, impl, arg_gen, **kwargs): method check_scheduling (line 298) | def check_scheduling(self, cres, scheduler_type): method gen_linspace (line 310) | def gen_linspace(self, n, ct): method gen_linspace_variants (line 321) | def gen_linspace_variants(self, ct): method _filter_mod (line 341) | def _filter_mod(self, mod, magicstr, checkstr=None): method _get_gufunc_modules (line 349) | def _get_gufunc_modules(self, cres, magicstr, checkstr=None): method _get_gufunc_info (line 364) | def _get_gufunc_info(self, cres, fn): method _get_gufunc_ir (line 374) | def _get_gufunc_ir(self, cres): method _get_gufunc_asm (line 384) | def _get_gufunc_asm(self, cres): method assert_fastmath (line 397) | def assert_fastmath(self, pyfunc, sig): function blackscholes_impl (line 436) | def blackscholes_impl(sptprice, strike, rate, volatility, timev): function lr_impl (line 452) | def lr_impl(Y, X, w, iterations): function example_kmeans_test (line 458) | def example_kmeans_test(A, numCenter, numIter, init_centroids): function get_optimized_numba_ir (line 472) | def get_optimized_numba_ir(test_func, args, **kws): function countParfors (line 537) | def countParfors(test_func, args, **kws): function countArrays (line 549) | def countArrays(test_func, args, **kws): function get_init_block_size (line 553) | def get_init_block_size(test_func, args, **kws): function _count_arrays_inner (line 566) | def _count_arrays_inner(blocks, typemap): function countArrayAllocs (line 584) | def countArrayAllocs(test_func, args, **kws): function _count_array_allocs_inner (line 593) | def _count_array_allocs_inner(func_ir, block): function countNonParforArrayAccesses (line 610) | def countNonParforArrayAccesses(test_func, args, **kws): function _count_non_parfor_array_accesses_inner (line 615) | def _count_non_parfor_array_accesses_inner(f_ir, blocks, typemap, parfor... function _uses_indices (line 649) | def _uses_indices(f_ir, index, index_set): class TestPipeline (line 661) | class TestPipeline(object): method __init__ (line 662) | def __init__(self, typingctx, targetctx, args, test_ir): class TestParforBasic (line 675) | class TestParforBasic(TestParforsBase): method __init__ (line 679) | def __init__(self, *args): method test_simple01 (line 685) | def test_simple01(self): method test_simple02 (line 692) | def test_simple02(self): method test_simple03 (line 697) | def test_simple03(self): method test_simple04 (line 702) | def test_simple04(self): method test_simple07 (line 707) | def test_simple07(self): method test_simple08 (line 712) | def test_simple08(self): method test_simple09 (line 717) | def test_simple09(self): method test_simple10 (line 722) | def test_simple10(self): method test_simple11 (line 727) | def test_simple11(self): method test_simple12 (line 732) | def test_simple12(self): method test_simple13 (line 737) | def test_simple13(self): method test_simple14 (line 744) | def test_simple14(self): method test_simple15 (line 749) | def test_simple15(self): method test_simple16 (line 754) | def test_simple16(self): method test_simple17 (line 759) | def test_simple17(self): method test_simple18 (line 765) | def test_simple18(self): method test_simple19 (line 771) | def test_simple19(self): method test_simple20 (line 777) | def test_simple20(self): method test_simple21 (line 786) | def test_simple21(self): method test_simple22 (line 791) | def test_simple22(self): method test_simple23 (line 796) | def test_simple23(self): method test_simple24 (line 803) | def test_simple24(self): method test_simple_operator_15 (line 812) | def test_simple_operator_15(self): method test_simple_operator_16 (line 820) | def test_simple_operator_16(self): method test_simple_operator_17 (line 827) | def test_simple_operator_17(self): method test_inplace_alias (line 833) | def test_inplace_alias(self): class TestParforNumericalMisc (line 847) | class TestParforNumericalMisc(TestParforsBase): method test_pi (line 850) | def test_pi(self): method test_blackscholes (line 860) | def test_blackscholes(self): method test_logistic_regression (line 866) | def test_logistic_regression(self): method test_kmeans (line 872) | def test_kmeans(self): class TestParforNumPy (line 890) | class TestParforNumPy(TestParforsBase): method test_mvdot (line 894) | def test_mvdot(self): method test_fuse_argmin_argmax_max_min (line 903) | def test_fuse_argmin_argmax_max_min(self): method test_np_random_func_direct_import (line 914) | def test_np_random_func_direct_import(self): method test_arange (line 920) | def test_arange(self): method test_arange_dtype (line 936) | def test_arange_dtype(self): method test_linspace (line 952) | def test_linspace(self): method test_mean (line 964) | def test_mean(self): method test_var (line 980) | def test_var(self): method test_std (line 998) | def test_std(self): method test_random_parfor (line 1017) | def test_random_parfor(self): method test_randoms (line 1027) | def test_randoms(self): method test_dead_randoms (line 1045) | def test_dead_randoms(self): method test_min (line 1062) | def test_min(self): method test_max (line 1099) | def test_max(self): method test_argmax (line 1136) | def test_argmax(self): method test_argmin (line 1172) | def test_argmin(self): method test_ndarray_fill (line 1208) | def test_ndarray_fill(self): method test_ndarray_fill2d (line 1217) | def test_ndarray_fill2d(self): method test_reshape_with_neg_one (line 1226) | def test_reshape_with_neg_one(self): method test_reshape_with_large_neg (line 1244) | def test_reshape_with_large_neg(self): method test_reshape_with_too_many_neg_one (line 1262) | def test_reshape_with_too_many_neg_one(self): method test_0d_array (line 1284) | def test_0d_array(self): method test_real_imag_attr (line 1289) | def test_real_imag_attr(self): class TestParforsUnsupported (line 1299) | class TestParforsUnsupported(TestCase): method test_unsupported_combination_raises (line 1303) | def test_unsupported_combination_raises(self): class TestParfors (line 1322) | class TestParfors(TestParforsBase): method test_arraymap (line 1325) | def test_arraymap(self): method test_0d_broadcast (line 1331) | def test_0d_broadcast(self): method test_2d_parfor (line 1339) | def test_2d_parfor(self): method test_nd_parfor (line 1347) | def test_nd_parfor(self): method test_np_func_direct_import (line 1361) | def test_np_func_direct_import(self): method test_size_assertion (line 1369) | def test_size_assertion(self): method test_cfg (line 1382) | def test_cfg(self): method test_reduce (line 1398) | def test_reduce(self): method test_use_of_reduction_var1 (line 1446) | def test_use_of_reduction_var1(self): method test_unsupported_floordiv1 (line 1459) | def test_unsupported_floordiv1(self): method test_unsupported_xor1 (line 1476) | def test_unsupported_xor1(self): method test_parfor_array_access1 (line 1488) | def test_parfor_array_access1(self): method test_parfor_array_access2 (line 1499) | def test_parfor_array_access2(self): method test_parfor_array_access3 (line 1519) | def test_parfor_array_access3(self): method test_parfor_array_access4 (line 1534) | def test_parfor_array_access4(self): method test_parfor_dtype_type (line 1572) | def test_parfor_dtype_type(self): method test_parfor_array_access5 (line 1582) | def test_parfor_array_access5(self): method test_parfor_hoist_setitem (line 1596) | def test_parfor_hoist_setitem(self): method test_parfor_generate_fuse (line 1607) | def test_parfor_generate_fuse(self): method test_ufunc_expr (line 1624) | def test_ufunc_expr(self): method test_find_callname_intrinsic (line 1634) | def test_find_callname_intrinsic(self): method test_reduction_var_reuse (line 1645) | def test_reduction_var_reuse(self): method test_non_identity_initial (line 1658) | def test_non_identity_initial(self): method test_if_not_else_reduction (line 1668) | def test_if_not_else_reduction(self): method test_two_d_array_reduction_reuse (line 1682) | def test_two_d_array_reduction_reuse(self): method test_one_d_array_reduction (line 1699) | def test_one_d_array_reduction(self): method test_two_d_array_reduction (line 1710) | def test_two_d_array_reduction(self): method test_two_d_array_reduction_with_float_sizes (line 1724) | def test_two_d_array_reduction_with_float_sizes(self): method test_two_d_array_reduction_prod (line 1739) | def test_two_d_array_reduction_prod(self): method test_three_d_array_reduction (line 1752) | def test_three_d_array_reduction(self): method test_preparfor_canonicalize_kws (line 1764) | def test_preparfor_canonicalize_kws(self): method test_preparfor_datetime64 (line 1773) | def test_preparfor_datetime64(self): method test_no_hoisting_with_member_function_call (line 1782) | def test_no_hoisting_with_member_function_call(self): method test_array_compare_scalar (line 1797) | def test_array_compare_scalar(self): method test_array_analysis_optional_def (line 1809) | def test_array_analysis_optional_def(self): method test_prange_side_effects (line 1821) | def test_prange_side_effects(self): method test_tuple1 (line 1839) | def test_tuple1(self): method test_tuple2 (line 1850) | def test_tuple2(self): method test_tuple3 (line 1861) | def test_tuple3(self): method test_namedtuple1 (line 1872) | def test_namedtuple1(self): method test_namedtuple2 (line 1883) | def test_namedtuple2(self): method test_namedtuple3 (line 1895) | def test_namedtuple3(self): method test_inplace_binop (line 1909) | def test_inplace_binop(self): method test_tuple_concat (line 1921) | def test_tuple_concat(self): method test_tuple_concat_with_reverse_slice (line 1936) | def test_tuple_concat_with_reverse_slice(self): method test_array_tuple_concat (line 1952) | def test_array_tuple_concat(self): method test_high_dimension1 (line 1961) | def test_high_dimension1(self): method test_tuple_arg (line 1968) | def test_tuple_arg(self): method test_tuple_arg_not_whole_array (line 1976) | def test_tuple_arg_not_whole_array(self): method test_tuple_for_pndindex (line 1984) | def test_tuple_for_pndindex(self): method test_tuple_arg_literal (line 1993) | def test_tuple_arg_literal(self): method test_tuple_of_literal_nonliteral (line 2002) | def test_tuple_of_literal_nonliteral(self): method test_tuple_arg_1d (line 2026) | def test_tuple_arg_1d(self): method test_tuple_arg_1d_literal (line 2034) | def test_tuple_arg_1d_literal(self): method test_int_arg_pndindex (line 2043) | def test_int_arg_pndindex(self): method test_prange_unknown_call1 (line 2050) | def test_prange_unknown_call1(self): method test_prange_index_calc1 (line 2071) | def test_prange_index_calc1(self): method test_prange_reverse_order1 (line 2089) | def test_prange_reverse_order1(self): method test_prange_parfor_index_then_not (line 2108) | def test_prange_parfor_index_then_not(self): method test_prange_parfor_index_const_tuple_fusion (line 2125) | def test_prange_parfor_index_const_tuple_fusion(self): method test_prange_non_parfor_index_then_opposite (line 2145) | def test_prange_non_parfor_index_then_opposite(self): method test_prange_optional (line 2164) | def test_prange_optional(self): method test_untraced_value_tuple (line 2176) | def test_untraced_value_tuple(self): method test_recursive_untraced_value_tuple (line 2186) | def test_recursive_untraced_value_tuple(self): method test_untraced_value_parfor (line 2196) | def test_untraced_value_parfor(self): method test_setitem_2d_one_replaced (line 2220) | def test_setitem_2d_one_replaced(self): method test_1array_control_flow (line 2234) | def test_1array_control_flow(self): method test_2array_1_control_flow (line 2251) | def test_2array_1_control_flow(self): method test_2array_2_control_flow (line 2266) | def test_2array_2_control_flow(self): method test_issue8515 (line 2283) | def test_issue8515(self): method test_issue9029 (line 2303) | def test_issue9029(self): method test_fusion_no_side_effects (line 2330) | def test_fusion_no_side_effects(self): method test_issue9256_lower_sroa_conflict (line 2340) | def test_issue9256_lower_sroa_conflict(self): method test_issue9256_lower_sroa_conflict_variant1 (line 2351) | def test_issue9256_lower_sroa_conflict_variant1(self): method test_issue9256_lower_sroa_conflict_variant2 (line 2364) | def test_issue9256_lower_sroa_conflict_variant2(self): method test_issue9490_non_det_ssa_problem (line 2380) | def test_issue9490_non_det_ssa_problem(self): class TestParforsLeaks (line 2406) | class TestParforsLeaks(MemoryLeakMixin, TestParforsBase): method check (line 2407) | def check(self, pyfunc, *args, **kwargs): method test_reduction (line 2411) | def test_reduction(self): method test_multiple_reduction_vars (line 2419) | def test_multiple_reduction_vars(self): class TestParforsSlice (line 2433) | class TestParforsSlice(TestParforsBase): method test_parfor_slice1 (line 2435) | def test_parfor_slice1(self): method test_parfor_slice2 (line 2443) | def test_parfor_slice2(self): method test_parfor_slice3 (line 2456) | def test_parfor_slice3(self): method test_parfor_slice4 (line 2464) | def test_parfor_slice4(self): method test_parfor_slice5 (line 2472) | def test_parfor_slice5(self): method test_parfor_slice6 (line 2480) | def test_parfor_slice6(self): method test_parfor_slice7 (line 2488) | def test_parfor_slice7(self): method test_parfor_slice8 (line 2502) | def test_parfor_slice8(self): method test_parfor_slice9 (line 2512) | def test_parfor_slice9(self): method test_parfor_slice10 (line 2522) | def test_parfor_slice10(self): method test_parfor_slice11 (line 2531) | def test_parfor_slice11(self): method test_parfor_slice12 (line 2540) | def test_parfor_slice12(self): method test_parfor_slice13 (line 2549) | def test_parfor_slice13(self): method test_parfor_slice14 (line 2559) | def test_parfor_slice14(self): method test_parfor_slice15 (line 2568) | def test_parfor_slice15(self): method test_parfor_slice16 (line 2578) | def test_parfor_slice16(self): method test_parfor_slice17 (line 2593) | def test_parfor_slice17(self): method test_parfor_slice18 (line 2602) | def test_parfor_slice18(self): method test_parfor_slice19 (line 2612) | def test_parfor_slice19(self): method test_parfor_slice20 (line 2620) | def test_parfor_slice20(self): method test_parfor_slice21 (line 2630) | def test_parfor_slice21(self): method test_parfor_slice22 (line 2640) | def test_parfor_slice22(self): method test_parfor_slice23 (line 2651) | def test_parfor_slice23(self): method test_parfor_slice24 (line 2659) | def test_parfor_slice24(self): method test_parfor_slice25 (line 2669) | def test_parfor_slice25(self): method test_parfor_slice26 (line 2679) | def test_parfor_slice26(self): method test_parfor_slice27 (line 2688) | def test_parfor_slice27(self): method test_parfor_array_access_lower_slice (line 2705) | def test_parfor_array_access_lower_slice(self): class TestParforsOptions (line 2731) | class TestParforsOptions(TestParforsBase): method test_parfor_options (line 2733) | def test_parfor_options(self): class TestParforsBitMask (line 2769) | class TestParforsBitMask(TestParforsBase): method test_parfor_bitmask1 (line 2771) | def test_parfor_bitmask1(self): method test_parfor_bitmask2 (line 2779) | def test_parfor_bitmask2(self): method test_parfor_bitmask3 (line 2788) | def test_parfor_bitmask3(self): method test_parfor_bitmask4 (line 2797) | def test_parfor_bitmask4(self): method test_parfor_bitmask5 (line 2806) | def test_parfor_bitmask5(self): method test_parfor_bitmask6 (line 2815) | def test_parfor_bitmask6(self): class TestParforsMisc (line 2831) | class TestParforsMisc(TestParforsBase): method test_no_warn_if_cache_set (line 2835) | def test_no_warn_if_cache_set(self): method test_statement_reordering_respects_aliasing (line 2863) | def test_statement_reordering_respects_aliasing(self): method test_parfor_ufunc_typing (line 2877) | def test_parfor_ufunc_typing(self): method test_init_block_dce (line 2892) | def test_init_block_dce(self): method test_alias_analysis_for_parfor1 (line 2905) | def test_alias_analysis_for_parfor1(self): method test_no_state_change_in_gufunc_lowering_on_error (line 2916) | def test_no_state_change_in_gufunc_lowering_on_error(self): method test_issue_5098 (line 2976) | def test_issue_5098(self): method test_oversized_tuple_as_arg_to_kernel (line 3029) | def test_oversized_tuple_as_arg_to_kernel(self): method test_issue5167 (line 3047) | def test_issue5167(self): method test_issue5065 (line 3064) | def test_issue5065(self): method test_issue5001 (line 3089) | def test_issue5001(self): method test_issue3169 (line 3100) | def test_issue3169(self): method test_issue4846 (line 3115) | def test_issue4846(self): method test_issue3748 (line 3133) | def test_issue3748(self): method test_issue5277 (line 3144) | def test_issue5277(self): method test_issue5570_ssa_races (line 3157) | def test_issue5570_ssa_races(self): method test_issue6095_numpy_max (line 3176) | def test_issue6095_numpy_max(self): method test_issue5942_1 (line 3191) | def test_issue5942_1(self): method test_issue5942_2 (line 3210) | def test_issue5942_2(self): method test_issue6102 (line 3230) | def test_issue6102(self): method test_issue6774 (line 3249) | def test_issue6774(self): method test_issue4963_globals (line 3261) | def test_issue4963_globals(self): method test_issue4963_freevars (line 3267) | def test_issue4963_freevars(self): method test_issue_9182_recursion_error (line 3275) | def test_issue_9182_recursion_error(self): method test_lookup_cycle_detection (line 3314) | def test_lookup_cycle_detection(self): method test_issue_9678_build_map (line 3330) | def test_issue_9678_build_map(self): class TestParforsDiagnostics (line 3349) | class TestParforsDiagnostics(TestParforsBase): method check (line 3351) | def check(self, pyfunc, *args, **kwargs): method assert_fusion_equivalence (line 3355) | def assert_fusion_equivalence(self, got, expected): method _fusion_equivalent (line 3360) | def _fusion_equivalent(self, thing): method assert_diagnostics (line 3374) | def assert_diagnostics(self, diagnostics, parfors_count=None, method test_array_expr (line 3403) | def test_array_expr(self): method test_prange (line 3416) | def test_prange(self): method test_user_varname (line 3429) | def test_user_varname(self): method test_nested_prange (line 3451) | def test_nested_prange(self): method test_function_replacement (line 3466) | def test_function_replacement(self): method test_reduction (line 3480) | def test_reduction(self): method test_reduction_binop (line 3494) | def test_reduction_binop(self): method test_setitem (line 3508) | def test_setitem(self): method test_allocation_hoisting (line 3520) | def test_allocation_hoisting(self): class TestPrangeBase (line 3538) | class TestPrangeBase(TestParforsBase): method generate_prange_func (line 3540) | def generate_prange_func(self, pyfunc, patch_instance): method prange_tester (line 3594) | def prange_tester(self, pyfunc, *args, **kwargs): class TestPrangeBasic (line 3690) | class TestPrangeBasic(TestPrangeBase): method test_prange01 (line 3693) | def test_prange01(self): method test_prange02 (line 3703) | def test_prange02(self): method test_prange03 (line 3713) | def test_prange03(self): method test_prange03mul (line 3722) | def test_prange03mul(self): method test_prange03sub (line 3731) | def test_prange03sub(self): method test_prange03div (line 3740) | def test_prange03div(self): method test_prange04 (line 3749) | def test_prange04(self): method test_prange05 (line 3763) | def test_prange05(self): method test_prange06 (line 3774) | def test_prange06(self): method test_prange07 (line 3785) | def test_prange07(self): method test_prange08 (line 3796) | def test_prange08(self): method test_prange08_1 (line 3808) | def test_prange08_1(self): method test_prange09 (line 3820) | def test_prange09(self): method test_prange10 (line 3833) | def test_prange10(self): method test_prange11 (line 3849) | def test_prange11(self): method test_prange12 (line 3856) | def test_prange12(self): method test_prange13 (line 3867) | def test_prange13(self): method test_prange14 (line 3876) | def test_prange14(self): method test_prange15 (line 3889) | def test_prange15(self): method test_prange16 (line 3902) | def test_prange16(self): method test_prange17 (line 3911) | def test_prange17(self): method test_prange18 (line 3921) | def test_prange18(self): method test_prange19 (line 3933) | def test_prange19(self): method test_prange20 (line 3945) | def test_prange20(self): method test_prange21 (line 3955) | def test_prange21(self): method test_prange22 (line 3964) | def test_prange22(self): method test_prange23 (line 3980) | def test_prange23(self): method test_prange24 (line 3990) | def test_prange24(self): method test_prange25 (line 4000) | def test_prange25(self): method test_prange26 (line 4017) | def test_prange26(self): method test_prange27 (line 4027) | def test_prange27(self): method test_prange28 (line 4044) | def test_prange28(self): method test_prange29 (line 4074) | def test_prange29(self): method test_prange30 (line 4089) | def test_prange30(self): function test_call_hoisting_outcall (line 4111) | def test_call_hoisting_outcall(a,b): class TestPrangeSpecific (line 4116) | class TestPrangeSpecific(TestPrangeBase): method test_prange_two_instances_same_reduction_var (line 4119) | def test_prange_two_instances_same_reduction_var(self): method test_prange_conflicting_reduction_ops (line 4130) | def test_prange_conflicting_reduction_ops(self): method test_prange_two_conditional_reductions (line 4145) | def test_prange_two_conditional_reductions(self): method test_prange_nested_reduction1 (line 4159) | def test_prange_nested_reduction1(self): method test_check_error_model (line 4170) | def test_check_error_model(self): method test_check_alias_analysis (line 4194) | def test_check_alias_analysis(self): method test_prange_raises_invalid_step_size (line 4218) | def test_prange_raises_invalid_step_size(self): method test_prange_fastmath_check_works (line 4231) | def test_prange_fastmath_check_works(self): method test_parfor_alias1 (line 4267) | def test_parfor_alias1(self): method test_parfor_alias2 (line 4276) | def test_parfor_alias2(self): method test_parfor_alias3 (line 4286) | def test_parfor_alias3(self): method test_parfor_race_1 (line 4298) | def test_parfor_race_1(self): method test_nested_parfor_push_call_vars (line 4310) | def test_nested_parfor_push_call_vars(self): method test_copy_global_for_parfor (line 4331) | def test_copy_global_for_parfor(self): method test_multiple_call_getattr_object (line 4354) | def test_multiple_call_getattr_object(self): method test_argument_alias_recarray_field (line 4365) | def test_argument_alias_recarray_field(self): method test_mutable_list_param (line 4387) | def test_mutable_list_param(self): method test_list_comprehension_prange (line 4414) | def test_list_comprehension_prange(self): method test_ssa_false_reduction (line 4421) | def test_ssa_false_reduction(self): method test_list_setitem_hoisting (line 4441) | def test_list_setitem_hoisting(self): method test_tuple_hoisting (line 4455) | def test_tuple_hoisting(self): method test_call_hoisting (line 4469) | def test_call_hoisting(self): method test_record_array_setitem (line 4483) | def test_record_array_setitem(self): method test_record_array_setitem_yield_array (line 4498) | def test_record_array_setitem_yield_array(self): method test_issue7501 (line 4516) | def test_issue7501(self): method test_kde_example (line 4529) | def test_kde_example(self): method test_issue7578 (line 4549) | def test_issue7578(self): class TestParforChunksizing (line 4563) | class TestParforChunksizing(TestCase): method setUp (line 4569) | def setUp(self): method tearDown (line 4572) | def tearDown(self): method test_python_parallel_chunksize_basic (line 4575) | def test_python_parallel_chunksize_basic(self): method test_python_with_chunksize (line 4583) | def test_python_with_chunksize(self): method test_njit_parallel_chunksize_basic (line 4590) | def test_njit_parallel_chunksize_basic(self): method test_njit_with_chunksize (line 4606) | def test_njit_with_chunksize(self): method test_all_iterations_reset_chunksize (line 4622) | def test_all_iterations_reset_chunksize(self): method test_njit_parallel_chunksize_negative (line 4646) | def test_njit_parallel_chunksize_negative(self): method test_python_parallel_chunksize_negative (line 4658) | def test_python_parallel_chunksize_negative(self): method test_njit_parallel_chunksize_invalid_type (line 4666) | def test_njit_parallel_chunksize_invalid_type(self): method test_python_parallel_chunksize_invalid_type (line 4677) | def test_python_parallel_chunksize_invalid_type(self): class TestParforsVectorizer (line 4687) | class TestParforsVectorizer(TestPrangeBase): method get_gufunc_asm (line 4692) | def get_gufunc_asm(self, func, schedule_type, *args, **kwargs): method test_vectorizer_fastmath_asm (line 4731) | def test_vectorizer_fastmath_asm(self): method test_unsigned_refusal_to_vectorize (line 4772) | def test_unsigned_refusal_to_vectorize(self): method test_signed_vs_unsigned_vec_asm (line 4819) | def test_signed_vs_unsigned_vec_asm(self): class TestParforReductionSetNumThreads (line 4884) | class TestParforReductionSetNumThreads(TestCase): method test_add (line 4887) | def test_add(self): method test_mul (line 4907) | def test_mul(self): method test_max (line 4929) | def test_max(self): class TestDiagnosticEnvVar (line 4951) | class TestDiagnosticEnvVar(TestCase): method test_diagnostics_env_var1 (line 4953) | def test_diagnostics_env_var1(self): FILE: numba/tests/test_parfors_caching.py class TestParforsCache (line 12) | class TestParforsCache(DispatcherCacheUsecasesTest): method run_test (line 17) | def run_test(self, fname, num_funcs=1): method test_arrayexprs (line 35) | def test_arrayexprs(self): method test_prange (line 39) | def test_prange(self): method test_caller (line 43) | def test_caller(self): class TestParforsCacheChangingThreads (line 51) | class TestParforsCacheChangingThreads(DispatcherCacheUsecasesTest): method run_in_separate_process (line 59) | def run_in_separate_process(self, thread_count): method test_caching (line 78) | def test_caching(self): FILE: numba/tests/test_parfors_passes.py class MyPipeline (line 26) | class MyPipeline(object): method __init__ (line 27) | def __init__(self, typingctx, targetctx, args, test_ir): class BaseTest (line 39) | class BaseTest(TestCase): method _run_parfor (line 41) | def _run_parfor(cls, test_func, args, swap_map=None): method run_parfor_sub_pass (line 93) | def run_parfor_sub_pass(cls, test_func, args): method run_parfor_pre_pass (line 117) | def run_parfor_pre_pass(cls, test_func, args, swap_map=None): method _run_parallel (line 123) | def _run_parallel(self, func, *args, **kwargs): method run_parallel (line 129) | def run_parallel(self, func, *args, **kwargs): method run_parallel_check_output_array (line 136) | def run_parallel_check_output_array(self, func, *args, **kwargs): method check_records (line 146) | def check_records(self, records): class TestConvertSetItemPass (line 151) | class TestConvertSetItemPass(BaseTest): method test_setitem_full_slice (line 154) | def test_setitem_full_slice(self): method test_setitem_slice_stop_bound (line 169) | def test_setitem_slice_stop_bound(self): method test_setitem_slice_start_bound (line 184) | def test_setitem_slice_start_bound(self): method test_setitem_gather_if_scalar (line 199) | def test_setitem_gather_if_scalar(self): method test_setitem_gather_if_array (line 215) | def test_setitem_gather_if_array(self): class TestConvertNumpyPass (line 233) | class TestConvertNumpyPass(BaseTest): method check_numpy_allocators (line 236) | def check_numpy_allocators(self, fn): method check_numpy_random (line 250) | def check_numpy_random(self, fn): method test_numpy_allocators (line 264) | def test_numpy_allocators(self): method test_numpy_random (line 270) | def test_numpy_random(self): method test_numpy_arrayexpr (line 276) | def test_numpy_arrayexpr(self): method test_numpy_arrayexpr_ufunc (line 293) | def test_numpy_arrayexpr_ufunc(self): method test_numpy_arrayexpr_boardcast (line 310) | def test_numpy_arrayexpr_boardcast(self): method test_numpy_arrayexpr_reshaped (line 328) | def test_numpy_arrayexpr_reshaped(self): class TestConvertReducePass (line 348) | class TestConvertReducePass(BaseTest): method test_reduce_max_basic (line 351) | def test_reduce_max_basic(self): method test_reduce_max_masked (line 367) | def test_reduce_max_masked(self): class TestConvertLoopPass (line 384) | class TestConvertLoopPass(BaseTest): method test_prange_reduce_simple (line 387) | def test_prange_reduce_simple(self): method test_prange_map_simple (line 403) | def test_prange_map_simple(self): method test_prange_two_args (line 419) | def test_prange_two_args(self): method test_prange_three_args (line 435) | def test_prange_three_args(self): method test_prange_map_inner_loop (line 450) | def test_prange_map_inner_loop(self): method test_prange_map_nested_prange (line 467) | def test_prange_map_nested_prange(self): method test_prange_map_none_index (line 484) | def test_prange_map_none_index(self): method test_prange_map_overwrite_index (line 501) | def test_prange_map_overwrite_index(self): method test_init_prange (line 517) | def test_init_prange(self): method test_pndindex (line 535) | def test_pndindex(self): method test_numpy_sum (line 553) | def test_numpy_sum(self): method test_numpy_sum_bool_array_masked (line 569) | def test_numpy_sum_bool_array_masked(self): method test_numpy_sum_int_array_masked (line 586) | def test_numpy_sum_int_array_masked(self): method test_numpy_fill_method (line 604) | def test_numpy_fill_method(self): class TestPreParforPass (line 623) | class TestPreParforPass(BaseTest): class sub_pass_class (line 624) | class sub_pass_class: method __init__ (line 625) | def __init__(self, pass_states): method run (line 628) | def run(self, blocks): method test_dtype_conversion (line 631) | def test_dtype_conversion(self): method test_sum_replacement (line 646) | def test_sum_replacement(self): method test_replacement_map (line 659) | def test_replacement_map(self): FILE: numba/tests/test_pipeline.py class TestCustomPipeline (line 12) | class TestCustomPipeline(TestCase): method setUp (line 13) | def setUp(self): method test_jit_custom_pipeline (line 33) | def test_jit_custom_pipeline(self): method test_cfunc_custom_pipeline (line 44) | def test_cfunc_custom_pipeline(self): method test_objmode_custom_pipeline (line 55) | def test_objmode_custom_pipeline(self): class TestPassManagerFunctionality (line 76) | class TestPassManagerFunctionality(TestCase): method _create_pipeline_w_del (line 78) | def _create_pipeline_w_del(self, base=None, inject_after=None): method test_compiler_error_on_ir_del_from_functionpass (line 111) | def test_compiler_error_on_ir_del_from_functionpass(self): method test_no_compiler_error_on_ir_del_after_legalization (line 127) | def test_no_compiler_error_on_ir_del_after_legalization(self): FILE: numba/tests/test_polynomial.py function roots_fn (line 14) | def roots_fn(p): function polyadd (line 18) | def polyadd(c1,c2): function polysub (line 22) | def polysub(c1,c2): function polymul (line 26) | def polymul(c1,c2): function trimseq (line 30) | def trimseq(seq): function polyasseries1 (line 34) | def polyasseries1(a): function polyasseries2 (line 39) | def polyasseries2(a, trim): function polydiv (line 44) | def polydiv(c1, c2): function polyval2 (line 49) | def polyval2(x, c): function polyval3T (line 54) | def polyval3T(x, c): function polyval3F (line 59) | def polyval3F(x, c): function polyint (line 64) | def polyint(c, m=1): class TestPolynomialBase (line 69) | class TestPolynomialBase(EnableNRTStatsMixin, TestCase): method setUp (line 77) | def setUp(self): method assert_error (line 82) | def assert_error(self, cfunc, args, msg, err=ValueError): method assert_1d_input (line 87) | def assert_1d_input(self, cfunc, args): class TestPoly1D (line 92) | class TestPoly1D(TestPolynomialBase): method assert_no_domain_change (line 94) | def assert_no_domain_change(self, name, cfunc, args): method test_roots (line 99) | def test_roots(self): class TestPolynomial (line 174) | class TestPolynomial(MemoryLeakMixin, TestCase): method test_trimseq_basic (line 180) | def test_trimseq_basic(self): method test_trimseq_exception (line 191) | def test_trimseq_exception(self): method test_pu_as_series_basic (line 211) | def test_pu_as_series_basic(self): method test_pu_as_series_exception (line 236) | def test_pu_as_series_exception(self): method _test_polyarithm_basic (line 283) | def _test_polyarithm_basic(self, pyfunc, ignore_sign_on_zero=False): method _test_polyarithm_exception (line 312) | def _test_polyarithm_exception(self, pyfunc): method test_polyadd_basic (line 338) | def test_polyadd_basic(self): method test_polyadd_exception (line 341) | def test_polyadd_exception(self): method test_polysub_basic (line 344) | def test_polysub_basic(self): method test_polysub_exception (line 347) | def test_polysub_exception(self): method test_polymul_basic (line 350) | def test_polymul_basic(self): method test_polymul_exception (line 353) | def test_polymul_exception(self): method test_poly_polydiv_basic (line 356) | def test_poly_polydiv_basic(self): method test_poly_polydiv_exception (line 378) | def test_poly_polydiv_exception(self): method test_poly_polyval_basic (line 386) | def test_poly_polyval_basic(self): method test_poly_polyval_exception (line 421) | def test_poly_polyval_exception(self): method test_poly_polyint_basic (line 467) | def test_poly_polyint_basic(self): method test_poly_polyint_exception (line 494) | def test_poly_polyint_exception(self): method test_Polynomial_constructor (line 523) | def test_Polynomial_constructor(self): method test_Polynomial_exeption (line 552) | def test_Polynomial_exeption(self): FILE: numba/tests/test_practical_lowering_issues.py function issue7507_lround (line 15) | def issue7507_lround(a): class TestLowering (line 20) | class TestLowering(MemoryLeakMixin, TestCase): method test_issue4156_loop_vars_leak (line 21) | def test_issue4156_loop_vars_leak(self): method test_issue4156_loop_vars_leak_variant1 (line 49) | def test_issue4156_loop_vars_leak_variant1(self): method test_issue4156_loop_vars_leak_variant2 (line 72) | def test_issue4156_loop_vars_leak_variant2(self): method test_issue4156_loop_vars_leak_variant3 (line 96) | def test_issue4156_loop_vars_leak_variant3(self): method test_issue4156_loop_vars_leak_variant4 (line 120) | def test_issue4156_loop_vars_leak_variant4(self): method test_issue_with_literal_in_static_getitem (line 141) | def test_issue_with_literal_in_static_getitem(self): method test_issue7507 (line 184) | def test_issue7507(self): FILE: numba/tests/test_print.py function print_value (line 11) | def print_value(x): function print_array_item (line 14) | def print_array_item(arr, i): function print_values (line 17) | def print_values(a, b, c): function print_empty (line 20) | def print_empty(): function print_string (line 23) | def print_string(x): function print_vararg (line 26) | def print_vararg(a, b, c): function print_string_vararg (line 29) | def print_string_vararg(a, b, c): function make_print_closure (line 32) | def make_print_closure(x): class TestPrint (line 38) | class TestPrint(EnableNRTStatsMixin, TestCase): method check_values (line 40) | def check_values(self, typ, values): method test_print_values (line 47) | def test_print_values(self): method test_print_nrt_type (line 81) | def test_print_nrt_type(self): method test_print_array_item (line 93) | def test_print_array_item(self): method test_print_multiple_values (line 107) | def test_print_multiple_values(self): method test_print_nogil (line 114) | def test_print_nogil(self): method test_print_empty (line 121) | def test_print_empty(self): method test_print_strings (line 128) | def test_print_strings(self): method test_print_vararg (line 135) | def test_print_vararg(self): method test_inner_fn_print (line 150) | def test_inner_fn_print(self): method test_print_w_kwarg_raises (line 167) | def test_print_w_kwarg_raises(self): method test_print_no_truncation (line 178) | def test_print_no_truncation(self): FILE: numba/tests/test_profiler.py function generate_standard_dot_case (line 14) | def generate_standard_dot_case(): function generate_raising_dot_case (line 27) | def generate_raising_dot_case(): function np_dot (line 48) | def np_dot(a, b): class TestProfiler (line 52) | class TestProfiler(unittest.TestCase): method check_profiler_dot (line 54) | def check_profiler_dot(self, caller, cfunc): method test_profiler (line 89) | def test_profiler(self): method test_profiler_for_raising_function (line 93) | def test_profiler_for_raising_function(self): method test_profiler_np_dot (line 98) | def test_profiler_np_dot(self): method test_issue_3229 (line 121) | def test_issue_3229(self): FILE: numba/tests/test_pycc.py function unset_macosx_deployment_target (line 31) | def unset_macosx_deployment_target(): class TestCompilerChecks (line 41) | class TestCompilerChecks(TestCase): method test_windows_compiler_validity (line 45) | def test_windows_compiler_validity(self): class BasePYCCTest (line 60) | class BasePYCCTest(TestCase): method setUp (line 62) | def setUp(self): method tearDown (line 70) | def tearDown(self): method check_c_ext (line 82) | def check_c_ext(self, extdir, name): class TestCC (line 95) | class TestCC(BasePYCCTest): method setUp (line 97) | def setUp(self): method check_cc_compiled (line 105) | def check_cc_compiled(self, cc): method check_cc_compiled_in_subprocess (line 113) | def check_cc_compiled_in_subprocess(self, lib, code): method test_cc_properties (line 133) | def test_cc_properties(self): method test_compile (line 152) | def test_compile(self): method check_compile_for_cpu (line 164) | def check_compile_for_cpu(self, cpu_name): method test_compile_for_cpu (line 173) | def test_compile_for_cpu(self): method test_compile_for_cpu_host (line 177) | def test_compile_for_cpu_host(self): method test_compile_helperlib (line 181) | def test_compile_helperlib(self): method test_compile_nrt (line 213) | def test_compile_nrt(self): method test_hashing (line 245) | def test_hashing(self): method test_c_extension_usecase (line 261) | def test_c_extension_usecase(self): method test_dynamic_exc (line 269) | def test_dynamic_exc(self): class TestDistutilsSupport (line 312) | class TestDistutilsSupport(TestCase): method setUp (line 314) | def setUp(self): method check_setup_py (line 327) | def check_setup_py(self, setup_py_file): method check_setup_nested_py (line 359) | def check_setup_nested_py(self, setup_py_file): method test_setup_py_distutils (line 391) | def test_setup_py_distutils(self): method test_setup_py_distutils_nested (line 394) | def test_setup_py_distutils_nested(self): method test_setup_py_setuptools (line 397) | def test_setup_py_setuptools(self): method test_setup_py_setuptools_nested (line 400) | def test_setup_py_setuptools_nested(self): FILE: numba/tests/test_python_int.py function return_int (line 10) | def return_int(a, b): class TestPythonInt (line 14) | class TestPythonInt(unittest.TestCase): method test_int_return_type (line 19) | def test_int_return_type(self, flags=force_pyobj_flags, method test_int_return_type_npm (line 28) | def test_int_return_type_npm(self): method test_unsigned_int_return_type (line 31) | def test_unsigned_int_return_type(self, flags=force_pyobj_flags): method test_unsigned_int_return_type_npm (line 34) | def test_unsigned_int_return_type_npm(self): method test_long_int_return_type (line 37) | def test_long_int_return_type(self, flags=force_pyobj_flags): method test_long_int_return_type_npm (line 42) | def test_long_int_return_type_npm(self): method test_longer_int_return_type (line 45) | def test_longer_int_return_type(self, flags=force_pyobj_flags): FILE: numba/tests/test_pythonapi.py function _pyapi_bytes_as_string (line 10) | def _pyapi_bytes_as_string(typingctx, csrc, size): function PyBytes_AsString (line 21) | def PyBytes_AsString(uni): function _pyapi_bytes_as_string_and_size (line 29) | def _pyapi_bytes_as_string_and_size(typingctx, csrc, size): function PyBytes_AsStringAndSize (line 49) | def PyBytes_AsStringAndSize(uni): class TestPythonAPI (line 53) | class TestPythonAPI(unittest.TestCase): method test_PyBytes_AsString (line 55) | def test_PyBytes_AsString(self): method test_PyBytes_AsStringAndSize (line 68) | def test_PyBytes_AsStringAndSize(self): class PythonAPIEmptyArgs (line 82) | class PythonAPIEmptyArgs(unittest.TestCase): method test_empty_args (line 83) | def test_empty_args(self): FILE: numba/tests/test_random.py function get_py_state_ptr (line 28) | def get_py_state_ptr(): function get_np_state_ptr (line 31) | def get_np_state_ptr(): function numpy_randint1 (line 35) | def numpy_randint1(a): function numpy_randint2 (line 38) | def numpy_randint2(a, b): function random_randint (line 41) | def random_randint(a, b): function random_randrange1 (line 44) | def random_randrange1(a): function random_randrange2 (line 47) | def random_randrange2(a, b): function random_randrange3 (line 50) | def random_randrange3(a, b, c): function numpy_choice1 (line 53) | def numpy_choice1(a): function numpy_choice2 (line 56) | def numpy_choice2(a, size): function numpy_choice3 (line 59) | def numpy_choice3(a, size, replace): function numpy_multinomial2 (line 62) | def numpy_multinomial2(n, pvals): function numpy_multinomial3 (line 65) | def numpy_multinomial3(n, pvals, size): function numpy_dirichlet (line 68) | def numpy_dirichlet(alpha, size): function numpy_dirichlet_default (line 71) | def numpy_dirichlet_default(alpha): function numpy_noncentral_chisquare (line 74) | def numpy_noncentral_chisquare(df, nonc, size): function numpy_noncentral_chisquare_default (line 77) | def numpy_noncentral_chisquare_default(df, nonc): function numpy_check_rand (line 80) | def numpy_check_rand(seed, a, b): function numpy_check_randn (line 87) | def numpy_check_randn(seed, a, b): function jit_with_args (line 94) | def jit_with_args(name, argstring): function jit_with_kwargs (line 101) | def jit_with_kwargs(name, kwarg_list): function jit_nullary (line 111) | def jit_nullary(name): function jit_unary (line 114) | def jit_unary(name): function jit_binary (line 117) | def jit_binary(name): function jit_ternary (line 120) | def jit_ternary(name): function _copy_py_state (line 133) | def _copy_py_state(r, ptr): function _copy_np_state (line 142) | def _copy_np_state(r, ptr): function sync_to_numpy (line 150) | def sync_to_numpy(r): function py_chisquare (line 167) | def py_chisquare(r, df): function py_f (line 170) | def py_f(r, num, denom): class BaseTest (line 175) | class BaseTest(TestCase): method _follow_cpython (line 177) | def _follow_cpython(self, ptr, seed=2): method _follow_numpy (line 182) | def _follow_numpy(self, ptr, seed=2): class TestInternals (line 188) | class TestInternals(BaseTest): method _check_get_set_state (line 193) | def _check_get_set_state(self, ptr): method _check_shuffle (line 205) | def _check_shuffle(self, ptr): method _check_init (line 218) | def _check_init(self, ptr): method _check_perturb (line 232) | def _check_perturb(self, ptr): method test_get_set_state (line 243) | def test_get_set_state(self): method test_shuffle (line 246) | def test_shuffle(self): method test_init (line 249) | def test_init(self): method test_perturb (line 252) | def test_perturb(self): class TestRandom (line 256) | class TestRandom(BaseTest): method _check_random_seed (line 263) | def _check_random_seed(self, seedfunc, randomfunc): method test_random_random (line 277) | def test_random_random(self): method test_numpy_random (line 280) | def test_numpy_random(self): method _check_random_sized (line 288) | def _check_random_sized(self, seedfunc, randomfunc): method test_numpy_random_sized (line 298) | def test_numpy_random_sized(self): method test_independent_generators (line 304) | def test_independent_generators(self): method _check_getrandbits (line 317) | def _check_getrandbits(self, func, ptr): method test_random_getrandbits (line 331) | def test_random_getrandbits(self): method _check_dist (line 339) | def _check_dist(self, func, pyfunc, argslist, niters=3, method _check_dist_kwargs (line 349) | def _check_dist_kwargs(self, func, pyfunc, kwargslist, niters=3, method _check_gauss (line 359) | def _check_gauss(self, func2, func1, func0, ptr): method test_random_gauss (line 374) | def test_random_gauss(self): method test_random_normalvariate (line 377) | def test_random_normalvariate(self): method test_numpy_normal (line 383) | def test_numpy_normal(self): method test_numpy_standard_normal (line 389) | def test_numpy_standard_normal(self): method test_numpy_randn (line 393) | def test_numpy_randn(self): method _check_lognormvariate (line 397) | def _check_lognormvariate(self, func2, func1, func0, ptr): method test_random_lognormvariate (line 412) | def test_random_lognormvariate(self): method test_numpy_lognormal (line 416) | def test_numpy_lognormal(self): method _check_randrange (line 422) | def _check_randrange(self, func1, func2, func3, ptr, max_width, is_num... method test_random_randrange (line 458) | def test_random_randrange(self): method test_numpy_randint (line 466) | def test_numpy_randint(self): method _check_randint (line 474) | def _check_randint(self, func, ptr, max_width): method test_random_randint (line 493) | def test_random_randint(self): method _check_uniform (line 498) | def _check_uniform(self, func, ptr): method _check_any_distrib_kwargs (line 507) | def _check_any_distrib_kwargs(self, func, ptr, distrib, paramlist): method test_random_uniform (line 519) | def test_random_uniform(self): method test_numpy_uniform (line 522) | def test_numpy_uniform(self): method test_numpy_uniform_kwargs (line 525) | def test_numpy_uniform_kwargs(self): method test_numpy_uniform_empty_size (line 534) | def test_numpy_uniform_empty_size(self): method _check_triangular (line 546) | def _check_triangular(self, func2, func3, ptr): method test_random_triangular (line 557) | def test_random_triangular(self): method test_numpy_triangular (line 562) | def test_numpy_triangular(self): method _check_gammavariate (line 567) | def _check_gammavariate(self, func2, func1, ptr): method test_random_gammavariate (line 588) | def test_random_gammavariate(self): method test_numpy_gamma (line 592) | def test_numpy_gamma(self): method _check_betavariate (line 600) | def _check_betavariate(self, func, ptr): method test_random_betavariate (line 613) | def test_random_betavariate(self): method test_numpy_beta (line 616) | def test_numpy_beta(self): method _check_vonmisesvariate (line 619) | def _check_vonmisesvariate(self, func, ptr): method test_random_vonmisesvariate (line 626) | def test_random_vonmisesvariate(self): method test_numpy_vonmises (line 630) | def test_numpy_vonmises(self): method _check_expovariate (line 634) | def _check_expovariate(self, func, ptr): method test_random_expovariate (line 645) | def test_random_expovariate(self): method _check_exponential (line 648) | def _check_exponential(self, func1, func0, ptr): method test_numpy_exponential (line 658) | def test_numpy_exponential(self): method test_numpy_standard_exponential (line 663) | def test_numpy_standard_exponential(self): method _check_paretovariate (line 668) | def _check_paretovariate(self, func, ptr): method test_random_paretovariate (line 676) | def test_random_paretovariate(self): method test_numpy_pareto (line 679) | def test_numpy_pareto(self): method _check_weibullvariate (line 684) | def _check_weibullvariate(self, func2, func1, ptr): method test_random_weibullvariate (line 697) | def test_random_weibullvariate(self): method test_numpy_weibull (line 701) | def test_numpy_weibull(self): method test_numpy_binomial (line 705) | def test_numpy_binomial(self): method test_numpy_chisquare (line 730) | def test_numpy_chisquare(self): method test_numpy_f (line 737) | def test_numpy_f(self): method test_numpy_geometric (line 743) | def test_numpy_geometric(self): method test_numpy_gumbel (line 765) | def test_numpy_gumbel(self): method test_numpy_gumbel_kwargs (line 770) | def test_numpy_gumbel_kwargs(self): method test_numpy_hypergeometric (line 779) | def test_numpy_hypergeometric(self): method test_numpy_laplace (line 798) | def test_numpy_laplace(self): method test_numpy_logistic (line 806) | def test_numpy_logistic(self): method test_numpy_logseries (line 814) | def test_numpy_logseries(self): method test_numpy_poisson (line 830) | def test_numpy_poisson(self): method test_numpy_negative_binomial (line 839) | def test_numpy_negative_binomial(self): method test_numpy_power (line 860) | def test_numpy_power(self): method test_numpy_rayleigh (line 868) | def test_numpy_rayleigh(self): method test_numpy_standard_cauchy (line 878) | def test_numpy_standard_cauchy(self): method test_numpy_standard_t (line 883) | def test_numpy_standard_t(self): method test_numpy_wald (line 893) | def test_numpy_wald(self): method test_numpy_wald_kwargs (line 902) | def test_numpy_wald_kwargs(self): method test_numpy_zipf (line 914) | def test_numpy_zipf(self): method _check_shuffle (line 921) | def _check_shuffle(self, func, ptr, is_numpy): method test_random_shuffle (line 948) | def test_random_shuffle(self): method test_numpy_shuffle (line 951) | def test_numpy_shuffle(self): method _check_startup_randomness (line 954) | def _check_startup_randomness(self, func_name, func_args): method test_random_random_startup (line 974) | def test_random_random_startup(self): method test_random_gauss_startup (line 977) | def test_random_gauss_startup(self): method test_numpy_random_startup (line 980) | def test_numpy_random_startup(self): method test_numpy_gauss_startup (line 983) | def test_numpy_gauss_startup(self): method test_numpy_random_permutation (line 986) | def test_numpy_random_permutation(self): class TestRandomArrays (line 1008) | class TestRandomArrays(BaseTest): method _compile_array_dist (line 1013) | def _compile_array_dist(self, funcname, nargs): method _check_array_dist (line 1018) | def _check_array_dist(self, funcname, scalar_args): method _check_array_dist_gamma (line 1039) | def _check_array_dist_gamma(self, funcname, scalar_args, extra_pyfunc... method _check_array_dist_self (line 1063) | def _check_array_dist_self(self, funcname, scalar_args): method test_numpy_randint (line 1102) | def test_numpy_randint(self): method test_numpy_random_random (line 1118) | def test_numpy_random_random(self): method test_numpy_beta (line 1138) | def test_numpy_beta(self): method test_numpy_binomial (line 1141) | def test_numpy_binomial(self): method test_numpy_chisquare (line 1144) | def test_numpy_chisquare(self): method test_numpy_exponential (line 1147) | def test_numpy_exponential(self): method test_numpy_f (line 1150) | def test_numpy_f(self): method test_numpy_gamma (line 1153) | def test_numpy_gamma(self): method test_numpy_geometric (line 1156) | def test_numpy_geometric(self): method test_numpy_gumbel (line 1159) | def test_numpy_gumbel(self): method test_numpy_hypergeometric (line 1162) | def test_numpy_hypergeometric(self): method test_numpy_laplace (line 1165) | def test_numpy_laplace(self): method test_numpy_logistic (line 1168) | def test_numpy_logistic(self): method test_numpy_lognormal (line 1171) | def test_numpy_lognormal(self): method test_numpy_logseries (line 1174) | def test_numpy_logseries(self): method test_numpy_normal (line 1177) | def test_numpy_normal(self): method test_numpy_pareto (line 1180) | def test_numpy_pareto(self): method test_numpy_poisson (line 1183) | def test_numpy_poisson(self): method test_numpy_power (line 1186) | def test_numpy_power(self): method test_numpy_rand (line 1189) | def test_numpy_rand(self): method test_numpy_randn (line 1195) | def test_numpy_randn(self): method test_numpy_rayleigh (line 1201) | def test_numpy_rayleigh(self): method test_numpy_standard_cauchy (line 1204) | def test_numpy_standard_cauchy(self): method test_numpy_standard_exponential (line 1207) | def test_numpy_standard_exponential(self): method test_numpy_standard_gamma (line 1210) | def test_numpy_standard_gamma(self): method test_numpy_standard_normal (line 1213) | def test_numpy_standard_normal(self): method test_numpy_triangular (line 1216) | def test_numpy_triangular(self): method test_numpy_uniform (line 1219) | def test_numpy_uniform(self): method test_numpy_wald (line 1222) | def test_numpy_wald(self): method test_numpy_vonmises (line 1225) | def test_numpy_vonmises(self): method test_numpy_zipf (line 1228) | def test_numpy_zipf(self): class TestRandomChoice (line 1232) | class TestRandomChoice(BaseTest): method _check_results (line 1237) | def _check_results(self, pop, res, replace=True): method _check_dist (line 1254) | def _check_dist(self, pop, samples): method _accumulate_array_results (line 1268) | def _accumulate_array_results(self, func, nresults): method _check_choice_1 (line 1278) | def _check_choice_1(self, a, pop): method test_choice_scalar_1 (line 1289) | def test_choice_scalar_1(self): method test_choice_array_1 (line 1297) | def test_choice_array_1(self): method _check_array_results (line 1304) | def _check_array_results(self, func, pop, replace=True): method _check_choice_2 (line 1314) | def _check_choice_2(self, a, pop): method test_choice_scalar_2 (line 1332) | def test_choice_scalar_2(self): method test_choice_array_2 (line 1340) | def test_choice_array_2(self): method _check_choice_3 (line 1347) | def _check_choice_3(self, a, pop): method test_choice_scalar_3 (line 1377) | def test_choice_scalar_3(self): method test_choice_array_3 (line 1385) | def test_choice_array_3(self): method test_choice_follows_seed (line 1392) | def test_choice_follows_seed(self): class TestRandomMultinomial (line 1414) | class TestRandomMultinomial(BaseTest): method _check_sample (line 1422) | def _check_sample(self, n, pvals, sample): method test_multinomial_2 (line 1438) | def test_multinomial_2(self): method test_multinomial_3_int (line 1457) | def test_multinomial_3_int(self): method test_multinomial_3_tuple (line 1469) | def test_multinomial_3_tuple(self): class TestRandomDirichlet (line 1482) | class TestRandomDirichlet(BaseTest): method _check_sample (line 1485) | def _check_sample(self, alpha, size, sample): method test_dirichlet_default (line 1507) | def test_dirichlet_default(self): method test_dirichlet (line 1522) | def test_dirichlet(self): method test_dirichlet_exceptions (line 1539) | def test_dirichlet_exceptions(self): class TestRandomNoncentralChiSquare (line 1557) | class TestRandomNoncentralChiSquare(BaseTest): method _check_sample (line 1559) | def _check_sample(self, size, sample): method test_noncentral_chisquare_default (line 1577) | def test_noncentral_chisquare_default(self): method test_noncentral_chisquare (line 1596) | def test_noncentral_chisquare(self): method test_noncentral_chisquare_exceptions (line 1616) | def test_noncentral_chisquare_exceptions(self): function py_extract_randomness (line 1640) | def py_extract_randomness(seed, out): function np_extract_randomness (line 1649) | def np_extract_randomness(seed, out): class ConcurrencyBaseTest (line 1658) | class ConcurrencyBaseTest(TestCase): method setUp (line 1666) | def setUp(self): method _get_output (line 1672) | def _get_output(self, size): method check_output (line 1675) | def check_output(self, out): method check_several_outputs (line 1686) | def check_several_outputs(self, results, same_expected): class TestThreads (line 1708) | class TestThreads(ConcurrencyBaseTest): method extract_in_threads (line 1713) | def extract_in_threads(self, nthreads, extract_randomness, seed): method check_thread_safety (line 1737) | def check_thread_safety(self, extract_randomness): method check_implicit_initialization (line 1751) | def check_implicit_initialization(self, extract_randomness): method test_py_thread_safety (line 1761) | def test_py_thread_safety(self): method test_np_thread_safety (line 1764) | def test_np_thread_safety(self): method test_py_implicit_initialization (line 1767) | def test_py_implicit_initialization(self): method test_np_implicit_initialization (line 1770) | def test_np_implicit_initialization(self): class TestProcesses (line 1775) | class TestProcesses(ConcurrencyBaseTest): method extract_in_processes (line 1785) | def extract_in_processes(self, nprocs, extract_randomness): method check_implicit_initialization (line 1833) | def check_implicit_initialization(self, extract_randomness): method test_py_implicit_initialization (line 1843) | def test_py_implicit_initialization(self): method test_np_implicit_initialization (line 1846) | def test_np_implicit_initialization(self): class TestNumPyRandomAPI (line 1850) | class TestNumPyRandomAPI(TestCase): method test_call_by_name (line 1906) | def test_call_by_name(self): method test_call_distributions_with_empty_size (line 1932) | def test_call_distributions_with_empty_size(self): FILE: numba/tests/test_range.py function loop1 (line 11) | def loop1(n): function loop2 (line 18) | def loop2(a, b): function loop3 (line 25) | def loop3(a, b, c): function range_len1 (line 32) | def range_len1(n): function range_len2 (line 35) | def range_len2(a, b): function range_len3 (line 38) | def range_len3(a, b, c): function range_iter_len1 (line 40) | def range_iter_len1(a): function range_iter_len2 (line 43) | def range_iter_len2(a): function range_attrs (line 46) | def range_attrs(start, stop, step): function range_contains (line 55) | def range_contains(val, start, stop, step): class TestRange (line 62) | class TestRange(unittest.TestCase): method test_loop1_int16 (line 64) | def test_loop1_int16(self): method test_loop2_int16 (line 69) | def test_loop2_int16(self): method test_loop3_int32 (line 74) | def test_loop3_int32(self): method test_range_len1 (line 86) | def test_range_len1(self): method test_range_len2 (line 95) | def test_range_len2(self): method test_range_len3 (line 105) | def test_range_len3(self): method test_range_iter_len1 (line 120) | def test_range_iter_len1(self): method test_range_iter_list (line 130) | def test_range_iter_list(self): method test_range_attrs (line 136) | def test_range_attrs(self): method test_range_contains (line 149) | def test_range_contains(self): function my_arange (line 184) | def my_arange(start, stop, step): class TestRangeNumpy (line 193) | class TestRangeNumpy(TestCase): method test_range_safe_cast_mixed (line 194) | def test_range_safe_cast_mixed(self): FILE: numba/tests/test_recarray_usecases.py function usecase1 (line 12) | def usecase1(arr1, arr2): function usecase2 (line 30) | def usecase2(x, N): function usecase3 (line 39) | def usecase3(x, N): function usecase4 (line 47) | def usecase4(x, N): function usecase5 (line 56) | def usecase5(x, N): class TestRecordUsecase (line 64) | class TestRecordUsecase(TestCase): method setUp (line 66) | def setUp(self): method test_usecase1 (line 71) | def test_usecase1(self): method _setup_usecase2to5 (line 105) | def _setup_usecase2to5(self, dtype): method _test_usecase2to5 (line 113) | def _test_usecase2to5(self, pyfunc, dtype): method test_usecase2 (line 128) | def test_usecase2(self): method test_usecase3 (line 132) | def test_usecase3(self): method test_usecase4 (line 136) | def test_usecase4(self): method test_usecase5 (line 140) | def test_usecase5(self): FILE: numba/tests/test_record_dtype.py function get_a (line 14) | def get_a(ary, i): function get_b (line 18) | def get_b(ary, i): function get_c (line 22) | def get_c(ary, i): function make_getitem (line 26) | def make_getitem(item): function get_zero_a (line 34) | def get_zero_a(ary, _unused): function get_a_subarray (line 47) | def get_a_subarray(ary, i): function get_b_subarray (line 51) | def get_b_subarray(ary, i): function get_c_subarray (line 55) | def get_c_subarray(ary, i): function get_a_zero (line 59) | def get_a_zero(ary, _unused): function make_getitem_subarray (line 63) | def make_getitem_subarray(item): function get_two_arrays_a (line 75) | def get_two_arrays_a(ary1, ary2, i): function get_two_arrays_b (line 79) | def get_two_arrays_b(ary1, ary2, i): function get_two_arrays_c (line 83) | def get_two_arrays_c(ary1, ary2, i): function get_two_arrays_distinct (line 87) | def get_two_arrays_distinct(ary1, ary2, i): function set_a (line 91) | def set_a(ary, i, v): function set_b (line 95) | def set_b(ary, i, v): function set_c (line 99) | def set_c(ary, i, v): function make_setitem (line 103) | def make_setitem(item): function set_a_subarray (line 118) | def set_a_subarray(ary, i, v): function set_b_subarray (line 122) | def set_b_subarray(ary, i, v): function set_c_subarray (line 126) | def set_c_subarray(ary, i, v): function make_setitem_subarray (line 130) | def make_setitem_subarray(item): function set_record (line 141) | def set_record(ary, i, j): function get_record_a (line 145) | def get_record_a(rec, val): function get_record_b (line 151) | def get_record_b(rec, val): function get_record_c (line 157) | def get_record_c(rec, val): function get_record_rev_a (line 163) | def get_record_rev_a(val, rec): function get_record_rev_b (line 169) | def get_record_rev_b(val, rec): function get_record_rev_c (line 175) | def get_record_rev_c(val, rec): function get_two_records_a (line 181) | def get_two_records_a(rec1, rec2): function get_two_records_b (line 186) | def get_two_records_b(rec1, rec2): function get_two_records_c (line 191) | def get_two_records_c(rec1, rec2): function get_two_records_distinct (line 196) | def get_two_records_distinct(rec1, rec2): function record_return (line 201) | def record_return(ary, i): function record_write_array (line 205) | def record_write_array(ary): function record_write_2d_array (line 211) | def record_write_2d_array(ary): function record_write_full_array (line 221) | def record_write_full_array(rec): function record_write_full_array_alt (line 225) | def record_write_full_array_alt(rec): function recarray_set_record (line 229) | def recarray_set_record(ary, rec): function recarray_write_array_of_nestedarray_broadcast (line 233) | def recarray_write_array_of_nestedarray_broadcast(ary): function record_setitem_array (line 238) | def record_setitem_array(rec_source, rec_dest): function recarray_write_array_of_nestedarray (line 242) | def recarray_write_array_of_nestedarray(ary): function recarray_getitem_return (line 247) | def recarray_getitem_return(ary): function recarray_getitem_field_return (line 251) | def recarray_getitem_field_return(ary): function recarray_getitem_field_return2 (line 255) | def recarray_getitem_field_return2(ary): function recarray_getitem_field_return2_2d (line 259) | def recarray_getitem_field_return2_2d(ary): function rec_getitem_field_slice_2d (line 263) | def rec_getitem_field_slice_2d(rec): function recarray_getitem_field_slice_2d (line 267) | def recarray_getitem_field_slice_2d(ary): function array_rec_getitem_field_slice_2d_0 (line 271) | def array_rec_getitem_field_slice_2d_0(rec): function array_getitem_field_slice_2d_0 (line 275) | def array_getitem_field_slice_2d_0(ary): function array_rec_getitem_field_slice_2d_1 (line 279) | def array_rec_getitem_field_slice_2d_1(rec): function array_getitem_field_slice_2d_1 (line 283) | def array_getitem_field_slice_2d_1(ary): function rec_getitem_range_slice_4d (line 287) | def rec_getitem_range_slice_4d(rec): function recarray_getitem_range_slice_4d (line 291) | def recarray_getitem_range_slice_4d(ary): function record_read_array0 (line 295) | def record_read_array0(ary): function record_read_array0_alt (line 299) | def record_read_array0_alt(ary): function record_read_array1 (line 303) | def record_read_array1(ary): function record_read_whole_array (line 307) | def record_read_whole_array(ary): function record_read_2d_array00 (line 311) | def record_read_2d_array00(ary): function record_read_2d_array10 (line 315) | def record_read_2d_array10(ary): function record_read_2d_array01 (line 319) | def record_read_2d_array01(ary): function record_read_first_arr (line 323) | def record_read_first_arr(ary): function record_read_second_arr (line 327) | def record_read_second_arr(ary): function get_shape (line 331) | def get_shape(rec): function get_size (line 335) | def get_size(rec): function get_charseq (line 339) | def get_charseq(ary, i): function set_charseq (line 343) | def set_charseq(ary, i, cs): function get_charseq_tuple (line 347) | def get_charseq_tuple(ary, i): function get_field1 (line 351) | def get_field1(rec): function get_field2 (line 357) | def get_field2(rec): function get_field3 (line 365) | def get_field3(rec): function get_field4 (line 370) | def get_field4(rec): function set_field1 (line 377) | def set_field1(rec): function set_field2 (line 384) | def set_field2(rec): function set_field3 (line 391) | def set_field3(rec): function set_field4 (line 397) | def set_field4(rec): function set_field_slice (line 403) | def set_field_slice(arr): function assign_array_to_nested (line 408) | def assign_array_to_nested(dest): function assign_array_to_nested_2d (line 413) | def assign_array_to_nested_2d(dest): class TestRecordDtypeMakeCStruct (line 450) | class TestRecordDtypeMakeCStruct(TestCase): method test_two_scalars (line 451) | def test_two_scalars(self): method test_three_scalars (line 473) | def test_three_scalars(self): method test_complex_struct (line 498) | def test_complex_struct(self): method test_nestedarray_issue_8132 (line 524) | def test_nestedarray_issue_8132(self): class TestRecordDtype (line 541) | class TestRecordDtype(TestCase): method _createSampleArrays (line 543) | def _createSampleArrays(self): method setUp (line 558) | def setUp(self): method get_cfunc (line 584) | def get_cfunc(self, pyfunc, argspec): method test_from_dtype (line 587) | def test_from_dtype(self): method _test_get_equal (line 599) | def _test_get_equal(self, pyfunc): method test_get_a (line 606) | def test_get_a(self): method test_get_b (line 614) | def test_get_b(self): method test_get_c (line 620) | def test_get_c(self): method test_getitem_static_int_index (line 626) | def test_getitem_static_int_index(self): method _test_get_two_equal (line 639) | def _test_get_two_equal(self, pyfunc): method test_two_distinct_arrays (line 649) | def test_two_distinct_arrays(self): method test_get_two_a (line 662) | def test_get_two_a(self): method test_get_two_b (line 665) | def test_get_two_b(self): method test_get_two_c (line 668) | def test_get_two_c(self): method _test_set_equal (line 671) | def _test_set_equal(self, pyfunc, value, valuetype): method test_set_a (line 685) | def test_set_a(self): method test_set_b (line 695) | def test_set_b(self): method test_set_c (line 705) | def test_set_c(self): method test_setitem_static_int_index (line 715) | def test_setitem_static_int_index(self): method test_set_record (line 733) | def test_set_record(self): method _test_record_args (line 751) | def _test_record_args(self, revargs): method test_record_args (line 796) | def test_record_args(self): method test_record_args_reverse (line 799) | def test_record_args_reverse(self): method test_two_records (line 802) | def test_two_records(self): method test_two_distinct_records (line 823) | def test_two_distinct_records(self): method test_record_return (line 838) | def test_record_return(self): method test_record_arg_transform (line 858) | def test_record_arg_transform(self): method test_record_two_arrays (line 881) | def test_record_two_arrays(self): method test_structure_dtype_with_titles (line 904) | def test_structure_dtype_with_titles(self): method test_record_dtype_with_titles_roundtrip (line 935) | def test_record_dtype_with_titles_roundtrip(self): function _get_cfunc_nopython (line 945) | def _get_cfunc_nopython(pyfunc, argspec): class TestRecordDtypeWithDispatcher (line 949) | class TestRecordDtypeWithDispatcher(TestRecordDtype): method get_cfunc (line 956) | def get_cfunc(self, pyfunc, argspec): class TestRecordDtypeWithStructArrays (line 960) | class TestRecordDtypeWithStructArrays(TestRecordDtype): method _createSampleArrays (line 965) | def _createSampleArrays(self): class TestRecordDtypeWithStructArraysAndDispatcher (line 984) | class TestRecordDtypeWithStructArraysAndDispatcher(TestRecordDtypeWithSt... method get_cfunc (line 991) | def get_cfunc(self, pyfunc, argspec): class TestRecordDtypeWithCharSeq (line 996) | class TestRecordDtypeWithCharSeq(TestCase): method _createSampleaArray (line 998) | def _createSampleaArray(self): method _fillData (line 1002) | def _fillData(self, arr): method setUp (line 1010) | def setUp(self): method get_cfunc (line 1015) | def get_cfunc(self, pyfunc): method test_return_charseq (line 1019) | def test_return_charseq(self): method test_npm_argument_charseq (line 1027) | def test_npm_argument_charseq(self): method test_py_argument_charseq (line 1044) | def test_py_argument_charseq(self): method test_py_argument_char_seq_near_overflow (line 1060) | def test_py_argument_char_seq_near_overflow(self): method test_py_argument_char_seq_truncate (line 1080) | def test_py_argument_char_seq_truncate(self): method test_return_charseq_tuple (line 1097) | def test_return_charseq_tuple(self): class TestRecordArrayGetItem (line 1106) | class TestRecordArrayGetItem(TestCase): method test_literal_variable (line 1110) | def test_literal_variable(self): method test_literal_unroll (line 1116) | def test_literal_unroll(self): method test_literal_variable_global_tuple (line 1122) | def test_literal_variable_global_tuple(self): method test_literal_unroll_global_tuple (line 1132) | def test_literal_unroll_global_tuple(self): method test_literal_unroll_free_var_tuple (line 1143) | def test_literal_unroll_free_var_tuple(self): method test_error_w_invalid_field (line 1161) | def test_error_w_invalid_field(self): method test_literal_unroll_dynamic_to_static_getitem_transform (line 1169) | def test_literal_unroll_dynamic_to_static_getitem_transform(self): class TestRecordArraySetItem (line 1190) | class TestRecordArraySetItem(TestCase): method test_literal_variable (line 1194) | def test_literal_variable(self): method test_literal_unroll (line 1200) | def test_literal_unroll(self): method test_literal_variable_global_tuple (line 1206) | def test_literal_variable_global_tuple(self): method test_literal_unroll_global_tuple (line 1216) | def test_literal_unroll_global_tuple(self): method test_literal_unroll_free_var_tuple (line 1227) | def test_literal_unroll_free_var_tuple(self): method test_error_w_invalid_field (line 1245) | def test_error_w_invalid_field(self): class TestSubtyping (line 1254) | class TestSubtyping(TestCase): method setUp (line 1255) | def setUp(self): method test_common_field (line 1265) | def test_common_field(self): method test_tuple_of_records (line 1280) | def test_tuple_of_records(self): method test_array_field (line 1294) | def test_array_field(self): method test_no_subtyping1 (line 1311) | def test_no_subtyping1(self): method test_no_subtyping2 (line 1329) | def test_no_subtyping2(self): method test_no_subtyping3 (line 1340) | def test_no_subtyping3(self): method test_branch_pruning (line 1353) | def test_branch_pruning(self): class TestNestedArrays (line 1379) | class TestNestedArrays(TestCase): method get_cfunc (line 1381) | def get_cfunc(self, pyfunc, argspec): method test_record_write_array (line 1384) | def test_record_write_array(self): method test_record_write_2d_array (line 1398) | def test_record_write_2d_array(self): method test_record_read_array (line 1412) | def test_record_read_array(self): method test_record_read_arrays (line 1427) | def test_record_read_arrays(self): method test_record_read_2d_array (line 1443) | def test_record_read_2d_array(self): method test_set_record (line 1462) | def test_set_record(self): method test_set_array (line 1476) | def test_set_array(self): method test_set_arrays (line 1490) | def test_set_arrays(self): method test_setitem (line 1505) | def test_setitem(self): method test_setitem_whole_array_error (line 1523) | def test_setitem_whole_array_error(self): method test_getitem_idx (line 1534) | def test_getitem_idx(self): method test_getitem_idx_2darray (line 1550) | def test_getitem_idx_2darray(self): method test_return_getattr_getitem_fieldname (line 1567) | def test_return_getattr_getitem_fieldname(self): method test_return_array (line 1584) | def test_return_array(self): method test_slice_2d_array (line 1595) | def test_slice_2d_array(self): method test_shape (line 1609) | def test_shape(self): method test_size (line 1623) | def test_size(self): method test_corner_slice (line 1637) | def test_corner_slice(self): method test_broadcast_slice (line 1654) | def test_broadcast_slice(self): method test_assign_array_to_nested (line 1676) | def test_assign_array_to_nested(self): method test_assign_array_to_nested_2d (line 1686) | def test_assign_array_to_nested_2d(self): method test_issue_7693 (line 1696) | def test_issue_7693(self): method test_issue_1469_1 (line 1722) | def test_issue_1469_1(self): method test_issue_1469_2 (line 1730) | def test_issue_1469_2(self): method test_issue_1469_3 (line 1739) | def test_issue_1469_3(self): method test_issue_3158_1 (line 1753) | def test_issue_3158_1(self): method test_issue_3158_2 (line 1771) | def test_issue_3158_2(self): FILE: numba/tests/test_recursion.py class TestSelfRecursion (line 10) | class TestSelfRecursion(TestCase): method check_fib (line 12) | def check_fib(self, cfunc): method test_global_explicit_sig (line 15) | def test_global_explicit_sig(self): method test_inner_explicit_sig (line 19) | def test_inner_explicit_sig(self): method test_global_implicit_sig (line 23) | def test_global_implicit_sig(self): method test_runaway (line 27) | def test_runaway(self): method test_type_change (line 34) | def test_type_change(self): method test_raise (line 41) | def test_raise(self): method test_optional_return (line 48) | def test_optional_return(self): method test_growing_return_tuple (line 55) | def test_growing_return_tuple(self): class TestMutualRecursion (line 66) | class TestMutualRecursion(TestCase): method test_mutual_1 (line 68) | def test_mutual_1(self): method test_mutual_2 (line 73) | def test_mutual_2(self): method test_runaway (line 81) | def test_runaway(self): method test_type_change (line 88) | def test_type_change(self): method test_four_level (line 95) | def test_four_level(self): method test_inner_error (line 102) | def test_inner_error(self): method test_raise (line 119) | def test_raise(self): FILE: numba/tests/test_refop_pruning.py function set_refprune_flags (line 16) | def set_refprune_flags(flags): class TestRefOpPruning (line 21) | class TestRefOpPruning(TestCase): method check (line 25) | def check(self, func, *argtys, **prune_types): method test_basic_block_1 (line 57) | def test_basic_block_1(self): method test_diamond_1 (line 74) | def test_diamond_1(self): method test_diamond_2 (line 89) | def test_diamond_2(self): method test_fanout_1 (line 106) | def test_fanout_1(self): method test_fanout_2 (line 120) | def test_fanout_2(self): method test_fanout_3 (line 136) | def test_fanout_3(self): class TestRefPruneFlags (line 153) | class TestRefPruneFlags(TestCase): method setUp (line 154) | def setUp(self): method tearDown (line 157) | def tearDown(self): method test_warn_invalid_flags (line 160) | def test_warn_invalid_flags(self): method test_valid_flag (line 169) | def test_valid_flag(self): method test_the_all_flag (line 174) | def test_the_all_flag(self): method test_some_flags (line 179) | def test_some_flags(self): FILE: numba/tests/test_remove_dead.py function test_will_propagate (line 31) | def test_will_propagate(b, z, w): function null_func (line 41) | def null_func(a,b,c,d): function dummy_aliased_func (line 45) | def dummy_aliased_func(A): function alias_ext_dummy_func (line 48) | def alias_ext_dummy_func(lhs_name, args, alias_map, arg_aliases): function findLhsAssign (line 51) | def findLhsAssign(func_ir, var): class TestRemoveDead (line 59) | class TestRemoveDead(TestCase): method compile_parallel (line 63) | def compile_parallel(self, func, arg_types): method test1 (line 66) | def test1(self): method test2 (line 82) | def test2(self): method run_array_index_test (line 99) | def run_array_index_test(self, func): method test_alias_ravel (line 109) | def test_alias_ravel(self): method test_alias_flat (line 116) | def test_alias_flat(self): method test_alias_transpose1 (line 123) | def test_alias_transpose1(self): method test_alias_transpose2 (line 130) | def test_alias_transpose2(self): method test_alias_transpose3 (line 137) | def test_alias_transpose3(self): method test_alias_ctypes (line 146) | def test_alias_ctypes(self): method test_alias_reshape1 (line 178) | def test_alias_reshape1(self): method test_alias_reshape2 (line 185) | def test_alias_reshape2(self): method test_alias_func_ext (line 192) | def test_alias_func_ext(self): method test_rm_dead_rhs_vars (line 207) | def test_rm_dead_rhs_vars(self): method test_alias_parfor_extension (line 220) | def test_alias_parfor_extension(self): class TestSSADeadBranchPrune (line 298) | class TestSSADeadBranchPrune(TestCase): method test_issue_9706 (line 302) | def test_issue_9706(self): method test_issue_6541 (line 323) | def test_issue_6541(self): method test_issue_7482 (line 343) | def test_issue_7482(self): method test_issue_5661 (line 362) | def test_issue_5661(self): method test_issue_9742 (line 402) | def test_issue_9742(self): method test_issue_9742_variant (line 419) | def test_issue_9742_variant(self): FILE: numba/tests/test_repr.py class TestRepr (line 25) | class TestRepr(TestCase): method setUp (line 26) | def setUp(self) -> None: method check_repr (line 31) | def check_repr(self, val): method test_types (line 36) | def test_types(self): FILE: numba/tests/test_return_values.py function get_nopython_func (line 18) | def get_nopython_func(): function get_pyobj_func (line 21) | def get_pyobj_func(): function get_module_func (line 24) | def get_module_func(): class TestReturnValues (line 28) | class TestReturnValues(unittest.TestCase): method test_nopython_func (line 30) | def test_nopython_func(self, flags=enable_pyobj_flags): method test_nopython_func_npm (line 40) | def test_nopython_func_npm(self): method test_pyobj_func (line 44) | def test_pyobj_func(self, flags=enable_pyobj_flags): method test_pyobj_func_npm (line 54) | def test_pyobj_func_npm(self): method test_module_func (line 58) | def test_module_func(self, flags=enable_pyobj_flags): method test_module_func_npm (line 68) | def test_module_func_npm(self): FILE: numba/tests/test_runtests.py class TestCase (line 24) | class TestCase(unittest.TestCase): method get_testsuite_listing (line 29) | def get_testsuite_listing(self, args, *, subp_kwargs=None): method check_listing_prefix (line 40) | def check_listing_prefix(self, prefix): method check_testsuite_size (line 46) | def check_testsuite_size(self, args, minsize): method check_all (line 60) | def check_all(self, ids): method _get_numba_tests_from_listing (line 68) | def _get_numba_tests_from_listing(self, listing): method test_default (line 73) | def test_default(self): method test_all (line 76) | def test_all(self): method test_cuda (line 79) | def test_cuda(self): method test_cuda_submodules (line 86) | def test_cuda_submodules(self): method test_module (line 92) | def test_module(self): method test_subpackage (line 99) | def test_subpackage(self): method test_random (line 102) | def test_random(self): method test_include_exclude_tags (line 106) | def test_include_exclude_tags(self): method test_check_shard (line 128) | def test_check_shard(self): method test_check_sharding_equivalent (line 143) | def test_check_sharding_equivalent(self): method test_gitdiff (line 189) | def test_gitdiff(self): method test_azure_config (line 210) | def test_azure_config(self): method test_no_compilation_on_list (line 253) | def test_no_compilation_on_list(self): FILE: numba/tests/test_serialize.py class TestDispatcherPickling (line 17) | class TestDispatcherPickling(TestCase): method run_with_protocols (line 19) | def run_with_protocols(self, meth, *args, **kwargs): method simulate_fresh_target (line 24) | def simulate_fresh_target(self): method check_call (line 37) | def check_call(self, proto, func, expected_result, args): method test_call_with_sig (line 52) | def test_call_with_sig(self): method test_call_without_sig (line 58) | def test_call_without_sig(self): method test_call_nopython (line 65) | def test_call_nopython(self): method test_call_nopython_fail (line 71) | def test_call_nopython_fail(self): method test_call_objmode_with_global (line 76) | def test_call_objmode_with_global(self): method test_call_closure (line 80) | def test_call_closure(self): method check_call_closure_with_globals (line 85) | def check_call_closure_with_globals(self, **jit_args): method test_call_closure_with_globals_nopython (line 90) | def test_call_closure_with_globals_nopython(self): method test_call_closure_with_globals_objmode (line 93) | def test_call_closure_with_globals_objmode(self): method test_call_closure_calling_other_function (line 96) | def test_call_closure_calling_other_function(self): method test_call_closure_calling_other_closure (line 101) | def test_call_closure_calling_other_closure(self): method test_call_dyn_func (line 106) | def test_call_dyn_func(self): method test_call_dyn_func_objmode (line 111) | def test_call_dyn_func_objmode(self): method test_renamed_module (line 116) | def test_renamed_module(self): method test_other_process (line 124) | def test_other_process(self): method test_reuse (line 142) | def test_reuse(self): method test_imp_deprecation (line 180) | def test_imp_deprecation(self): class TestSerializationMisc (line 202) | class TestSerializationMisc(TestCase): method test_numba_unpickle (line 203) | def test_numba_unpickle(self): class TestCloudPickleIssues (line 219) | class TestCloudPickleIssues(TestCase): method test_dynamic_class_reset_on_unpickle (line 224) | def test_dynamic_class_reset_on_unpickle(self): method test_main_class_reset_on_unpickle (line 246) | def test_main_class_reset_on_unpickle(self): method test_dynamic_class_reset_on_unpickle_new_proc (line 253) | def test_dynamic_class_reset_on_unpickle_new_proc(self): method test_dynamic_class_issue_7356 (line 268) | def test_dynamic_class_issue_7356(self): class DynClass (line 273) | class DynClass(object): function issue_7356 (line 278) | def issue_7356(): function check_main_class_reset_on_unpickle (line 287) | def check_main_class_reset_on_unpickle(): function check_unpickle_dyn_class_new_proc (line 304) | def check_unpickle_dyn_class_new_proc(saved): function _check_dyn_class (line 313) | def _check_dyn_class(Klass, saved): FILE: numba/tests/test_sets.py function _build_set_literal_usecase (line 19) | def _build_set_literal_usecase(code, args): function set_literal_return_usecase (line 23) | def set_literal_return_usecase(args): function set_literal_convert_usecase (line 30) | def set_literal_convert_usecase(args): function empty_constructor_usecase (line 39) | def empty_constructor_usecase(): function constructor_usecase (line 44) | def constructor_usecase(arg): function iterator_usecase (line 48) | def iterator_usecase(arg): function update_usecase (line 55) | def update_usecase(a, b, c): function bool_usecase (line 62) | def bool_usecase(arg): function remove_usecase (line 67) | def remove_usecase(a, b): function discard_usecase (line 73) | def discard_usecase(a, b): function add_discard_usecase (line 79) | def add_discard_usecase(a, u, v): function pop_usecase (line 86) | def pop_usecase(a): function contains_usecase (line 93) | def contains_usecase(a, b): function difference_update_usecase (line 100) | def difference_update_usecase(a, b): function intersection_update_usecase (line 105) | def intersection_update_usecase(a, b): function symmetric_difference_update_usecase (line 110) | def symmetric_difference_update_usecase(a, b): function isdisjoint_usecase (line 115) | def isdisjoint_usecase(a, b): function issubset_usecase (line 118) | def issubset_usecase(a, b): function issuperset_usecase (line 121) | def issuperset_usecase(a, b): function clear_usecase (line 124) | def clear_usecase(a): function copy_usecase (line 129) | def copy_usecase(a): function copy_usecase_empty (line 135) | def copy_usecase_empty(a): function copy_usecase_deleted (line 142) | def copy_usecase_deleted(a, b): function difference_usecase (line 149) | def difference_usecase(a, b): function intersection_usecase (line 154) | def intersection_usecase(a, b): function symmetric_difference_usecase (line 159) | def symmetric_difference_usecase(a, b): function union_usecase (line 164) | def union_usecase(a, b): function set_return_usecase (line 169) | def set_return_usecase(a): function noop (line 174) | def noop(x): function unbox_usecase (line 177) | def unbox_usecase(x): function unbox_usecase2 (line 186) | def unbox_usecase2(x): function unbox_usecase3 (line 195) | def unbox_usecase3(x): function unbox_usecase4 (line 205) | def unbox_usecase4(x): function reflect_simple (line 216) | def reflect_simple(sa, sb): function reflect_conditional (line 221) | def reflect_conditional(sa, sb): function reflect_exception (line 232) | def reflect_exception(s): function reflect_dual (line 236) | def reflect_dual(sa, sb): function unique_usecase (line 241) | def unique_usecase(src): class BaseTest (line 251) | class BaseTest(MemoryLeakMixin, TestCase): method setUp (line 253) | def setUp(self): method _range (line 257) | def _range(self, stop): method _random_choice (line 260) | def _random_choice(self, seq, n): method duplicates_array (line 270) | def duplicates_array(self, n): method sparse_array (line 277) | def sparse_array(self, n): method _assert_equal_unordered (line 285) | def _assert_equal_unordered(self, a, b): method unordered_checker (line 296) | def unordered_checker(self, pyfunc): class TestSetLiterals (line 305) | class TestSetLiterals(BaseTest): method check (line 307) | def check(self, pyfunc): method test_build_set (line 314) | def test_build_set(self): method test_build_heterogeneous_set (line 318) | def test_build_heterogeneous_set(self, flags=enable_pyobj_flags): method test_build_set_nopython (line 325) | def test_build_set_nopython(self): class TestSets (line 335) | class TestSets(BaseTest): method test_constructor (line 337) | def test_constructor(self): method test_set_return (line 350) | def test_set_return(self): method test_iterator (line 357) | def test_iterator(self): method test_update (line 364) | def test_update(self): method test_remove (line 373) | def test_remove(self): method test_remove_error (line 381) | def test_remove_error(self): method test_discard (line 395) | def test_discard(self): method test_add_discard (line 403) | def test_add_discard(self): method test_pop (line 419) | def test_pop(self): method test_contains (line 425) | def test_contains(self): method _test_xxx_update (line 435) | def _test_xxx_update(self, pyfunc): method test_difference_update (line 444) | def test_difference_update(self): method test_intersection_update (line 447) | def test_intersection_update(self): method test_symmetric_difference_update (line 450) | def test_symmetric_difference_update(self): method _test_comparator (line 453) | def _test_comparator(self, pyfunc): method test_isdisjoint (line 464) | def test_isdisjoint(self): method test_issubset (line 467) | def test_issubset(self): method test_issuperset (line 470) | def test_issuperset(self): method test_clear (line 473) | def test_clear(self): method test_copy (line 479) | def test_copy(self): method test_bool (line 497) | def test_bool(self): method _test_set_operator (line 504) | def _test_set_operator(self, pyfunc): method make_operator_usecase (line 516) | def make_operator_usecase(self, op): method make_inplace_operator_usecase (line 524) | def make_inplace_operator_usecase(self, op): method make_comparison_usecase (line 535) | def make_comparison_usecase(self, op): method test_difference (line 542) | def test_difference(self): method test_intersection (line 545) | def test_intersection(self): method test_symmetric_difference (line 548) | def test_symmetric_difference(self): method test_union (line 551) | def test_union(self): method test_and (line 554) | def test_and(self): method test_or (line 557) | def test_or(self): method test_sub (line 560) | def test_sub(self): method test_xor (line 563) | def test_xor(self): method test_eq (line 566) | def test_eq(self): method test_ne (line 569) | def test_ne(self): method test_le (line 572) | def test_le(self): method test_lt (line 575) | def test_lt(self): method test_ge (line 578) | def test_ge(self): method test_gt (line 581) | def test_gt(self): method test_iand (line 584) | def test_iand(self): method test_ior (line 587) | def test_ior(self): method test_isub (line 590) | def test_isub(self): method test_ixor (line 593) | def test_ixor(self): class TestFloatSets (line 597) | class TestFloatSets(TestSets): method _range (line 604) | def _range(self, stop): class TestTupleSets (line 608) | class TestTupleSets(TestSets): method _range (line 612) | def _range(self, stop): class TestUnicodeSets (line 620) | class TestUnicodeSets(TestSets): method _range (line 624) | def _range(self, stop): class TestSetsInvalidDtype (line 628) | class TestSetsInvalidDtype(TestSets): method _test_set_operator (line 630) | def _test_set_operator(self, pyfunc): class TestSetsInvalid (line 642) | class TestSetsInvalid(TestSets): method symmetric_difference_usecase (line 644) | def symmetric_difference_usecase(a, b): method difference_usecase (line 648) | def difference_usecase(a, b): method intersection_usecase (line 652) | def intersection_usecase(a, b): method union_usecase (line 656) | def union_usecase(a, b): method _test_set_operator (line 660) | def _test_set_operator(self, pyfunc): method test_difference (line 671) | def test_difference(self): method test_intersection (line 674) | def test_intersection(self): method test_symmetric_difference (line 677) | def test_symmetric_difference(self): method test_union (line 680) | def test_union(self): method make_operator_usecase (line 683) | def make_operator_usecase(self, op): method make_inplace_operator_usecase (line 691) | def make_inplace_operator_usecase(self, op): method make_comparison_usecase (line 702) | def make_comparison_usecase(self, op): class TestUnboxing (line 710) | class TestUnboxing(BaseTest): method assert_type_error (line 716) | def assert_type_error(self, msg): method check_unary (line 722) | def check_unary(self, pyfunc): method test_numbers (line 730) | def test_numbers(self): method test_tuples (line 737) | def test_tuples(self): method test_set_inside_tuple (line 742) | def test_set_inside_tuple(self): method test_set_of_tuples_inside_tuple (line 746) | def test_set_of_tuples_inside_tuple(self): method test_errors (line 750) | def test_errors(self): class TestSetReflection (line 776) | class TestSetReflection(BaseTest): method check_reflection (line 781) | def check_reflection(self, pyfunc): method test_reflect_simple (line 797) | def test_reflect_simple(self): method test_reflect_conditional (line 800) | def test_reflect_conditional(self): method test_reflect_exception (line 803) | def test_reflect_exception(self): method test_reflect_same_set (line 816) | def test_reflect_same_set(self): method test_reflect_clean (line 831) | def test_reflect_clean(self): class TestExamples (line 843) | class TestExamples(BaseTest): method test_unique (line 848) | def test_unique(self): method test_type_coercion_from_update (line 855) | def test_type_coercion_from_update(self): FILE: numba/tests/test_slices.py function slice_passing (line 15) | def slice_passing(sl): function slice_constructor (line 18) | def slice_constructor(*args): function slice_construct_and_use (line 22) | def slice_construct_and_use(args, l): function slice_indices (line 26) | def slice_indices(s, *indargs): class TestSlices (line 29) | class TestSlices(MemoryLeakMixin, TestCase): method test_slice_passing (line 31) | def test_slice_passing(self): method test_slice_constructor (line 67) | def test_slice_constructor(self): method test_slice_constructor_cases (line 98) | def test_slice_constructor_cases(self): method test_slice_indices (line 143) | def test_slice_indices(self): method test_slice_indices_examples (line 170) | def test_slice_indices_examples(self): method test_slice_from_constant (line 188) | def test_slice_from_constant(self): method test_literal_slice_distinct (line 202) | def test_literal_slice_distinct(self): method test_literal_slice_boxing (line 210) | def test_literal_slice_boxing(self): method test_literal_slice_freevar (line 231) | def test_literal_slice_freevar(self): method test_literal_slice_maxint (line 241) | def test_literal_slice_maxint(self): FILE: numba/tests/test_sort.py function make_temp_list (line 19) | def make_temp_list(keys, n): function make_temp_array (line 22) | def make_temp_array(keys, n): function sort_usecase (line 39) | def sort_usecase(val): function argsort_usecase (line 42) | def argsort_usecase(val): function argsort_kind_usecase (line 45) | def argsort_kind_usecase(val, is_stable=False): function sorted_usecase (line 51) | def sorted_usecase(val): function sorted_reverse_usecase (line 54) | def sorted_reverse_usecase(val, b): function np_sort_usecase (line 57) | def np_sort_usecase(val): function np_argsort_usecase (line 60) | def np_argsort_usecase(val): function np_argsort_kind_usecase (line 63) | def np_argsort_kind_usecase(val, is_stable=False): function list_sort_usecase (line 69) | def list_sort_usecase(n): function list_sort_reverse_usecase (line 78) | def list_sort_reverse_usecase(n, b): class BaseSortingTest (line 88) | class BaseSortingTest(object): method random_list (line 90) | def random_list(self, n, offset=10): method sorted_list (line 96) | def sorted_list(self, n, offset=10): method revsorted_list (line 99) | def revsorted_list(self, n, offset=10): method initially_sorted_list (line 102) | def initially_sorted_list(self, n, m=None, offset=10): method duprandom_list (line 109) | def duprandom_list(self, n, factor=None, offset=10): method dupsorted_list (line 118) | def dupsorted_list(self, n, factor=None, offset=10): method assertSorted (line 126) | def assertSorted(self, orig, result): method assertSortedValues (line 131) | def assertSortedValues(self, orig, orig_values, result, result_values): method fibo (line 144) | def fibo(self): method make_sample_sorted_lists (line 151) | def make_sample_sorted_lists(self, n): method make_sample_lists (line 158) | def make_sample_lists(self, n): class BaseTimsortTest (line 168) | class BaseTimsortTest(BaseSortingTest): method merge_init (line 170) | def merge_init(self, keys): method test_binarysort (line 174) | def test_binarysort(self): method test_binarysort_with_values (line 197) | def test_binarysort_with_values(self): method test_count_run (line 223) | def test_count_run(self): method test_gallop_left (line 259) | def test_gallop_left(self): method test_gallop_right (line 289) | def test_gallop_right(self): method test_merge_compute_minrun (line 319) | def test_merge_compute_minrun(self): method check_merge_lo_hi (line 343) | def check_merge_lo_hi(self, func, a, b): method test_merge_lo_hi (line 365) | def test_merge_lo_hi(self): method check_merge_at (line 376) | def check_merge_at(self, a, b): method test_merge_at (line 425) | def test_merge_at(self): method test_merge_force_collapse (line 433) | def test_merge_force_collapse(self): method test_run_timsort (line 461) | def test_run_timsort(self): method test_run_timsort_with_values (line 476) | def test_run_timsort_with_values(self): class TestTimsortPurePython (line 495) | class TestTimsortPurePython(BaseTimsortTest, TestCase): class TestTimsortArraysPurePython (line 503) | class TestTimsortArraysPurePython(BaseTimsortTest, TestCase): method array_factory (line 507) | def array_factory(self, lst): class JITTimsortMixin (line 511) | class JITTimsortMixin(object): method wrap_with_mergestate (line 518) | def wrap_with_mergestate(self, timsort, func, _cache=None): class TestTimsortArrays (line 541) | class TestTimsortArrays(JITTimsortMixin, BaseTimsortTest, TestCase): method array_factory (line 543) | def array_factory(self, lst): method check_merge_lo_hi (line 546) | def check_merge_lo_hi(self, func, a, b): class BaseQuicksortTest (line 565) | class BaseQuicksortTest(BaseSortingTest): method test_insertion_sort (line 569) | def test_insertion_sort(self): method test_partition (line 592) | def test_partition(self): method test_partition3 (line 619) | def test_partition3(self): method test_run_quicksort (line 649) | def test_run_quicksort(self): method test_run_quicksort_lt (line 664) | def test_run_quicksort_lt(self): class TestQuicksortPurePython (line 701) | class TestQuicksortPurePython(BaseQuicksortTest, TestCase): class TestQuicksortArrays (line 710) | class TestQuicksortArrays(BaseQuicksortTest, TestCase): method array_factory (line 715) | def array_factory(self, lst): class TestQuicksortMultidimensionalArrays (line 718) | class TestQuicksortMultidimensionalArrays(BaseSortingTest, TestCase): method assertSorted (line 723) | def assertSorted(self, orig, result): method array_factory (line 727) | def array_factory(self, lst, shape=None): method get_shapes (line 734) | def get_shapes(self, n): method test_run_quicksort (line 750) | def test_run_quicksort(self): method test_run_quicksort_lt (line 770) | def test_run_quicksort_lt(self): class TestNumpySort (line 816) | class TestNumpySort(TestCase): method setUp (line 818) | def setUp(self): method int_arrays (line 821) | def int_arrays(self): method float_arrays (line 825) | def float_arrays(self): method has_duplicates (line 839) | def has_duplicates(self, arr): method check_sort_inplace (line 849) | def check_sort_inplace(self, pyfunc, cfunc, val): method check_sort_copy (line 856) | def check_sort_copy(self, pyfunc, cfunc, val): method check_argsort (line 864) | def check_argsort(self, pyfunc, cfunc, val, kwargs=None): method test_array_sort_int (line 879) | def test_array_sort_int(self): method test_array_sort_float (line 886) | def test_array_sort_float(self): method test_array_sort_complex (line 893) | def test_array_sort_complex(self): method test_np_sort_int (line 903) | def test_np_sort_int(self): method test_np_sort_float (line 910) | def test_np_sort_float(self): method test_np_sort_complex (line 919) | def test_np_sort_complex(self): method test_argsort_int (line 931) | def test_argsort_int(self): method test_argsort_kind_int (line 940) | def test_argsort_kind_int(self): method test_argsort_float (line 952) | def test_argsort_float(self): method test_argsort_float_supplemental (line 961) | def test_argsort_float_supplemental(self): method test_argsort_complex (line 973) | def test_argsort_complex(self): method test_argsort_complex_supplemental (line 985) | def test_argsort_complex_supplemental(self): method test_bad_array (line 1000) | def test_bad_array(self): class TestPythonSort (line 1007) | class TestPythonSort(TestCase): method test_list_sort (line 1009) | def test_list_sort(self): method test_list_sort_reverse (line 1018) | def test_list_sort_reverse(self): method test_sorted (line 1028) | def test_sorted(self): method test_sorted_reverse (line 1039) | def test_sorted_reverse(self): class TestMergeSort (line 1052) | class TestMergeSort(TestCase): method setUp (line 1053) | def setUp(self): method check_argsort_stable (line 1056) | def check_argsort_stable(self, sorter, low, high, count): method test_argsort_stable (line 1063) | def test_argsort_stable(self): class TestSortSlashSortedWithKey (line 1080) | class TestSortSlashSortedWithKey(MemoryLeakMixin, TestCase): method test_01 (line 1082) | def test_01(self): method test_02 (line 1100) | def test_02(self): method test_03 (line 1114) | def test_03(self): method test_04 (line 1136) | def test_04(self): method test_05 (line 1154) | def test_05(self): method test_optional_on_key (line 1173) | def test_optional_on_key(self): method test_exceptions_sorted (line 1196) | def test_exceptions_sorted(self): class TestArrayArgsort (line 1231) | class TestArrayArgsort(MemoryLeakMixin, TestCase): method test_exceptions (line 1234) | def test_exceptions(self): FILE: numba/tests/test_ssa.py class SSABaseTest (line 29) | class SSABaseTest(TestCase): method check_func (line 31) | def check_func(self, func, *args): class TestSSA (line 37) | class TestSSA(SSABaseTest): method test_argument_name_reused (line 42) | def test_argument_name_reused(self): method test_if_else_redefine (line 50) | def test_if_else_redefine(self): method test_sum_loop (line 63) | def test_sum_loop(self): method test_sum_loop_2vars (line 74) | def test_sum_loop_2vars(self): method test_sum_2d_loop (line 87) | def test_sum_2d_loop(self): method check_undefined_var (line 100) | def check_undefined_var(self, should_warn): method test_undefined_var (line 124) | def test_undefined_var(self): method test_phi_propagation (line 130) | def test_phi_propagation(self): method test_unhandled_undefined (line 156) | def test_unhandled_undefined(self): class TestReportedSSAIssues (line 208) | class TestReportedSSAIssues(SSABaseTest): method test_issue2194 (line 212) | def test_issue2194(self): method test_issue3094 (line 226) | def test_issue3094(self): method test_issue3931 (line 243) | def test_issue3931(self): method test_issue3976 (line 255) | def test_issue3976(self): method test_issue3979 (line 276) | def test_issue3979(self): method test_issue5219 (line 290) | def test_issue5219(self): method test_issue5223 (line 313) | def test_issue5223(self): method test_issue5243 (line 329) | def test_issue5243(self): method test_issue5482_missing_variable_init (line 340) | def test_issue5482_missing_variable_init(self): method test_issue5482_objmode_expr_null_lowering (line 358) | def test_issue5482_objmode_expr_null_lowering(self): method test_issue5493_unneeded_phi (line 391) | def test_issue5493_unneeded_phi(self): method test_issue5623_equal_statements_in_same_bb (line 429) | def test_issue5623_equal_statements_in_same_bb(self): method test_issue5678_non_minimal_phi (line 452) | def test_issue5678_non_minimal_phi(self): method test_issue9242_use_not_dom_def (line 501) | def test_issue9242_use_not_dom_def(self): class TestSROAIssues (line 556) | class TestSROAIssues(MemoryLeakMixin, TestCase): method test_issue7258_multiple_assignment_post_SSA (line 561) | def test_issue7258_multiple_assignment_post_SSA(self): FILE: numba/tests/test_stencils.py function stencil1_kernel (line 23) | def stencil1_kernel(a): function stencil2_kernel (line 28) | def stencil2_kernel(a): function stencil3_kernel (line 36) | def stencil3_kernel(a): function stencil_multiple_input_kernel (line 41) | def stencil_multiple_input_kernel(a, b): function stencil_multiple_input_kernel_var (line 47) | def stencil_multiple_input_kernel_var(a, b, w): function stencil_multiple_input_mixed_types_2d (line 53) | def stencil_multiple_input_mixed_types_2d(a, b, f): function stencil_with_standard_indexing_1d (line 58) | def stencil_with_standard_indexing_1d(a, b): function stencil_with_standard_indexing_2d (line 63) | def stencil_with_standard_indexing_2d(a, b): function addone_njit (line 69) | def addone_njit(a): function addone_pjit (line 75) | def addone_pjit(a): class TestStencilBase (line 79) | class TestStencilBase(unittest.TestCase): method __init__ (line 83) | def __init__(self, *args): method _compile_this (line 90) | def _compile_this(self, func, sig, flags): method compile_parallel (line 95) | def compile_parallel(self, func, sig, **kws): method compile_njit (line 102) | def compile_njit(self, func, sig): method compile_all (line 105) | def compile_all(self, pyfunc, *args, **kwargs): method check (line 113) | def check(self, no_stencil_func, pyfunc, *args): class TestStencil (line 134) | class TestStencil(TestStencilBase): method __init__ (line 136) | def __init__(self, *args, **kwargs): method test_stencil1 (line 140) | def test_stencil1(self): method test_stencil2 (line 168) | def test_stencil2(self): method test_stencil3 (line 253) | def test_stencil3(self): method test_stencil_standard_indexing_1d (line 275) | def test_stencil_standard_indexing_1d(self): method test_stencil_standard_indexing_2d (line 297) | def test_stencil_standard_indexing_2d(self): method test_stencil_multiple_inputs (line 327) | def test_stencil_multiple_inputs(self): method test_stencil_mixed_types (line 362) | def test_stencil_mixed_types(self): method test_stencil_call (line 384) | def test_stencil_call(self): method test_stencil_call_1D (line 417) | def test_stencil_call_1D(self): method test_stencil_call_const (line 437) | def test_stencil_call_const(self): method test_stencil_parallel_off (line 517) | def test_stencil_parallel_off(self): method test_stencil_nested1 (line 529) | def test_stencil_nested1(self): method test_out_kwarg_w_cval (line 551) | def test_out_kwarg_w_cval(self): method test_out_kwarg_w_cval_np_attr (line 607) | def test_out_kwarg_w_cval_np_attr(self): class TestManyStencils (line 638) | class TestManyStencils(TestStencilBase): method __init__ (line 651) | def __init__(self, *args, **kwargs): method check_against_expected (line 654) | def check_against_expected(self, pyfunc, expected, *args, **kwargs): method check_exceptions (line 808) | def check_exceptions(self, pyfunc, *args, **kwargs): method exception_dict (line 910) | def exception_dict(self, **kwargs): method check_stencil_arrays (line 920) | def check_stencil_arrays(self, *args, **kwargs): method test_basic00 (line 931) | def test_basic00(self): method test_basic01 (line 953) | def test_basic01(self): method test_basic02 (line 975) | def test_basic02(self): method test_basic03 (line 997) | def test_basic03(self): method test_basic04 (line 1019) | def test_basic04(self): method test_basic05 (line 1041) | def test_basic05(self): method test_basic06 (line 1063) | def test_basic06(self): method test_basic07 (line 1085) | def test_basic07(self): method test_basic08 (line 1107) | def test_basic08(self): method test_basic09 (line 1129) | def test_basic09(self): method test_basic10 (line 1151) | def test_basic10(self): method test_basic11 (line 1172) | def test_basic11(self): method test_basic12 (line 1193) | def test_basic12(self): method test_basic13 (line 1214) | def test_basic13(self): method test_basic14 (line 1235) | def test_basic14(self): method test_basic14b (line 1256) | def test_basic14b(self): method test_basic15 (line 1279) | def test_basic15(self): method test_basic17 (line 1301) | def test_basic17(self): method test_basic18 (line 1323) | def test_basic18(self): method test_basic19 (line 1345) | def test_basic19(self): method test_basic20 (line 1367) | def test_basic20(self): method test_basic21 (line 1389) | def test_basic21(self): method test_basic22 (line 1411) | def test_basic22(self): method test_basic23 (line 1433) | def test_basic23(self): method test_basic23a (line 1457) | def test_basic23a(self): method test_basic24 (line 1480) | def test_basic24(self): method test_basic25 (line 1489) | def test_basic25(self): method test_basic26 (line 1498) | def test_basic26(self): method test_basic27 (line 1523) | def test_basic27(self): method test_basic28 (line 1551) | def test_basic28(self): method test_basic29 (line 1573) | def test_basic29(self): method test_basic30 (line 1583) | def test_basic30(self): method test_basic31 (line 1604) | def test_basic31(self): method test_basic31b (line 1627) | def test_basic31b(self): method test_basic31c (line 1638) | def test_basic31c(self): method test_basic32 (line 1659) | def test_basic32(self): method test_basic33 (line 1669) | def test_basic33(self): method test_basic34 (line 1689) | def test_basic34(self): method test_basic35 (line 1714) | def test_basic35(self): method test_basic36 (line 1734) | def test_basic36(self): method test_basic37 (line 1757) | def test_basic37(self): method test_basic38 (line 1781) | def test_basic38(self): method test_basic39 (line 1793) | def test_basic39(self): method test_basic40 (line 1820) | def test_basic40(self): method test_basic41 (line 1841) | def test_basic41(self): method test_basic42 (line 1850) | def test_basic42(self): method test_basic43 (line 1859) | def test_basic43(self): method test_basic44 (line 1883) | def test_basic44(self): method test_basic45 (line 1893) | def test_basic45(self): method test_basic46 (line 1903) | def test_basic46(self): method test_basic47 (line 1913) | def test_basic47(self): method test_basic48 (line 1940) | def test_basic48(self): method test_basic49 (line 1966) | def test_basic49(self): method test_basic50 (line 1990) | def test_basic50(self): method test_basic51 (line 1996) | def test_basic51(self): method test_basic52 (line 2006) | def test_basic52(self): method test_basic53 (line 2030) | def test_basic53(self): method test_basic54 (line 2043) | def test_basic54(self): method test_basic55 (line 2067) | def test_basic55(self): method test_basic56 (line 2093) | def test_basic56(self): method test_basic57 (line 2125) | def test_basic57(self): method test_basic58 (line 2149) | def test_basic58(self): method test_basic59 (line 2173) | def test_basic59(self): method test_basic60 (line 2197) | def test_basic60(self): method test_basic61 (line 2211) | def test_basic61(self): method test_basic62 (line 2221) | def test_basic62(self): method test_basic63 (line 2244) | def test_basic63(self): method test_basic64 (line 2259) | def test_basic64(self): method test_basic65 (line 2267) | def test_basic65(self): method test_basic66 (line 2295) | def test_basic66(self): method test_basic67 (line 2322) | def test_basic67(self): method test_basic67b (line 2352) | def test_basic67b(self): method test_basic68 (line 2364) | def test_basic68(self): method test_basic69 (line 2396) | def test_basic69(self): method test_basic70 (line 2426) | def test_basic70(self): method test_basic71 (line 2460) | def test_basic71(self): method test_basic72 (line 2493) | def test_basic72(self): method test_basic73 (line 2520) | def test_basic73(self): method test_basic73b (line 2547) | def test_basic73b(self): method test_basic74 (line 2574) | def test_basic74(self): method test_basic75 (line 2601) | def test_basic75(self): method test_basic76 (line 2629) | def test_basic76(self): method test_basic77 (line 2664) | def test_basic77(self): method test_basic78 (line 2696) | def test_basic78(self): method test_basic78b (line 2728) | def test_basic78b(self): method test_basic79 (line 2760) | def test_basic79(self): method test_basic80 (line 2778) | def test_basic80(self): method test_basic81 (line 2809) | def test_basic81(self): method test_basic82 (line 2827) | def test_basic82(self): method test_basic83 (line 2859) | def test_basic83(self): method test_basic84 (line 2895) | def test_basic84(self): method test_basic85 (line 2916) | def test_basic85(self): method test_basic86 (line 2939) | def test_basic86(self): method test_basic87 (line 2948) | def test_basic87(self): method test_basic88 (line 2968) | def test_basic88(self): method test_basic89 (line 2979) | def test_basic89(self): method test_basic90 (line 3009) | def test_basic90(self): method test_basic91 (line 3050) | def test_basic91(self): method test_basic92 (line 3076) | def test_basic92(self): method test_basic93 (line 3107) | def test_basic93(self): method test_basic94 (line 3137) | def test_basic94(self): method test_basic95 (line 3161) | def test_basic95(self): method test_basic96 (line 3167) | def test_basic96(self): method test_basic97 (line 3189) | def test_basic97(self): method test_basic98 (line 3195) | def test_basic98(self): FILE: numba/tests/test_storeslice.py function setitem_slice (line 9) | def setitem_slice(a, start, stop, step, scalar): function usecase (line 13) | def usecase(obs, nPoints): class TestStoreSlice (line 20) | class TestStoreSlice(TestCase): method test_usecase (line 22) | def test_usecase(self): method test_array_slice_setitem (line 33) | def test_array_slice_setitem(self): FILE: numba/tests/test_struct_ref.py class MySimplerStructType (line 18) | class MySimplerStructType(types.StructRef): class MyStruct (line 32) | class MyStruct(structref.StructRefProxy): method __new__ (line 34) | def __new__(cls, values, counter): method values (line 43) | def values(self): method values (line 47) | def values(self, val): method counter (line 51) | def counter(self): method testme (line 54) | def testme(self, arg): method prop (line 58) | def prop(self): method __hash__ (line 61) | def __hash__(self): class MyStructType (line 66) | class MyStructType(types.StructRef): function my_struct (line 84) | def my_struct(values, counter): function my_struct_init (line 91) | def my_struct_init(self, values, counter): function ctor_by_intrinsic (line 97) | def ctor_by_intrinsic(vs, ctr): function ctor_by_class (line 105) | def ctor_by_class(vs, ctr): function get_values (line 110) | def get_values(st): function set_values (line 115) | def set_values(st, val): function get_counter (line 120) | def get_counter(st): function compute_fields (line 125) | def compute_fields(st): function test_structref_is (line 130) | def test_structref_is(): class TestStructRefIs (line 136) | class TestStructRefIs(TestCase): method test_is_identity (line 137) | def test_is_identity(self): class TestStructRefBasic (line 143) | class TestStructRefBasic(MemoryLeakMixin, TestCase): method test_structref_type (line 144) | def test_structref_type(self): method test_invalid_uses (line 158) | def test_invalid_uses(self): method test_MySimplerStructType (line 164) | def test_MySimplerStructType(self): method test_MySimplerStructType_wrapper_has_no_attrs (line 179) | def test_MySimplerStructType_wrapper_has_no_attrs(self): method test_MyStructType (line 189) | def test_MyStructType(self): method test_MyStructType_mixed_types (line 203) | def test_MyStructType_mixed_types(self): method test_MyStructType_in_dict (line 215) | def test_MyStructType_in_dict(self): method test_MyStructType_in_dict_mixed_type_error (line 231) | def test_MyStructType_in_dict_mixed_type_error(self): method test_MyStructType_hash_no_typeof_recursion (line 246) | def test_MyStructType_hash_no_typeof_recursion(self): function _ol_mystructtype_testme (line 256) | def _ol_mystructtype_testme(self, arg): function _ol_mystructtype_prop (line 263) | def _ol_mystructtype_prop(self): class TestStructRefExtending (line 269) | class TestStructRefExtending(MemoryLeakMixin, TestCase): method test_overload_method (line 270) | def test_overload_method(self): method test_overload_attribute (line 283) | def test_overload_attribute(self): function caching_test_make (line 296) | def caching_test_make(x, y): function caching_test_use (line 301) | def caching_test_use(struct, z): class TestStructRefCaching (line 305) | class TestStructRefCaching(MemoryLeakMixin, TestCase): method setUp (line 306) | def setUp(self): method tearDown (line 313) | def tearDown(self): method test_structref_caching (line 317) | def test_structref_caching(self): class PolygonStructType (line 349) | class PolygonStructType(types.StructRef): method preprocess_fields (line 351) | def preprocess_fields(self, fields): class PolygonStruct (line 368) | class PolygonStruct(structref.StructRefProxy): method __new__ (line 369) | def __new__(cls, value, parent): method value (line 373) | def value(self): method parent (line 377) | def parent(self): function PolygonStruct_get_value (line 382) | def PolygonStruct_get_value(self): function PolygonStruct_get_parent (line 387) | def PolygonStruct_get_parent(self): function _ol_polygon_struct_flip (line 399) | def _ol_polygon_struct_flip(self): function _ol_polygon_struct_prop (line 407) | def _ol_polygon_struct_prop(self): class TestStructRefForwardTyping (line 413) | class TestStructRefForwardTyping(MemoryLeakMixin, TestCase): method test_same_type_assignment (line 414) | def test_same_type_assignment(self): method test_overload_method (line 429) | def test_overload_method(self): method test_overload_attribute (line 446) | def test_overload_attribute(self): FILE: numba/tests/test_support.py class TestAssertPreciseEqual (line 19) | class TestAssertPreciseEqual(TestCase): method eq (line 31) | def eq(self, left, right, **kwargs): method ne (line 39) | def ne(self, left, right, **kwargs): method test_types (line 54) | def test_types(self): method test_int_values (line 81) | def test_int_values(self): method test_bool_values (line 89) | def test_bool_values(self): method test_abs_tol_parse (line 95) | def test_abs_tol_parse(self): method test_float_values (line 102) | def test_float_values(self): method test_float64_values (line 122) | def test_float64_values(self): method test_float32_values (line 126) | def test_float32_values(self): method test_float64_values_inexact (line 130) | def test_float64_values_inexact(self): method test_float32_values_inexact (line 153) | def test_float32_values_inexact(self): method test_complex_values (line 178) | def test_complex_values(self): method test_complex128_values_inexact (line 216) | def test_complex128_values_inexact(self): method test_complex64_values_inexact (line 238) | def test_complex64_values_inexact(self): method test_enums (line 260) | def test_enums(self): method test_arrays (line 269) | def test_arrays(self): method test_npdatetime (line 294) | def test_npdatetime(self): method test_nptimedelta (line 305) | def test_nptimedelta(self): class TestMisc (line 317) | class TestMisc(TestCase): method test_assertRefCount (line 319) | def test_assertRefCount(self): method test_forbid_codegen (line 332) | def test_forbid_codegen(self): FILE: numba/tests/test_svml.py function func_patterns (line 93) | def func_patterns(func, args, res, dtype, mode, vlen, fastmath, pad=' '*8): function usecase_name (line 136) | def usecase_name(dtype, mode, vlen, name): function combo_svml_usecase (line 142) | def combo_svml_usecase(dtype, mode, vlen, fastmath, name): class TestSVMLGeneration (line 169) | class TestSVMLGeneration(TestCase): method mp_runner (line 178) | def mp_runner(cls, testname, outqueue): method _inject_test (line 188) | def _inject_test(cls, dtype, mode, vlen, flags): method autogenerate (line 253) | def autogenerate(cls): function math_sin_scalar (line 273) | def math_sin_scalar(x): function math_sin_loop (line 277) | def math_sin_loop(n): class TestSVML (line 285) | class TestSVML(TestCase): method compile (line 291) | def compile(self, func, *args, **kwargs): method copy_args (line 300) | def copy_args(self, *args): method check_result (line 315) | def check_result(self, pyfunc, *args, **kwargs): method check_asm (line 331) | def check_asm(self, pyfunc, *args, **kwargs): method check (line 343) | def check(self, pyfunc, *args, what="both", **kwargs): method check_svml_presence (line 350) | def check_svml_presence(self, func, pattern): method test_scalar_context_asm (line 355) | def test_scalar_context_asm(self): method test_scalar_context_result (line 361) | def test_scalar_context_result(self): method test_svml_asm (line 366) | def test_svml_asm(self): method test_svml_result (line 374) | def test_svml_result(self): method test_svml_disabled (line 380) | def test_svml_disabled(self): method test_svml_working_in_non_isolated_context (line 398) | def test_svml_working_in_non_isolated_context(self): FILE: numba/tests/test_sys_monitoring.py function _enable_sysmon (line 15) | def _enable_sysmon(disp): function generate_usecase (line 21) | def generate_usecase(): class TestMonitoring (line 49) | class TestMonitoring(TestCase): method setUp (line 57) | def setUp(self): method gather_mock_calls_multithreads (line 79) | def gather_mock_calls_multithreads(self, mockcalls): method check_py_start_calls_multithreads (line 89) | def check_py_start_calls_multithreads(self, allcalls): method check_py_start_calls (line 103) | def check_py_start_calls(self, allcalls): method check_py_return_calls_multithreads (line 117) | def check_py_return_calls_multithreads(self, allcalls): method check_py_return_calls (line 128) | def check_py_return_calls(self, allcalls): method run_with_events (line 144) | def run_with_events(self, function, args, events, tool_id=None, method test_start_event (line 181) | def test_start_event(self): method test_return_event (line 188) | def test_return_event(self): method test_call_event_chain (line 195) | def test_call_event_chain(self): method test_instrumented_code_does_not_trigger_numba_events (line 218) | def test_instrumented_code_does_not_trigger_numba_events(self): method test_instrumented_code_can_be_compiled (line 251) | def test_instrumented_code_can_be_compiled(self): method test_unhandled_events_are_ignored (line 270) | def test_unhandled_events_are_ignored(self): method test_event_with_no_callback_runs (line 295) | def test_event_with_no_callback_runs(self): method test_disable_from_callback (line 316) | def test_disable_from_callback(self): method test_mutation_from_objmode (line 352) | def test_mutation_from_objmode(self): method test_multiple_tool_id (line 394) | def test_multiple_tool_id(self): method test_raising_under_monitoring (line 459) | def test_raising_under_monitoring(self): method test_stop_iteration_under_monitoring (line 526) | def test_stop_iteration_under_monitoring(self): method test_raising_callback_unwinds_from_jit_on_success_path (line 608) | def test_raising_callback_unwinds_from_jit_on_success_path(self): method test_raising_callback_unwinds_from_jit_on_raising_path (line 635) | def test_raising_callback_unwinds_from_jit_on_raising_path(self): method test_raising_callback_unwinds_from_jit_on_unwind_path (line 694) | def test_raising_callback_unwinds_from_jit_on_unwind_path(self): method test_monitoring_multiple_threads (line 742) | def test_monitoring_multiple_threads(self): class TestMonitoringSelfTest (line 802) | class TestMonitoringSelfTest(TestCase): method test_skipping_of_tests_if_monitoring_in_use (line 804) | def test_skipping_of_tests_if_monitoring_in_use(self): class TestMonitoringEnvVarControl (line 816) | class TestMonitoringEnvVarControl(TestCase): method test_default_off (line 819) | def test_default_off(self): method test_override_off (line 828) | def test_override_off(self): method test_override_on (line 837) | def test_override_on(self): FILE: numba/tests/test_sys_stdin_assignment.py function f0 (line 8) | def f0(a, b): function f1 (line 13) | def f1(begin1, end1, begin2, end2): function f0_2 (line 19) | def f0_2(a, b): function f1_2 (line 24) | def f1_2(begin1, end1, begin2, end2): class TestSysStdinAssignment (line 29) | class TestSysStdinAssignment(unittest.TestCase): method test_no_reassignment_of_stdout (line 31) | def test_no_reassignment_of_stdout(self): FILE: numba/tests/test_sysinfo.py class TestSysInfo (line 14) | class TestSysInfo(TestCase): method setUp (line 16) | def setUp(self): method tearDown (line 63) | def tearDown(self): method test_has_safe_keys (line 68) | def test_has_safe_keys(self): method test_safe_content_type (line 73) | def test_safe_content_type(self): method test_has_no_error (line 79) | def test_has_no_error(self): method test_display_empty_info (line 82) | def test_display_empty_info(self): class TestSysInfoWithPsutil (line 90) | class TestSysInfoWithPsutil(TestCase): method setUp (line 96) | def setUp(self): method tearDown (line 114) | def tearDown(self): method test_has_all_data (line 118) | def test_has_all_data(self): method test_has_correct_values (line 125) | def test_has_correct_values(self): method test_cpus_list (line 131) | def test_cpus_list(self): class TestSysInfoWithoutPsutil (line 137) | class TestSysInfoWithoutPsutil(TestCase): method setUp (line 139) | def setUp(self): method tearDown (line 145) | def tearDown(self): method test_has_all_data (line 149) | def test_has_all_data(self): class TestPlatformSpecificInfo (line 157) | class TestPlatformSpecificInfo(TestCase): method setUp (line 159) | def setUp(self): method test_has_all_data (line 175) | def test_has_all_data(self): method test_content_type (line 181) | def test_content_type(self): FILE: numba/tests/test_target_extension.py class DPU (line 51) | class DPU(GPU): class JITDPUCodegen (line 62) | class JITDPUCodegen(CPUCodegen): method _customize_tm_options (line 67) | def _customize_tm_options(self, options): method _customize_tm_features (line 90) | def _customize_tm_features(self): method _add_module (line 94) | def _add_module(self, module): method set_env (line 97) | def set_env(self, env_name, env): class DPUContext (line 113) | class DPUContext(BaseContext): method create_module (line 117) | def create_module(self, name): method init (line 121) | def init(self): method refresh (line 127) | def refresh(self): method target_data (line 140) | def target_data(self): method codegen (line 143) | def codegen(self): method call_conv (line 148) | def call_conv(self): method get_env_body (line 151) | def get_env_body(self, builder, envptr): method get_env_manager (line 161) | def get_env_manager(self, builder): method get_generator_state (line 173) | def get_generator_state(self, builder, genptr, return_type): method post_lowering (line 185) | def post_lowering(self, mod, library): method create_cpython_wrapper (line 191) | def create_cpython_wrapper( method create_cfunc_wrapper (line 211) | def create_cfunc_wrapper(self, library, fndesc, env, call_helper): method get_executable (line 215) | def get_executable(self, library, fndesc, env): class DPUTarget (line 250) | class DPUTarget(TargetDescriptor): method _toplevel_target_context (line 254) | def _toplevel_target_context(self): method _toplevel_typing_context (line 259) | def _toplevel_typing_context(self): method target_context (line 264) | def target_context(self): method typing_context (line 271) | def typing_context(self): class DPUDispatcher (line 283) | class DPUDispatcher(Dispatcher): method compile (line 286) | def compile(self, sig): class djit (line 298) | class djit(JitDecorator): method __init__ (line 299) | def __init__(self, *args, **kwargs): method __call__ (line 303) | def __call__(self, *args): method get_dispatcher (line 313) | def get_dispatcher(self): method dispatcher_wrapper (line 319) | def dispatcher_wrapper(self): function constant_dummy (line 348) | def constant_dummy(context, builder, ty, pyval): function literal_int_to_number (line 354) | def literal_int_to_number(context, builder, fromty, toty, val): function const_int (line 363) | def const_int(context, builder, ty, pyval): function const_float (line 370) | def const_float(context, builder, ty, pyval): function intrin_add (line 377) | def intrin_add(tyctx, x, y): function ol_add (line 388) | def ol_add(x, y): class TestTargetHierarchySelection (line 397) | class TestTargetHierarchySelection(TestCase): method test_0_dpu_registry (line 402) | def test_0_dpu_registry(self): method test_specialise_gpu (line 415) | def test_specialise_gpu(self): method test_specialise_dpu (line 449) | def test_specialise_dpu(self): method test_no_specialisation_found (line 491) | def test_no_specialisation_found(self): method test_invalid_target_jit (line 519) | def test_invalid_target_jit(self): method test_invalid_target_overload (line 531) | def test_invalid_target_overload(self): method test_intrinsic_selection (line 552) | def test_intrinsic_selection(self): method test_overload_allocation (line 644) | def test_overload_allocation(self): method test_overload_attribute_target (line 713) | def test_overload_attribute_target(self): class TestTargetOffload (line 740) | class TestTargetOffload(TestCase): method test_basic_offload (line 749) | def test_basic_offload(self): FILE: numba/tests/test_target_overloadselector.py class TestOverloadSelector (line 12) | class TestOverloadSelector(unittest.TestCase): method test_select_and_sort_1 (line 13) | def test_select_and_sort_1(self): method test_select_and_sort_2 (line 29) | def test_select_and_sort_2(self): method test_match (line 46) | def test_match(self): method test_ambiguous_detection (line 61) | def test_ambiguous_detection(self): method test_subclass_specialization (line 83) | def test_subclass_specialization(self): method test_cache (line 92) | def test_cache(self): class TestAmbiguousOverloads (line 104) | class TestAmbiguousOverloads(unittest.TestCase): method setUpClass (line 107) | def setUpClass(cls): method create_overload_selector (line 111) | def create_overload_selector(self, kind): method test_ambiguous_casts (line 118) | def test_ambiguous_casts(self): method test_ambiguous_functions (line 129) | def test_ambiguous_functions(self): FILE: numba/tests/test_threadsafety.py function foo (line 17) | def foo(n, v): function ufunc_foo (line 21) | def ufunc_foo(a, b): function gufunc_foo (line 25) | def gufunc_foo(a, b, out): class TestThreadSafety (line 30) | class TestThreadSafety(unittest.TestCase): method run_jit (line 32) | def run_jit(self, **options): method run_compile (line 39) | def run_compile(self, fnlist): method test_concurrent_jit (line 54) | def test_concurrent_jit(self): method test_concurrent_jit_cache (line 57) | def test_concurrent_jit_cache(self): method run_vectorize (line 60) | def run_vectorize(self, **options): method test_concurrent_vectorize (line 67) | def test_concurrent_vectorize(self): method test_concurrent_vectorize_cache (line 70) | def test_concurrent_vectorize_cache(self): method run_guvectorize (line 73) | def run_guvectorize(self, **options): method test_concurrent_guvectorize (line 81) | def test_concurrent_guvectorize(self): method test_concurrent_guvectorize_cache (line 84) | def test_concurrent_guvectorize_cache(self): method test_concurrent_mix_use (line 87) | def test_concurrent_mix_use(self): FILE: numba/tests/test_tracing.py class CapturedTrace (line 14) | class CapturedTrace: method __init__ (line 17) | def __init__(self): method __enter__ (line 20) | def __enter__(self): method __exit__ (line 24) | def __exit__(self, type, value, traceback): method getvalue (line 26) | def getvalue(self): class Class (line 35) | class Class(object): method class_method (line 39) | def class_method(cls): method static_method (line 44) | def static_method(): method _test_get (line 49) | def _test_get(self): method _test_set (line 52) | def _test_set(self, value): method method (line 58) | def method(self, some, other='value', *args, **kwds): method __repr__ (line 61) | def __repr__(self): class Class2 (line 65) | class Class2(object): method class_method (line 67) | def class_method(cls): method static_method (line 71) | def static_method(): method test (line 76) | def test(self): method test (line 79) | def test(self, value): method method (line 82) | def method(self): method __str__ (line 85) | def __str__(self): method __repr__ (line 88) | def __repr__(self): function test (line 94) | def test(x, y, z = True): class TestTracing (line 100) | class TestTracing(unittest.TestCase): method __init__ (line 102) | def __init__(self, *args): method setUp (line 105) | def setUp(self): method tearDown (line 108) | def tearDown(self): method test_method (line 111) | def test_method(self): method test_class_method (line 119) | def test_class_method(self): method test_static_method (line 127) | def test_static_method(self): method test_property (line 136) | def test_property(self): method test_function (line 148) | def test_function(self): method test_injected (line 160) | def test_injected(self): FILE: numba/tests/test_try_except.py class MyError (line 20) | class MyError(Exception): class TestTryBareExcept (line 24) | class TestTryBareExcept(TestCase): method test_try_inner_raise (line 32) | def test_try_inner_raise(self): method test_try_state_reset (line 49) | def test_try_state_reset(self): method _multi_inner (line 74) | def _multi_inner(self): method test_nested_try (line 91) | def test_nested_try(self): method test_loop_in_try (line 136) | def test_loop_in_try(self): method test_raise_in_try (line 178) | def test_raise_in_try(self): method test_recursion (line 211) | def test_recursion(self): method test_yield (line 229) | def test_yield(self): method test_closure2 (line 249) | def test_closure2(self): method test_closure3 (line 265) | def test_closure3(self): method test_closure4 (line 282) | def test_closure4(self): method test_real_problem (line 307) | def test_real_problem(self): method test_for_loop (line 322) | def test_for_loop(self): method test_try_pass (line 355) | def test_try_pass(self): method test_try_except_reraise (line 367) | def test_try_except_reraise(self): class TestTryExceptCaught (line 383) | class TestTryExceptCaught(TestCase): method test_catch_exception (line 384) | def test_catch_exception(self): method test_return_in_catch (line 414) | def test_return_in_catch(self): method test_save_caught (line 450) | def test_save_caught(self): method test_try_except_reraise (line 469) | def test_try_except_reraise(self): method test_try_except_reraise_chain (line 484) | def test_try_except_reraise_chain(self): method test_division_operator (line 502) | def test_division_operator(self): class TestTryExceptNested (line 518) | class TestTryExceptNested(TestCase): method check_compare (line 521) | def check_compare(self, cfunc, pyfunc, *args, **kwargs): method test_try_except_else (line 534) | def test_try_except_else(self): method test_try_except_finally (line 578) | def test_try_except_finally(self): class TestTryExceptRefct (line 611) | class TestTryExceptRefct(MemoryLeakMixin, TestCase): method test_list_direct_raise (line 612) | def test_list_direct_raise(self): method test_list_indirect_raise (line 631) | def test_list_indirect_raise(self): method test_incompatible_refinement (line 656) | def test_incompatible_refinement(self): class TestTryExceptOtherControlFlow (line 678) | class TestTryExceptOtherControlFlow(TestCase): method test_yield (line 679) | def test_yield(self): method test_objmode (line 697) | def test_objmode(self): method test_objmode_output_type (line 719) | def test_objmode_output_type(self): method test_reraise_opcode_unreachable (line 744) | def test_reraise_opcode_unreachable(self): class TestTryExceptParfors (line 774) | class TestTryExceptParfors(TestCase): method test_try_in_prange_reduction (line 776) | def test_try_in_prange_reduction(self): method test_try_outside_prange_reduction (line 792) | def test_try_outside_prange_reduction(self): method test_try_in_prange_map (line 815) | def test_try_in_prange_map(self): method test_try_outside_prange_map (line 832) | def test_try_outside_prange_map(self): FILE: numba/tests/test_tuples.py function tuple_return_usecase (line 20) | def tuple_return_usecase(a, b): function tuple_first (line 23) | def tuple_first(tup): function tuple_second (line 27) | def tuple_second(tup): function tuple_index (line 31) | def tuple_index(tup, idx): function tuple_index_static (line 34) | def tuple_index_static(tup): function tuple_slice2 (line 38) | def tuple_slice2(tup): function tuple_slice3 (line 41) | def tuple_slice3(tup): function len_usecase (line 44) | def len_usecase(tup): function add_usecase (line 47) | def add_usecase(a, b): function eq_usecase (line 50) | def eq_usecase(a, b): function ne_usecase (line 53) | def ne_usecase(a, b): function gt_usecase (line 56) | def gt_usecase(a, b): function ge_usecase (line 59) | def ge_usecase(a, b): function lt_usecase (line 62) | def lt_usecase(a, b): function le_usecase (line 65) | def le_usecase(a, b): function in_usecase (line 68) | def in_usecase(a, b): function bool_usecase (line 71) | def bool_usecase(tup): function getattr_usecase (line 74) | def getattr_usecase(tup): function make_point (line 77) | def make_point(a, b, c): function make_point_kws (line 80) | def make_point_kws(a, b, c): function make_point_nrt (line 83) | def make_point_nrt(n): function type_usecase (line 89) | def type_usecase(tup, *args): function identity (line 92) | def identity(tup): function index_method_usecase (line 95) | def index_method_usecase(tup, value): function tuple_unpack_static_getitem_err (line 98) | def tuple_unpack_static_getitem_err(): class TestTupleLengthError (line 106) | class TestTupleLengthError(unittest.TestCase): method test_tuple_length_error (line 108) | def test_tuple_length_error(self): class TestTupleTypeNotIterable (line 122) | class TestTupleTypeNotIterable(unittest.TestCase): method test_namedtuple_types_exception (line 127) | def test_namedtuple_types_exception(self): method test_tuple_types_exception (line 135) | def test_tuple_types_exception(self): class TestTupleReturn (line 144) | class TestTupleReturn(TestCase): method test_array_tuple (line 146) | def test_array_tuple(self): method test_scalar_tuple (line 156) | def test_scalar_tuple(self): method test_hetero_tuple (line 164) | def test_hetero_tuple(self): class TestTuplePassing (line 183) | class TestTuplePassing(TestCase): method test_unituple (line 185) | def test_unituple(self): method test_hetero_tuple (line 192) | def test_hetero_tuple(self): method test_size_mismatch (line 199) | def test_size_mismatch(self): class TestOperations (line 211) | class TestOperations(TestCase): method test_len (line 213) | def test_len(self): method test_index_literal (line 220) | def test_index_literal(self): method test_index (line 231) | def test_index(self): method test_in (line 286) | def test_in(self): method check_slice (line 297) | def check_slice(self, pyfunc): method test_slice2 (line 305) | def test_slice2(self): method test_slice3 (line 308) | def test_slice3(self): method test_bool (line 311) | def test_bool(self): method test_add (line 322) | def test_add(self): method _test_compare (line 335) | def _test_compare(self, pyfunc): method test_eq (line 359) | def test_eq(self): method test_ne (line 362) | def test_ne(self): method test_gt (line 365) | def test_gt(self): method test_ge (line 368) | def test_ge(self): method test_lt (line 371) | def test_lt(self): method test_le (line 374) | def test_le(self): class TestNamedTuple (line 378) | class TestNamedTuple(TestCase, MemoryLeakMixin): method test_unpack (line 380) | def test_unpack(self): method test_len (line 391) | def test_len(self): method test_index (line 404) | def test_index(self): method test_bool (line 416) | def test_bool(self): method _test_compare (line 428) | def _test_compare(self, pyfunc): method test_eq (line 448) | def test_eq(self): method test_ne (line 451) | def test_ne(self): method test_gt (line 454) | def test_gt(self): method test_ge (line 457) | def test_ge(self): method test_lt (line 460) | def test_lt(self): method test_le (line 463) | def test_le(self): method test_getattr (line 466) | def test_getattr(self): method test_construct (line 474) | def test_construct(self): method test_type (line 486) | def test_type(self): method test_literal_unification (line 499) | def test_literal_unification(self): method test_string_literal_in_ctor (line 522) | def test_string_literal_in_ctor(self): method test_dispatcher_mistreat (line 532) | def test_dispatcher_mistreat(self): class TestTupleNRT (line 559) | class TestTupleNRT(TestCase, MemoryLeakMixin): method test_tuple_add (line 560) | def test_tuple_add(self): class TestNamedTupleNRT (line 573) | class TestNamedTupleNRT(TestCase, MemoryLeakMixin): method test_return (line 575) | def test_return(self): class TestConversions (line 587) | class TestConversions(TestCase): method check_conversion (line 592) | def check_conversion(self, fromty, toty, val): method test_conversions (line 598) | def test_conversions(self): class TestMethods (line 614) | class TestMethods(TestCase): method test_index (line 616) | def test_index(self): class TestTupleBuild (line 627) | class TestTupleBuild(TestCase): method test_build_unpack (line 629) | def test_build_unpack(self): method test_build_unpack_assign_like (line 640) | def test_build_unpack_assign_like(self): method test_build_unpack_fail_on_list_assign_like (line 652) | def test_build_unpack_fail_on_list_assign_like(self): method test_build_unpack_more (line 673) | def test_build_unpack_more(self): method test_build_unpack_call (line 684) | def test_build_unpack_call(self): method test_build_unpack_call_more (line 698) | def test_build_unpack_call_more(self): method test_tuple_constructor (line 712) | def test_tuple_constructor(self): method test_unpack_with_predicate_fails (line 724) | def test_unpack_with_predicate_fails(self): method test_build_unpack_with_calls_in_unpack (line 738) | def test_build_unpack_with_calls_in_unpack(self): method test_build_unpack_complicated (line 749) | def test_build_unpack_complicated(self): FILE: numba/tests/test_typeconv.py class CompatibilityTestMixin (line 10) | class CompatibilityTestMixin(unittest.TestCase): method check_number_compatibility (line 12) | def check_number_compatibility(self, check_compatible): class TestTypeConv (line 68) | class TestTypeConv(CompatibilityTestMixin, unittest.TestCase): method test_typeconv (line 70) | def test_typeconv(self): method test_default_rules (line 94) | def test_default_rules(self): method test_overload1 (line 98) | def test_overload1(self): method test_overload2 (line 114) | def test_overload2(self): method test_overload3 (line 142) | def test_overload3(self): method test_overload4 (line 169) | def test_overload4(self): method test_type_casting_rules (line 189) | def test_type_casting_rules(self): method test_castgraph_propagate (line 249) | def test_castgraph_propagate(self): FILE: numba/tests/test_typedlist.py function to_tl (line 21) | def to_tl(l): class TestTypedList (line 29) | class TestTypedList(MemoryLeakMixin, TestCase): method test_basic (line 31) | def test_basic(self): method test_list_extend_refines_on_unicode_type (line 106) | def test_list_extend_refines_on_unicode_type(self): method test_unsigned_access (line 117) | def test_unsigned_access(self): method test_dtype (line 166) | def test_dtype(self): method test_dtype_raises_exception_on_untyped_list (line 184) | def test_dtype_raises_exception_on_untyped_list(self): method test_unsigned_prange (line 195) | def test_unsigned_prange(self): method test_compiled (line 210) | def test_compiled(self): method test_getitem_slice (line 225) | def test_getitem_slice(self): method test_setitem_slice (line 273) | def test_setitem_slice(self): method test_setitem_slice_value_error (line 392) | def test_setitem_slice_value_error(self): method test_delitem_slice (line 410) | def test_delitem_slice(self): method test_list_create_no_jit_using_empty_list (line 489) | def test_list_create_no_jit_using_empty_list(self): method test_list_create_no_jit_using_List (line 495) | def test_list_create_no_jit_using_List(self): method test_catch_global_typed_list (line 501) | def test_catch_global_typed_list(self): method test_repr (line 517) | def test_repr(self): method test_repr_long_list (line 526) | def test_repr_long_list(self): method test_repr_long_list_ipython (line 531) | def test_repr_long_list_ipython(self): method test_iter_mutates_self (line 578) | def test_iter_mutates_self(self): class TestNoneType (line 600) | class TestNoneType(MemoryLeakMixin, TestCase): method test_append_none (line 602) | def test_append_none(self): method test_len_none (line 611) | def test_len_none(self): method test_getitem_none (line 620) | def test_getitem_none(self): method test_setitem_none (line 629) | def test_setitem_none(self): method test_equals_none (line 639) | def test_equals_none(self): method test_not_equals_none (line 650) | def test_not_equals_none(self): method test_iter_none (line 661) | def test_iter_none(self): method test_none_typed_method_fails (line 675) | def test_none_typed_method_fails(self): class TestAllocation (line 711) | class TestAllocation(MemoryLeakMixin, TestCase): method test_allocation (line 713) | def test_allocation(self): method test_allocation_njit (line 724) | def test_allocation_njit(self): method test_growth_and_shrinkage (line 743) | def test_growth_and_shrinkage(self): class TestExtend (line 764) | class TestExtend(MemoryLeakMixin, TestCase): method test_extend_other (line 766) | def test_extend_other(self): method test_extend_self (line 783) | def test_extend_self(self): method test_extend_tuple (line 796) | def test_extend_tuple(self): method test_extend_single_value_container (line 809) | def test_extend_single_value_container(self): method test_extend_empty_unrefined (line 820) | def test_extend_empty_unrefined(self): method test_extend_empty_refiend (line 829) | def test_extend_empty_refiend(self): function cmp (line 839) | def cmp(a, b): class TestComparisons (line 843) | class TestComparisons(MemoryLeakMixin, TestCase): method _cmp_dance (line 845) | def _cmp_dance(self, expected, pa, pb, na, nb): method test_empty_vs_empty (line 857) | def test_empty_vs_empty(self): method test_empty_vs_singleton (line 863) | def test_empty_vs_singleton(self): method test_singleton_vs_empty (line 869) | def test_singleton_vs_empty(self): method test_singleton_vs_singleton_equal (line 875) | def test_singleton_vs_singleton_equal(self): method test_singleton_vs_singleton_less_than (line 881) | def test_singleton_vs_singleton_less_than(self): method test_singleton_vs_singleton_greater_than (line 887) | def test_singleton_vs_singleton_greater_than(self): method test_equal (line 893) | def test_equal(self): method test_first_shorter (line 899) | def test_first_shorter(self): method test_second_shorter (line 905) | def test_second_shorter(self): method test_first_less_than (line 911) | def test_first_less_than(self): method test_first_greater_than (line 917) | def test_first_greater_than(self): method test_equals_non_list (line 923) | def test_equals_non_list(self): class TestListInferred (line 929) | class TestListInferred(TestCase): method test_simple_refine_append (line 931) | def test_simple_refine_append(self): method test_simple_refine_insert (line 944) | def test_simple_refine_insert(self): method test_refine_extend_list (line 957) | def test_refine_extend_list(self): method test_refine_extend_set (line 973) | def test_refine_extend_set(self): method test_refine_list_extend_iter (line 986) | def test_refine_list_extend_iter(self): class TestListRefctTypes (line 1000) | class TestListRefctTypes(MemoryLeakMixin, TestCase): method test_str_item (line 1002) | def test_str_item(self): method test_str_item_refcount_replace (line 1024) | def test_str_item_refcount_replace(self): method test_dict_as_item_in_list (line 1045) | def test_dict_as_item_in_list(self): method test_dict_as_item_in_list_multi_refcount (line 1062) | def test_dict_as_item_in_list_multi_refcount(self): method test_list_as_value_in_dict (line 1080) | def test_list_as_value_in_dict(self): method test_list_as_item_in_list (line 1097) | def test_list_as_item_in_list(self): method test_array_as_item_in_list (line 1112) | def test_array_as_item_in_list(self): method test_array_pop_from_single_value_list (line 1127) | def test_array_pop_from_single_value_list(self): method test_5264 (line 1141) | def test_5264(self): method test_jitclass_as_item_in_list (line 1149) | def test_jitclass_as_item_in_list(self): method test_4960 (line 1189) | def test_4960(self): method test_storage_model_mismatch (line 1205) | def test_storage_model_mismatch(self): method test_equals_on_list_with_dict_for_equal_lists (line 1221) | def test_equals_on_list_with_dict_for_equal_lists(self): method test_equals_on_list_with_dict_for_unequal_dicts (line 1233) | def test_equals_on_list_with_dict_for_unequal_dicts(self): method test_equals_on_list_with_dict_for_unequal_lists (line 1245) | def test_equals_on_list_with_dict_for_unequal_lists(self): class TestListSort (line 1260) | class TestListSort(MemoryLeakMixin, TestCase): method setUp (line 1261) | def setUp(self): method make (line 1265) | def make(self, ctor, data): method make_both (line 1270) | def make_both(self, data): method test_sort_no_args (line 1276) | def test_sort_no_args(self): method test_sort_all_args (line 1285) | def test_sort_all_args(self): method test_sort_dispatcher_key (line 1306) | def test_sort_dispatcher_key(self): method test_sort_in_jit_w_lambda_key (line 1325) | def test_sort_in_jit_w_lambda_key(self): method test_sort_in_jit_w_global_key (line 1334) | def test_sort_in_jit_w_global_key(self): method test_sort_on_arrays (line 1347) | def test_sort_on_arrays(self): class TestImmutable (line 1361) | class TestImmutable(MemoryLeakMixin, TestCase): method test_is_immutable (line 1363) | def test_is_immutable(self): method test_make_immutable_is_immutable (line 1372) | def test_make_immutable_is_immutable(self): method test_length_still_works_when_immutable (line 1382) | def test_length_still_works_when_immutable(self): method test_getitem_still_works_when_immutable (line 1393) | def test_getitem_still_works_when_immutable(self): method test_append_fails (line 1404) | def test_append_fails(self): method test_mutation_fails (line 1422) | def test_mutation_fails(self): class TestGetItemIndexType (line 1457) | class TestGetItemIndexType(MemoryLeakMixin, TestCase): method test_indexing_with_uint8 (line 1459) | def test_indexing_with_uint8(self): class TestListFromIter (line 1473) | class TestListFromIter(MemoryLeakMixin, TestCase): method test_simple_iterable_types (line 1475) | def test_simple_iterable_types(self): method test_unicode (line 1500) | def test_unicode(self): method test_dict_iters (line 1512) | def test_dict_iters(self): method test_ndarray_scalar (line 1544) | def test_ndarray_scalar(self): method test_ndarray_oned (line 1557) | def test_ndarray_oned(self): method test_ndarray_twod (line 1569) | def test_ndarray_twod(self): method test_exception_on_plain_int (line 1594) | def test_exception_on_plain_int(self): method test_exception_on_inhomogeneous_tuple (line 1614) | def test_exception_on_inhomogeneous_tuple(self): method test_exception_on_too_many_args (line 1632) | def test_exception_on_too_many_args(self): method test_exception_on_kwargs (line 1671) | def test_exception_on_kwargs(self): FILE: numba/tests/test_typedobjectutils.py class TestTypedObjectUtils (line 13) | class TestTypedObjectUtils(TestCase): method test_sentry_safe_cast_warnings (line 14) | def test_sentry_safe_cast_warnings(self): method test_sentry_safe_cast_no_warn (line 43) | def test_sentry_safe_cast_no_warn(self): FILE: numba/tests/test_typeguard.py function guard_args (line 9) | def guard_args(val: int): function guard_ret (line 13) | def guard_ret(val) -> int: class TestTypeGuard (line 18) | class TestTypeGuard(TestCase): method setUp (line 20) | def setUp(self): method test_check_args (line 28) | def test_check_args(self): method test_check_ret (line 32) | def test_check_ret(self): method test_check_does_not_work_with_inner_func (line 36) | def test_check_does_not_work_with_inner_func(self): FILE: numba/tests/test_typeinfer.py class TestArgRetCasting (line 41) | class TestArgRetCasting(unittest.TestCase): method test_arg_ret_casting (line 42) | def test_arg_ret_casting(self): method test_arg_ret_mismatch (line 54) | def test_arg_ret_mismatch(self): method test_invalid_arg_type_forcing (line 67) | def test_invalid_arg_type_forcing(self): class TestUnify (line 81) | class TestUnify(unittest.TestCase): method assert_unify (line 133) | def assert_unify(self, aty, bty, expected): method assert_unify_failure (line 144) | def assert_unify_failure(self, aty, bty): method test_integer (line 147) | def test_integer(self): method test_bool (line 158) | def test_bool(self): method unify_number_pair_test (line 166) | def unify_number_pair_test(self, n): method test_unify_number_pair (line 182) | def test_unify_number_pair(self): method test_none_to_optional (line 186) | def test_none_to_optional(self): method test_none (line 201) | def test_none(self): method test_optional (line 206) | def test_optional(self): method test_tuple (line 221) | def test_tuple(self): method test_optional_tuple (line 262) | def test_optional_tuple(self): method test_arrays (line 280) | def test_arrays(self): method test_list (line 302) | def test_list(self): method test_set (line 323) | def test_set(self): method test_range (line 334) | def test_range(self): class TestTypeConversion (line 340) | class TestTypeConversion(CompatibilityTestMixin, unittest.TestCase): method assert_can_convert (line 345) | def assert_can_convert(self, aty, bty, expected): method assert_cannot_convert (line 350) | def assert_cannot_convert(self, aty, bty): method test_convert_number_types (line 355) | def test_convert_number_types(self): method test_tuple (line 362) | def test_tuple(self): method test_arrays (line 395) | def test_arrays(self): method test_optional (line 418) | def test_optional(self): class TestResolveOverload (line 441) | class TestResolveOverload(unittest.TestCase): method assert_resolve_overload (line 446) | def assert_resolve_overload(self, cases, args, expected): method test_non_ambiguous_match (line 451) | def test_non_ambiguous_match(self): method test_ambiguous_match (line 472) | def test_ambiguous_match(self): method test_ambiguous_error (line 489) | def test_ambiguous_error(self): class TestUnifyUseCases (line 502) | class TestUnifyUseCases(unittest.TestCase): method _actually_test_complex_unify (line 508) | def _actually_test_complex_unify(): method test_complex_unify_issue599 (line 519) | def test_complex_unify_issue599(self): method test_complex_unify_issue599_multihash (line 524) | def test_complex_unify_issue599_multihash(self): method test_int_tuple_unify (line 539) | def test_int_tuple_unify(self): function issue_797 (line 554) | def issue_797(x0, y0, x1, y1, grid): function issue_1080 (line 589) | def issue_1080(a, b): function list_unify_usecase1 (line 595) | def list_unify_usecase1(n): function list_unify_usecase2 (line 614) | def list_unify_usecase2(n): function range_unify_usecase (line 624) | def range_unify_usecase(v): function issue_1394 (line 632) | def issue_1394(a): class TestMiscIssues (line 642) | class TestMiscIssues(TestCase): method test_issue_797 (line 644) | def test_issue_797(self): method test_issue_1080 (line 653) | def test_issue_1080(self): method test_list_unify1 (line 661) | def test_list_unify1(self): method test_list_unify2 (line 671) | def test_list_unify2(self): method test_range_unify (line 679) | def test_range_unify(self): method test_issue_1394 (line 686) | def test_issue_1394(self): method test_issue_6293 (line 693) | def test_issue_6293(self): method test_issue_9162 (line 718) | def test_issue_9162(self): method test_load_fast_and_clear (line 747) | def test_load_fast_and_clear(self): method test_load_fast_and_clear_variant_2 (line 766) | def test_load_fast_and_clear_variant_2(self): method test_load_fast_and_clear_variant_3 (line 782) | def test_load_fast_and_clear_variant_3(self): method test_load_fast_and_clear_variant_4 (line 798) | def test_load_fast_and_clear_variant_4(self): class TestFoldArguments (line 811) | class TestFoldArguments(unittest.TestCase): method check_fold_arguments_list_inputs (line 812) | def check_fold_arguments_list_inputs(self, func, args, kws): method test_fold_arguments_list_inputs (line 838) | def test_fold_arguments_list_inputs(self): class DummyCR (line 867) | class DummyCR(FunctionPass): method __init__ (line 874) | def __init__(self): method run_pass (line 877) | def run_pass(self, state): class TyperCompiler (line 882) | class TyperCompiler(numba.core.compiler.CompilerBase): method define_pipelines (line 887) | def define_pipelines(self): function get_func_typing_errs (line 897) | def get_func_typing_errs(func, arg_types): class TestPartialTypingErrors (line 917) | class TestPartialTypingErrors(unittest.TestCase): method test_partial_typing_error (line 921) | def test_partial_typing_error(self): class TestTypeInferFailCache (line 937) | class TestTypeInferFailCache(unittest.TestCase): method mock_callstack_register (line 939) | def mock_callstack_register(): method test_fail_cache (line 953) | def test_fail_cache(self): method test_config_to_disable_fail_cache (line 965) | def test_config_to_disable_fail_cache(self): FILE: numba/tests/test_typenames.py class TestTypeNames (line 7) | class TestTypeNames(unittest.TestCase): method test_numpy_integers (line 8) | def test_numpy_integers(self): FILE: numba/tests/test_typeof.py class Custom (line 45) | class Custom(object): method _numba_type_ (line 48) | def _numba_type_(self): class TestTypeof (line 56) | class TestTypeof(ValueTypingTestBase, TestCase): method test_number_values (line 61) | def test_number_values(self): method test_datetime_values (line 74) | def test_datetime_values(self): method test_timedelta_values (line 80) | def test_timedelta_values(self): method test_array_values (line 86) | def test_array_values(self): method test_structured_arrays (line 124) | def test_structured_arrays(self): method test_buffers (line 149) | def test_buffers(self): method test_none (line 167) | def test_none(self): method test_ellipsis (line 171) | def test_ellipsis(self): method test_str (line 175) | def test_str(self): method test_slices (line 179) | def test_slices(self): method test_tuples (line 187) | def test_tuples(self): method test_lists (line 196) | def test_lists(self): method test_sets (line 205) | def test_sets(self): method test_namedtuple (line 213) | def test_namedtuple(self): method test_enum (line 228) | def test_enum(self): method test_enum_class (line 245) | def test_enum_class(self): method test_dtype (line 263) | def test_dtype(self): method test_dtype_values (line 271) | def test_dtype_values(self): method test_ctypes (line 277) | def test_ctypes(self): method test_cffi (line 288) | def test_cffi(self): method test_custom (line 306) | def test_custom(self): method test_omitted_args (line 310) | def test_omitted_args(self): method test_np_random (line 321) | def test_np_random(self): class DistinctChecker (line 330) | class DistinctChecker(object): method __init__ (line 332) | def __init__(self): method add (line 335) | def add(self, obj): class TestFingerprint (line 341) | class TestFingerprint(TestCase): method test_floats (line 351) | def test_floats(self): method test_ints (line 358) | def test_ints(self): method test_bool (line 370) | def test_bool(self): method test_complex (line 375) | def test_complex(self): method test_none (line 382) | def test_none(self): method test_enums (line 385) | def test_enums(self): method test_records (line 392) | def test_records(self): method test_datetime (line 400) | def test_datetime(self): method test_arrays (line 410) | def test_arrays(self): method test_buffers (line 455) | def test_buffers(self): method test_dtype (line 491) | def test_dtype(self): method test_tuples (line 511) | def test_tuples(self): method test_lists (line 524) | def test_lists(self): method test_sets (line 538) | def test_sets(self): method test_omitted_args (line 555) | def test_omitted_args(self): method test_complicated_type (line 569) | def test_complicated_type(self): class TestTypeOfMemCpy (line 577) | class TestTypeOfMemCpy(TestCase): method test_memcpy_typeof_buffer (line 579) | def test_memcpy_typeof_buffer(self): FILE: numba/tests/test_types.py function gen (line 39) | def gen(x): class Dummy (line 43) | class Dummy(object): class TestTypes (line 47) | class TestTypes(TestCase): method test_equality (line 49) | def test_equality(self): method test_weaktype (line 102) | def test_weaktype(self): method test_interning (line 148) | def test_interning(self): method test_cache_trimming (line 168) | def test_cache_trimming(self): method test_array_notation (line 183) | def test_array_notation(self): method test_array_notation_for_dtype (line 209) | def test_array_notation_for_dtype(self): method test_call_notation (line 222) | def test_call_notation(self): method test_list_type_getitem (line 242) | def test_list_type_getitem(self): method test_function_incompatible_templates (line 248) | def test_function_incompatible_templates(self): class TestNumbers (line 267) | class TestNumbers(TestCase): method test_bitwidth (line 272) | def test_bitwidth(self): method test_minval_maxval (line 279) | def test_minval_maxval(self): method test_from_bidwidth (line 289) | def test_from_bidwidth(self): method test_ordering (line 294) | def test_ordering(self): class TestNdIter (line 324) | class TestNdIter(TestCase): method test_properties (line 326) | def test_properties(self): class TestPickling (line 437) | class TestPickling(TestCase): method predefined_types (line 444) | def predefined_types(self): method check_pickling (line 452) | def check_pickling(self, orig): method test_predefined_types (line 458) | def test_predefined_types(self): method test_atomic_types (line 464) | def test_atomic_types(self): method test_arrays (line 471) | def test_arrays(self): method test_records (line 477) | def test_records(self): method test_optional (line 486) | def test_optional(self): method test_tuples (line 490) | def test_tuples(self): method test_namedtuples (line 496) | def test_namedtuples(self): method test_enums (line 502) | def test_enums(self): method test_lists (line 510) | def test_lists(self): method test_generator (line 514) | def test_generator(self): method test_external_function_pointers (line 523) | def test_external_function_pointers(self): class TestSignatures (line 532) | class TestSignatures(TestCase): method test_normalize_signature (line 534) | def test_normalize_signature(self): class TestRecordDtype (line 563) | class TestRecordDtype(unittest.TestCase): method test_record_type_equiv (line 564) | def test_record_type_equiv(self): method test_user_specified (line 573) | def test_user_specified(self): class TestDType (line 591) | class TestDType(TestCase): method test_type_attr (line 592) | def test_type_attr(self): method test_kind (line 612) | def test_kind(self): method test_dtype_with_type (line 620) | def test_dtype_with_type(self): method test_dtype_with_string (line 627) | def test_dtype_with_string(self): class TestIsInternalTypeMarker (line 635) | class TestIsInternalTypeMarker(TestCase): method test_create_temp_module (line 647) | def test_create_temp_module(self): method test_create_temp_module_with_exception (line 659) | def test_create_temp_module_with_exception(self): method test_externally_defined_type_is_external (line 670) | def test_externally_defined_type_is_external(self): method test_mixin_against_real_example (line 741) | def test_mixin_against_real_example(self): class TestIssues (line 782) | class TestIssues(TestCase): method test_omitted_type (line 783) | def test_omitted_type(self): method test_type_of_literal (line 809) | def test_type_of_literal(self): method test_issue_typeref_key (line 837) | def test_issue_typeref_key(self): method test_issue_list_type_key (line 856) | def test_issue_list_type_key(self): method test_int_enum_no_conversion (line 877) | def test_int_enum_no_conversion(self): FILE: numba/tests/test_typingerror.py function what (line 16) | def what(): function foo (line 19) | def foo(): function bar (line 22) | def bar(x): function issue_868 (line 25) | def issue_868(a): function impossible_return_type (line 28) | def impossible_return_type(x): function bad_hypot_usage (line 34) | def bad_hypot_usage(): function imprecise_list (line 37) | def imprecise_list(): function using_imprecise_list (line 41) | def using_imprecise_list(): function unknown_module (line 45) | def unknown_module(): function nop (line 48) | def nop(x, y, z): function array_setitem_invalid_cast (line 51) | def array_setitem_invalid_cast(): class Foo (line 57) | class Foo(object): method __repr__ (line 58) | def __repr__(self): class TestTypingError (line 62) | class TestTypingError(unittest.TestCase): method test_unknown_function (line 64) | def test_unknown_function(self): method test_unknown_attrs (line 72) | def test_unknown_attrs(self): method test_unknown_module (line 80) | def test_unknown_module(self): method test_issue_868 (line 86) | def test_issue_868(self): method test_return_type_unification (line 101) | def test_return_type_unification(self): method test_bad_hypot_usage (line 108) | def test_bad_hypot_usage(self): method test_imprecise_list (line 125) | def test_imprecise_list(self): method test_using_imprecise_list (line 140) | def test_using_imprecise_list(self): method test_array_setitem_invalid_cast (line 151) | def test_array_setitem_invalid_cast(self): method test_template_rejection_error_message_cascade (line 165) | def test_template_rejection_error_message_cascade(self): class TestArgumentTypingError (line 187) | class TestArgumentTypingError(unittest.TestCase): method test_unsupported_array_dtype (line 192) | def test_unsupported_array_dtype(self): method test_unsupported_type (line 202) | def test_unsupported_type(self): class TestCallError (line 215) | class TestCallError(unittest.TestCase): method test_readonly_array (line 216) | def test_readonly_array(self): FILE: numba/tests/test_ufuncs.py function _unimplemented (line 26) | def _unimplemented(func): function _make_ufunc_usecase (line 38) | def _make_ufunc_usecase(ufunc): function _make_unary_ufunc_op_usecase (line 48) | def _make_unary_ufunc_op_usecase(ufunc_op): function _make_binary_ufunc_op_usecase (line 56) | def _make_binary_ufunc_op_usecase(ufunc_op): function _make_inplace_ufunc_op_usecase (line 64) | def _make_inplace_ufunc_op_usecase(ufunc_op): function _as_dtype_value (line 81) | def _as_dtype_value(tyargs, args): class BaseUFuncTest (line 87) | class BaseUFuncTest(MemoryLeakMixin): method setUp (line 89) | def setUp(self): method _compile (line 128) | def _compile(self, pyfunc, args, nrt=False): method _determine_output_type (line 133) | def _determine_output_type(self, input_type, int_output_type=None, class BasicUFuncTest (line 160) | class BasicUFuncTest(BaseUFuncTest): method _make_ufunc_usecase (line 161) | def _make_ufunc_usecase(self, ufunc): method basic_ufunc_test (line 164) | def basic_ufunc_test(self, ufunc, skip_inputs=None, additional_inputs=... method signed_unsigned_cmp_test (line 263) | def signed_unsigned_cmp_test(self, comparison_ufunc): class TestUFuncs (line 314) | class TestUFuncs(BasicUFuncTest, TestCase): method basic_int_ufunc_test (line 315) | def basic_int_ufunc_test(self, name=None): method test_add_ufunc (line 327) | def test_add_ufunc(self): method test_subtract_ufunc (line 330) | def test_subtract_ufunc(self): method test_multiply_ufunc (line 333) | def test_multiply_ufunc(self): method test_divide_ufunc (line 336) | def test_divide_ufunc(self): method test_logaddexp_ufunc (line 345) | def test_logaddexp_ufunc(self): method test_logaddexp2_ufunc (line 348) | def test_logaddexp2_ufunc(self): method test_true_divide_ufunc (line 351) | def test_true_divide_ufunc(self): method test_floor_divide_ufunc (line 355) | def test_floor_divide_ufunc(self): method test_negative_ufunc (line 358) | def test_negative_ufunc(self): method test_positive_ufunc (line 365) | def test_positive_ufunc(self): method test_power_ufunc (line 368) | def test_power_ufunc(self): method test_float_power_ufunc (line 371) | def test_float_power_ufunc(self): method test_gcd_ufunc (line 374) | def test_gcd_ufunc(self): method test_lcm_ufunc (line 377) | def test_lcm_ufunc(self): method test_remainder_ufunc (line 380) | def test_remainder_ufunc(self): method test_mod_ufunc (line 383) | def test_mod_ufunc(self): method test_fmod_ufunc (line 390) | def test_fmod_ufunc(self): method test_abs_ufunc (line 393) | def test_abs_ufunc(self, ufunc=np.abs): method test_absolute_ufunc (line 403) | def test_absolute_ufunc(self): method test_fabs_ufunc (line 406) | def test_fabs_ufunc(self): method test_rint_ufunc (line 409) | def test_rint_ufunc(self): method test_sign_ufunc (line 412) | def test_sign_ufunc(self): method test_conj_ufunc (line 415) | def test_conj_ufunc(self): method test_exp_ufunc (line 418) | def test_exp_ufunc(self): method test_exp2_ufunc (line 421) | def test_exp2_ufunc(self): method test_log_ufunc (line 424) | def test_log_ufunc(self): method test_log2_ufunc (line 427) | def test_log2_ufunc(self): method test_log10_ufunc (line 430) | def test_log10_ufunc(self): method test_expm1_ufunc (line 433) | def test_expm1_ufunc(self): method test_log1p_ufunc (line 436) | def test_log1p_ufunc(self): method test_sqrt_ufunc (line 439) | def test_sqrt_ufunc(self): method test_square_ufunc (line 442) | def test_square_ufunc(self): method test_cbrt_ufunc (line 445) | def test_cbrt_ufunc(self): method test_reciprocal_ufunc (line 448) | def test_reciprocal_ufunc(self): method test_conjugate_ufunc (line 458) | def test_conjugate_ufunc(self): method test_sin_ufunc (line 464) | def test_sin_ufunc(self): method test_cos_ufunc (line 467) | def test_cos_ufunc(self): method test_tan_ufunc (line 470) | def test_tan_ufunc(self): method test_arcsin_ufunc (line 473) | def test_arcsin_ufunc(self): method test_arccos_ufunc (line 476) | def test_arccos_ufunc(self): method test_arctan_ufunc (line 479) | def test_arctan_ufunc(self): method test_arctan2_ufunc (line 482) | def test_arctan2_ufunc(self): method test_hypot_ufunc (line 485) | def test_hypot_ufunc(self): method test_sinh_ufunc (line 488) | def test_sinh_ufunc(self): method test_cosh_ufunc (line 491) | def test_cosh_ufunc(self): method test_tanh_ufunc (line 494) | def test_tanh_ufunc(self): method test_arcsinh_ufunc (line 497) | def test_arcsinh_ufunc(self): method test_arccosh_ufunc (line 500) | def test_arccosh_ufunc(self): method test_arctanh_ufunc (line 503) | def test_arctanh_ufunc(self): method test_deg2rad_ufunc (line 519) | def test_deg2rad_ufunc(self): method test_rad2deg_ufunc (line 522) | def test_rad2deg_ufunc(self): method test_degrees_ufunc (line 525) | def test_degrees_ufunc(self): method test_radians_ufunc (line 528) | def test_radians_ufunc(self): method test_bitwise_and_ufunc (line 534) | def test_bitwise_and_ufunc(self): method test_bitwise_or_ufunc (line 537) | def test_bitwise_or_ufunc(self): method test_bitwise_xor_ufunc (line 540) | def test_bitwise_xor_ufunc(self): method test_invert_ufunc (line 543) | def test_invert_ufunc(self): method test_bitwise_not_ufunc (line 546) | def test_bitwise_not_ufunc(self): method test_greater_ufunc (line 561) | def test_greater_ufunc(self): method test_greater_equal_ufunc (line 564) | def test_greater_equal_ufunc(self): method test_less_ufunc (line 567) | def test_less_ufunc(self): method test_less_equal_ufunc (line 570) | def test_less_equal_ufunc(self): method test_not_equal_ufunc (line 573) | def test_not_equal_ufunc(self): method test_equal_ufunc (line 576) | def test_equal_ufunc(self): method test_logical_and_ufunc (line 579) | def test_logical_and_ufunc(self): method test_logical_or_ufunc (line 582) | def test_logical_or_ufunc(self): method test_logical_xor_ufunc (line 585) | def test_logical_xor_ufunc(self): method test_logical_not_ufunc (line 588) | def test_logical_not_ufunc(self): method test_maximum_ufunc (line 591) | def test_maximum_ufunc(self): method test_minimum_ufunc (line 594) | def test_minimum_ufunc(self): method test_fmax_ufunc (line 597) | def test_fmax_ufunc(self): method test_fmin_ufunc (line 600) | def test_fmin_ufunc(self): method bool_additional_inputs (line 606) | def bool_additional_inputs(self): method test_isfinite_ufunc (line 612) | def test_isfinite_ufunc(self): method test_isinf_ufunc (line 618) | def test_isinf_ufunc(self): method test_isnan_ufunc (line 624) | def test_isnan_ufunc(self): method test_signbit_ufunc (line 630) | def test_signbit_ufunc(self): method test_copysign_ufunc (line 633) | def test_copysign_ufunc(self): method test_nextafter_ufunc (line 636) | def test_nextafter_ufunc(self): method test_modf_ufunc (line 640) | def test_modf_ufunc(self): method test_frexp_ufunc (line 648) | def test_frexp_ufunc(self): method test_floor_ufunc (line 651) | def test_floor_ufunc(self): method test_ceil_ufunc (line 654) | def test_ceil_ufunc(self): method test_trunc_ufunc (line 657) | def test_trunc_ufunc(self): method test_spacing_ufunc (line 660) | def test_spacing_ufunc(self): method binary_ufunc_mixed_types_test (line 671) | def binary_ufunc_mixed_types_test(self, ufunc): method test_broadcasting (line 749) | def test_broadcasting(self): method test_implicit_output_npm (line 816) | def test_implicit_output_npm(self): method test_broadcast_implicit_output_npm_nrt (line 828) | def test_broadcast_implicit_output_npm_nrt(self): method test_implicit_output_layout_binary (line 857) | def test_implicit_output_layout_binary(self): method test_implicit_output_layout_unary (line 894) | def test_implicit_output_layout_unary(self): class TestArrayOperators (line 927) | class TestArrayOperators(BaseUFuncTest, TestCase): method _check_results (line 929) | def _check_results(self, expected, got): method unary_op_test (line 933) | def unary_op_test(self, operator, nrt=True, method binary_op_test (line 956) | def binary_op_test(self, operator, nrt=True, method bitwise_additional_inputs (line 1002) | def bitwise_additional_inputs(self): method binary_int_op_test (line 1011) | def binary_int_op_test(self, *args, **kws): method binary_bitwise_op_test (line 1020) | def binary_bitwise_op_test(self, *args, **kws): method inplace_op_test (line 1025) | def inplace_op_test(self, operator, lhs_values, rhs_values, method inplace_float_op_test (line 1056) | def inplace_float_op_test(self, operator, lhs_values, rhs_values, method inplace_int_op_test (line 1065) | def inplace_int_op_test(self, operator, lhs_values, rhs_values): method inplace_bitwise_op_test (line 1070) | def inplace_bitwise_op_test(self, operator, lhs_values, rhs_values): method test_unary_positive_array_op (line 1078) | def test_unary_positive_array_op(self): method test_unary_negative_array_op (line 1081) | def test_unary_negative_array_op(self): method test_unary_invert_array_op (line 1084) | def test_unary_invert_array_op(self): method test_inplace_add (line 1094) | def test_inplace_add(self): method test_inplace_sub (line 1098) | def test_inplace_sub(self): method test_inplace_mul (line 1102) | def test_inplace_mul(self): method test_inplace_floordiv (line 1106) | def test_inplace_floordiv(self): method test_inplace_div (line 1111) | def test_inplace_div(self): method test_inplace_remainder (line 1116) | def test_inplace_remainder(self): method test_inplace_pow (line 1120) | def test_inplace_pow(self): method test_inplace_and (line 1126) | def test_inplace_and(self): method test_inplace_or (line 1132) | def test_inplace_or(self): method test_inplace_xor (line 1138) | def test_inplace_xor(self): method test_inplace_lshift (line 1144) | def test_inplace_lshift(self): method test_inplace_rshift (line 1149) | def test_inplace_rshift(self): method test_unary_positive_array_op_2 (line 1154) | def test_unary_positive_array_op_2(self): method test_add_array_op (line 1179) | def test_add_array_op(self): method test_subtract_array_op (line 1182) | def test_subtract_array_op(self): method test_multiply_array_op (line 1185) | def test_multiply_array_op(self): method test_divide_array_op (line 1188) | def test_divide_array_op(self): method test_floor_divide_array_op (line 1193) | def test_floor_divide_array_op(self): method test_remainder_array_op (line 1221) | def test_remainder_array_op(self): method test_power_array_op (line 1224) | def test_power_array_op(self): method test_left_shift_array_op (line 1227) | def test_left_shift_array_op(self): method test_right_shift_array_op (line 1230) | def test_right_shift_array_op(self): method test_bitwise_and_array_op (line 1233) | def test_bitwise_and_array_op(self): method test_bitwise_or_array_op (line 1236) | def test_bitwise_or_array_op(self): method test_bitwise_xor_array_op (line 1239) | def test_bitwise_xor_array_op(self): method test_equal_array_op (line 1242) | def test_equal_array_op(self): method test_greater_array_op (line 1245) | def test_greater_array_op(self): method test_greater_equal_array_op (line 1248) | def test_greater_equal_array_op(self): method test_less_array_op (line 1251) | def test_less_array_op(self): method test_less_equal_array_op (line 1254) | def test_less_equal_array_op(self): method test_not_equal_array_op (line 1257) | def test_not_equal_array_op(self): class TestScalarUFuncs (line 1261) | class TestScalarUFuncs(TestCase): method run_ufunc (line 1269) | def run_ufunc(self, pyfunc, arg_types, arg_values): method test_scalar_unary_ufunc (line 1320) | def test_scalar_unary_ufunc(self): method test_scalar_binary_uniform_ufunc (line 1330) | def test_scalar_binary_uniform_ufunc(self): method test_scalar_binary_mixed_ufunc (line 1339) | def test_scalar_binary_mixed_ufunc(self): class TestUfuncIssues (line 1351) | class TestUfuncIssues(TestCase): method test_issue_651 (line 1353) | def test_issue_651(self): method test_issue_2006 (line 1363) | def test_issue_2006(self): class _LoopTypesTester (line 1387) | class _LoopTypesTester(TestCase): method _arg_for_type (line 1420) | def _arg_for_type(self, a_letter_type, index=0): method _check_loop (line 1459) | def _check_loop(self, fn, ufunc, loop): method _check_ufunc_with_dtypes (line 1482) | def _check_ufunc_with_dtypes(self, fn, ufunc, dtypes): method _fixup_results (line 1522) | def _fixup_results(self, dtype, py_arg, c_arg): method _check_ufunc_loops (line 1526) | def _check_ufunc_loops(cls, ufunc): method _inject_test (line 1531) | def _inject_test(cls, ufunc, loop): method autogenerate (line 1540) | def autogenerate(cls): class TestLoopTypesInt (line 1545) | class TestLoopTypesInt(_LoopTypesTester): class TestLoopTypesSubtractAndNegative (line 1562) | class TestLoopTypesSubtractAndNegative(_LoopTypesTester): class TestLoopTypesReciprocal (line 1571) | class TestLoopTypesReciprocal(_LoopTypesTester): method _arg_for_type (line 1576) | def _arg_for_type(self, a_letter_type, index=0): class TestLoopTypesPower (line 1590) | class TestLoopTypesPower(_LoopTypesTester): method _arg_for_type (line 1595) | def _arg_for_type(self, a_letter_type, index=0): class TestLoopTypesIntLeftShift (line 1609) | class TestLoopTypesIntLeftShift(_LoopTypesTester): method _arg_for_type (line 1614) | def _arg_for_type(self, a_letter_type, index=0): class TestLoopTypesIntRightShift (line 1632) | class TestLoopTypesIntRightShift(_LoopTypesTester): method _arg_for_type (line 1637) | def _arg_for_type(self, a_letter_type, index=0): class TestLoopTypesFloorDivide (line 1666) | class TestLoopTypesFloorDivide(_LoopTypesTester): method _fixup_results (line 1671) | def _fixup_results(self, dtype, py_arg, c_arg): class TestLoopTypesFloat (line 1685) | class TestLoopTypesFloat(_LoopTypesTester): class TestLoopTypesComplex (line 1700) | class TestLoopTypesComplex(_LoopTypesTester): class TestLoopTypesDatetime (line 1712) | class TestLoopTypesDatetime(_LoopTypesTester): method test_add (line 1730) | def test_add(self): method test_subtract (line 1744) | def test_subtract(self): method test_multiply (line 1758) | def test_multiply(self): method test_true_divide (line 1768) | def test_true_divide(self): method test_floor_divide (line 1781) | def test_floor_divide(self): method _check_comparison (line 1791) | def _check_comparison(self, ufunc): method test_comparisons (line 1800) | def test_comparisons(self): class TestUFuncBadArgs (line 1809) | class TestUFuncBadArgs(TestCase): method test_missing_args (line 1810) | def test_missing_args(self): method test_too_many_args (line 1819) | def test_too_many_args(self): method test_no_scalar_result_by_reference (line 1831) | def test_no_scalar_result_by_reference(self): class TestUFuncCompilationThreadSafety (line 1841) | class TestUFuncCompilationThreadSafety(TestCase): method test_lock (line 1843) | def test_lock(self): class TestUfuncOnContext (line 1870) | class TestUfuncOnContext(TestCase): method test_cpu_get_ufunc_info (line 1871) | def test_cpu_get_ufunc_info(self): method test_base_get_ufunc_info (line 1887) | def test_base_get_ufunc_info(self): class TestUfuncWriteInput (line 1898) | class TestUfuncWriteInput(TestCase): method test_write_input_arg (line 1899) | def test_write_input_arg(self): FILE: numba/tests/test_unicode.py function isascii (line 17) | def isascii(s): function literal_usecase (line 21) | def literal_usecase(): function passthrough_usecase (line 25) | def passthrough_usecase(x): function eq_usecase (line 29) | def eq_usecase(x, y): function len_usecase (line 33) | def len_usecase(x): function bool_usecase (line 37) | def bool_usecase(x): function getitem_usecase (line 41) | def getitem_usecase(x, i): function getitem_check_kind_usecase (line 45) | def getitem_check_kind_usecase(x, i): function zfill_usecase (line 49) | def zfill_usecase(x, y): function concat_usecase (line 53) | def concat_usecase(x, y): function repeat_usecase (line 57) | def repeat_usecase(x, y): function inplace_concat_usecase (line 61) | def inplace_concat_usecase(x, y): function in_usecase (line 66) | def in_usecase(x, y): function lt_usecase (line 70) | def lt_usecase(x, y): function le_usecase (line 74) | def le_usecase(x, y): function gt_usecase (line 78) | def gt_usecase(x, y): function ge_usecase (line 82) | def ge_usecase(x, y): function partition_usecase (line 86) | def partition_usecase(s, sep): function find_usecase (line 90) | def find_usecase(x, y): function find_with_start_only_usecase (line 94) | def find_with_start_only_usecase(x, y, start): function find_with_start_end_usecase (line 98) | def find_with_start_end_usecase(x, y, start, end): function rpartition_usecase (line 102) | def rpartition_usecase(s, sep): function count_usecase (line 106) | def count_usecase(x, y): function count_with_start_usecase (line 110) | def count_with_start_usecase(x, y, start): function count_with_start_end_usecase (line 114) | def count_with_start_end_usecase(x, y, start, end): function rfind_usecase (line 118) | def rfind_usecase(x, y): function rfind_with_start_only_usecase (line 122) | def rfind_with_start_only_usecase(x, y, start): function rfind_with_start_end_usecase (line 126) | def rfind_with_start_end_usecase(x, y, start, end): function replace_usecase (line 130) | def replace_usecase(s, x, y): function replace_with_count_usecase (line 134) | def replace_with_count_usecase(s, x, y, count): function rindex_usecase (line 138) | def rindex_usecase(x, y): function rindex_with_start_only_usecase (line 142) | def rindex_with_start_only_usecase(x, y, start): function rindex_with_start_end_usecase (line 146) | def rindex_with_start_end_usecase(x, y, start, end): function index_usecase (line 150) | def index_usecase(x, y): function index_with_start_only_usecase (line 154) | def index_with_start_only_usecase(x, y, start): function index_with_start_end_usecase (line 158) | def index_with_start_end_usecase(x, y, start, end): function startswith_usecase (line 162) | def startswith_usecase(x, y): function endswith_usecase (line 166) | def endswith_usecase(x, y): function expandtabs_usecase (line 170) | def expandtabs_usecase(s): function expandtabs_with_tabsize_usecase (line 174) | def expandtabs_with_tabsize_usecase(s, tabsize): function expandtabs_with_tabsize_kwarg_usecase (line 178) | def expandtabs_with_tabsize_kwarg_usecase(s, tabsize): function startswith_with_start_only_usecase (line 182) | def startswith_with_start_only_usecase(x, y, start): function startswith_with_start_end_usecase (line 186) | def startswith_with_start_end_usecase(x, y, start, end): function endswith_with_start_only_usecase (line 190) | def endswith_with_start_only_usecase(x, y, start): function endswith_with_start_end_usecase (line 194) | def endswith_with_start_end_usecase(x, y, start, end): function split_usecase (line 198) | def split_usecase(x, y): function split_with_maxsplit_usecase (line 202) | def split_with_maxsplit_usecase(x, y, maxsplit): function split_with_maxsplit_kwarg_usecase (line 206) | def split_with_maxsplit_kwarg_usecase(x, y, maxsplit): function split_whitespace_usecase (line 210) | def split_whitespace_usecase(x): function splitlines_usecase (line 214) | def splitlines_usecase(s): function splitlines_with_keepends_usecase (line 218) | def splitlines_with_keepends_usecase(s, keepends): function splitlines_with_keepends_kwarg_usecase (line 222) | def splitlines_with_keepends_kwarg_usecase(s, keepends): function rsplit_usecase (line 226) | def rsplit_usecase(s, sep): function rsplit_with_maxsplit_usecase (line 230) | def rsplit_with_maxsplit_usecase(s, sep, maxsplit): function rsplit_with_maxsplit_kwarg_usecase (line 234) | def rsplit_with_maxsplit_kwarg_usecase(s, sep, maxsplit): function rsplit_whitespace_usecase (line 238) | def rsplit_whitespace_usecase(s): function lstrip_usecase (line 242) | def lstrip_usecase(x): function lstrip_usecase_chars (line 246) | def lstrip_usecase_chars(x, chars): function rstrip_usecase (line 250) | def rstrip_usecase(x): function rstrip_usecase_chars (line 254) | def rstrip_usecase_chars(x, chars): function strip_usecase (line 258) | def strip_usecase(x): function strip_usecase_chars (line 262) | def strip_usecase_chars(x, chars): function join_usecase (line 266) | def join_usecase(x, y): function join_empty_usecase (line 270) | def join_empty_usecase(x): function center_usecase (line 277) | def center_usecase(x, y): function center_usecase_fillchar (line 281) | def center_usecase_fillchar(x, y, fillchar): function ljust_usecase (line 285) | def ljust_usecase(x, y): function ljust_usecase_fillchar (line 289) | def ljust_usecase_fillchar(x, y, fillchar): function rjust_usecase (line 293) | def rjust_usecase(x, y): function rjust_usecase_fillchar (line 297) | def rjust_usecase_fillchar(x, y, fillchar): function istitle_usecase (line 301) | def istitle_usecase(x): function iter_usecase (line 305) | def iter_usecase(x): function title (line 312) | def title(x): function literal_iter_usecase (line 316) | def literal_iter_usecase(): function enumerated_iter_usecase (line 323) | def enumerated_iter_usecase(x): function iter_stopiteration_usecase (line 332) | def iter_stopiteration_usecase(x): function literal_iter_stopiteration_usecase (line 339) | def literal_iter_stopiteration_usecase(): function islower_usecase (line 347) | def islower_usecase(x): function lower_usecase (line 351) | def lower_usecase(x): function ord_usecase (line 355) | def ord_usecase(x): function chr_usecase (line 359) | def chr_usecase(x): class BaseTest (line 363) | class BaseTest(MemoryLeakMixin, TestCase): method setUp (line 364) | def setUp(self): class TestUnicode (line 431) | class TestUnicode(BaseTest): method test_literal (line 433) | def test_literal(self): method test_passthrough (line 438) | def test_passthrough(self, flags=no_pyobj_flags): method test_eq (line 444) | def test_eq(self, flags=no_pyobj_flags): method test_eq_optional (line 457) | def test_eq_optional(self): method _check_ordering_op (line 479) | def _check_ordering_op(self, usecase): method test_lt (line 505) | def test_lt(self, flags=no_pyobj_flags): method test_le (line 508) | def test_le(self, flags=no_pyobj_flags): method test_gt (line 511) | def test_gt(self, flags=no_pyobj_flags): method test_ge (line 514) | def test_ge(self, flags=no_pyobj_flags): method test_len (line 517) | def test_len(self, flags=no_pyobj_flags): method test_bool (line 523) | def test_bool(self, flags=no_pyobj_flags): method test_expandtabs (line 529) | def test_expandtabs(self): method test_expandtabs_with_tabsize (line 540) | def test_expandtabs_with_tabsize(self): method test_expandtabs_exception_noninteger_tabsize (line 555) | def test_expandtabs_exception_noninteger_tabsize(self): method test_startswith_default (line 565) | def test_startswith_default(self): method test_startswith_with_start (line 580) | def test_startswith_with_start(self): method test_startswith_with_start_end (line 597) | def test_startswith_with_start_end(self): method test_startswith_exception_invalid_args (line 615) | def test_startswith_exception_invalid_args(self): method test_startswith_tuple (line 634) | def test_startswith_tuple(self): method test_startswith_tuple_args (line 651) | def test_startswith_tuple_args(self): method test_endswith_default (line 670) | def test_endswith_default(self): method test_endswith_with_start (line 689) | def test_endswith_with_start(self): method test_endswith_with_start_end (line 710) | def test_endswith_with_start_end(self): method test_endswith_tuple (line 733) | def test_endswith_tuple(self): method test_endswith_tuple_args (line 754) | def test_endswith_tuple_args(self): method test_in (line 779) | def test_in(self, flags=no_pyobj_flags): method test_partition_exception_invalid_sep (line 789) | def test_partition_exception_invalid_sep(self): method test_partition (line 807) | def test_partition(self): method test_find (line 827) | def test_find(self, flags=no_pyobj_flags): method test_find_with_start_only (line 855) | def test_find_with_start_only(self): method test_find_with_start_end (line 867) | def test_find_with_start_end(self): method test_find_exception_noninteger_start_end (line 880) | def test_find_exception_noninteger_start_end(self): method test_rpartition_exception_invalid_sep (line 891) | def test_rpartition_exception_invalid_sep(self): method test_rpartition (line 909) | def test_rpartition(self): method test_count (line 929) | def test_count(self): method test_count_with_start (line 940) | def test_count_with_start(self): method test_count_with_start_end (line 960) | def test_count_with_start_end(self): method test_count_arg_type_check (line 987) | def test_count_arg_type_check(self): method test_count_optional_arg_type_check (line 1005) | def test_count_optional_arg_type_check(self): method test_rfind (line 1034) | def test_rfind(self): method test_rfind_with_start_only (line 1063) | def test_rfind_with_start_only(self): method test_rfind_with_start_end (line 1075) | def test_rfind_with_start_end(self): method test_rfind_wrong_substr (line 1089) | def test_rfind_wrong_substr(self): method test_rfind_wrong_start_end (line 1099) | def test_rfind_wrong_start_end(self): method test_rfind_wrong_start_end_optional (line 1119) | def test_rfind_wrong_start_end_optional(self): method test_rindex (line 1147) | def test_rindex(self): method test_index (line 1171) | def test_index(self): method test_index_rindex_with_start_only (line 1195) | def test_index_rindex_with_start_only(self): method test_index_rindex_with_start_end (line 1223) | def test_index_rindex_with_start_end(self): method test_index_rindex_exception_substring_not_found (line 1252) | def test_index_rindex_exception_substring_not_found(self): method test_index_rindex_exception_noninteger_start_end (line 1281) | def test_index_rindex_exception_noninteger_start_end(self): method test_getitem (line 1292) | def test_getitem(self): method test_getitem_scalar_kind (line 1302) | def test_getitem_scalar_kind(self): method test_getitem_error (line 1315) | def test_getitem_error(self): method test_slice2 (line 1330) | def test_slice2(self): method test_slice2_error (line 1342) | def test_slice2_error(self): method test_getitem_slice2_kind (line 1354) | def test_getitem_slice2_kind(self): method test_slice3 (line 1368) | def test_slice3(self): method test_getitem_slice3_kind (line 1381) | def test_getitem_slice3_kind(self): method test_slice3_error (line 1402) | def test_slice3_error(self): method test_slice_ascii_flag (line 1415) | def test_slice_ascii_flag(self): method test_zfill (line 1427) | def test_zfill(self): method test_concat (line 1458) | def test_concat(self, flags=no_pyobj_flags): method test_repeat (line 1467) | def test_repeat(self, flags=no_pyobj_flags): method test_repeat_exception_float (line 1477) | def test_repeat_exception_float(self): method test_split_exception_empty_sep (line 1485) | def test_split_exception_empty_sep(self): method test_split_exception_noninteger_maxsplit (line 1497) | def test_split_exception_noninteger_maxsplit(self): method test_split (line 1508) | def test_split(self): method test_split_with_maxsplit (line 1530) | def test_split_with_maxsplit(self): method test_split_whitespace (line 1555) | def test_split_whitespace(self): method test_split_exception_invalid_keepends (line 1584) | def test_split_exception_invalid_keepends(self): method test_splitlines (line 1595) | def test_splitlines(self): method test_splitlines_with_keepends (line 1606) | def test_splitlines_with_keepends(self): method test_rsplit_exception_empty_sep (line 1625) | def test_rsplit_exception_empty_sep(self): method test_rsplit_exception_noninteger_maxsplit (line 1637) | def test_rsplit_exception_noninteger_maxsplit(self): method test_rsplit (line 1648) | def test_rsplit(self): method test_rsplit_with_maxsplit (line 1669) | def test_rsplit_with_maxsplit(self): method test_rsplit_whitespace (line 1696) | def test_rsplit_whitespace(self): method test_join_empty (line 1722) | def test_join_empty(self): method test_join_non_string_exception (line 1738) | def test_join_non_string_exception(self): method test_join (line 1757) | def test_join(self): method test_join_interleave_str (line 1773) | def test_join_interleave_str(self): method test_justification (line 1788) | def test_justification(self): method test_justification_fillchar (line 1804) | def test_justification_fillchar(self): method test_justification_fillchar_exception (line 1825) | def test_justification_fillchar_exception(self): method test_inplace_concat (line 1847) | def test_inplace_concat(self, flags=no_pyobj_flags): method test_isidentifier (line 1856) | def test_isidentifier(self): method test_strip (line 1873) | def test_strip(self): method test_isspace (line 1947) | def test_isspace(self): method test_istitle (line 1964) | def test_istitle(self): method test_isprintable (line 2000) | def test_isprintable(self): method test_pointless_slice (line 2013) | def test_pointless_slice(self, flags=no_pyobj_flags): method test_walk_backwards (line 2020) | def test_walk_backwards(self, flags=no_pyobj_flags): method test_stride_slice (line 2027) | def test_stride_slice(self, flags=no_pyobj_flags): method test_basic_lt (line 2034) | def test_basic_lt(self, flags=no_pyobj_flags): method test_basic_gt (line 2041) | def test_basic_gt(self, flags=no_pyobj_flags): method test_comparison (line 2048) | def test_comparison(self): method test_literal_concat (line 2073) | def test_literal_concat(self): method test_literal_comparison (line 2087) | def test_literal_comparison(self): method test_literal_len (line 2112) | def test_literal_len(self): method test_literal_getitem (line 2118) | def test_literal_getitem(self): method test_literal_in (line 2127) | def test_literal_in(self): method test_literal_xyzwith (line 2137) | def test_literal_xyzwith(self): method test_literal_find (line 2146) | def test_literal_find(self): method test_not (line 2156) | def test_not(self): method test_capitalize (line 2166) | def test_capitalize(self): method test_isupper (line 2183) | def test_isupper(self): method test_upper (line 2202) | def test_upper(self): method test_casefold (line 2212) | def test_casefold(self): method test_isalpha (line 2227) | def test_isalpha(self): method test_isascii (line 2245) | def test_isascii(self): method test_title (line 2258) | def test_title(self): method test_swapcase (line 2274) | def test_swapcase(self): method test_islower (line 2293) | def test_islower(self): method test_isalnum (line 2309) | def test_isalnum(self): method test_lower (line 2327) | def test_lower(self): method test_isnumeric (line 2350) | def test_isnumeric(self): method test_isdigit (line 2369) | def test_isdigit(self): method test_isdecimal (line 2388) | def test_isdecimal(self): method test_replace (line 2407) | def test_replace(self): method test_replace_with_count (line 2430) | def test_replace_with_count(self): method test_replace_unsupported (line 2456) | def test_replace_unsupported(self): class TestUnicodeInTuple (line 2478) | class TestUnicodeInTuple(BaseTest): method test_const_unicode_in_tuple (line 2480) | def test_const_unicode_in_tuple(self): method test_const_unicode_in_hetero_tuple (line 2494) | def test_const_unicode_in_hetero_tuple(self): method test_ascii_flag_unbox (line 2507) | def test_ascii_flag_unbox(self): method test_ascii_flag_join (line 2515) | def test_ascii_flag_join(self): method test_ascii_flag_getitem (line 2529) | def test_ascii_flag_getitem(self): method test_ascii_flag_add_mul (line 2539) | def test_ascii_flag_add_mul(self): class TestUnicodeIteration (line 2555) | class TestUnicodeIteration(BaseTest): method test_unicode_iter (line 2557) | def test_unicode_iter(self): method test_unicode_literal_iter (line 2563) | def test_unicode_literal_iter(self): method test_unicode_enumerate_iter (line 2568) | def test_unicode_enumerate_iter(self): method test_unicode_stopiteration_iter (line 2574) | def test_unicode_stopiteration_iter(self): method test_unicode_literal_stopiteration_iter (line 2583) | def test_unicode_literal_stopiteration_iter(self): class TestUnicodeAuxillary (line 2591) | class TestUnicodeAuxillary(BaseTest): method test_ord (line 2593) | def test_ord(self): method test_ord_invalid (line 2600) | def test_ord_invalid(self): method test_chr (line 2619) | def test_chr(self): method test_chr_invalid (line 2630) | def test_chr_invalid(self): method test_unicode_type_mro (line 2646) | def test_unicode_type_mro(self): method test_f_strings (line 2667) | def test_f_strings(self): FILE: numba/tests/test_unicode_array.py function getitem (line 10) | def getitem(x, i): function getitem2 (line 14) | def getitem2(x, i, j): function setitem (line 18) | def setitem(x, i, v): function setitem2 (line 23) | def setitem2(x, i, y, j): function setitem_literal (line 28) | def setitem_literal(x, i): function getitem_key (line 33) | def getitem_key(x, y, j): function return_len (line 37) | def return_len(x, i): function return_bool (line 41) | def return_bool(x, i): function equal_getitem (line 45) | def equal_getitem(x, i, j): function notequal_getitem (line 49) | def notequal_getitem(x, i, j): function lessthan_getitem (line 53) | def lessthan_getitem(x, i, j): function greaterthan_getitem (line 57) | def greaterthan_getitem(x, i, j): function lessequal_getitem (line 61) | def lessequal_getitem(x, i, j): function greaterequal_getitem (line 65) | def greaterequal_getitem(x, i, j): function contains_getitem2 (line 69) | def contains_getitem2(x, i, y, j): function equal_getitem_value (line 73) | def equal_getitem_value(x, i, v): function notequal_getitem_value (line 81) | def notequal_getitem_value(x, i, v): function return_isascii (line 89) | def return_isascii(x, i): function return_isupper (line 93) | def return_isupper(x, i): function return_upper (line 97) | def return_upper(x, i): function return_str (line 101) | def return_str(x, i): function return_bytes (line 105) | def return_bytes(x, i): function return_hash (line 109) | def return_hash(x, i): function return_find (line 113) | def return_find(x, i, y, j): function return_rfind (line 117) | def return_rfind(x, i, y, j): function return_startswith (line 121) | def return_startswith(x, i, y, j): function return_endswith (line 125) | def return_endswith(x, i, y, j): function return_split1 (line 129) | def return_split1(x, i): function return_split2 (line 133) | def return_split2(x, i, y, j): function return_split3 (line 137) | def return_split3(x, i, y, j, maxsplit): function return_center1 (line 144) | def return_center1(x, i, w): function return_center2 (line 148) | def return_center2(x, i, w, y, j): function return_ljust1 (line 152) | def return_ljust1(x, i, w): function return_ljust2 (line 156) | def return_ljust2(x, i, w, y, j): function return_rjust1 (line 160) | def return_rjust1(x, i, w): function return_rjust2 (line 164) | def return_rjust2(x, i, w, y, j): function return_join (line 168) | def return_join(x, i, y, j, z, k): function return_zfill (line 172) | def return_zfill(x, i, w): function return_lstrip1 (line 176) | def return_lstrip1(x, i): function return_lstrip2 (line 180) | def return_lstrip2(x, i, y, j): function return_rstrip1 (line 184) | def return_rstrip1(x, i): function return_rstrip2 (line 188) | def return_rstrip2(x, i, y, j): function return_strip1 (line 192) | def return_strip1(x, i): function return_strip2 (line 196) | def return_strip2(x, i, y, j): function return_add (line 200) | def return_add(x, i, y, j): function return_iadd (line 204) | def return_iadd(x, i, y, j): function return_mul (line 209) | def return_mul(x, i, y, j): function return_not (line 213) | def return_not(x, i): function join_string_array (line 217) | def join_string_array(str_arr): class TestUnicodeArray (line 222) | class TestUnicodeArray(TestCase): method _test (line 224) | def _test(self, pyfunc, cfunc, *args, **kwargs): method test_getitem2 (line 228) | def test_getitem2(self): method test_getitem (line 255) | def test_getitem(self): method test_getitem_key (line 268) | def test_getitem_key(self): method test_setitem (line 286) | def test_setitem(self): method test_setitem2 (line 307) | def test_setitem2(self): method test_setitem_literal (line 423) | def test_setitem_literal(self): method test_return_len (line 448) | def test_return_len(self): method test_return_bool (line 460) | def test_return_bool(self): method _test_op_getitem (line 472) | def _test_op_getitem(self, pyfunc): method test_equal_getitem (line 494) | def test_equal_getitem(self): method test_notequal_getitem (line 497) | def test_notequal_getitem(self): method test_lessthan_getitem (line 500) | def test_lessthan_getitem(self): method test_greaterthan_getitem (line 503) | def test_greaterthan_getitem(self): method test_lessequal_getitem (line 506) | def test_lessequal_getitem(self): method test_greaterequal_getitem (line 509) | def test_greaterequal_getitem(self): method _test_op_getitem_value (line 512) | def _test_op_getitem_value(self, pyfunc): method test_equal_getitem_value (line 526) | def test_equal_getitem_value(self): method test_notequal_getitem_value (line 529) | def test_notequal_getitem_value(self): method test_contains_getitem2 (line 532) | def test_contains_getitem2(self): method test_return_isascii (line 556) | def test_return_isascii(self): method test_return_isupper (line 564) | def test_return_isupper(self): method test_return_str (line 573) | def test_return_str(self): method test_return_bytes (line 579) | def test_return_bytes(self): method test_return_upper (line 585) | def test_return_upper(self): method test_hash (line 594) | def test_hash(self): method test_return_find (line 615) | def test_return_find(self): method test_return_rfind (line 625) | def test_return_rfind(self): method test_return_startswith (line 635) | def test_return_startswith(self): method test_return_endswith (line 646) | def test_return_endswith(self): method test_return_split1 (line 657) | def test_return_split1(self): method test_return_split2 (line 664) | def test_return_split2(self): method test_return_split3 (line 675) | def test_return_split3(self): method test_return_ljust1 (line 688) | def test_return_ljust1(self): method test_return_ljust2 (line 695) | def test_return_ljust2(self): method test_return_rjust1 (line 708) | def test_return_rjust1(self): method test_return_rjust2 (line 715) | def test_return_rjust2(self): method test_return_center1 (line 728) | def test_return_center1(self): method test_return_center2 (line 735) | def test_return_center2(self): method test_return_join (line 748) | def test_return_join(self): method test_return_zfill (line 768) | def test_return_zfill(self): method test_return_lstrip1 (line 775) | def test_return_lstrip1(self): method test_return_lstrip2 (line 782) | def test_return_lstrip2(self): method test_return_rstrip1 (line 794) | def test_return_rstrip1(self): method test_return_rstrip2 (line 801) | def test_return_rstrip2(self): method test_return_strip1 (line 813) | def test_return_strip1(self): method test_return_strip2 (line 820) | def test_return_strip2(self): method test_return_add (line 832) | def test_return_add(self): method test_return_iadd (line 844) | def test_return_iadd(self): method test_return_mul (line 860) | def test_return_mul(self): method test_return_not (line 869) | def test_return_not(self): method test_join (line 881) | def test_join(self): FILE: numba/tests/test_unicode_names.py class TestUnicodeNames (line 19) | class TestUnicodeNames(TestCase): method make_testcase (line 20) | def make_testcase(self, src, fname): method test_unicode_name1 (line 26) | def test_unicode_name1(self): method test_unicode_name2 (line 31) | def test_unicode_name2(self): method test_cfunc (line 36) | def test_cfunc(self): class TestUnicodeUtils (line 42) | class TestUnicodeUtils(TestCase): method test_normalize_ir_text (line 43) | def test_normalize_ir_text(self): method test_normalize_ir_text_unicode (line 51) | def test_normalize_ir_text_unicode(self): FILE: numba/tests/test_unpack_sequence.py function unpack_list (line 15) | def unpack_list(l): function unpack_shape (line 20) | def unpack_shape(a): function unpack_range (line 25) | def unpack_range(): function unpack_range_too_small (line 30) | def unpack_range_too_small(): function unpack_range_too_large (line 35) | def unpack_range_too_large(): function unpack_tuple (line 40) | def unpack_tuple(): function unpack_tuple_too_small (line 45) | def unpack_tuple_too_small(): function unpack_tuple_too_large (line 50) | def unpack_tuple_too_large(): function unpack_heterogeneous_tuple_too_small (line 55) | def unpack_heterogeneous_tuple_too_small(): function unpack_heterogeneous_tuple_too_large (line 60) | def unpack_heterogeneous_tuple_too_large(): function unpack_heterogeneous_tuple (line 65) | def unpack_heterogeneous_tuple(): function unpack_nested_heterogeneous_tuple (line 70) | def unpack_nested_heterogeneous_tuple(): function unpack_arbitrary (line 75) | def unpack_arbitrary(seq): function unpack_nrt (line 80) | def unpack_nrt(): function chained_unpack_assign1 (line 88) | def chained_unpack_assign1(x, y): function conditional_swap (line 95) | def conditional_swap(x, y): class TestUnpack (line 102) | class TestUnpack(MemoryLeakMixin, TestCase): method check_nullary_npm (line 104) | def check_nullary_npm(self, pyfunc): method check_nullary_objmode (line 108) | def check_nullary_objmode(self, pyfunc): method test_unpack_list (line 112) | def test_unpack_list(self): method test_unpack_shape (line 118) | def test_unpack_shape(self): method test_unpack_shape_npm (line 125) | def test_unpack_shape_npm(self): method test_unpack_range (line 132) | def test_unpack_range(self): method test_unpack_range_npm (line 135) | def test_unpack_range_npm(self): method test_unpack_tuple (line 138) | def test_unpack_tuple(self): method test_unpack_tuple_npm (line 141) | def test_unpack_tuple_npm(self): method test_unpack_heterogeneous_tuple (line 144) | def test_unpack_heterogeneous_tuple(self): method test_unpack_heterogeneous_tuple_npm (line 147) | def test_unpack_heterogeneous_tuple_npm(self): method test_unpack_nested_heterogeneous_tuple (line 150) | def test_unpack_nested_heterogeneous_tuple(self): method test_unpack_nested_heterogeneous_tuple_npm (line 153) | def test_unpack_nested_heterogeneous_tuple_npm(self): method test_chained_unpack_assign (line 156) | def test_chained_unpack_assign(self, flags=force_pyobj_flags): method test_chained_unpack_assign_npm (line 162) | def test_chained_unpack_assign_npm(self): method check_unpack_error (line 165) | def check_unpack_error(self, pyfunc, flags=force_pyobj_flags, method test_unpack_tuple_too_small (line 171) | def test_unpack_tuple_too_small(self): method test_unpack_tuple_too_small_npm (line 175) | def test_unpack_tuple_too_small_npm(self): method test_unpack_tuple_too_large (line 181) | def test_unpack_tuple_too_large(self): method test_unpack_tuple_too_large_npm (line 185) | def test_unpack_tuple_too_large_npm(self): method test_unpack_range_too_small (line 191) | def test_unpack_range_too_small(self): method test_unpack_range_too_small_npm (line 194) | def test_unpack_range_too_small_npm(self): method test_unpack_range_too_large (line 197) | def test_unpack_range_too_large(self): method test_unpack_range_too_large_npm (line 200) | def test_unpack_range_too_large_npm(self): method check_conditional_swap (line 203) | def check_conditional_swap(self, flags=force_pyobj_flags): method test_conditional_swap (line 208) | def test_conditional_swap(self): method test_conditional_swap_npm (line 211) | def test_conditional_swap_npm(self): method test_unpack_tuple_of_arrays (line 214) | def test_unpack_tuple_of_arrays(self): method test_unpack_nrt (line 221) | def test_unpack_nrt(self): method test_invalid_unpack (line 226) | def test_invalid_unpack(self): FILE: numba/tests/test_unpickle_without_module.py class TestUnpickleDeletedModule (line 8) | class TestUnpickleDeletedModule(unittest.TestCase): method test_loading_pickle_with_no_module (line 9) | def test_loading_pickle_with_no_module(self): FILE: numba/tests/test_unsafe_intrinsics.py class TestTupleIntrinsic (line 15) | class TestTupleIntrinsic(TestCase): method test_tuple_setitem (line 18) | def test_tuple_setitem(self): method test_slice_tuple (line 45) | def test_slice_tuple(self): class TestNdarrayIntrinsic (line 60) | class TestNdarrayIntrinsic(TestCase): method test_to_fixed_tuple (line 63) | def test_to_fixed_tuple(self): method test_issue_3586_variant1 (line 102) | def test_issue_3586_variant1(self): method test_issue_3586_variant2 (line 115) | def test_issue_3586_variant2(self): class TestBytesIntrinsic (line 129) | class TestBytesIntrinsic(TestCase): method test_memcpy_region (line 132) | def test_memcpy_region(self): class TestRefCount (line 149) | class TestRefCount(TestCase): method test_dump_refcount (line 150) | def test_dump_refcount(self): class TestZeroCounts (line 171) | class TestZeroCounts(TestCase): method test_zero_count (line 172) | def test_zero_count(self): method check_error_msg (line 200) | def check_error_msg(self, func): method test_trailing_zeros_error (line 228) | def test_trailing_zeros_error(self): method test_leading_zeros_error (line 231) | def test_leading_zeros_error(self): FILE: numba/tests/test_usecases.py class TestUsecases (line 11) | class TestUsecases(TestCase): method test_andor (line 16) | def test_andor(self): method test_sum1d (line 28) | def test_sum1d(self): method test_sum1d_pyobj (line 39) | def test_sum1d_pyobj(self): method test_sum2d (line 50) | def test_sum2d(self): method test_while_count (line 61) | def test_while_count(self): method test_copy_arrays (line 72) | def test_copy_arrays(self): method test_copy_arrays2d (line 88) | def test_copy_arrays2d(self): method test_string_concat (line 105) | def test_string_concat(self): method test_string_len (line 117) | def test_string_len(self): method test_string_slicing (line 129) | def test_string_slicing(self): method test_string_conversion (line 139) | def test_string_conversion(self): method test_string_comparisons (line 149) | def test_string_comparisons(self): method test_blackscholes_cnd (line 180) | def test_blackscholes_cnd(self): FILE: numba/tests/test_vectorization.py class TestVectorization (line 23) | class TestVectorization(TestCase): method gen_ir (line 27) | def gen_ir(self, func, args_tuple, fastmath=False): method test_nditer_loop (line 35) | def test_nditer_loop(self): method test_slp (line 52) | def test_slp(self): method test_instcombine_effect (line 67) | def test_instcombine_effect(self): FILE: numba/tests/test_vectorization_type_inference.py function add (line 6) | def add(a, b): function func (line 10) | def func(dtypeA, dtypeB): class TestVectTypeInfer (line 16) | class TestVectTypeInfer(unittest.TestCase): method test_type_inference (line 18) | def test_type_inference(self): FILE: numba/tests/test_warnings.py class TestBuiltins (line 19) | class TestBuiltins(unittest.TestCase): method check_objmode_deprecation_warning (line 21) | def check_objmode_deprecation_warning(self, w): method check_nopython_kwarg_missing_warning (line 28) | def check_nopython_kwarg_missing_warning(self, w): method test_return_type_warning_with_nrt (line 35) | def test_return_type_warning_with_nrt(self): method test_no_warning_with_forceobj (line 53) | def test_no_warning_with_forceobj(self): method test_deprecated (line 67) | def test_deprecated(self): method test_warnings_fixer (line 82) | def test_warnings_fixer(self): method test_disable_performance_warnings (line 105) | def test_disable_performance_warnings(self): method test_filter_deprecation_warnings (line 142) | def test_filter_deprecation_warnings(self): method test_filter_ignore_numba_deprecation_only (line 156) | def test_filter_ignore_numba_deprecation_only(self): FILE: numba/tests/test_withlifting.py function get_func_ir (line 28) | def get_func_ir(func): function lift1 (line 36) | def lift1(): function lift2 (line 44) | def lift2(): function lift3 (line 61) | def lift3(): function lift4 (line 78) | def lift4(): function lift5 (line 100) | def lift5(): function liftcall1 (line 104) | def liftcall1(): function liftcall2 (line 113) | def liftcall2(): function liftcall3 (line 125) | def liftcall3(): function liftcall4 (line 139) | def liftcall4(): function liftcall5 (line 145) | def liftcall5(): function lift_undefiend (line 155) | def lift_undefiend(): function lift_invalid (line 163) | def lift_invalid(): class TestWithFinding (line 171) | class TestWithFinding(TestCase): method check_num_of_with (line 172) | def check_num_of_with(self, func, expect_count): method test_lift1 (line 177) | def test_lift1(self): method test_lift2 (line 180) | def test_lift2(self): method test_lift3 (line 183) | def test_lift3(self): method test_lift4 (line 186) | def test_lift4(self): method test_lift5 (line 189) | def test_lift5(self): class BaseTestWithLifting (line 193) | class BaseTestWithLifting(TestCase): method setUp (line 194) | def setUp(self): method check_extracted_with (line 200) | def check_extracted_with(self, func, expect_count, expected_stdout): method compile_ir (line 214) | def compile_ir(self, the_ir, args=(), return_type=None): class TestLiftByPass (line 222) | class TestLiftByPass(BaseTestWithLifting): method test_lift1 (line 224) | def test_lift1(self): method test_lift2 (line 228) | def test_lift2(self): method test_lift3 (line 232) | def test_lift3(self): method test_lift4 (line 236) | def test_lift4(self): method test_lift5 (line 240) | def test_lift5(self): class TestLiftCall (line 245) | class TestLiftCall(BaseTestWithLifting): method check_same_semantic (line 247) | def check_same_semantic(self, func): method test_liftcall1 (line 259) | def test_liftcall1(self): method test_liftcall2 (line 264) | def test_liftcall2(self): method test_liftcall3 (line 269) | def test_liftcall3(self): method test_liftcall4 (line 274) | def test_liftcall4(self): method test_liftcall5 (line 288) | def test_liftcall5(self): function expected_failure_for_list_arg (line 294) | def expected_failure_for_list_arg(fn): function expected_failure_for_function_arg (line 303) | def expected_failure_for_function_arg(fn): class TestLiftObj (line 312) | class TestLiftObj(MemoryLeak, TestCase): method setUp (line 314) | def setUp(self): method tearDown (line 317) | def tearDown(self): method assert_equal_return_and_stdout (line 320) | def assert_equal_return_and_stdout(self, pyfunc, *args): method test_lift_objmode_basic (line 338) | def test_lift_objmode_basic(self): method test_lift_objmode_array_in (line 357) | def test_lift_objmode_array_in(self): method test_lift_objmode_define_new_unused (line 373) | def test_lift_objmode_define_new_unused(self): method test_lift_objmode_return_simple (line 387) | def test_lift_objmode_return_simple(self): method test_lift_objmode_return_array (line 406) | def test_lift_objmode_return_array(self): method test_lift_objmode_using_list (line 421) | def test_lift_objmode_using_list(self): method test_lift_objmode_var_redef (line 434) | def test_lift_objmode_var_redef(self): method test_case01_mutate_list_ahead_of_ctx (line 453) | def test_case01_mutate_list_ahead_of_ctx(self): method test_case02_mutate_array_ahead_of_ctx (line 470) | def test_case02_mutate_array_ahead_of_ctx(self): method test_case03_create_and_mutate (line 489) | def test_case03_create_and_mutate(self): method test_case04_bogus_variable_type_info (line 498) | def test_case04_bogus_variable_type_info(self): method test_case05_bogus_type_info (line 515) | def test_case05_bogus_type_info(self): method test_case06_double_objmode (line 534) | def test_case06_double_objmode(self): method test_case07_mystery_key_error (line 551) | def test_case07_mystery_key_error(self): method test_case08_raise_from_external (line 572) | def test_case08_raise_from_external(self): method test_case09_explicit_raise (line 592) | def test_case09_explicit_raise(self): method test_case10_mutate_across_contexts (line 609) | def test_case10_mutate_across_contexts(self): method test_case10_mutate_array_across_contexts (line 621) | def test_case10_mutate_array_across_contexts(self): method test_case11_define_function_in_context (line 634) | def test_case11_define_function_in_context(self): method test_case12_njit_inside_a_objmode_ctx (line 651) | def test_case12_njit_inside_a_objmode_ctx(self): method test_case14_return_direct_from_objmode_ctx (line 666) | def test_case14_return_direct_from_objmode_ctx(self): method test_case15_close_over_objmode_ctx (line 677) | def test_case15_close_over_objmode_ctx(self): method test_case16_scipy_call_in_objmode_ctx (line 691) | def test_case16_scipy_call_in_objmode_ctx(self): method test_case17_print_own_bytecode (line 706) | def test_case17_print_own_bytecode(self): method test_case18_njitfunc_passed_to_objmode_ctx (line 716) | def test_case18_njitfunc_passed_to_objmode_ctx(self): method test_case19_recursion (line 729) | def test_case19_recursion(self): method test_case20_rng_works_ok (line 743) | def test_case20_rng_works_ok(self): method test_case21_rng_seed_works_ok (line 755) | def test_case21_rng_seed_works_ok(self): method test_example01 (line 768) | def test_example01(self): method test_objmode_in_overload (line 784) | def test_objmode_in_overload(self): method test_objmode_gv_variable (line 802) | def test_objmode_gv_variable(self): method test_objmode_gv_variable_error (line 814) | def test_objmode_gv_variable_error(self): method test_objmode_gv_mod_attr (line 828) | def test_objmode_gv_mod_attr(self): method test_objmode_gv_mod_attr_error (line 848) | def test_objmode_gv_mod_attr_error(self): method test_objmode_gv_mod_attr_error_multiple (line 861) | def test_objmode_gv_mod_attr_error_multiple(self): method test_objmode_closure_type_in_overload (line 877) | def test_objmode_closure_type_in_overload(self): method test_objmode_closure_type_in_overload_error (line 896) | def test_objmode_closure_type_in_overload_error(self): method test_objmode_invalid_use (line 923) | def test_objmode_invalid_use(self): method test_objmode_multi_type_args (line 938) | def test_objmode_multi_type_args(self): method test_objmode_jitclass (line 956) | def test_objmode_jitclass(self): method case_objmode_cache (line 1009) | def case_objmode_cache(x): method test_objmode_reflected_list (line 1014) | def test_objmode_reflected_list(self): method test_objmode_reflected_set (line 1032) | def test_objmode_reflected_set(self): method test_objmode_typed_dict (line 1050) | def test_objmode_typed_dict(self): method test_objmode_typed_list (line 1066) | def test_objmode_typed_list(self): method test_objmode_use_of_view (line 1082) | def test_objmode_use_of_view(self): function case_inner_pyfunc (line 1097) | def case_inner_pyfunc(x): function case_objmode_cache (line 1101) | def case_objmode_cache(x): class TestLiftObjCaching (line 1107) | class TestLiftObjCaching(MemoryLeak, TestCase): method setUp (line 1110) | def setUp(self): method tearDown (line 1113) | def tearDown(self): method check (line 1116) | def check(self, py_func): method test_objmode_caching_basic (line 1125) | def test_objmode_caching_basic(self): method test_objmode_caching_call_closure_bad (line 1133) | def test_objmode_caching_call_closure_bad(self): method test_objmode_caching_call_closure_good (line 1144) | def test_objmode_caching_call_closure_good(self): class TestBogusContext (line 1148) | class TestBogusContext(BaseTestWithLifting): method test_undefined_global (line 1150) | def test_undefined_global(self): method test_invalid (line 1161) | def test_invalid(self): method test_with_as_fails_gracefully (line 1172) | def test_with_as_fails_gracefully(self): class TestMisc (line 1187) | class TestMisc(TestCase): method test_no_fork_in_compilation (line 1194) | def test_no_fork_in_compilation(self): FILE: numba/tests/threading_backend_usecases.py function sigterm_handler (line 7) | def sigterm_handler(signum, frame): function busy_func_inner (line 12) | def busy_func_inner(a, b): function busy_func (line 18) | def busy_func(a, b, q=None): FILE: numba/tests/typedlist_usecases.py function catch_global (line 11) | def catch_global(): FILE: numba/tests/usecases.py function sum1d (line 7) | def sum1d(s, e): function sum2d (line 14) | def sum2d(s, e): function while_count (line 22) | def while_count(s, e): function copy_arrays (line 31) | def copy_arrays(a, b): function copy_arrays2d (line 36) | def copy_arrays2d(a, b): function redefine1 (line 42) | def redefine1(): function andor (line 52) | def andor(x, y): function string_concat (line 58) | def string_concat(x, y): function string_len (line 63) | def string_len(s): function string_slicing (line 67) | def string_slicing(s, start, stop): function string_conversion (line 71) | def string_conversion(x): function string_comparison (line 77) | def string_comparison(s1, s2, op): function blackscholes_cnd (line 81) | def blackscholes_cnd(d): FILE: numba/typed/__init__.py function __getattr__ (line 10) | def __getattr__(name): FILE: numba/typed/dictimpl.py function dict_constructor (line 15) | def dict_constructor(context, builder, sig, args): function impl_dict (line 31) | def impl_dict(context, builder, sig, args): FILE: numba/typed/dictobject.py class DKIX (line 55) | class DKIX(IntEnum): class Status (line 61) | class Status(IntEnum): function new_dict (line 73) | def new_dict(key, value, n_keys=0): class DictModel (line 89) | class DictModel(models.StructModel): method __init__ (line 90) | def __init__(self, dmm, fe_type): class DictIterModel (line 102) | class DictIterModel(models.StructModel): method __init__ (line 103) | def __init__(self, dmm, fe_type): function _raise_if_error (line 117) | def _raise_if_error(context, builder, status, msg): function _as_meminfo (line 126) | def _as_meminfo(typingctx, dctobj): function _from_meminfo (line 147) | def _from_meminfo(typingctx, mi, dicttyperef): function _call_dict_free (line 181) | def _call_dict_free(context, builder, ptr): function _imp_dtor (line 193) | def _imp_dtor(context, module): function _dict_new_sized (line 219) | def _dict_new_sized(typingctx, n_keys, keyty, valty): function _dict_set_method_table (line 264) | def _dict_set_method_table(typingctx, dp, keyty, valty): function _dict_insert (line 336) | def _dict_insert(typingctx, d, key, hashval, val): function _dict_length (line 382) | def _dict_length(typingctx, d): function _dict_dump (line 407) | def _dict_dump(typingctx, d): function _dict_lookup (line 431) | def _dict_lookup(typingctx, d, key, hashval): function _dict_popitem (line 488) | def _dict_popitem(typingctx, d): function _dict_delitem (line 539) | def _dict_delitem(typingctx, d, hk, ix): function _iterator_codegen (line 563) | def _iterator_codegen(resty): function _dict_items (line 586) | def _dict_items(typingctx, d): function _dict_keys (line 595) | def _dict_keys(typingctx, d): function _dict_values (line 604) | def _dict_values(typingctx, d): function _make_dict (line 613) | def _make_dict(typingctx, keyty, valty, ptr): function impl_new_dict (line 654) | def impl_new_dict(key, value, n_keys=0): function impl_len (line 680) | def impl_len(d): function impl_len_iters (line 693) | def impl_len_iters(d): function impl_setitem (line 708) | def impl_setitem(d, key, value): function impl_get (line 743) | def impl_get(dct, key, default=None): function impl_hash (line 761) | def impl_hash(dct): function impl_getitem (line 768) | def impl_getitem(d, key): function impl_popitem (line 788) | def impl_popitem(d): function impl_pop (line 805) | def impl_pop(dct, key, default=None): function impl_delitem (line 835) | def impl_delitem(d, k): function impl_contains (line 845) | def impl_contains(d, k): function impl_clear (line 859) | def impl_clear(d): function impl_copy (line 871) | def impl_copy(d): function impl_setdefault (line 887) | def impl_setdefault(dct, key, default=None): function impl_items (line 900) | def impl_items(d): function impl_keys (line 912) | def impl_keys(d): function impl_values (line 923) | def impl_values(d): function ol_dict_update (line 934) | def ol_dict_update(d, other): function impl_equal (line 947) | def impl_equal(da, db): function impl_not_equal (line 977) | def impl_not_equal(da, db): function impl_iterable_getiter (line 990) | def impl_iterable_getiter(context, builder, sig, args): function impl_dict_getiter (line 1022) | def impl_dict_getiter(context, builder, sig, args): function impl_iterator_iternext (line 1057) | def impl_iterator_iternext(context, builder, sig, args, result): function build_map (line 1115) | def build_map(context, builder, dict_type, item_types, items): function _mixed_values_to_tuple (line 1174) | def _mixed_values_to_tuple(tyctx, d): function literalstrkeydict_impl_values (line 1195) | def literalstrkeydict_impl_values(d): function literalstrkeydict_impl_keys (line 1208) | def literalstrkeydict_impl_keys(d): function literalstrkeydict_impl_equals (line 1226) | def literalstrkeydict_impl_equals(context, builder, sig, args): function literalstrkeydict_impl_get (line 1236) | def literalstrkeydict_impl_get(dct, *args): function literalstrkeydict_impl_copy (line 1245) | def literalstrkeydict_impl_copy(d): function _str_items_mixed_values_to_tuple (line 1255) | def _str_items_mixed_values_to_tuple(tyctx, d): function literalstrkeydict_impl_items (line 1285) | def literalstrkeydict_impl_items(d): function literalstrkeydict_impl_contains (line 1295) | def literalstrkeydict_impl_contains(d, k): function literalstrkeydict_impl_len (line 1308) | def literalstrkeydict_impl_len(d): function literalstrkeydict_banned_impl_setitem (line 1316) | def literalstrkeydict_banned_impl_setitem(d, key, value): function literalstrkeydict_banned_impl_delitem (line 1323) | def literalstrkeydict_banned_impl_delitem(d, k): function literalstrkeydict_banned_impl_mutators (line 1334) | def literalstrkeydict_banned_impl_mutators(d, *args): function cast_LiteralStrKeyDict_LiteralStrKeyDict (line 1341) | def cast_LiteralStrKeyDict_LiteralStrKeyDict(context, builder, fromty, t... function cast_DictType_DictType (line 1365) | def cast_DictType_DictType(context, builder, fromty, toty, val): FILE: numba/typed/listobject.py class ListModel (line 55) | class ListModel(models.StructModel): method __init__ (line 56) | def __init__(self, dmm, fe_type): class ListIterModel (line 66) | class ListIterModel(models.StructModel): method __init__ (line 67) | def __init__(self, dmm, fe_type): class ListStatus (line 76) | class ListStatus(IntEnum): class ErrorHandler (line 87) | class ErrorHandler(object): method __init__ (line 93) | def __init__(self, context): method __call__ (line 96) | def __call__(self, builder, status, msg): function _check_for_none_typed (line 104) | def _check_for_none_typed(lst, method): function _as_meminfo (line 111) | def _as_meminfo(typingctx, lstobj): function _from_meminfo (line 132) | def _from_meminfo(typingctx, mi, listtyperef): function _list_codegen_set_method_table (line 166) | def _list_codegen_set_method_table(context, builder, lp, itemty): function _list_set_method_table (line 204) | def _list_set_method_table(typingctx, lp, itemty): function list_is (line 218) | def list_is(context, builder, sig, args): function _call_list_free (line 226) | def _call_list_free(context, builder, ptr): function _imp_dtor (line 239) | def _imp_dtor(context, module): function new_list (line 264) | def new_list(item, allocated=DEFAULT_ALLOCATED): function _add_meminfo (line 279) | def _add_meminfo(context, builder, lstruct): function _make_list (line 297) | def _make_list(typingctx, itemty, ptr): function _list_new_codegen (line 321) | def _list_new_codegen(context, builder, itemty, new_size, error_handler): function _list_new (line 346) | def _list_new(typingctx, itemty, allocated): function impl_new_list (line 375) | def impl_new_list(item, allocated=DEFAULT_ALLOCATED): function impl_len (line 403) | def impl_len(l): function _list_length (line 414) | def _list_length(typingctx, l): function impl_allocated (line 442) | def impl_allocated(l): function _list_allocated (line 453) | def _list_allocated(typingctx, l): function impl_is_mutable (line 478) | def impl_is_mutable(l): function _list_is_mutable (line 488) | def _list_is_mutable(typingctx, l): function impl_make_mutable (line 513) | def impl_make_mutable(l): function impl_make_immutable (line 523) | def impl_make_immutable(l): function _list_set_is_mutable (line 533) | def _list_set_is_mutable(typingctx, l, is_mutable): function _list_append (line 557) | def _list_append(typingctx, l, item): function impl_append (line 593) | def impl_append(l, item): function fix_index (line 625) | def fix_index(tyctx, list_ty, index_ty): function handle_index (line 652) | def handle_index(l, index): function handle_slice (line 667) | def handle_slice(l, s): function _gen_getitem (line 689) | def _gen_getitem(borrowed): function impl_getitem (line 756) | def impl_getitem(l, index): function _list_setitem (line 795) | def _list_setitem(typingctx, l, index, item): function impl_setitem (line 830) | def impl_setitem(l, index, item): function impl_pop (line 908) | def impl_pop(l, index=-1): function _list_delitem (line 934) | def _list_delitem(typingctx, l, index): function _list_delete_slice (line 956) | def _list_delete_slice(typingctx, l, start, stop, step): function impl_delitem (line 988) | def impl_delitem(l, index): function impl_contains (line 1023) | def impl_contains(l, item): function impl_count (line 1041) | def impl_count(l, item): function impl_extend (line 1061) | def impl_extend(l, iterable): function impl_insert (line 1112) | def impl_insert(l, index, item): function impl_remove (line 1159) | def impl_remove(l, item): function impl_clear (line 1180) | def impl_clear(l): function impl_reverse (line 1192) | def impl_reverse(l): function impl_copy (line 1212) | def impl_copy(l): function impl_index (line 1229) | def impl_index(l, item, start=None, end=None): function ol_list_sort (line 1258) | def ol_list_sort(lst, key=None, reverse=False): function ol_getitem_unchecked (line 1300) | def ol_getitem_unchecked(lst, index): function ol_list_hash (line 1313) | def ol_list_hash(lst): function impl_dtype (line 1320) | def impl_dtype(l): function _equals_helper (line 1331) | def _equals_helper(this, other, OP): function impl_equals (line 1363) | def impl_equals(this, other): function impl_not_equals (line 1368) | def impl_not_equals(this, other): function compare_not_none (line 1373) | def compare_not_none(this, other): function compare_some_none (line 1391) | def compare_some_none(this, other, this_is_none, other_is_none): function compare_helper (line 1407) | def compare_helper(this, other, accepted): function impl_less_than (line 1427) | def impl_less_than(this, other): function impl_less_than_or_equal (line 1432) | def impl_less_than_or_equal(this, other): function impl_greater_than (line 1437) | def impl_greater_than(this, other): function impl_greater_than_or_equal (line 1442) | def impl_greater_than_or_equal(this, other): class ListIterInstance (line 1446) | class ListIterInstance(object): method __init__ (line 1448) | def __init__(self, context, builder, iter_type, iter_val): method from_list (line 1456) | def from_list(cls, context, builder, iter_type, list_val): method _size_of_list (line 1466) | def _size_of_list(cls, context, builder, list_ty, ll_list): method size (line 1474) | def size(self): method value (line 1483) | def value(self): method getitem (line 1486) | def getitem(self, index): method index (line 1503) | def index(self): method index (line 1507) | def index(self, value): function getiter_list (line 1512) | def getiter_list(context, builder, sig, args): function iternext_listiter (line 1520) | def iternext_listiter(context, builder, sig, args, result): FILE: numba/typed/typeddict.py function _make_dict (line 22) | def _make_dict(keyty, valty, n_keys=0): function _length (line 28) | def _length(d): function _setitem (line 33) | def _setitem(d, key, value): function _getitem (line 38) | def _getitem(d, key): function _delitem (line 43) | def _delitem(d, key): function _contains (line 48) | def _contains(d, key): function _get (line 53) | def _get(d, key, default): function _setdefault (line 58) | def _setdefault(d, key, default): function _iter (line 63) | def _iter(d): function _popitem (line 68) | def _popitem(d): function _copy (line 73) | def _copy(d): function _from_meminfo_ptr (line 77) | def _from_meminfo_ptr(ptr, dicttype): class Dict (line 82) | class Dict(MutableMapping): method __new__ (line 88) | def __new__(cls, dcttype=None, meminfo=None, n_keys=0): method empty (line 95) | def empty(cls, key_type, value_type, n_keys=0): method __init__ (line 107) | def __init__(self, *args, **kwargs): method _parse_arg (line 149) | def _parse_arg(self, dcttype, meminfo=None, n_keys=0): method _numba_type_ (line 161) | def _numba_type_(self): method _typed (line 167) | def _typed(self): method _initialise_dict (line 172) | def _initialise_dict(self, key, value): method __getitem__ (line 176) | def __getitem__(self, key): method __setitem__ (line 182) | def __setitem__(self, key, value): method __delitem__ (line 187) | def __delitem__(self, key): method __iter__ (line 192) | def __iter__(self): method __len__ (line 198) | def __len__(self): method __contains__ (line 204) | def __contains__(self, key): method __str__ (line 210) | def __str__(self): method __repr__ (line 216) | def __repr__(self): method get (line 221) | def get(self, key, default=None): method setdefault (line 226) | def setdefault(self, key, default=None): method popitem (line 232) | def popitem(self): method copy (line 237) | def copy(self): function typeddict_empty (line 242) | def typeddict_empty(cls, key_type, value_type, n_keys=0): function box_dicttype (line 253) | def box_dicttype(typ, val, c): function unbox_dicttype (line 288) | def unbox_dicttype(typ, val, c): function typeddict_call (line 347) | def typeddict_call(context): function impl_numba_typeref_ctor (line 372) | def impl_numba_typeref_ctor(cls, *args): FILE: numba/typed/typedlist.py class _Sequence (line 38) | class _Sequence(pt.Protocol[T_co]): method __getitem__ (line 39) | def __getitem__(self, i: int) -> T_co: method __len__ (line 42) | def __len__(self) -> int: function _make_list (line 50) | def _make_list(itemty, allocated=DEFAULT_ALLOCATED): function _length (line 56) | def _length(l): function _allocated (line 61) | def _allocated(l): function _is_mutable (line 66) | def _is_mutable(l): function _make_mutable (line 71) | def _make_mutable(l): function _make_immutable (line 76) | def _make_immutable(l): function _append (line 81) | def _append(l, item): function _setitem (line 86) | def _setitem(l, i, item): function _getitem (line 91) | def _getitem(l, i): function _contains (line 96) | def _contains(l, item): function _count (line 101) | def _count(l, item): function _pop (line 106) | def _pop(l, i): function _delitem (line 111) | def _delitem(l, i): function _extend (line 116) | def _extend(l, iterable): function _insert (line 121) | def _insert(l, i, item): function _remove (line 126) | def _remove(l, item): function _clear (line 131) | def _clear(l): function _reverse (line 136) | def _reverse(l): function _copy (line 141) | def _copy(l): function _eq (line 146) | def _eq(t, o): function _ne (line 151) | def _ne(t, o): function _lt (line 156) | def _lt(t, o): function _le (line 161) | def _le(t, o): function _gt (line 166) | def _gt(t, o): function _ge (line 171) | def _ge(t, o): function _index (line 176) | def _index(l, item, start, end): function _sort (line 181) | def _sort(l, key, reverse): function _from_meminfo_ptr (line 185) | def _from_meminfo_ptr(ptr, listtype): class List (line 193) | class List(MutableSequence, pt.Generic[T]): method __new__ (line 201) | def __new__(cls, method empty_list (line 213) | def empty_list(cls, item_type, allocated=DEFAULT_ALLOCATED): method __init__ (line 228) | def __init__(self, *args, **kwargs): method _parse_arg (line 270) | def _parse_arg(self, lsttype, meminfo=None, allocated=DEFAULT_ALLOCATED): method _numba_type_ (line 281) | def _numba_type_(self): method _typed (line 287) | def _typed(self): method _dtype (line 293) | def _dtype(self): method _initialise_list (line 298) | def _initialise_list(self, item): method __len__ (line 302) | def __len__(self) -> int: method _allocated (line 308) | def _allocated(self): method _is_mutable (line 314) | def _is_mutable(self): method _make_mutable (line 317) | def _make_mutable(self): method _make_immutable (line 320) | def _make_immutable(self): method __eq__ (line 323) | def __eq__(self, other): method __ne__ (line 326) | def __ne__(self, other): method __lt__ (line 329) | def __lt__(self, other): method __le__ (line 332) | def __le__(self, other): method __gt__ (line 335) | def __gt__(self, other): method __ge__ (line 338) | def __ge__(self, other): method append (line 341) | def append(self, item: T) -> None: method __setitem__ (line 349) | def __setitem__(self, i: int, o: T) -> None: ... # noqa: F811, E704 method __setitem__ (line 351) | def __setitem__(self, s: slice, o: 'List[T]') -> None: ... # noqa: F8... method __setitem__ (line 353) | def __setitem__(self, i: Int_or_Slice, item: T_or_ListT) -> None: # n... method __getitem__ (line 361) | def __getitem__(self, i: int) -> T: ... # noqa: F811, E704 method __getitem__ (line 363) | def __getitem__(self, i: slice) -> 'List[T]': ... # noqa: F811, E704 method __getitem__ (line 365) | def __getitem__(self, i: Int_or_Slice) -> T_or_ListT: # noqa: F811 method __iter__ (line 371) | def __iter__(self) -> pt.Iterator[T]: method __contains__ (line 375) | def __contains__(self, item: T) -> bool: # type: ignore[override] method __delitem__ (line 378) | def __delitem__(self, i: Int_or_Slice) -> None: method insert (line 381) | def insert(self, i: int, item: T) -> None: method count (line 386) | def count(self, item: T) -> int: method pop (line 389) | def pop(self, i: "pt.SupportsIndex" = -1) -> T: method extend (line 392) | def extend(self, iterable: "_Sequence[T]") -> None: #type: ignore[over... method remove (line 403) | def remove(self, item: T) -> None: method clear (line 406) | def clear(self): method reverse (line 409) | def reverse(self): method copy (line 412) | def copy(self): method index (line 415) | def index(self, item: T, start: pt.Optional[int] = None, method sort (line 419) | def sort(self, key=None, reverse=False): method __str__ (line 429) | def __str__(self): method __repr__ (line 442) | def __repr__(self): function typedlist_empty (line 449) | def typedlist_empty(cls, item_type, allocated=DEFAULT_ALLOCATED): function box_lsttype (line 460) | def box_lsttype(typ, val, c): function unbox_listtype (line 496) | def unbox_listtype(typ, val, c): function _guess_dtype (line 558) | def _guess_dtype(iterable): function typedlist_call (line 582) | def typedlist_call(context): function impl_numba_typeref_ctor (line 637) | def impl_numba_typeref_ctor(cls, *args): FILE: numba/typed/typedobjectutils.py function _as_bytes (line 17) | def _as_bytes(builder, ptr): function _cast (line 24) | def _cast(typingctx, val, typ): function _sentry_safe_cast (line 38) | def _sentry_safe_cast(fromty, toty): function _sentry_safe_cast_default (line 79) | def _sentry_safe_cast_default(default, valty): function _nonoptional (line 92) | def _nonoptional(typingctx, val): function _container_get_data (line 107) | def _container_get_data(context, builder, container_ty, c): function _container_get_meminfo (line 115) | def _container_get_meminfo(context, builder, container_ty, c): function _get_incref_decref (line 123) | def _get_incref_decref(context, module, datamodel, container_element_type): function _get_equal (line 153) | def _get_equal(context, module, datamodel, container_element_type): FILE: setup.py function _guard_py_ver (line 34) | def _guard_py_ver(): class build_doc (line 53) | class build_doc(Command): method run (line 56) | def run(self): class NumbaBuildExt (line 79) | class NumbaBuildExt(build_ext): method initialize_options (line 84) | def initialize_options(self): method run (line 90) | def run(self): function is_building (line 110) | def is_building(): function get_ext_modules (line 131) | def get_ext_modules(): FILE: versioneer.py class VersioneerConfig (line 332) | class VersioneerConfig: function get_root (line 336) | def get_root(): function get_config_from_root (line 375) | def get_config_from_root(root): class NotThisMethod (line 413) | class NotThisMethod(Exception): function register_vcs_handler (line 422) | def register_vcs_handler(vcs, method): # decorator function run_command (line 431) | def run_command(commands, args, cwd=None, verbose=False, hide_stderr=False, function git_get_keywords (line 1136) | def git_get_keywords(versionfile_abs): function git_versions_from_keywords (line 1164) | def git_versions_from_keywords(keywords, tag_prefix, verbose): function git_pieces_from_vcs (line 1228) | def git_pieces_from_vcs(tag_prefix, root, verbose, runner=run_command): function do_vcs_install (line 1360) | def do_vcs_install(versionfile_source, ipy): function versions_from_parentdir (line 1398) | def versions_from_parentdir(parentdir_prefix, root, verbose): function versions_from_file (line 1440) | def versions_from_file(filename): function write_to_version_file (line 1457) | def write_to_version_file(filename, versions): function plus_or_dot (line 1468) | def plus_or_dot(pieces): function render_pep440 (line 1475) | def render_pep440(pieces): function render_pep440_branch (line 1500) | def render_pep440_branch(pieces): function pep440_split_post (line 1530) | def pep440_split_post(ver): function render_pep440_pre (line 1540) | def render_pep440_pre(pieces): function render_pep440_post (line 1564) | def render_pep440_post(pieces): function render_pep440_post_branch (line 1591) | def render_pep440_post_branch(pieces): function render_pep440_old (line 1620) | def render_pep440_old(pieces): function render_git_describe (line 1642) | def render_git_describe(pieces): function render_git_describe_long (line 1662) | def render_git_describe_long(pieces): function render (line 1682) | def render(pieces, style): class VersioneerBadRootError (line 1718) | class VersioneerBadRootError(Exception): function get_versions (line 1722) | def get_versions(verbose=False): function get_version (line 1798) | def get_version(): function get_cmdclass (line 1803) | def get_cmdclass(cmdclass=None): function do_setup (line 2102) | def do_setup(): function scan_setup_py (line 2158) | def scan_setup_py(): function setup_command (line 2195) | def setup_command():