From 765f1f5d5bed7dbe5afba2de595e2947a174380b Mon Sep 17 00:00:00 2001 From: Jim Pivarski Date: Mon, 28 Jun 2021 19:12:16 -0500 Subject: [PATCH] Make dev/generate-kernel-signatures.py part of the build process and add Python ctypes signatures as well. (#966) * Inserted dev/generate-kernel-signatures.py into the build process. * Refactored generate-kernel-signatures.py, deleted kernels.h. * Now generating _cpu_kernels_signatures.py. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Merge with main. * Renamed to _kernel_signatures.py and everything should be working now. * Quick fix. * The 'raw setup.py' method of including generated files. * Remove CUDA test-build and deploy. * Applying @henryiii's build_py-based correction. * Implemented nplike kernels and Content.handle_error. Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- .ci/azure-buildtest-awkward.yml | 11 - .ci/azure-deploy-awkward.yml | 63 - .gitignore | 11 +- MANIFEST.in | 1 + VERSION_INFO | 2 +- dev/clean-generated.py | 33 +- dev/generate-cuda.py | 2 + dev/generate-kernel-signatures.py | 206 + dev/generate-kerneldocs.py | 2 + dev/generate-kernelheader.py | 53 - dev/generate-tests.py | 168 +- dev/kernel-diagnostics.py | 2 + include/awkward/kernels.h | 5077 ----------------- kernel-specification.yml | 6 +- localbuild.py | 22 +- pyproject.toml | 1 + setup.py | 15 +- src/awkward/_cpu_kernels.py | 3 + src/awkward/_util.py | 9 + src/awkward/_v2/contents/content.py | 25 + src/awkward/nplike.py | 22 + tests-cpu-kernels/__init__.py | 19 - tests-cuda-kernels/__init__.py | 36 - tests-spec/__init__.py | 3 - ...st_0868-matrix-multiplication-of-vector.py | 15 + 25 files changed, 501 insertions(+), 5306 deletions(-) delete mode 100644 .ci/azure-deploy-awkward.yml create mode 100644 dev/generate-kernel-signatures.py delete mode 100644 dev/generate-kernelheader.py delete mode 100644 include/awkward/kernels.h delete mode 100644 tests-cpu-kernels/__init__.py delete mode 100644 tests-cuda-kernels/__init__.py delete mode 100644 tests-spec/__init__.py diff --git a/.ci/azure-buildtest-awkward.yml b/.ci/azure-buildtest-awkward.yml index 9baaf4432b..c1630215e1 100644 --- a/.ci/azure-buildtest-awkward.yml +++ b/.ci/azure-buildtest-awkward.yml @@ -328,17 +328,6 @@ jobs: python -m pytest -vv -rs tests displayName: "Test" - - script: | - python dev/generate-cuda.py - displayName: "Generate CUDA kernels" - condition: "and(succeeded(), and(ne(variables['python.version'], '3.8'), ne(variables['python.version'], '3.9')))" - - - script: | - python -m pip install wheel - bash cuda-build.sh - displayName: "Build the cuda-kernels" - condition: "and(succeeded(), and(ne(variables['python.version'], '2.7'), ne(variables['python.version'], '3.9')))" - - script: | echo '===== include directory =============================' ls -R `python -m awkward.config --incdir` diff --git a/.ci/azure-deploy-awkward.yml b/.ci/azure-deploy-awkward.yml deleted file mode 100644 index 3bb7c34796..0000000000 --- a/.ci/azure-deploy-awkward.yml +++ /dev/null @@ -1,63 +0,0 @@ -trigger: - branches: - exclude: - - "*" - tags: - include: - - "*.*.*" - -pr: - branches: - exclude: - - "*" - -jobs: - - job: "CUDA" - - pool: - vmImage: "ubuntu-18.04" - - steps: - - checkout: self - submodules: recursive - - - task: DownloadSecureFile@1 - name: pypirc - inputs: - secureFile: pivarski-pypirc - displayName: "Credentials" - - - task: UsePythonVersion@0 - inputs: - versionSpec: "3.8" - architecture: "x64" - displayName: "Python 3.8" - - - script: | - python -m pip install --upgrade pip - displayName: "Install Pip" - - - script: | - python -m pip install twine wheel - displayName: "Install Twine & Wheel" - - - script: | - python -m pip list - displayName: "Print versions" - - - script: | - bash cuda-build.sh - displayName: "Build" - - - script: | - ls dist - rm -rf dist/awkward_cuda_kernels-*-py3-none-any.whl dist/awkward_cuda_kernels dist/awkward_cuda_kernels-*.dist-info dist/tmp_WHEEL - ls dist - python -m twine upload dist/awkward_cuda_kernels-*-py3-none-manylinux2014_x86_64.whl --config-file $(pypirc.secureFilePath) --verbose - displayName: "Deploy" - condition: "and(succeeded(), contains(variables['Build.SourceBranch'], 'tags'))" - - - task: PublishPipelineArtifact@0 - inputs: - artifactName: 'wheel_$(Agent.OS)_$(Agent.JobName)_$(python.architecture)' - targetPath: 'dist' diff --git a/.gitignore b/.gitignore index e123a67b32..b0eb468953 100644 --- a/.gitignore +++ b/.gitignore @@ -5,14 +5,17 @@ docs/demos/test-program.cpp .ci/logs/ .clangd/ +# Generated includes +include/awkward/kernels.h +src/awkward/_kernel_signatures.py + # Generated CUDA kernels src/cuda-kernels/awkward_*.cu # Kernel tests -tests-cpu-kernels/test* -tests-cuda-kernels/test* -tests-spec/kernels.py -tests-spec/test* +tests-cpu-kernels +tests-cuda-kernels +tests-spec dependent-project/CMakeFiles dependent-project/CMakeCache.txt diff --git a/MANIFEST.in b/MANIFEST.in index e501053ba8..2211e38af9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,4 +1,5 @@ include requirements*.txt VERSION_INFO CMakeLists.txt LICENSE README*.md CONTRIBUTING.md runtime.txt +include dev/generate-kernel-signatures.py recursive-include include *.h recursive-include src *.cpp *.py *.cu recursive-include tests *.cpp *.py samples/* diff --git a/VERSION_INFO b/VERSION_INFO index 40b4880203..d133d5913e 100644 --- a/VERSION_INFO +++ b/VERSION_INFO @@ -1 +1 @@ -1.4.0rc1 +1.4.0rc2 diff --git a/dev/clean-generated.py b/dev/clean-generated.py index 437af3691d..d974c4bcef 100644 --- a/dev/clean-generated.py +++ b/dev/clean-generated.py @@ -1,28 +1,27 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE + +from __future__ import absolute_import + import argparse import glob import os +import shutil CURRENT_DIR = os.path.dirname(os.path.realpath(__file__)) def clean_tests(): - if os.path.exists(os.path.join(CURRENT_DIR, "..", "tests-spec", "kernels.py")): - os.remove(os.path.join(CURRENT_DIR, "..", "tests-spec", "kernels.py")) - cpu_kernel_tests = glob.glob( - os.path.join(CURRENT_DIR, "..", "tests-cpu-kernels", "test") + "*" - ) - for testfile in cpu_kernel_tests: - os.remove(testfile) - cuda_kernel_tests = glob.glob( - os.path.join(CURRENT_DIR, "..", "tests-cuda-kernels", "test") + "*" - ) - for testfile in cuda_kernel_tests: - os.remove(testfile) - kernel_spec_tests = glob.glob( - os.path.join(CURRENT_DIR, "..", "tests-spec", "test") + "*" - ) - for testfile in kernel_spec_tests: - os.remove(testfile) + tests_spec = os.path.join(CURRENT_DIR, "..", "tests-spec") + if os.path.exists(tests_spec): + shutil.rmtree(tests_spec) + + tests_cpu_kernels = os.path.join(CURRENT_DIR, "..", "tests-cpu-kernels") + if os.path.exists(tests_cpu_kernels): + shutil.rmtree(tests_cpu_kernels) + + tests_cuda_kernels = os.path.join(CURRENT_DIR, "..", "tests-cuda-kernels") + if os.path.exists(tests_cuda_kernels): + shutil.rmtree(tests_cuda_kernels) def clean_cuda_kernels(): diff --git a/dev/generate-cuda.py b/dev/generate-cuda.py index e0632518a8..20ac715c55 100644 --- a/dev/generate-cuda.py +++ b/dev/generate-cuda.py @@ -1,5 +1,7 @@ # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +from __future__ import absolute_import + import argparse import ast import copy diff --git a/dev/generate-kernel-signatures.py b/dev/generate-kernel-signatures.py new file mode 100644 index 0000000000..24fa168c89 --- /dev/null +++ b/dev/generate-kernel-signatures.py @@ -0,0 +1,206 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE + +from __future__ import absolute_import + +import os +import datetime + +import yaml + +CURRENT_DIR = os.path.dirname(os.path.realpath(__file__)) + + +def type_to_ctype(typename): + is_const = False + if "Const[" in typename: + is_const = True + typename = typename[len("Const[") : -1] + count = 0 + while "List[" in typename: + count += 1 + typename = typename[len("List[") : -1] + typename = typename + "*" * count + if is_const: + typename = "const " + typename + return typename + + +def include_kernels_h(specification): + print("Generating include/awkward/kernels.h...") + + with open( + os.path.join(CURRENT_DIR, "..", "include", "awkward", "kernels.h"), "w" + ) as header: + header.write( + """// AUTO GENERATED ON {0} +// DO NOT EDIT BY HAND! +// +// To regenerate file, run +// +// python dev/generate-kernel-signatures.py +// +// (It is usually run as part of pip install . or localbuild.py.) + +#ifndef AWKWARD_KERNELS_H_ +#define AWKWARD_KERNELS_H_ + +#include "awkward/common.h" + +extern "C" {{ + +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) + for spec in specification["kernels"]: + for childfunc in spec["specializations"]: + header.write(" " * 2 + "EXPORT_SYMBOL ERROR\n") + header.write(" " * 2 + childfunc["name"] + "(\n") + for i, arg in enumerate(childfunc["args"]): + header.write( + " " * 4 + type_to_ctype(arg["type"]) + " " + arg["name"] + ) + if i == (len(childfunc["args"]) - 1): + header.write(");\n") + else: + header.write(",\n") + header.write("\n") + header.write( + """} + +#endif // AWKWARD_KERNELS_H_ +""" + ) + + print("Done with include/awkward/kernels.h.") + + +type_to_dtype = { + "bool": "bool_", + "int8": "int8", + "uint8": "uint8", + "int16": "int16", + "uint16": "uint16", + "int32": "int32", + "uint32": "uint32", + "int64": "int64", + "uint64": "uint64", + "float": "float32", + "double": "float64", +} + + +def type_to_pytype(typename, special): + if "Const[" in typename: + typename = typename[len("Const[") : -1] + count = 0 + while "List[" in typename: + count += 1 + typename = typename[len("List[") : -1] + if typename.endswith("_t"): + typename = typename[:-2] + if count != 0: + special.append(type_to_dtype[typename]) + return ("POINTER(" * count) + ("c_" + typename) + (")" * count) + + +def kernel_signatures_py(specification): + print("Generating src/awkward/_kernel_signatures.py...") + + with open( + os.path.join(CURRENT_DIR, "..", "src", "awkward", "_kernel_signatures.py"), + "w", + ) as file: + file.write( + """# AUTO GENERATED ON {0} +# DO NOT EDIT BY HAND! +# +# To regenerate file, run +# +# python dev/generate-kernel-signatures.py +# +# (It is usually run as part of pip install . or localbuild.py.) + +# fmt: off + +from ctypes import ( + POINTER, + Structure, + c_bool, + c_int8, + c_uint8, + c_int16, + c_uint16, + c_int32, + c_uint32, + c_int64, + c_uint64, + c_float, + c_double, + c_char_p, +) + +import numpy as np + +from numpy import ( + bool_, + int8, + uint8, + int16, + uint16, + int32, + uint32, + int64, + uint64, + float32, + float64, +) + +class ERROR(Structure): + _fields_ = [ + ("str", c_char_p), + ("filename", c_char_p), + ("id", c_int64), + ("attempt", c_int64), + ("pass_through", c_bool), + ] + + +def by_signature(lib): + out = {{}} +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) + + for spec in specification["kernels"]: + for childfunc in spec["specializations"]: + special = [repr(spec["name"])] + arglist = [ + type_to_pytype(x["type"], special) for x in childfunc["args"] + ] + file.write( + """ + f = lib.{0} + f.argtypes = [{1}] + f.restype = ERROR + out[{2}] = f +""".format( + childfunc["name"], ", ".join(arglist), ", ".join(special) + ) + ) + + file.write( + """ + return out +""" + ) + + print("Done with src/awkward/_kernel_signatures.py...") + + +if __name__ == "__main__": + with open(os.path.join(CURRENT_DIR, "..", "kernel-specification.yml")) as specfile: + specification = yaml.safe_load(specfile) + include_kernels_h(specification) + kernel_signatures_py(specification) diff --git a/dev/generate-kerneldocs.py b/dev/generate-kerneldocs.py index 90f3f9a11c..a373a98e03 100644 --- a/dev/generate-kerneldocs.py +++ b/dev/generate-kerneldocs.py @@ -1,5 +1,7 @@ # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +from __future__ import absolute_import + import os import yaml diff --git a/dev/generate-kernelheader.py b/dev/generate-kernelheader.py deleted file mode 100644 index 466b60e1fc..0000000000 --- a/dev/generate-kernelheader.py +++ /dev/null @@ -1,53 +0,0 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -import os - -import yaml - -CURRENT_DIR = os.path.dirname(os.path.realpath(__file__)) - - -def getctype(typename): - flag = False - if "Const[" in typename: - flag = True - typename = typename[len("Const[") : -1] - arraycount = 0 - while "List[" in typename: - arraycount += 1 - typename = typename[len("List[") : -1] - typename = typename + "*" * arraycount - if flag: - typename = "const " + typename - return typename - - -if __name__ == "__main__": - with open( - os.path.join(CURRENT_DIR, "..", "include", "awkward", "kernels.h"), "w" - ) as header: - header.write("// AUTO GENERATED: DO NOT EDIT BY HAND!\n") - header.write( - "// To regenerate file, execute - python dev/generate-kernelheader.py\n\n" - ) - header.write( - '#ifndef AWKWARD_KERNELS_H_\n#define AWKWARD_KERNELS_H_\n\n#include "awkward/common.h"\n\nextern "C" {\n' - ) - with open( - os.path.join(CURRENT_DIR, "..", "kernel-specification.yml") - ) as specfile: - indspec = yaml.safe_load(specfile)["kernels"] - for spec in indspec: - for childfunc in spec["specializations"]: - header.write(" " * 2 + "EXPORT_SYMBOL ERROR\n") - header.write(" " * 2 + childfunc["name"] + "(\n") - for i, arg in enumerate(childfunc["args"]): - header.write( - " " * 4 + getctype(arg["type"]) + " " + arg["name"] - ) - if i == (len(childfunc["args"]) - 1): - header.write(");\n") - else: - header.write(",\n") - header.write("\n") - header.write("}\n#endif\n") diff --git a/dev/generate-tests.py b/dev/generate-tests.py index 908b6dba82..e2a87e5cf1 100644 --- a/dev/generate-tests.py +++ b/dev/generate-tests.py @@ -1,7 +1,11 @@ # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +from __future__ import absolute_import + import copy import os +import datetime +import shutil from collections import OrderedDict from itertools import product @@ -225,6 +229,28 @@ def genpykernels(): kMaxInt64 = 9223372036854775806 kSliceNone = kMaxInt64 + 1 """ + + tests_spec = os.path.join(CURRENT_DIR, "..", "tests-spec") + if os.path.exists(tests_spec): + shutil.rmtree(tests_spec) + os.mkdir(tests_spec) + with open(os.path.join(tests_spec, "__init__.py"), "w") as f: + f.write( + """# AUTO GENERATED ON {0} +# DO NOT EDIT BY HAND! +# +# To regenerate file, run +# +# python dev/generate-tests.py +# + +# fmt: off + +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) + with open( os.path.join(CURRENT_DIR, "..", "tests-spec", "kernels.py"), "w" ) as outfile: @@ -275,6 +301,21 @@ def genspectests(specdict): ), "w", ) as f: + f.write( + """# AUTO GENERATED ON {0} +# DO NOT EDIT BY HAND! +# +# To regenerate file, run +# +# python dev/generate-tests.py +# + +# fmt: off + +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) f.write("import pytest\nimport kernels\n\n") num = 1 if spec.tests == []: @@ -367,14 +408,50 @@ def getctypelist(arglist): def gencpukerneltests(specdict): print("Generating files for testing CPU kernels") + tests_cpu_kernels = os.path.join(CURRENT_DIR, "..", "tests-cpu-kernels") + if os.path.exists(tests_cpu_kernels): + shutil.rmtree(tests_cpu_kernels) + os.mkdir(tests_cpu_kernels) + with open(os.path.join(tests_cpu_kernels, "__init__.py"), "w") as f: + f.write( + """# AUTO GENERATED ON {0} +# DO NOT EDIT BY HAND! +# +# To regenerate file, run +# +# python dev/generate-tests.py +# + +# fmt: off + +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) + for spec in specdict.values(): with open( - os.path.join( - CURRENT_DIR, "..", "tests-cpu-kernels", "test_cpu" + spec.name + ".py" - ), - "w", + os.path.join(tests_cpu_kernels, "test_cpu" + spec.name + ".py"), "w" ) as f: - f.write("import ctypes\nimport pytest\nfrom __init__ import lib, Error\n\n") + f.write( + """# AUTO GENERATED ON {0} +# DO NOT EDIT BY HAND! +# +# To regenerate file, run +# +# python dev/generate-tests.py +# + +# fmt: off + +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) + + f.write( + "import ctypes\nimport pytest\n\nfrom awkward._cpu_kernels import lib\n\n" + ) num = 1 if spec.tests == []: f.write( @@ -413,10 +490,6 @@ def gencpukerneltests(specdict): ) ) f.write(" " * 4 + "funcC = getattr(lib, '" + spec.name + "')\n") - f.write(" " * 4 + "funcC.restype = Error\n") - f.write( - " " * 4 + "funcC.argtypes = {0}\n".format(getctypelist(spec.args)) - ) args = "" count = 0 for arg in spec.args: @@ -440,29 +513,90 @@ def gencpukerneltests(specdict): f.write(" " * 4 + "assert {0} == pytest_{0}\n".format(arg)) f.write(" " * 4 + "assert not ret_pass.str\n") else: - f.write(" " * 4 + "assert funcC({0}).str.contents\n".format(args)) + f.write(" " * 4 + "assert funcC({0}).str\n".format(args)) f.write("\n") def gencudakerneltests(specdict): print("Generating files for testing CUDA kernels") + tests_cuda_kernels = os.path.join(CURRENT_DIR, "..", "tests-cuda-kernels") + if os.path.exists(tests_cuda_kernels): + shutil.rmtree(tests_cuda_kernels) + os.mkdir(tests_cuda_kernels) + with open(os.path.join(tests_cuda_kernels, "__init__.py"), "w") as f: + f.write( + """# AUTO GENERATED ON {0} +# DO NOT EDIT BY HAND! +# +# To regenerate file, run +# +# python dev/generate-tests.py +# + +# fmt: off + +from __future__ import absolute_import + +import ctypes +import platform + +import pkg_resources + +# awkward-cuda-kernels is only supported on Linux, but let's leave the placeholder. +if platform.system() == "Windows": + shared_library_name = "awkward-cuda-kernels.dll" +elif platform.system() == "Darwin": + shared_library_name = "libawkward-cuda-kernels.dylib" +else: + shared_library_name = "libawkward-cuda-kernels.so" + +CUDA_KERNEL_SO = pkg_resources.resource_filename( + "awkward_cuda_kernels", shared_library_name +) + +lib = ctypes.CDLL(CUDA_KERNEL_SO) + + +class Error(ctypes.Structure): + _fields_ = [ + ("str", ctypes.POINTER(ctypes.c_char)), + ("filename", ctypes.POINTER(ctypes.c_char)), + ("identity", ctypes.c_int64), + ("attempt", ctypes.c_int64), + ("pass_through", ctypes.c_bool), + ] +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) + cudakernels = getcudakernelslist() funcnames = getfuncnames() cudafuncnames = {funcname: funcnames[funcname] for funcname in cudakernels} + for spec in specdict.values(): if (spec.name in cudakernels) or any( spec.name in x for x in cudafuncnames.values() ): with open( - os.path.join( - CURRENT_DIR, - "..", - "tests-cuda-kernels", - "test_cuda" + spec.name + ".py", - ), - "w", + os.path.join(tests_cuda_kernels, "test_cuda" + spec.name + ".py"), "w" ) as f: + f.write( + """# AUTO GENERATED ON {0} +# DO NOT EDIT BY HAND! +# +# To regenerate file, run +# +# python dev/generate-tests.py +# + +# fmt: off + +""".format( + datetime.datetime.now().isoformat().replace("T", " AT ")[:22] + ) + ) f.write( "import ctypes\nimport cupy\nimport pytest\nfrom __init__ import lib, Error\n\n" ) diff --git a/dev/kernel-diagnostics.py b/dev/kernel-diagnostics.py index dcf373ef45..26542c1d97 100644 --- a/dev/kernel-diagnostics.py +++ b/dev/kernel-diagnostics.py @@ -1,5 +1,7 @@ # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE +from __future__ import absolute_import + import argparse import copy import os diff --git a/include/awkward/kernels.h b/include/awkward/kernels.h deleted file mode 100644 index 68b119ccdb..0000000000 --- a/include/awkward/kernels.h +++ /dev/null @@ -1,5077 +0,0 @@ -// AUTO GENERATED: DO NOT EDIT BY HAND! -// To regenerate file, execute - python dev/generate-kernelheader.py - -#ifndef AWKWARD_KERNELS_H_ -#define AWKWARD_KERNELS_H_ - -#include "awkward/common.h" - -extern "C" { - EXPORT_SYMBOL ERROR - awkward_BitMaskedArray_to_ByteMaskedArray( - int8_t* tobytemask, - const uint8_t* frombitmask, - int64_t bitmasklength, - bool validwhen, - bool lsb_order); - - EXPORT_SYMBOL ERROR - awkward_BitMaskedArray_to_IndexedOptionArray64( - int64_t* toindex, - const uint8_t* frombitmask, - int64_t bitmasklength, - bool validwhen, - bool lsb_order); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_getitem_carry_64( - int8_t* tomask, - const int8_t* frommask, - int64_t lenmask, - const int64_t* fromcarry, - int64_t lencarry); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_getitem_nextcarry_64( - int64_t* tocarry, - const int8_t* mask, - int64_t length, - bool validwhen); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_getitem_nextcarry_outindex_64( - int64_t* tocarry, - int64_t* outindex, - const int8_t* mask, - int64_t length, - bool validwhen); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_mask8( - int8_t* tomask, - const int8_t* frommask, - int64_t length, - bool validwhen); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_numnull( - int64_t* numnull, - const int8_t* mask, - int64_t length, - bool validwhen); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_overlay_mask8( - int8_t* tomask, - const int8_t* theirmask, - const int8_t* mymask, - int64_t length, - bool validwhen); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_reduce_next_64( - int64_t* nextcarry, - int64_t* nextparents, - int64_t* outindex, - const int8_t* mask, - const int64_t* parents, - int64_t length, - bool validwhen); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_64( - int64_t* nextshifts, - const int8_t* mask, - int64_t length, - bool valid_when); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_reduce_next_nonlocal_nextshifts_fromshifts_64( - int64_t* nextshifts, - const int8_t* mask, - int64_t length, - bool valid_when, - const int64_t* shifts); - - EXPORT_SYMBOL ERROR - awkward_ByteMaskedArray_toIndexedOptionArray64( - int64_t* toindex, - const int8_t* mask, - int64_t length, - bool validwhen); - - EXPORT_SYMBOL ERROR - awkward_Content_getitem_next_missing_jagged_getmaskstartstop( - int64_t* index_in, - int64_t* offsets_in, - int64_t* mask_out, - int64_t* starts_out, - int64_t* stops_out, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_Identities32_to_Identities64( - int64_t* toptr, - const int32_t* fromptr, - int64_t length, - int64_t width); - - EXPORT_SYMBOL ERROR - awkward_Identities32_extend( - int32_t* toptr, - const int32_t* fromptr, - int64_t fromlength, - int64_t tolength); - EXPORT_SYMBOL ERROR - awkward_Identities64_extend( - int64_t* toptr, - const int64_t* fromptr, - int64_t fromlength, - int64_t tolength); - - EXPORT_SYMBOL ERROR - awkward_Identities32_from_IndexedArray32( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const int32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_IndexedArray64( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const int64_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_IndexedArrayU32( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const uint32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_IndexedArray32( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const int32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_IndexedArray64( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const int64_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_IndexedArrayU32( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const uint32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - - EXPORT_SYMBOL ERROR - awkward_Identities32_from_ListArray32( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_ListArray64( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_ListArrayU32( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_ListArray32( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_ListArray64( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_ListArrayU32( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - - EXPORT_SYMBOL ERROR - awkward_Identities32_from_ListOffsetArray32( - int32_t* toptr, - const int32_t* fromptr, - const int32_t* fromoffsets, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_ListOffsetArray64( - int32_t* toptr, - const int32_t* fromptr, - const int64_t* fromoffsets, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_ListOffsetArrayU32( - int32_t* toptr, - const int32_t* fromptr, - const uint32_t* fromoffsets, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_ListOffsetArray32( - int64_t* toptr, - const int64_t* fromptr, - const int32_t* fromoffsets, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_ListOffsetArray64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* fromoffsets, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_ListOffsetArrayU32( - int64_t* toptr, - const int64_t* fromptr, - const uint32_t* fromoffsets, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - - EXPORT_SYMBOL ERROR - awkward_Identities32_from_RegularArray( - int32_t* toptr, - const int32_t* fromptr, - int64_t size, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_RegularArray( - int64_t* toptr, - const int64_t* fromptr, - int64_t size, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth); - - EXPORT_SYMBOL ERROR - awkward_Identities32_from_UnionArray8_32( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const int8_t* fromtags, - const int32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth, - int64_t which); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_UnionArray8_64( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const int8_t* fromtags, - const int64_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth, - int64_t which); - EXPORT_SYMBOL ERROR - awkward_Identities32_from_UnionArray8_U32( - bool* uniquecontents, - int32_t* toptr, - const int32_t* fromptr, - const int8_t* fromtags, - const uint32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth, - int64_t which); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_UnionArray8_32( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const int8_t* fromtags, - const int32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth, - int64_t which); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_UnionArray8_64( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const int8_t* fromtags, - const int64_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth, - int64_t which); - EXPORT_SYMBOL ERROR - awkward_Identities64_from_UnionArray8_U32( - bool* uniquecontents, - int64_t* toptr, - const int64_t* fromptr, - const int8_t* fromtags, - const uint32_t* fromindex, - int64_t tolength, - int64_t fromlength, - int64_t fromwidth, - int64_t which); - - EXPORT_SYMBOL ERROR - awkward_Identities32_getitem_carry_64( - int32_t* newidentitiesptr, - const int32_t* identitiesptr, - const int64_t* carryptr, - int64_t lencarry, - int64_t width, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Identities64_getitem_carry_64( - int64_t* newidentitiesptr, - const int64_t* identitiesptr, - const int64_t* carryptr, - int64_t lencarry, - int64_t width, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_Index32_iscontiguous( - bool* result, - const int32_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Index64_iscontiguous( - bool* result, - const int64_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Index8_iscontiguous( - bool* result, - const int8_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU32_iscontiguous( - bool* result, - const uint32_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU8_iscontiguous( - bool* result, - const uint8_t* fromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_Index32_to_Index64( - int64_t* toptr, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Index8_to_Index64( - int64_t* toptr, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU32_to_Index64( - int64_t* toptr, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU8_to_Index64( - int64_t* toptr, - const uint8_t* fromptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray_fill_to64_from32( - int64_t* toindex, - int64_t toindexoffset, - const int32_t* fromindex, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_IndexedArray_fill_to64_from64( - int64_t* toindex, - int64_t toindexoffset, - const int64_t* fromindex, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_IndexedArray_fill_to64_fromU32( - int64_t* toindex, - int64_t toindexoffset, - const uint32_t* fromindex, - int64_t length, - int64_t base); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray_fill_to64_count( - int64_t* toindex, - int64_t toindexoffset, - int64_t length, - int64_t base); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_flatten_nextcarry_64( - int64_t* tocarry, - const int32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_flatten_nextcarry_64( - int64_t* tocarry, - const int64_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_flatten_nextcarry_64( - int64_t* tocarry, - const uint32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_flatten_none2empty_64( - int64_t* outoffsets, - const int32_t* outindex, - int64_t outindexlength, - const int64_t* offsets, - int64_t offsetslength); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_flatten_none2empty_64( - int64_t* outoffsets, - const int64_t* outindex, - int64_t outindexlength, - const int64_t* offsets, - int64_t offsetslength); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_flatten_none2empty_64( - int64_t* outoffsets, - const uint32_t* outindex, - int64_t outindexlength, - const int64_t* offsets, - int64_t offsetslength); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray_getitem_adjust_outindex_64( - int8_t* tomask, - int64_t* toindex, - int64_t* tononzero, - const int64_t* fromindex, - int64_t fromindexlength, - const int64_t* nonzero, - int64_t nonzerolength); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_getitem_carry_64( - int32_t* toindex, - const int32_t* fromindex, - const int64_t* fromcarry, - int64_t lenindex, - int64_t lencarry); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_getitem_carry_64( - int64_t* toindex, - const int64_t* fromindex, - const int64_t* fromcarry, - int64_t lenindex, - int64_t lencarry); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_getitem_carry_64( - uint32_t* toindex, - const uint32_t* fromindex, - const int64_t* fromcarry, - int64_t lenindex, - int64_t lencarry); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_getitem_nextcarry_64( - int64_t* tocarry, - const int32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_getitem_nextcarry_64( - int64_t* tocarry, - const int64_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_getitem_nextcarry_64( - int64_t* tocarry, - const uint32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_getitem_nextcarry_outindex_64( - int64_t* tocarry, - int32_t* toindex, - const int32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_getitem_nextcarry_outindex_64( - int64_t* tocarry, - int64_t* toindex, - const int64_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_getitem_nextcarry_outindex_64( - int64_t* tocarry, - uint32_t* toindex, - const uint32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_getitem_nextcarry_outindex_mask_64( - int64_t* tocarry, - int64_t* toindex, - const int32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_getitem_nextcarry_outindex_mask_64( - int64_t* tocarry, - int64_t* toindex, - const int64_t* fromindex, - int64_t lenindex, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_getitem_nextcarry_outindex_mask_64( - int64_t* tocarry, - int64_t* toindex, - const uint32_t* fromindex, - int64_t lenindex, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray_local_preparenext_64( - int64_t* tocarry, - const int64_t* starts, - const int64_t* parents, - const int64_t parentslength, - const int64_t* nextparents, - const int64_t nextlen); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_mask8( - int8_t* tomask, - const int32_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_mask8( - int8_t* tomask, - const int64_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_mask8( - int8_t* tomask, - const uint32_t* fromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_numnull( - int64_t* numnull, - const int32_t* fromindex, - int64_t lenindex); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_numnull( - int64_t* numnull, - const int64_t* fromindex, - int64_t lenindex); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_numnull( - int64_t* numnull, - const uint32_t* fromindex, - int64_t lenindex); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_overlay_mask8_to64( - int64_t* toindex, - const int8_t* mask, - const int32_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_overlay_mask8_to64( - int64_t* toindex, - const int8_t* mask, - const int64_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_overlay_mask8_to64( - int64_t* toindex, - const int8_t* mask, - const uint32_t* fromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_reduce_next_64( - int64_t* nextcarry, - int64_t* nextparents, - int64_t* outindex, - const int32_t* index, - int64_t* parents, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_reduce_next_64( - int64_t* nextcarry, - int64_t* nextparents, - int64_t* outindex, - const int64_t* index, - int64_t* parents, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_reduce_next_64( - int64_t* nextcarry, - int64_t* nextparents, - int64_t* outindex, - const uint32_t* index, - int64_t* parents, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray_reduce_next_fix_offsets_64( - int64_t* outoffsets, - const int64_t* starts, - int64_t startslength, - int64_t outindexlength); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_reduce_next_nonlocal_nextshifts_64( - int64_t* nextshifts, - const int32_t* index, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_reduce_next_nonlocal_nextshifts_64( - int64_t* nextshifts, - const int64_t* index, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_reduce_next_nonlocal_nextshifts_64( - int64_t* nextshifts, - const uint32_t* index, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_reduce_next_nonlocal_nextshifts_fromshifts_64( - int64_t* nextshifts, - const int32_t* index, - int64_t length, - const int64_t* shifts); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_reduce_next_nonlocal_nextshifts_fromshifts_64( - int64_t* nextshifts, - const int64_t* index, - int64_t length, - const int64_t* shifts); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_reduce_next_nonlocal_nextshifts_fromshifts_64( - int64_t* nextshifts, - const uint32_t* index, - int64_t length, - const int64_t* shifts); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_simplify32_to64( - int64_t* toindex, - const int32_t* outerindex, - int64_t outerlength, - const int32_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_simplify64_to64( - int64_t* toindex, - const int32_t* outerindex, - int64_t outerlength, - const int64_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_simplifyU32_to64( - int64_t* toindex, - const int32_t* outerindex, - int64_t outerlength, - const uint32_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_simplify32_to64( - int64_t* toindex, - const int64_t* outerindex, - int64_t outerlength, - const int32_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_simplify64_to64( - int64_t* toindex, - const int64_t* outerindex, - int64_t outerlength, - const int64_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_simplifyU32_to64( - int64_t* toindex, - const int64_t* outerindex, - int64_t outerlength, - const uint32_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_simplify32_to64( - int64_t* toindex, - const uint32_t* outerindex, - int64_t outerlength, - const int32_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_simplify64_to64( - int64_t* toindex, - const uint32_t* outerindex, - int64_t outerlength, - const int64_t* innerindex, - int64_t innerlength); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_simplifyU32_to64( - int64_t* toindex, - const uint32_t* outerindex, - int64_t outerlength, - const uint32_t* innerindex, - int64_t innerlength); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_validity( - const int32_t* index, - int64_t length, - int64_t lencontent, - bool isoption); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_validity( - const int64_t* index, - int64_t length, - int64_t lencontent, - bool isoption); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_validity( - const uint32_t* index, - int64_t length, - int64_t lencontent, - bool isoption); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_ranges_next_64( - const int32_t* index, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - int64_t* tostarts, - int64_t* tostops, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_ranges_next_64( - const int64_t* index, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - int64_t* tostarts, - int64_t* tostops, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_ranges_next_64( - const uint32_t* index, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - int64_t* tostarts, - int64_t* tostops, - int64_t* tolength); - - EXPORT_SYMBOL ERROR - awkward_IndexedArray32_ranges_carry_next_64( - const int32_t* index, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - int64_t* tocarry); - EXPORT_SYMBOL ERROR - awkward_IndexedArray64_ranges_carry_next_64( - const int64_t* index, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - int64_t* tocarry); - EXPORT_SYMBOL ERROR - awkward_IndexedArrayU32_ranges_carry_next_64( - const uint32_t* index, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - int64_t* tocarry); - - EXPORT_SYMBOL ERROR - awkward_IndexedOptionArray_rpad_and_clip_mask_axis1_64( - int64_t* toindex, - const int8_t* frommask, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_broadcast_tooffsets_64( - int64_t* tocarry, - const int64_t* fromoffsets, - int64_t offsetslength, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArray64_broadcast_tooffsets_64( - int64_t* tocarry, - const int64_t* fromoffsets, - int64_t offsetslength, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_broadcast_tooffsets_64( - int64_t* tocarry, - const int64_t* fromoffsets, - int64_t offsetslength, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_combinations_64( - int64_t** tocarry, - int64_t* toindex, - int64_t* fromindex, - int64_t n, - bool replacement, - const int32_t* starts, - const int32_t* stops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArray64_combinations_64( - int64_t** tocarry, - int64_t* toindex, - int64_t* fromindex, - int64_t n, - bool replacement, - const int64_t* starts, - const int64_t* stops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_combinations_64( - int64_t** tocarry, - int64_t* toindex, - int64_t* fromindex, - int64_t n, - bool replacement, - const uint32_t* starts, - const uint32_t* stops, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_combinations_length_64( - int64_t* totallen, - int64_t* tooffsets, - int64_t n, - bool replacement, - const int32_t* starts, - const int32_t* stops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArray64_combinations_length_64( - int64_t* totallen, - int64_t* tooffsets, - int64_t n, - bool replacement, - const int64_t* starts, - const int64_t* stops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_combinations_length_64( - int64_t* totallen, - int64_t* tooffsets, - int64_t n, - bool replacement, - const uint32_t* starts, - const uint32_t* stops, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_compact_offsets_64( - int64_t* tooffsets, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArray64_compact_offsets_64( - int64_t* tooffsets, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_compact_offsets_64( - int64_t* tooffsets, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray_fill_to64_from32( - int64_t* tostarts, - int64_t tostartsoffset, - int64_t* tostops, - int64_t tostopsoffset, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_ListArray_fill_to64_from64( - int64_t* tostarts, - int64_t tostartsoffset, - int64_t* tostops, - int64_t tostopsoffset, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_ListArray_fill_to64_fromU32( - int64_t* tostarts, - int64_t tostartsoffset, - int64_t* tostops, - int64_t tostopsoffset, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t length, - int64_t base); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_carry_64( - int32_t* tostarts, - int32_t* tostops, - const int32_t* fromstarts, - const int32_t* fromstops, - const int64_t* fromcarry, - int64_t lenstarts, - int64_t lencarry); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_carry_64( - int64_t* tostarts, - int64_t* tostops, - const int64_t* fromstarts, - const int64_t* fromstops, - const int64_t* fromcarry, - int64_t lenstarts, - int64_t lencarry); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_carry_64( - uint32_t* tostarts, - uint32_t* tostops, - const uint32_t* fromstarts, - const uint32_t* fromstops, - const int64_t* fromcarry, - int64_t lenstarts, - int64_t lencarry); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_jagged_apply_64( - int64_t* tooffsets, - int64_t* tocarry, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t sliceouterlen, - const int64_t* sliceindex, - int64_t sliceinnerlen, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t contentlen); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_jagged_apply_64( - int64_t* tooffsets, - int64_t* tocarry, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t sliceouterlen, - const int64_t* sliceindex, - int64_t sliceinnerlen, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t contentlen); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_jagged_apply_64( - int64_t* tooffsets, - int64_t* tocarry, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t sliceouterlen, - const int64_t* sliceindex, - int64_t sliceinnerlen, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t contentlen); - - EXPORT_SYMBOL ERROR - awkward_ListArray_getitem_jagged_carrylen_64( - int64_t* carrylen, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t sliceouterlen); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_jagged_descend_64( - int64_t* tooffsets, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t sliceouterlen, - const int32_t* fromstarts, - const int32_t* fromstops); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_jagged_descend_64( - int64_t* tooffsets, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t sliceouterlen, - const int64_t* fromstarts, - const int64_t* fromstops); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_jagged_descend_64( - int64_t* tooffsets, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t sliceouterlen, - const uint32_t* fromstarts, - const uint32_t* fromstops); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_jagged_expand_64( - int64_t* multistarts, - int64_t* multistops, - const int64_t* singleoffsets, - int64_t* tocarry, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t jaggedsize, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_jagged_expand_64( - int64_t* multistarts, - int64_t* multistops, - const int64_t* singleoffsets, - int64_t* tocarry, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t jaggedsize, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_jagged_expand_64( - int64_t* multistarts, - int64_t* multistops, - const int64_t* singleoffsets, - int64_t* tocarry, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t jaggedsize, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray_getitem_jagged_numvalid_64( - int64_t* numvalid, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t length, - const int64_t* missing, - int64_t missinglength); - - EXPORT_SYMBOL ERROR - awkward_ListArray_getitem_jagged_shrink_64( - int64_t* tocarry, - int64_t* tosmalloffsets, - int64_t* tolargeoffsets, - const int64_t* slicestarts, - const int64_t* slicestops, - int64_t length, - const int64_t* missing); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_next_array_64( - int64_t* tocarry, - int64_t* toadvanced, - const int32_t* fromstarts, - const int32_t* fromstops, - const int64_t* fromarray, - int64_t lenstarts, - int64_t lenarray, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_next_array_64( - int64_t* tocarry, - int64_t* toadvanced, - const int64_t* fromstarts, - const int64_t* fromstops, - const int64_t* fromarray, - int64_t lenstarts, - int64_t lenarray, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_next_array_64( - int64_t* tocarry, - int64_t* toadvanced, - const uint32_t* fromstarts, - const uint32_t* fromstops, - const int64_t* fromarray, - int64_t lenstarts, - int64_t lenarray, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_next_array_advanced_64( - int64_t* tocarry, - int64_t* toadvanced, - const int32_t* fromstarts, - const int32_t* fromstops, - const int64_t* fromarray, - const int64_t* fromadvanced, - int64_t lenstarts, - int64_t lenarray, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_next_array_advanced_64( - int64_t* tocarry, - int64_t* toadvanced, - const int64_t* fromstarts, - const int64_t* fromstops, - const int64_t* fromarray, - const int64_t* fromadvanced, - int64_t lenstarts, - int64_t lenarray, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_next_array_advanced_64( - int64_t* tocarry, - int64_t* toadvanced, - const uint32_t* fromstarts, - const uint32_t* fromstops, - const int64_t* fromarray, - const int64_t* fromadvanced, - int64_t lenstarts, - int64_t lenarray, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_next_at_64( - int64_t* tocarry, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t lenstarts, - int64_t at); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_next_at_64( - int64_t* tocarry, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t lenstarts, - int64_t at); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_next_at_64( - int64_t* tocarry, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t lenstarts, - int64_t at); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_next_range_64( - int32_t* tooffsets, - int64_t* tocarry, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t lenstarts, - int64_t start, - int64_t stop, - int64_t step); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_next_range_64( - int64_t* tooffsets, - int64_t* tocarry, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t lenstarts, - int64_t start, - int64_t stop, - int64_t step); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_next_range_64( - uint32_t* tooffsets, - int64_t* tocarry, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t lenstarts, - int64_t start, - int64_t stop, - int64_t step); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_next_range_carrylength( - int64_t* carrylength, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t lenstarts, - int64_t start, - int64_t stop, - int64_t step); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_next_range_carrylength( - int64_t* carrylength, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t lenstarts, - int64_t start, - int64_t stop, - int64_t step); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_next_range_carrylength( - int64_t* carrylength, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t lenstarts, - int64_t start, - int64_t stop, - int64_t step); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_next_range_counts_64( - int64_t* total, - const int32_t* fromoffsets, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_next_range_counts_64( - int64_t* total, - const int64_t* fromoffsets, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_next_range_counts_64( - int64_t* total, - const uint32_t* fromoffsets, - int64_t lenstarts); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_getitem_next_range_spreadadvanced_64( - int64_t* toadvanced, - const int64_t* fromadvanced, - const int32_t* fromoffsets, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArray64_getitem_next_range_spreadadvanced_64( - int64_t* toadvanced, - const int64_t* fromadvanced, - const int64_t* fromoffsets, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_getitem_next_range_spreadadvanced_64( - int64_t* toadvanced, - const int64_t* fromadvanced, - const uint32_t* fromoffsets, - int64_t lenstarts); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_localindex_64( - int64_t* toindex, - const int32_t* offsets, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArray64_localindex_64( - int64_t* toindex, - const int64_t* offsets, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_localindex_64( - int64_t* toindex, - const uint32_t* offsets, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_min_range( - int64_t* tomin, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArray64_min_range( - int64_t* tomin, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_min_range( - int64_t* tomin, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t lenstarts); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_num_64( - int64_t* tonum, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArray64_num_64( - int64_t* tonum, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_num_64( - int64_t* tonum, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_rpad_and_clip_length_axis1( - int64_t* tomin, - const int32_t* fromstarts, - const int32_t* fromstops, - int64_t target, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArray64_rpad_and_clip_length_axis1( - int64_t* tomin, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t target, - int64_t lenstarts); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_rpad_and_clip_length_axis1( - int64_t* tomin, - const uint32_t* fromstarts, - const uint32_t* fromstops, - int64_t target, - int64_t lenstarts); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_rpad_axis1_64( - int64_t* toindex, - const int32_t* fromstarts, - const int32_t* fromstops, - int32_t* tostarts, - int32_t* tostops, - int64_t target, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArray64_rpad_axis1_64( - int64_t* toindex, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t* tostarts, - int64_t* tostops, - int64_t target, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_rpad_axis1_64( - int64_t* toindex, - const uint32_t* fromstarts, - const uint32_t* fromstops, - uint32_t* tostarts, - uint32_t* tostops, - int64_t target, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListArray32_validity( - const int32_t* starts, - const int32_t* stops, - int64_t length, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArray64_validity( - const int64_t* starts, - const int64_t* stops, - int64_t length, - int64_t lencontent); - EXPORT_SYMBOL ERROR - awkward_ListArrayU32_validity( - const uint32_t* starts, - const uint32_t* stops, - int64_t length, - int64_t lencontent); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray32_compact_offsets_64( - int64_t* tooffsets, - const int32_t* fromoffsets, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray64_compact_offsets_64( - int64_t* tooffsets, - const int64_t* fromoffsets, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArrayU32_compact_offsets_64( - int64_t* tooffsets, - const uint32_t* fromoffsets, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray32_flatten_offsets_64( - int64_t* tooffsets, - const int32_t* outeroffsets, - int64_t outeroffsetslen, - const int64_t* inneroffsets, - int64_t inneroffsetslen); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray64_flatten_offsets_64( - int64_t* tooffsets, - const int64_t* outeroffsets, - int64_t outeroffsetslen, - const int64_t* inneroffsets, - int64_t inneroffsetslen); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArrayU32_flatten_offsets_64( - int64_t* tooffsets, - const uint32_t* outeroffsets, - int64_t outeroffsetslen, - const int64_t* inneroffsets, - int64_t inneroffsetslen); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_getitem_adjust_offsets_64( - int64_t* tooffsets, - int64_t* tononzero, - const int64_t* fromoffsets, - int64_t length, - const int64_t* nonzero, - int64_t nonzerolength); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_getitem_adjust_offsets_index_64( - int64_t* tooffsets, - int64_t* tononzero, - const int64_t* fromoffsets, - int64_t length, - const int64_t* index, - int64_t indexlength, - const int64_t* nonzero, - int64_t nonzerolength, - const int8_t* originalmask, - int64_t masklength); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_local_preparenext_64( - int64_t* tocarry, - const int64_t* fromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_global_startstop_64( - int64_t* globalstart, - int64_t* globalstop, - const int64_t* offsets, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_local_nextparents_64( - int64_t* nextparents, - const int64_t* offsets, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_local_outoffsets_64( - int64_t* outoffsets, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_nonlocal_findgaps_64( - int64_t* gaps, - const int64_t* parents, - int64_t lenparents); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_nonlocal_maxcount_offsetscopy_64( - int64_t* maxcount, - int64_t* offsetscopy, - const int64_t* offsets, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_nonlocal_nextshifts_64( - int64_t* nummissing, - int64_t* missing, - int64_t* nextshifts, - const int64_t* offsets, - int64_t length, - const int64_t* starts, - const int64_t* parents, - int64_t maxcount, - int64_t nextlen, - const int64_t* nextcarry); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_nonlocal_nextstarts_64( - int64_t* nextstarts, - const int64_t* nextparents, - int64_t nextlen); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_nonlocal_outstartsstops_64( - int64_t* outstarts, - int64_t* outstops, - const int64_t* distincts, - int64_t lendistincts, - const int64_t* gaps, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_reduce_nonlocal_preparenext_64( - int64_t* nextcarry, - int64_t* nextparents, - int64_t nextlen, - int64_t* maxnextparents, - int64_t* distincts, - int64_t distinctslen, - int64_t* offsetscopy, - const int64_t* offsets, - int64_t length, - const int64_t* parents, - int64_t maxcount); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray32_rpad_and_clip_axis1_64( - int64_t* toindex, - const int32_t* fromoffsets, - int64_t length, - int64_t target); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray64_rpad_and_clip_axis1_64( - int64_t* toindex, - const int64_t* fromoffsets, - int64_t length, - int64_t target); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArrayU32_rpad_and_clip_axis1_64( - int64_t* toindex, - const uint32_t* fromoffsets, - int64_t length, - int64_t target); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray32_rpad_axis1_64( - int64_t* toindex, - const int32_t* fromoffsets, - int64_t fromlength, - int64_t target); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray64_rpad_axis1_64( - int64_t* toindex, - const int64_t* fromoffsets, - int64_t fromlength, - int64_t target); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArrayU32_rpad_axis1_64( - int64_t* toindex, - const uint32_t* fromoffsets, - int64_t fromlength, - int64_t target); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray32_rpad_length_axis1( - int32_t* tooffsets, - const int32_t* fromoffsets, - int64_t fromlength, - int64_t target, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray64_rpad_length_axis1( - int64_t* tooffsets, - const int64_t* fromoffsets, - int64_t fromlength, - int64_t target, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArrayU32_rpad_length_axis1( - uint32_t* tooffsets, - const uint32_t* fromoffsets, - int64_t fromlength, - int64_t target, - int64_t* tolength); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray32_toRegularArray( - int64_t* size, - const int32_t* fromoffsets, - int64_t offsetslength); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray64_toRegularArray( - int64_t* size, - const int64_t* fromoffsets, - int64_t offsetslength); - EXPORT_SYMBOL ERROR - awkward_ListOffsetArrayU32_toRegularArray( - int64_t* size, - const uint32_t* fromoffsets, - int64_t offsetslength); - - EXPORT_SYMBOL ERROR - awkward_MaskedArray32_getitem_next_jagged_project( - int32_t* index, - int64_t* starts_in, - int64_t* stops_in, - int64_t* starts_out, - int64_t* stops_out, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_MaskedArray64_getitem_next_jagged_project( - int64_t* index, - int64_t* starts_in, - int64_t* stops_in, - int64_t* starts_out, - int64_t* stops_out, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_MaskedArrayU32_getitem_next_jagged_project( - uint32_t* index, - int64_t* starts_in, - int64_t* stops_in, - int64_t* starts_out, - int64_t* stops_out, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_copy( - uint8_t* toptr, - const uint8_t* fromptr, - int64_t len); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_contiguous_copy_64( - uint8_t* toptr, - const uint8_t* fromptr, - int64_t len, - int64_t stride, - const int64_t* pos); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_contiguous_copy_from_many_64( - uint8_t* toptr, - const uint8_t** fromptrs, - int64_t* fromlens, - int64_t len, - int64_t stride, - const int64_t* pos); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_contiguous_init_64( - int64_t* toptr, - int64_t skip, - int64_t stride); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_contiguous_next_64( - int64_t* topos, - const int64_t* frompos, - int64_t length, - int64_t skip, - int64_t stride); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromint8( - int8_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromint16( - int8_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromint32( - int8_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromint64( - int8_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromuint8( - int8_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromuint16( - int8_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromuint32( - int8_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromuint64( - int8_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromfloat32( - int8_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromfloat64( - int8_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromint8( - int16_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromint16( - int16_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromint32( - int16_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromint64( - int16_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromuint8( - int16_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromuint16( - int16_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromuint32( - int16_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromuint64( - int16_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromfloat32( - int16_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromfloat64( - int16_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromint8( - int32_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromint16( - int32_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromint32( - int32_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromint64( - int32_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromuint8( - int32_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromuint16( - int32_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromuint32( - int32_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromuint64( - int32_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromfloat32( - int32_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromfloat64( - int32_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromint8( - int64_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromint16( - int64_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromint32( - int64_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromint64( - int64_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromuint8( - int64_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromuint16( - int64_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromuint32( - int64_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromuint64( - int64_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromfloat32( - int64_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromfloat64( - int64_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromint8( - uint8_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromint16( - uint8_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromint32( - uint8_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromint64( - uint8_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromuint8( - uint8_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromuint16( - uint8_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromuint32( - uint8_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromuint64( - uint8_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromfloat32( - uint8_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromfloat64( - uint8_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromint8( - uint16_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromint16( - uint16_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromint32( - uint16_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromint64( - uint16_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromuint8( - uint16_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromuint16( - uint16_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromuint32( - uint16_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromuint64( - uint16_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromfloat32( - uint16_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromfloat64( - uint16_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromint8( - uint32_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromint16( - uint32_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromint32( - uint32_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromint64( - uint32_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromuint8( - uint32_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromuint16( - uint32_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromuint32( - uint32_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromuint64( - uint32_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromfloat32( - uint32_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromfloat64( - uint32_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromint8( - uint64_t* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromint16( - uint64_t* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromint32( - uint64_t* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromint64( - uint64_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromuint8( - uint64_t* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromuint16( - uint64_t* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromuint32( - uint64_t* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromuint64( - uint64_t* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromfloat32( - uint64_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromfloat64( - uint64_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromint8( - float* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromint16( - float* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromint32( - float* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromint64( - float* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromuint8( - float* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromuint16( - float* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromuint32( - float* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromuint64( - float* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromfloat32( - float* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromfloat64( - float* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromint8( - double* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromint16( - double* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromint32( - double* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromint64( - double* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromuint8( - double* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromuint16( - double* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromuint32( - double* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromuint64( - double* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromfloat32( - double* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromfloat64( - double* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_frombool( - float* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromint8( - float* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromint16( - float* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromint32( - float* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromint64( - float* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromuint8( - float* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromuint16( - float* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromuint32( - float* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromuint64( - float* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromfloat32( - float* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex64_fromfloat64( - float* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_frombool( - double* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromint8( - double* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromint16( - double* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromint32( - double* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromint64( - double* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromuint8( - double* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromuint16( - double* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromuint32( - double* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromuint64( - double* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromfloat32( - double* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tocomplex128_fromfloat64( - double* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromcomplex64( - bool* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromcomplex128( - bool* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromcomplex64( - int8_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_fromcomplex128( - int8_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromcomplex64( - int16_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_fromcomplex128( - int16_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromcomplex64( - int32_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_fromcomplex128( - int32_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromcomplex64( - int64_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_fromcomplex128( - int64_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromcomplex64( - uint8_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_fromcomplex128( - uint8_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromcomplex64( - uint16_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_fromcomplex128( - uint16_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromcomplex64( - uint32_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_fromcomplex128( - uint32_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromcomplex64( - uint64_t* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_fromcomplex128( - uint64_t* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromcomplex64( - float* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_fromcomplex128( - float* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromcomplex64( - double* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_fromcomplex128( - double* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_frombool( - bool* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint8_frombool( - int8_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint16_frombool( - int16_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint32_frombool( - int32_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_toint64_frombool( - int64_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint8_frombool( - uint8_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint16_frombool( - uint16_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint32_frombool( - uint32_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_touint64_frombool( - uint64_t* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat32_frombool( - float* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tofloat64_frombool( - double* toptr, - int64_t tooffset, - const bool* fromptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromint8( - bool* toptr, - int64_t tooffset, - const int8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromint16( - bool* toptr, - int64_t tooffset, - const int16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromint32( - bool* toptr, - int64_t tooffset, - const int32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromint64( - bool* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromuint8( - bool* toptr, - int64_t tooffset, - const uint8_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromuint16( - bool* toptr, - int64_t tooffset, - const uint16_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromuint32( - bool* toptr, - int64_t tooffset, - const uint32_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromuint64( - bool* toptr, - int64_t tooffset, - const uint64_t* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromfloat32( - bool* toptr, - int64_t tooffset, - const float* fromptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_tobool_fromfloat64( - bool* toptr, - int64_t tooffset, - const double* fromptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_fill_scaled_toint64_fromint64( - int64_t* toptr, - int64_t tooffset, - const int64_t* fromptr, - int64_t length, - double scale); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_boolean_nonzero_64( - int64_t* toptr, - const int8_t* fromptr, - int64_t length, - int64_t stride); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_boolean_numtrue( - int64_t* numtrue, - const int8_t* fromptr, - int64_t length, - int64_t stride); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_next_array_64( - int64_t* nextcarryptr, - int64_t* nextadvancedptr, - const int64_t* carryptr, - const int64_t* flatheadptr, - int64_t lencarry, - int64_t lenflathead, - int64_t skip); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_next_array_advanced_64( - int64_t* nextcarryptr, - const int64_t* carryptr, - const int64_t* advancedptr, - const int64_t* flatheadptr, - int64_t lencarry, - int64_t skip); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_next_at_64( - int64_t* nextcarryptr, - const int64_t* carryptr, - int64_t lencarry, - int64_t skip, - int64_t at); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_next_null_64( - uint8_t* toptr, - const uint8_t* fromptr, - int64_t len, - int64_t stride, - const int64_t* pos); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_next_range_64( - int64_t* nextcarryptr, - const int64_t* carryptr, - int64_t lencarry, - int64_t lenhead, - int64_t skip, - int64_t start, - int64_t step); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_getitem_next_range_advanced_64( - int64_t* nextcarryptr, - int64_t* nextadvancedptr, - const int64_t* carryptr, - const int64_t* advancedptr, - int64_t lencarry, - int64_t lenhead, - int64_t skip, - int64_t start, - int64_t step); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_reduce_adjust_starts_64( - int64_t* toptr, - int64_t outlength, - const int64_t* parents, - const int64_t* starts); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_reduce_adjust_starts_shifts_64( - int64_t* toptr, - int64_t outlength, - const int64_t* parents, - const int64_t* starts, - const int64_t* shifts); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_reduce_mask_ByteMaskedArray_64( - int8_t* toptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_ListOffsetArray_argsort_strings( - int64_t* tocarry, - const int64_t* fromparents, - int64_t length, - const uint8_t* stringdata, - const int64_t* stringstarts, - const int64_t* stringstops, - bool is_stable, - bool is_ascending, - bool is_local); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_sort_asstrings_uint8( - uint8_t* toptr, - const uint8_t* fromptr, - const int64_t* offsets, - int64_t offsetslength, - int64_t* outoffsets, - bool ascending, - bool stable); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_unique_strings_uint8( - uint8_t* toptr, - const int64_t* offsets, - int64_t offsetslength, - int64_t* outoffsets, - int64_t* tolength); - - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_bool( - bool* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_int8( - int8_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_int16( - int16_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_int32( - int32_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_int64( - int64_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_uint8( - uint8_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_uint16( - uint16_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_uint32( - uint32_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_uint64( - uint64_t* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_float32( - float* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - EXPORT_SYMBOL ERROR - awkward_NumpyArray_subrange_equal_float64( - double* tmpptr, - const int64_t* fromstarts, - const int64_t* fromstops, - int64_t length, - bool* toequal); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_broadcast_tooffsets_64( - const int64_t* fromoffsets, - int64_t offsetslength, - int64_t size); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_broadcast_tooffsets_size1_64( - int64_t* tocarry, - const int64_t* fromoffsets, - int64_t offsetslength); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_combinations_64( - int64_t** tocarry, - int64_t* toindex, - int64_t* fromindex, - int64_t n, - bool replacement, - int64_t size, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_compact_offsets64( - int64_t* tooffsets, - int64_t length, - int64_t size); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_carry_64( - int64_t* tocarry, - const int64_t* fromcarry, - int64_t lencarry, - int64_t size); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_jagged_expand_64( - int64_t* multistarts, - int64_t* multistops, - const int64_t* singleoffsets, - int64_t regularsize, - int64_t regularlength); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_next_array_64( - int64_t* tocarry, - int64_t* toadvanced, - const int64_t* fromarray, - int64_t length, - int64_t lenarray, - int64_t size); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_next_array_advanced_64( - int64_t* tocarry, - int64_t* toadvanced, - const int64_t* fromadvanced, - const int64_t* fromarray, - int64_t length, - int64_t lenarray, - int64_t size); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_next_array_regularize_64( - int64_t* toarray, - const int64_t* fromarray, - int64_t lenarray, - int64_t size); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_next_at_64( - int64_t* tocarry, - int64_t at, - int64_t length, - int64_t size); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_next_range_64( - int64_t* tocarry, - int64_t regular_start, - int64_t step, - int64_t length, - int64_t size, - int64_t nextsize); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_getitem_next_range_spreadadvanced_64( - int64_t* toadvanced, - const int64_t* fromadvanced, - int64_t length, - int64_t nextsize); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_localindex_64( - int64_t* toindex, - int64_t size, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_num_64( - int64_t* tonum, - int64_t size, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_RegularArray_rpad_and_clip_axis1_64( - int64_t* toindex, - int64_t target, - int64_t size, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_SliceVarNewAxis_to_SliceJagged64( - int64_t* tocarry, - const int64_t* fromoffsets, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_UnionArray_fillindex_to64_from32( - int64_t* toindex, - int64_t toindexoffset, - const int32_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray_fillindex_to64_from64( - int64_t* toindex, - int64_t toindexoffset, - const int64_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray_fillindex_to64_fromU32( - int64_t* toindex, - int64_t toindexoffset, - const uint32_t* fromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_UnionArray_fillindex_to64_count( - int64_t* toindex, - int64_t toindexoffset, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_UnionArray_fillna_from32_to64( - int64_t* toindex, - const int32_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray_fillna_from64_to64( - int64_t* toindex, - const int64_t* fromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray_fillna_fromU32_to64( - int64_t* toindex, - const uint32_t* fromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_UnionArray_filltags_to8_from8( - int8_t* totags, - int64_t totagsoffset, - const int8_t* fromtags, - int64_t length, - int64_t base); - - EXPORT_SYMBOL ERROR - awkward_UnionArray_filltags_to8_const( - int8_t* totags, - int64_t totagsoffset, - int64_t length, - int64_t base); - - EXPORT_SYMBOL ERROR - awkward_UnionArray32_flatten_combine_64( - int8_t* totags, - int64_t* toindex, - int64_t* tooffsets, - const int8_t* fromtags, - const int32_t* fromindex, - int64_t length, - int64_t** offsetsraws); - EXPORT_SYMBOL ERROR - awkward_UnionArray64_flatten_combine_64( - int8_t* totags, - int64_t* toindex, - int64_t* tooffsets, - const int8_t* fromtags, - const int64_t* fromindex, - int64_t length, - int64_t** offsetsraws); - EXPORT_SYMBOL ERROR - awkward_UnionArrayU32_flatten_combine_64( - int8_t* totags, - int64_t* toindex, - int64_t* tooffsets, - const int8_t* fromtags, - const uint32_t* fromindex, - int64_t length, - int64_t** offsetsraws); - - EXPORT_SYMBOL ERROR - awkward_UnionArray32_flatten_length_64( - int64_t* total_length, - const int8_t* fromtags, - const int32_t* fromindex, - int64_t length, - int64_t** offsetsraws); - EXPORT_SYMBOL ERROR - awkward_UnionArray64_flatten_length_64( - int64_t* total_length, - const int8_t* fromtags, - const int64_t* fromindex, - int64_t length, - int64_t** offsetsraws); - EXPORT_SYMBOL ERROR - awkward_UnionArrayU32_flatten_length_64( - int64_t* total_length, - const int8_t* fromtags, - const uint32_t* fromindex, - int64_t length, - int64_t** offsetsraws); - - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_nestedfill_tags_index_64( - int8_t* totags, - int32_t* toindex, - int64_t* tmpstarts, - int8_t tag, - const int64_t* fromcounts, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_nestedfill_tags_index_64( - int8_t* totags, - int64_t* toindex, - int64_t* tmpstarts, - int8_t tag, - const int64_t* fromcounts, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_nestedfill_tags_index_64( - int8_t* totags, - uint32_t* toindex, - int64_t* tmpstarts, - int8_t tag, - const int64_t* fromcounts, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_project_64( - int64_t* lenout, - int64_t* tocarry, - const int8_t* fromtags, - const int32_t* fromindex, - int64_t length, - int64_t which); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_project_64( - int64_t* lenout, - int64_t* tocarry, - const int8_t* fromtags, - const int64_t* fromindex, - int64_t length, - int64_t which); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_project_64( - int64_t* lenout, - int64_t* tocarry, - const int8_t* fromtags, - const uint32_t* fromindex, - int64_t length, - int64_t which); - - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_regular_index( - int32_t* toindex, - int32_t* current, - int64_t size, - const int8_t* fromtags, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_regular_index( - int64_t* toindex, - int64_t* current, - int64_t size, - const int8_t* fromtags, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_regular_index( - uint32_t* toindex, - uint32_t* current, - int64_t size, - const int8_t* fromtags, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_UnionArray8_regular_index_getsize( - int64_t* size, - const int8_t* fromtags, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_simplify8_32_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const int32_t* outerindex, - const int8_t* innertags, - const int32_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_simplify8_64_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const int32_t* outerindex, - const int8_t* innertags, - const int64_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_simplify8_U32_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const int32_t* outerindex, - const int8_t* innertags, - const uint32_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_simplify8_32_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const int64_t* outerindex, - const int8_t* innertags, - const int32_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_simplify8_64_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const int64_t* outerindex, - const int8_t* innertags, - const int64_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_simplify8_U32_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const int64_t* outerindex, - const int8_t* innertags, - const uint32_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_simplify8_32_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const uint32_t* outerindex, - const int8_t* innertags, - const int32_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_simplify8_64_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const uint32_t* outerindex, - const int8_t* innertags, - const int64_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_simplify8_U32_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* outertags, - const uint32_t* outerindex, - const int8_t* innertags, - const uint32_t* innerindex, - int64_t towhich, - int64_t innerwhich, - int64_t outerwhich, - int64_t length, - int64_t base); - - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_simplify_one_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* fromtags, - const int32_t* fromindex, - int64_t towhich, - int64_t fromwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_simplify_one_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* fromtags, - const int64_t* fromindex, - int64_t towhich, - int64_t fromwhich, - int64_t length, - int64_t base); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_simplify_one_to8_64( - int8_t* totags, - int64_t* toindex, - const int8_t* fromtags, - const uint32_t* fromindex, - int64_t towhich, - int64_t fromwhich, - int64_t length, - int64_t base); - - EXPORT_SYMBOL ERROR - awkward_UnionArray8_32_validity( - const int8_t* tags, - const int32_t* index, - int64_t length, - int64_t numcontents, - const int64_t* lencontents); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_64_validity( - const int8_t* tags, - const int64_t* index, - int64_t length, - int64_t numcontents, - const int64_t* lencontents); - EXPORT_SYMBOL ERROR - awkward_UnionArray8_U32_validity( - const int8_t* tags, - const uint32_t* index, - int64_t length, - int64_t numcontents, - const int64_t* lencontents); - - EXPORT_SYMBOL ERROR - awkward_argsort_bool( - int64_t* toptr, - const bool* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_int8( - int64_t* toptr, - const int8_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_int16( - int64_t* toptr, - const int16_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_int32( - int64_t* toptr, - const int32_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_int64( - int64_t* toptr, - const int64_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_uint8( - int64_t* toptr, - const uint8_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_uint16( - int64_t* toptr, - const uint16_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_uint32( - int64_t* toptr, - const uint32_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_uint64( - int64_t* toptr, - const uint64_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_float32( - int64_t* toptr, - const float* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_argsort_float64( - int64_t* toptr, - const double* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable); - - EXPORT_SYMBOL ERROR - awkward_quick_argsort_bool( - int64_t* toptr, - const bool* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_int8( - int64_t* toptr, - const int8_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_int16( - int64_t* toptr, - const int16_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_int32( - int64_t* toptr, - const int32_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_int64( - int64_t* toptr, - const int64_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_uint8( - int64_t* toptr, - const uint8_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_uint16( - int64_t* toptr, - const uint16_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_uint32( - int64_t* toptr, - const uint32_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_uint64( - int64_t* toptr, - const uint64_t* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_float32( - int64_t* toptr, - const float* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_argsort_float64( - int64_t* toptr, - const double* fromptr, - int64_t length, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* offsets, - int64_t offsetslength, - bool ascending, - bool stable, - int64_t maxlevels); - - EXPORT_SYMBOL ERROR - awkward_carry_arange32( - int32_t* toptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_carry_arange64( - int64_t* toptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_carry_arangeU32( - uint32_t* toptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_carry_SliceJagged64_offsets( - int64_t* tooffsets, - const int64_t* fromoffsets, - const int64_t* fromcarry, - int64_t carrylen); - - EXPORT_SYMBOL ERROR - awkward_carry_SliceJagged64_nextcarry( - int64_t* tocarry, - const int64_t* fromoffsets, - const int64_t* fromcarry, - int64_t carrylen); - - EXPORT_SYMBOL ERROR - awkward_carry_SliceMissing64_outindex( - int64_t* toindex, - const int64_t* fromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_combinations_64( - int64_t* toindex, - int64_t n, - bool replacement, - int64_t singlelen); - - EXPORT_SYMBOL ERROR - awkward_content_reduce_zeroparents_64( - int64_t* toparents, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_Index32_carry_64( - int32_t* toindex, - const int32_t* fromindex, - const int64_t* carry, - int64_t lenfromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Index64_carry_64( - int64_t* toindex, - const int64_t* fromindex, - const int64_t* carry, - int64_t lenfromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Index8_carry_64( - int8_t* toindex, - const int8_t* fromindex, - const int64_t* carry, - int64_t lenfromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU32_carry_64( - uint32_t* toindex, - const uint32_t* fromindex, - const int64_t* carry, - int64_t lenfromindex, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU8_carry_64( - uint8_t* toindex, - const uint8_t* fromindex, - const int64_t* carry, - int64_t lenfromindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_Index32_carry_nocheck_64( - int32_t* toindex, - const int32_t* fromindex, - const int64_t* carry, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Index64_carry_nocheck_64( - int64_t* toindex, - const int64_t* fromindex, - const int64_t* carry, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_Index8_carry_nocheck_64( - int8_t* toindex, - const int8_t* fromindex, - const int64_t* carry, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU32_carry_nocheck_64( - uint32_t* toindex, - const uint32_t* fromindex, - const int64_t* carry, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_IndexU8_carry_nocheck_64( - uint8_t* toindex, - const uint8_t* fromindex, - const int64_t* carry, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_index_rpad_and_clip_axis0_64( - int64_t* toindex, - int64_t target, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_index_rpad_and_clip_axis1_64( - int64_t* tostarts, - int64_t* tostops, - int64_t target, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_localindex_64( - int64_t* toindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_missing_repeat_64( - int64_t* outindex, - const int64_t* index, - int64_t indexlength, - int64_t repetitions, - int64_t regularsize); - - EXPORT_SYMBOL ERROR - awkward_new_Identities32( - int32_t* toptr, - int64_t length); - EXPORT_SYMBOL ERROR - awkward_new_Identities64( - int64_t* toptr, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_int8_64( - int64_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_int16_64( - int64_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_int32_64( - int64_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_int64_64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_uint8_64( - int64_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_uint16_64( - int64_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_uint32_64( - int64_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_uint64_64( - int64_t* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_float32_64( - int64_t* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_float64_64( - int64_t* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_complex64_64( - int64_t* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_complex128_64( - int64_t* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_argmax_bool_64( - int64_t* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_int8_64( - int64_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_int16_64( - int64_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_int32_64( - int64_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_int64_64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_uint8_64( - int64_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_uint16_64( - int64_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_uint32_64( - int64_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_uint64_64( - int64_t* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_float32_64( - int64_t* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_float64_64( - int64_t* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_bool_64( - int64_t* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_complex64_64( - int64_t* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_argmin_complex128_64( - int64_t* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_count_64( - int64_t* toptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_bool_64( - int64_t* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_int8_64( - int64_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_int16_64( - int64_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_int32_64( - int64_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_int64_64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_uint8_64( - int64_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_uint16_64( - int64_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_uint32_64( - int64_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_uint64_64( - int64_t* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_float32_64( - int64_t* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_float64_64( - int64_t* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_complex64_64( - int64_t* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_countnonzero_complex128_64( - int64_t* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_max_int8_int8_64( - int8_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int8_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_int16_int16_64( - int16_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int16_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_int32_int32_64( - int32_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int32_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_int64_int64_64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int64_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_uint8_uint8_64( - uint8_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint8_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_uint16_uint16_64( - uint16_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint16_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_uint32_uint32_64( - uint32_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint32_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_uint64_uint64_64( - uint64_t* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint64_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_float32_float32_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - float identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_float64_float64_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - double identity); - - EXPORT_SYMBOL ERROR - awkward_reduce_max_complex64_complex64_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - float identity); - EXPORT_SYMBOL ERROR - awkward_reduce_max_complex128_complex128_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - double identity); - - EXPORT_SYMBOL ERROR - awkward_reduce_min_int8_int8_64( - int8_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int8_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_int16_int16_64( - int16_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int16_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_int32_int32_64( - int32_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int32_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_int64_int64_64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - int64_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_uint8_uint8_64( - uint8_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint8_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_uint16_uint16_64( - uint16_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint16_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_uint32_uint32_64( - uint32_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint32_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_uint64_uint64_64( - uint64_t* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - uint64_t identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_float32_float32_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - float identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_float64_float64_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - double identity); - - EXPORT_SYMBOL ERROR - awkward_reduce_min_complex64_complex64_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - float identity); - EXPORT_SYMBOL ERROR - awkward_reduce_min_complex128_complex128_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength, - double identity); - - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int32_int8_64( - int32_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int32_int16_64( - int32_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int32_int32_64( - int32_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int64_int8_64( - int64_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int64_int16_64( - int64_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int64_int32_64( - int64_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int64_int64_64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_uint32_uint8_64( - uint32_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_uint32_uint16_64( - uint32_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_uint32_uint32_64( - uint32_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_uint64_uint8_64( - uint64_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_uint64_uint16_64( - uint64_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_uint64_uint32_64( - uint64_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_uint64_uint64_64( - uint64_t* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_float32_float32_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_float64_float64_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_prod_complex64_complex64_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_complex128_complex128_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_bool_64( - bool* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_int8_64( - bool* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_int16_64( - bool* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_int32_64( - bool* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_int64_64( - bool* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_uint8_64( - bool* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_uint16_64( - bool* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_uint32_64( - bool* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_uint64_64( - bool* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_float32_64( - bool* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_float64_64( - bool* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_complex64_64( - bool* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_prod_bool_complex128_64( - bool* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int32_bool_64( - int32_t* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_prod_int64_bool_64( - int64_t* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int32_int8_64( - int32_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int32_int16_64( - int32_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int32_int32_64( - int32_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int64_int8_64( - int64_t* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int64_int16_64( - int64_t* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int64_int32_64( - int64_t* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int64_int64_64( - int64_t* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_uint32_uint8_64( - uint32_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_uint32_uint16_64( - uint32_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_uint32_uint32_64( - uint32_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_uint64_uint8_64( - uint64_t* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_uint64_uint16_64( - uint64_t* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_uint64_uint32_64( - uint64_t* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_uint64_uint64_64( - uint64_t* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_float32_float32_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_float64_float64_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_sum_complex64_complex64_64( - float* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_complex128_complex128_64( - double* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_bool_64( - bool* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_int8_64( - bool* toptr, - const int8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_int16_64( - bool* toptr, - const int16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_int32_64( - bool* toptr, - const int32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_int64_64( - bool* toptr, - const int64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_uint8_64( - bool* toptr, - const uint8_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_uint16_64( - bool* toptr, - const uint16_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_uint32_64( - bool* toptr, - const uint32_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_uint64_64( - bool* toptr, - const uint64_t* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_float32_64( - bool* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_float64_64( - bool* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_complex64_64( - bool* toptr, - const float* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - EXPORT_SYMBOL ERROR - awkward_reduce_sum_bool_complex128_64( - bool* toptr, - const double* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int32_bool_64( - int32_t* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_reduce_sum_int64_bool_64( - int64_t* toptr, - const bool* fromptr, - const int64_t* parents, - int64_t lenparents, - int64_t outlength); - - EXPORT_SYMBOL ERROR - awkward_regularize_arrayslice_64( - int64_t* flatheadptr, - int64_t lenflathead, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_slicearray_ravel_64( - int64_t* toptr, - const int64_t* fromptr, - int64_t ndim, - const int64_t* shape, - const int64_t* strides); - - EXPORT_SYMBOL ERROR - awkward_slicemissing_check_same( - bool* same, - const int8_t* bytemask, - const int64_t* missingindex, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_quick_sort_bool( - bool* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_int8( - int8_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_int16( - int16_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_int32( - int32_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_int64( - int64_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_uint8( - uint8_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_uint16( - uint16_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_uint32( - uint32_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_uint64( - uint64_t* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_float32( - float* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - EXPORT_SYMBOL ERROR - awkward_quick_sort_float64( - double* tmpptr, - int64_t* tmpbeg, - int64_t* tmpend, - const int64_t* fromstarts, - const int64_t* fromstops, - bool ascending, - int64_t length, - int64_t maxlevels); - - EXPORT_SYMBOL ERROR - awkward_sort_bool( - bool* toptr, - const bool* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_int8( - int8_t* toptr, - const int8_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_int16( - int16_t* toptr, - const int16_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_int32( - int32_t* toptr, - const int32_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_int64( - int64_t* toptr, - const int64_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_uint8( - uint8_t* toptr, - const uint8_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_uint16( - uint16_t* toptr, - const uint16_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_uint32( - uint32_t* toptr, - const uint32_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_uint64( - uint64_t* toptr, - const uint64_t* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_float32( - float* toptr, - const float* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - EXPORT_SYMBOL ERROR - awkward_sort_float64( - double* toptr, - const double* fromptr, - int64_t length, - const int64_t* offsets, - int64_t offsetslength, - int64_t parentslength, - bool ascending, - bool stable); - - EXPORT_SYMBOL ERROR - awkward_unique_bool( - bool* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_int8( - int8_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_int16( - int16_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_int32( - int32_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_int64( - int64_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_uint8( - uint8_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_uint16( - uint16_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_uint32( - uint32_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_uint64( - uint64_t* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_float32( - float* toptr, - int64_t length, - int64_t* tolength); - EXPORT_SYMBOL ERROR - awkward_unique_float64( - double* toptr, - int64_t length, - int64_t* tolength); - - EXPORT_SYMBOL ERROR - awkward_sorting_ranges( - int64_t* toindex, - int64_t tolength, - const int64_t* parents, - int64_t parentslength); - - EXPORT_SYMBOL ERROR - awkward_sorting_ranges_length( - int64_t* tolength, - const int64_t* parents, - int64_t parentslength); - - EXPORT_SYMBOL ERROR - awkward_one_mask8( - int8_t* tomask, - int64_t length); - - EXPORT_SYMBOL ERROR - awkward_zero_mask8( - int8_t* tomask, - int64_t length); - -} -#endif diff --git a/kernel-specification.yml b/kernel-specification.yml index 726c7d33e6..19491a17a9 100644 --- a/kernel-specification.yml +++ b/kernel-specification.yml @@ -1242,9 +1242,9 @@ kernels: - {name: tocarry, type: "List[int64_t]", dir: out} - {name: starts, type: "Const[List[int64_t]]", dir: in, role: ListArray-starts} - {name: parents, type: "Const[List[int64_t]]", dir: in, role: IndexedArray-index} - - {name: parentslength, type: "const int64_t", dir: in, role: default} + - {name: parentslength, type: "Const[int64_t]", dir: in, role: default} - {name: nextparents, type: "Const[List[int64_t]]", dir: in, role: IndexedArray-index} - - {name: nextlen, type: "const int64_t", dir: in, role: default} + - {name: nextlen, type: "Const[int64_t]", dir: in, role: default} description: null definition: | Insert Python definition here @@ -4489,7 +4489,7 @@ kernels: - {name: tooffset, type: "int64_t", dir: in, role: IndexedArray-index-offset} - {name: fromptr, type: "Const[List[int64_t]]", dir: in, role: NumpyArray-ptr} - {name: length, type: "int64_t", dir: in, role: default} - - {name: scale, type: "float", dir: in, role: default} + - {name: scale, type: "double", dir: in, role: default} description: null definition: | def awkward_NumpyArray_fill_scaled(toptr, tooffset, fromptr, length, scale): diff --git a/localbuild.py b/localbuild.py index c8b06d3749..46dad8f192 100755 --- a/localbuild.py +++ b/localbuild.py @@ -10,6 +10,7 @@ import glob import multiprocessing +PYTHON = sys.executable arguments = argparse.ArgumentParser() arguments.add_argument("--clean", default=False, action="store_true") @@ -35,6 +36,9 @@ for x in ("localbuild", "awkward", ".pytest_cache", "tests/__pycache__"): if os.path.exists(x): shutil.rmtree(x) + for x in ("include/awkward/kernels.h",): + if os.path.exists(x): + os.unlink(x) sys.exit() # Changes that would trigger a recompilation. @@ -60,19 +64,35 @@ def check_call(args, env=None): return subprocess.check_call(args, env=env) +generate_kernel_signatures = os.path.join("dev", "generate-kernel-signatures.py") + + # Refresh the directory if any configuration has changed. if ( os.stat("CMakeLists.txt").st_mtime >= localbuild_time or os.stat("localbuild.py").st_mtime >= localbuild_time + or os.stat(generate_kernel_signatures).st_mtime >= localbuild_time + or not os.path.exists(os.path.join("include", "awkward", "kernels.h")) + or not os.path.exists(os.path.join("src", "awkward", "_kernel_signatures.py")) or os.stat("setup.py").st_mtime >= localbuild_time or thisstate != laststate ): if args.dependencies: check_call( - ["pip", "install", "-r", "requirements.txt", "-r", "requirements-test.txt"] + [ + "pip", + "install", + "-r", + "requirements.txt", + "-r", + "requirements-test.txt", + "PyYAML", + ] ) + check_call([PYTHON, generate_kernel_signatures]) + if os.path.exists("localbuild"): shutil.rmtree("localbuild") diff --git a/pyproject.toml b/pyproject.toml index d62411a746..71e7012e16 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,6 +3,7 @@ requires = [ "setuptools>=42.0", "wheel>=0.36.0", "cmake>=3.13", + "PyYAML", ] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 44e8a88b88..7b1c4677f8 100644 --- a/setup.py +++ b/setup.py @@ -11,6 +11,7 @@ import setuptools import setuptools.command.build_ext +import setuptools.command.build_py import setuptools.command.install from setuptools import setup, Extension @@ -28,6 +29,8 @@ except ImportError: CMAKE = "cmake" +PYTHON = sys.executable + # Convert distutils Windows platform specifiers to CMake -A arguments PLAT_TO_CMAKE = { @@ -162,6 +165,16 @@ def tree(x): tree(os.path.join(x, y)) +class BuildPy(setuptools.command.build_py.build_py): + def run(self): + # generate include/awkward/kernels.h and src/awkward/_kernel_signatures.py + subprocess.check_call( + [PYTHON, os.path.join("dev", "generate-kernel-signatures.py")] + ) + + setuptools.command.build_py.build_py.run(self) + + class Install(setuptools.command.install.install): def run(self): outerdir = os.path.join( @@ -279,5 +292,5 @@ def get_outputs(self): install_requires=install_requires, extras_require=extras, ext_modules=[CMakeExtension("awkward")], - cmdclass={"build_ext": CMakeBuild, "install": Install}, + cmdclass={"build_ext": CMakeBuild, "install": Install, "build_py": BuildPy}, ) diff --git a/src/awkward/_cpu_kernels.py b/src/awkward/_cpu_kernels.py index 18d907228e..2bb5d5f849 100644 --- a/src/awkward/_cpu_kernels.py +++ b/src/awkward/_cpu_kernels.py @@ -6,6 +6,8 @@ import platform import pkg_resources +import awkward._kernel_signatures + if platform.system() == "Windows": name = "awkward-cpu-kernels.dll" elif platform.system() == "Darwin": @@ -15,3 +17,4 @@ libpath = pkg_resources.resource_filename("awkward", name) lib = ctypes.cdll.LoadLibrary(libpath) +kernel = awkward._kernel_signatures.by_signature(lib) diff --git a/src/awkward/_util.py b/src/awkward/_util.py index bbd0440254..79c55af68e 100644 --- a/src/awkward/_util.py +++ b/src/awkward/_util.py @@ -31,6 +31,15 @@ else: unicode = None +# matches include/awkward/common.h +kMaxInt8 = 127 # 2**7 - 1 +kMaxUInt8 = 255 # 2**8 - 1 +kMaxInt32 = 2147483647 # 2**31 - 1 +kMaxUInt32 = 4294967295 # 2**32 - 1 +kMaxInt64 = 9223372036854775806 # 2**63 - 2: see below +kSliceNone = kMaxInt64 + 1 # for Slice::none() +kMaxLevels = 48 + def isint(x): """ diff --git a/src/awkward/_v2/contents/content.py b/src/awkward/_v2/contents/content.py index 0efd4aa3ad..3f1b47e8cd 100644 --- a/src/awkward/_v2/contents/content.py +++ b/src/awkward/_v2/contents/content.py @@ -43,6 +43,31 @@ def identifier(self): def parameters(self): return self._parameters + def handle_error(self, error): + if error.filename is None: + filename = "" + else: + filename = error.filename.decode(errors="surrogateescape") + + message = error.str.decode(errors="surrogateescape") + + if error.pass_through: + raise ValueError(message + filename) + + else: + if error.id != ak._util.kSliceNone and self._identifier is not None: + # FIXME https://github.com/scikit-hep/awkward-1.0/blob/45d59ef4ae45eebb02995b8e1acaac0d46fb9573/src/libawkward/util.cpp#L443-L450 + pass + + if error.attempt != ak._util.kSliceNone: + message += " (attempting to get {0})".format(error.attempt) + + # FIXME: attempt to pretty-print the array at this point; fall back to class name + pretty = " in " + type(self).__name__ + + message += pretty + raise ValueError(message + filename) + def __getitem__(self, where): if ak._util.isint(where): return self._getitem_at(where) diff --git a/src/awkward/nplike.py b/src/awkward/nplike.py index a957bfce93..29c0e12f37 100644 --- a/src/awkward/nplike.py +++ b/src/awkward/nplike.py @@ -2,6 +2,8 @@ from __future__ import absolute_import +import ctypes + import numpy import awkward as ak @@ -341,7 +343,24 @@ def datetime_as_string(self, *args, **kwargs): return self._module.datetime_as_string(*args, **kwargs) +class NumpyKernel(object): + def __init__(self, kernel): + self._kernel = kernel + + def __call__(self, *args): + assert len(args) == len(self._kernel.argtypes) + return self._kernel( + *( + ctypes.cast(x, t) if issubclass(t, ctypes._Pointer) else x + for x, t in zip(args, self._kernel.argtypes) + ) + ) + + class Numpy(NumpyLike): + def __getitem__(self, args): + return NumpyKernel(ak._cpu_kernels.kernel[args]) + def __init__(self): self._module = numpy @@ -355,6 +374,9 @@ def char(self): class Cupy(NumpyLike): + def __getitem__(self, args): + raise NotImplementedError("no CUDA in v2 yet") + def __init__(self): try: import cupy diff --git a/tests-cpu-kernels/__init__.py b/tests-cpu-kernels/__init__.py deleted file mode 100644 index 83dcbdd9e9..0000000000 --- a/tests-cpu-kernels/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -from __future__ import absolute_import - -import ctypes - -import awkward as ak - -lib = ak._cpu_kernels.lib - - -class Error(ctypes.Structure): - _fields_ = [ - ("str", ctypes.POINTER(ctypes.c_char)), - ("filename", ctypes.POINTER(ctypes.c_char)), - ("identity", ctypes.c_int64), - ("attempt", ctypes.c_int64), - ("pass_through", ctypes.c_bool), - ] diff --git a/tests-cuda-kernels/__init__.py b/tests-cuda-kernels/__init__.py deleted file mode 100644 index 1f3ddff8ce..0000000000 --- a/tests-cuda-kernels/__init__.py +++ /dev/null @@ -1,36 +0,0 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -from __future__ import absolute_import - -import ctypes -import platform - -import pkg_resources - -# awkward-cuda-kernels is only supported on Linux, but let's leave the placeholder. -if platform.system() == "Windows": - shared_library_name = "awkward-cuda-kernels.dll" -elif platform.system() == "Darwin": - shared_library_name = "libawkward-cuda-kernels.dylib" -else: - shared_library_name = "libawkward-cuda-kernels.so" - -CUDA_KERNEL_SO = pkg_resources.resource_filename( - "awkward_cuda_kernels", shared_library_name -) - -lib = ctypes.CDLL(CUDA_KERNEL_SO) - - -class Error(ctypes.Structure): - _fields_ = [ - ("str", ctypes.POINTER(ctypes.c_char)), - ("filename", ctypes.POINTER(ctypes.c_char)), - ("identity", ctypes.c_int64), - ("attempt", ctypes.c_int64), - ("pass_through", ctypes.c_bool), - ] - - -del platform -del pkg_resources diff --git a/tests-spec/__init__.py b/tests-spec/__init__.py deleted file mode 100644 index ab9f7dc80a..0000000000 --- a/tests-spec/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE - -from __future__ import absolute_import diff --git a/tests/test_0868-matrix-multiplication-of-vector.py b/tests/test_0868-matrix-multiplication-of-vector.py index 86e512d7de..25de015ebd 100644 --- a/tests/test_0868-matrix-multiplication-of-vector.py +++ b/tests/test_0868-matrix-multiplication-of-vector.py @@ -10,6 +10,21 @@ vector = pytest.importorskip("vector") +def awkward_isnt_installed_globally(): + import importlib_metadata + + try: + importlib_metadata.version("awkward") + except importlib_metadata.PackageNotFoundError: + return True + else: + return False + + +@pytest.mark.skipif( + awkward_isnt_installed_globally(), + reason="Awkward Array isn't installed globally for Vector", +) def test(): point = ak.Record( {"x": 1, "y": 2, "z": 3},