knexus 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- knexus-0.0.1/CMakeLists.txt +221 -0
- knexus-0.0.1/LICENSE +21 -0
- knexus-0.0.1/MANIFEST.in +16 -0
- knexus-0.0.1/PKG-INFO +31 -0
- knexus-0.0.1/README.md +160 -0
- knexus-0.0.1/api-src/nxs_api.cpp +62 -0
- knexus-0.0.1/cmake/FindCPUINFO.cmake +39 -0
- knexus-0.0.1/device_lib/amd-gpu-gfx942.json +1059 -0
- knexus-0.0.1/device_lib/amd-gpu-gfx950.json +238 -0
- knexus-0.0.1/device_lib/apple-gpu-.json +964 -0
- knexus-0.0.1/device_lib/apple-gpu-applegpu_g16s.json +231 -0
- knexus-0.0.1/device_lib/apple-gpu-m1m.json +164 -0
- knexus-0.0.1/device_lib/apple-gpu-m2.json +164 -0
- knexus-0.0.1/device_lib/apple-gpu-m3.json +184 -0
- knexus-0.0.1/device_lib/apple-gpu-m4.json +213 -0
- knexus-0.0.1/device_lib/apple-gpu-m4p.json +252 -0
- knexus-0.0.1/device_lib/nvidia-gpu-sm_90.json +274 -0
- knexus-0.0.1/include/nexus/api.h +16 -0
- knexus-0.0.1/include/nexus/buffer.h +40 -0
- knexus-0.0.1/include/nexus/command.h +46 -0
- knexus-0.0.1/include/nexus/device.h +57 -0
- knexus-0.0.1/include/nexus/device_db.h +20 -0
- knexus-0.0.1/include/nexus/event.h +37 -0
- knexus-0.0.1/include/nexus/kernel.h +26 -0
- knexus-0.0.1/include/nexus/library.h +29 -0
- knexus-0.0.1/include/nexus/log.h +22 -0
- knexus-0.0.1/include/nexus/object.h +141 -0
- knexus-0.0.1/include/nexus/properties.h +46 -0
- knexus-0.0.1/include/nexus/property.h +41 -0
- knexus-0.0.1/include/nexus/runtime.h +31 -0
- knexus-0.0.1/include/nexus/schedule.h +37 -0
- knexus-0.0.1/include/nexus/stream.h +27 -0
- knexus-0.0.1/include/nexus/system.h +37 -0
- knexus-0.0.1/include/nexus/utility.h +17 -0
- knexus-0.0.1/include/nexus-api/_nxs_functions.h +402 -0
- knexus-0.0.1/include/nexus-api/_nxs_propertys.h +201 -0
- knexus-0.0.1/include/nexus-api/nxs.h +621 -0
- knexus-0.0.1/include/nexus-api/nxs_functions.h +16 -0
- knexus-0.0.1/include/nexus-api/nxs_log.h +23 -0
- knexus-0.0.1/include/nexus-api/nxs_platform.h +1396 -0
- knexus-0.0.1/include/nexus-api/nxs_propertys.h +21 -0
- knexus-0.0.1/include/nexus-api/nxs_version.h +70 -0
- knexus-0.0.1/include/nexus-api.h +11 -0
- knexus-0.0.1/include/nexus.h +16 -0
- knexus-0.0.1/plugins/CMakeLists.txt +33 -0
- knexus-0.0.1/plugins/cpu/CMakeLists.txt +17 -0
- knexus-0.0.1/plugins/cpu/cpu_runtime.cpp +503 -0
- knexus-0.0.1/plugins/cuda/CMakeLists.txt +45 -0
- knexus-0.0.1/plugins/cuda/cuda_command.h +115 -0
- knexus-0.0.1/plugins/cuda/cuda_device.h +26 -0
- knexus-0.0.1/plugins/cuda/cuda_plugin_runtime.h +94 -0
- knexus-0.0.1/plugins/cuda/cuda_runtime.cpp +774 -0
- knexus-0.0.1/plugins/cuda/cuda_schedule.cpp +10 -0
- knexus-0.0.1/plugins/cuda/cuda_schedule.h +68 -0
- knexus-0.0.1/plugins/cuda/cuda_utils.h +45 -0
- knexus-0.0.1/plugins/hip/CMakeLists.txt +27 -0
- knexus-0.0.1/plugins/hip/hip_runtime.cpp +904 -0
- knexus-0.0.1/plugins/include/rt_buffer.h +42 -0
- knexus-0.0.1/plugins/include/rt_object.h +73 -0
- knexus-0.0.1/plugins/include/rt_pool.h +178 -0
- knexus-0.0.1/plugins/include/rt_runtime.h +54 -0
- knexus-0.0.1/plugins/include/rt_utilities.h +105 -0
- knexus-0.0.1/plugins/metal/CMakeLists.txt +24 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/Foundation.hpp +47 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSArray.hpp +124 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSAutoreleasePool.hpp +83 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSBundle.hpp +374 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSData.hpp +54 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSDate.hpp +53 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSDefines.hpp +45 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSDictionary.hpp +128 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSEnumerator.hpp +78 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSError.hpp +173 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSLock.hpp +118 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSNotification.hpp +110 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSNumber.hpp +501 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSObjCRuntime.hpp +43 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSObject.hpp +302 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSPrivate.hpp +531 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSProcessInfo.hpp +386 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSRange.hpp +83 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSSet.hpp +87 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSSharedPtr.hpp +310 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSString.hpp +255 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSTypes.hpp +51 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSURL.hpp +90 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAccelerationStructure.hpp +1948 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAccelerationStructureCommandEncoder.hpp +290 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAccelerationStructureTypes.hpp +243 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAllocation.hpp +43 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLArgument.hpp +848 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLArgumentEncoder.hpp +244 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBinaryArchive.hpp +159 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBlitCommandEncoder.hpp +246 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBlitPass.hpp +165 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBuffer.hpp +109 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCaptureManager.hpp +220 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCaptureScope.hpp +92 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCommandBuffer.hpp +504 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCommandEncoder.hpp +101 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCommandQueue.hpp +169 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLComputeCommandEncoder.hpp +362 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLComputePass.hpp +181 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLComputePipeline.hpp +396 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCounters.hpp +261 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDefines.hpp +41 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDepthStencil.hpp +269 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDevice.hpp +1453 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDrawable.hpp +99 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDynamicLibrary.hpp +82 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLEvent.hpp +177 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFence.hpp +57 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionConstantValues.hpp +85 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionDescriptor.hpp +159 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionHandle.hpp +61 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionLog.hpp +114 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionStitching.hpp +342 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLHeaderBridge.hpp +2546 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLHeap.hpp +330 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIOCommandBuffer.hpp +200 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIOCommandQueue.hpp +227 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIOCompressor.hpp +94 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIndirectCommandBuffer.hpp +284 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIndirectCommandEncoder.hpp +259 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIntersectionFunctionTable.hpp +181 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLLibrary.hpp +746 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLLinkedFunctions.hpp +115 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLLogState.hpp +123 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLParallelRenderCommandEncoder.hpp +94 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLPipeline.hpp +115 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLPixelFormat.hpp +173 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLPrivate.hpp +156 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRasterizationRate.hpp +386 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRenderCommandEncoder.hpp +1177 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRenderPass.hpp +787 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRenderPipeline.hpp +1719 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResidencySet.hpp +195 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResource.hpp +189 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResourceStateCommandEncoder.hpp +103 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResourceStatePass.hpp +165 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLSampler.hpp +319 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLStageInputOutputDescriptor.hpp +383 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLTexture.hpp +719 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLTypes.hpp +168 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLVersion.hpp +32 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLVertexDescriptor.hpp +349 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLVisibleFunctionTable.hpp +104 -0
- knexus-0.0.1/plugins/metal/metal-cpp/Metal/Metal.hpp +87 -0
- knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXDefines.hpp +41 -0
- knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXPrivate.hpp +303 -0
- knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXSpatialScaler.hpp +372 -0
- knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXTemporalScaler.hpp +773 -0
- knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MetalFX.hpp +28 -0
- knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CADefines.hpp +41 -0
- knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CAMetalDrawable.hpp +57 -0
- knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CAMetalLayer.hpp +131 -0
- knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CAPrivate.hpp +132 -0
- knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/QuartzCore.hpp +28 -0
- knexus-0.0.1/plugins/metal/metal_example.cpp +196 -0
- knexus-0.0.1/plugins/metal/metal_runtime.cpp +942 -0
- knexus-0.0.1/pyproject.toml +52 -0
- knexus-0.0.1/python/build_helpers.py +17 -0
- knexus-0.0.1/python/knexus.egg-info/PKG-INFO +31 -0
- knexus-0.0.1/python/knexus.egg-info/SOURCES.txt +1194 -0
- knexus-0.0.1/python/knexus.egg-info/dependency_links.txt +1 -0
- knexus-0.0.1/python/knexus.egg-info/not-zip-safe +1 -0
- knexus-0.0.1/python/knexus.egg-info/requires.txt +7 -0
- knexus-0.0.1/python/knexus.egg-info/top_level.txt +1 -0
- knexus-0.0.1/python/nexus/__init__.py +19 -0
- knexus-0.0.1/python/nexus/device_lib/amd-gpu-gfx942.json +1059 -0
- knexus-0.0.1/python/nexus/device_lib/amd-gpu-gfx950.json +238 -0
- knexus-0.0.1/python/nexus/device_lib/apple-gpu-.json +964 -0
- knexus-0.0.1/python/nexus/device_lib/apple-gpu-applegpu_g16s.json +231 -0
- knexus-0.0.1/python/nexus/device_lib/apple-gpu-m1m.json +164 -0
- knexus-0.0.1/python/nexus/device_lib/apple-gpu-m2.json +164 -0
- knexus-0.0.1/python/nexus/device_lib/apple-gpu-m3.json +184 -0
- knexus-0.0.1/python/nexus/device_lib/apple-gpu-m4.json +213 -0
- knexus-0.0.1/python/nexus/device_lib/apple-gpu-m4p.json +252 -0
- knexus-0.0.1/python/nexus/device_lib/nvidia-gpu-sm_90.json +274 -0
- knexus-0.0.1/python/nexus/runtime_libs/libcpu_plugin.so +0 -0
- knexus-0.0.1/python/nexus/runtime_libs/libcuda_plugin.so +0 -0
- knexus-0.0.1/python/src/main.cc +32 -0
- knexus-0.0.1/python/src/pynexus.h +16 -0
- knexus-0.0.1/python/src/system.cc +533 -0
- knexus-0.0.1/requirements.txt +16 -0
- knexus-0.0.1/setup.cfg +4 -0
- knexus-0.0.1/setup.py +280 -0
- knexus-0.0.1/src/CMakeLists.txt +22 -0
- knexus-0.0.1/src/_buffer_impl.h +42 -0
- knexus-0.0.1/src/_device_impl.h +59 -0
- knexus-0.0.1/src/_library_impl.h +31 -0
- knexus-0.0.1/src/_runtime_impl.h +130 -0
- knexus-0.0.1/src/_schedule_impl.h +35 -0
- knexus-0.0.1/src/_system_impl.h +42 -0
- knexus-0.0.1/src/buffer.cpp +96 -0
- knexus-0.0.1/src/command.cpp +133 -0
- knexus-0.0.1/src/device.cpp +168 -0
- knexus-0.0.1/src/device_db.cpp +46 -0
- knexus-0.0.1/src/event.cpp +64 -0
- knexus-0.0.1/src/kernel.cpp +49 -0
- knexus-0.0.1/src/library.cpp +52 -0
- knexus-0.0.1/src/properties.cpp +156 -0
- knexus-0.0.1/src/runtime.cpp +97 -0
- knexus-0.0.1/src/schedule.cpp +115 -0
- knexus-0.0.1/src/stream.cpp +47 -0
- knexus-0.0.1/src/system.cpp +80 -0
- knexus-0.0.1/src/utility.cpp +51 -0
- knexus-0.0.1/test/CMakeLists.txt +2 -0
- knexus-0.0.1/test/cpp/CMakeLists.txt +2 -0
- knexus-0.0.1/test/cpp/cpu/CMakeLists.txt +12 -0
- knexus-0.0.1/test/cpp/cpu/main.cpp +85 -0
- knexus-0.0.1/test/cpp/gpu/CMakeLists.txt +106 -0
- knexus-0.0.1/test/cpp/gpu/nexus_test.h +26 -0
- knexus-0.0.1/test/cpp/gpu/test.cpp +38 -0
- knexus-0.0.1/test/cpp/gpu/test_basic_kernel.cpp +93 -0
- knexus-0.0.1/test/cpp/gpu/test_multi_stream_sync.cpp +125 -0
- knexus-0.0.1/test/cpp/gpu/test_smi.cpp +62 -0
- knexus-0.0.1/test/prop_test.cpp +73 -0
- knexus-0.0.1/third_party/cpuinfo/CMakeLists.txt +931 -0
- knexus-0.0.1/third_party/cpuinfo/CMakePresets.json +63 -0
- knexus-0.0.1/third_party/cpuinfo/bench/get-current.cc +41 -0
- knexus-0.0.1/third_party/cpuinfo/bench/init.cc +12 -0
- knexus-0.0.1/third_party/cpuinfo/cmake/DownloadGoogleBenchmark.cmake +15 -0
- knexus-0.0.1/third_party/cpuinfo/cmake/DownloadGoogleTest.cmake +15 -0
- knexus-0.0.1/third_party/cpuinfo/cmake/cpuinfo-config.cmake.in +12 -0
- knexus-0.0.1/third_party/cpuinfo/deps/clog/CMakeLists.txt +101 -0
- knexus-0.0.1/third_party/cpuinfo/deps/clog/cmake/DownloadGoogleTest.cmake +15 -0
- knexus-0.0.1/third_party/cpuinfo/deps/clog/include/clog.h +100 -0
- knexus-0.0.1/third_party/cpuinfo/deps/clog/src/clog.c +436 -0
- knexus-0.0.1/third_party/cpuinfo/deps/clog/test/clog.cc +46 -0
- knexus-0.0.1/third_party/cpuinfo/include/cpuinfo-mock.h +76 -0
- knexus-0.0.1/third_party/cpuinfo/include/cpuinfo.h +2366 -0
- knexus-0.0.1/third_party/cpuinfo/libcpuinfo.pc.in +12 -0
- knexus-0.0.1/third_party/cpuinfo/src/api.c +730 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/android/api.h +20 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/android/properties.c +66 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/api.h +133 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/cache.c +1786 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/aarch32-isa.c +366 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/aarch64-isa.c +211 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/api.h +392 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/chipset.c +4235 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/clusters.c +632 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/cp.h +49 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/cpuinfo.c +1023 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/hwcap.c +154 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/init.c +888 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/linux/midr.c +1002 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/mach/init.c +752 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/midr.h +273 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/tlb.c +154 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/uarch.c +429 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/windows/init-by-logical-sys-info.c +912 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/windows/init.c +222 -0
- knexus-0.0.1/third_party/cpuinfo/src/arm/windows/windows-arm-init.h +21 -0
- knexus-0.0.1/third_party/cpuinfo/src/cache.c +17 -0
- knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/common.h +39 -0
- knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/internal-api.h +67 -0
- knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/log.h +102 -0
- knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/utils.h +21 -0
- knexus-0.0.1/third_party/cpuinfo/src/emscripten/init.c +288 -0
- knexus-0.0.1/third_party/cpuinfo/src/freebsd/api.h +12 -0
- knexus-0.0.1/third_party/cpuinfo/src/freebsd/topology.c +100 -0
- knexus-0.0.1/third_party/cpuinfo/src/init.c +67 -0
- knexus-0.0.1/third_party/cpuinfo/src/linux/api.h +94 -0
- knexus-0.0.1/third_party/cpuinfo/src/linux/cpulist.c +242 -0
- knexus-0.0.1/third_party/cpuinfo/src/linux/mockfile.c +103 -0
- knexus-0.0.1/third_party/cpuinfo/src/linux/multiline.c +113 -0
- knexus-0.0.1/third_party/cpuinfo/src/linux/processors.c +580 -0
- knexus-0.0.1/third_party/cpuinfo/src/linux/smallfile.c +78 -0
- knexus-0.0.1/third_party/cpuinfo/src/log.c +203 -0
- knexus-0.0.1/third_party/cpuinfo/src/mach/api.h +14 -0
- knexus-0.0.1/third_party/cpuinfo/src/mach/topology.c +69 -0
- knexus-0.0.1/third_party/cpuinfo/src/riscv/api.h +42 -0
- knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/api.h +71 -0
- knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/init.c +619 -0
- knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/riscv-hw.c +151 -0
- knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/riscv-isa.c +43 -0
- knexus-0.0.1/third_party/cpuinfo/src/riscv/uarch.c +27 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/api.h +159 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/cache/descriptor.c +1827 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/cache/deterministic.c +247 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/cache/init.c +97 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/cpuid.h +77 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/freebsd/init.c +398 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/info.c +18 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/init.c +78 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/isa.c +832 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/linux/api.h +19 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/linux/cpuinfo.c +215 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/linux/init.c +678 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/mach/init.c +380 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/mockcpuid.c +68 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/name.c +754 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/topology.c +163 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/uarch.c +413 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/vendor.c +187 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/windows/api.h +45 -0
- knexus-0.0.1/third_party/cpuinfo/src/x86/windows/init.c +671 -0
- knexus-0.0.1/third_party/cpuinfo/test/arm-cache.cc +2172 -0
- knexus-0.0.1/third_party/cpuinfo/test/get-current.cc +43 -0
- knexus-0.0.1/third_party/cpuinfo/test/init.cc +1521 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/alcatel-revvl.cc +671 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/alcatel-revvl.h +2819 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/alldocube-iwork8.cc +698 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/alldocube-iwork8.h +2362 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/atm7029b-tablet.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/atm7029b-tablet.h +1274 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/blu-r1-hd.cc +572 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/blu-r1-hd.h +1992 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a3-2016-eu.cc +596 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a3-2016-eu.h +2371 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2016-duos.cc +668 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2016-duos.h +3419 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2018.cc +799 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2018.h +3463 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-c9-pro.cc +785 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-c9-pro.h +4285 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-grand-prime-value-edition.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-grand-prime-value-edition.h +1988 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j1-2016.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j1-2016.h +2074 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j5.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j5.h +2979 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-prime.cc +670 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-prime.h +2648 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-tmobile.cc +670 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-tmobile.h +2669 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-uae.cc +670 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-uae.h +2358 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s3-us.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s3-us.h +1615 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s4-us.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s4-us.h +2084 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-global.cc +741 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-global.h +2373 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-us.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-us.h +2502 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s6.cc +785 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s6.h +2910 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-global.cc +811 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-global.h +2906 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-us.cc +695 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-us.h +3751 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-global.cc +811 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-global.h +3429 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-us.cc +798 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-us.h +4938 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-global.cc +877 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-global.h +3605 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-us.cc +829 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-us.h +6692 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-7.0.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-7.0.h +1099 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-lite.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-lite.h +1602 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-win-duos.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-win-duos.h +1843 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-ascend-p7.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-ascend-p7.h +2227 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-honor-6.cc +741 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-honor-6.h +2967 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-10.cc +798 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-10.h +4417 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-20.cc +861 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-20.h +4324 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-8.cc +785 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-8.h +3753 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-9.cc +798 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-9.h +3843 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p20-pro.cc +798 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p20-pro.h +4616 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p8-lite.cc +659 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p8-lite.h +3011 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p9-lite.cc +692 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p9-lite.h +3990 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/iconia-one-10.cc +598 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/iconia-one-10.h +2341 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/leagoo-t5c.cc +698 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/leagoo-t5c.h +3388 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-a6600-plus.cc +568 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-a6600-plus.h +2372 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-vibe-x2.cc +722 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-vibe-x2.h +1855 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lg-k10-eu.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lg-k10-eu.h +2897 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lg-optimus-g-pro.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/lg-optimus-g-pro.h +2541 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6.cc +867 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6.h +3215 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6s.cc +867 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6s.h +3851 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-7-plus.cc +883 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-7-plus.h +4329 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/memo-pad-7.cc +698 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/memo-pad-7.h +2500 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-e-gen1.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-e-gen1.h +1844 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen1.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen1.h +1801 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen2.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen2.h +2246 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen3.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen3.h +2422 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen4.cc +676 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen4.h +3279 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen5.cc +662 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen5.h +3836 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus-s.cc +561 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus-s.h +822 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus10.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus10.h +1131 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus4.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus4.h +1165 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus5x.cc +779 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus5x.h +1989 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6.h +1578 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6p.cc +785 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6p.h +1923 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus9.cc +598 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/nexus9.h +1366 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-3t.cc +695 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-3t.h +3203 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5.cc +798 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5.h +5380 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5t.cc +798 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5t.h +5420 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-a37.cc +602 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-a37.h +2862 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r15.cc +778 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r15.h +5500 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r9.cc +712 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r9.h +2688 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/padcod-10.1.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/padcod-10.1.h +970 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-2-xl.cc +798 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-2-xl.h +4188 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-8.cc +851 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-8.h +1294 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-c.cc +598 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-c.h +2103 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-xl.cc +695 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-xl.h +2120 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel.cc +695 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/pixel.h +2208 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/scaleway.cc +310 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/scaleway.h +196 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-mi-5c.cc +692 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-mi-5c.h +2418 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-2a.cc +640 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-2a.h +1593 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-3.cc +779 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-3.h +3512 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-4.cc +679 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-4.h +3908 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-c4-dual.cc +692 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-c4-dual.h +2351 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-sl.cc +567 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-sl.h +1423 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2.cc +698 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2.h +3054 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2e.cc +698 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2e.h +2755 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-c.cc +698 -0
- knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-c.h +2566 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/android-properties.cc +129 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/brand-string.cc +411 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/proc-cpuinfo-hardware.cc +482 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/ro-arch.cc +45 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/ro-board-platform.cc +195 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/ro-chipname.cc +118 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/ro-mediatek-platform.cc +84 -0
- knexus-0.0.1/third_party/cpuinfo/test/name/ro-product-board.cc +279 -0
- knexus-0.0.1/third_party/googletest/CMakeLists.txt +36 -0
- knexus-0.0.1/third_party/googletest/googlemock/CMakeLists.txt +210 -0
- knexus-0.0.1/third_party/googletest/googlemock/cmake/gmock.pc.in +10 -0
- knexus-0.0.1/third_party/googletest/googlemock/cmake/gmock_main.pc.in +10 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-actions.h +2404 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-cardinalities.h +159 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-function-mocker.h +519 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-matchers.h +5918 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-more-actions.h +659 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-more-matchers.h +120 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-nice-strict.h +277 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-spec-builders.h +2146 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock.h +97 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +7 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h +37 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-port.h +40 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h +484 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/gmock-port.h +140 -0
- knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/gmock-pp.h +279 -0
- knexus-0.0.1/third_party/googletest/googlemock/src/gmock-all.cc +46 -0
- knexus-0.0.1/third_party/googletest/googlemock/src/gmock-cardinalities.cc +155 -0
- knexus-0.0.1/third_party/googletest/googlemock/src/gmock-internal-utils.cc +258 -0
- knexus-0.0.1/third_party/googletest/googlemock/src/gmock-matchers.cc +478 -0
- knexus-0.0.1/third_party/googletest/googlemock/src/gmock-spec-builders.cc +792 -0
- knexus-0.0.1/third_party/googletest/googlemock/src/gmock.cc +225 -0
- knexus-0.0.1/third_party/googletest/googlemock/src/gmock_main.cc +73 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-actions_test.cc +2233 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-cardinalities_test.cc +424 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-function-mocker_test.cc +998 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-internal-utils_test.cc +766 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-arithmetic_test.cc +1699 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-comparisons_test.cc +2523 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-containers_test.cc +3446 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-misc_test.cc +1882 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers_test.h +192 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-more-actions_test.cc +1617 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-nice-strict_test.cc +541 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-port_test.cc +42 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-pp-string_test.cc +205 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-pp_test.cc +83 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock-spec-builders_test.cc +2599 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_all_test.cc +49 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_ex_test.cc +80 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_leak_test_.cc +99 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_link2_test.cc +38 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_link_test.cc +38 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_link_test.h +693 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_output_test_.cc +286 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_stress_test.cc +227 -0
- knexus-0.0.1/third_party/googletest/googlemock/test/gmock_test.cc +179 -0
- knexus-0.0.1/third_party/googletest/googletest/CMakeLists.txt +327 -0
- knexus-0.0.1/third_party/googletest/googletest/cmake/Config.cmake.in +13 -0
- knexus-0.0.1/third_party/googletest/googletest/cmake/gtest.pc.in +9 -0
- knexus-0.0.1/third_party/googletest/googletest/cmake/gtest_main.pc.in +10 -0
- knexus-0.0.1/third_party/googletest/googletest/cmake/internal_utils.cmake +334 -0
- knexus-0.0.1/third_party/googletest/googletest/cmake/libgtest.la.in +21 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-assertion-result.h +244 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-death-test.h +345 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-matchers.h +952 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-message.h +251 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-param-test.h +602 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-printers.h +1242 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-spi.h +250 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-test-part.h +192 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-typed-test.h +331 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest.h +2338 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h +279 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest_prod.h +60 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/custom/gtest-port.h +37 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/custom/gtest.h +37 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h +306 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h +233 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h +1517 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-param-util.h +1064 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-port-arch.h +124 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-port.h +2374 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-string.h +178 -0
- knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h +220 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/prime_tables.h +125 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample1.cc +66 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample1.h +41 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample10_unittest.cc +138 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample1_unittest.cc +148 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample2.cc +54 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample2.h +79 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample2_unittest.cc +107 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample3-inl.h +171 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample3_unittest.cc +146 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample4.cc +50 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample4.h +53 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample4_unittest.cc +53 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample5_unittest.cc +189 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample6_unittest.cc +214 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample7_unittest.cc +113 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample8_unittest.cc +154 -0
- knexus-0.0.1/third_party/googletest/googletest/samples/sample9_unittest.cc +148 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-all.cc +49 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-assertion-result.cc +77 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-death-test.cc +1587 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-filepath.cc +414 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-internal-inl.h +1234 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-matchers.cc +98 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-port.cc +1434 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-printers.cc +555 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-test-part.cc +106 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest-typed-test.cc +108 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest.cc +7104 -0
- knexus-0.0.1/third_party/googletest/googletest/src/gtest_main.cc +66 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-break-on-failure-unittest_.cc +83 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-catch-exceptions-test_.cc +289 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-color-test_.cc +60 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-death-test-test.cc +1512 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-death-test_ex_test.cc +91 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-env-var-test_.cc +130 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-fail-if-no-test-linked-test-with-disabled-test_.cc +38 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-fail-if-no-test-linked-test-with-enabled-test_.cc +38 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-failfast-unittest_.cc +166 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-filepath-test.cc +671 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-filter-unittest_.cc +106 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-global-environment-unittest_.cc +58 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-list-tests-unittest_.cc +143 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-listener-test.cc +509 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-message-test.cc +184 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-options-test.cc +225 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-output-test_.cc +1058 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-invalid-name1-test_.cc +46 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-invalid-name2-test_.cc +52 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-test.cc +1243 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-test.h +49 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test2-test.cc +58 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-port-test.cc +1301 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-printers-test.cc +2112 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-setuptestsuite-test_.cc +44 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-shuffle-test_.cc +99 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-test-part-test.cc +220 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-throw-on-failure-test_.cc +71 -0
- knexus-0.0.1/third_party/googletest/googletest/test/googletest-uninitialized-test_.cc +39 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest-typed-test2_test.cc +39 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest-typed-test_test.cc +423 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest-typed-test_test.h +57 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest-unittest-api_test.cc +328 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_all_test.cc +46 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_assert_by_exception_test.cc +112 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_dirs_test.cc +101 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_environment_test.cc +187 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_help_test_.cc +44 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_list_output_unittest_.cc +77 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_main_unittest.cc +42 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_no_test_unittest.cc +54 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_pred_impl_unittest.cc +2070 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_premature_exit_test.cc +128 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_prod_test.cc +56 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_repeat_test.cc +220 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_skip_in_environment_setup_test.cc +50 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_skip_test.cc +51 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_sole_header_test.cc +54 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_stress_test.cc +245 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_test_macro_stack_footprint_test.cc +89 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_testbridge_test_.cc +42 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_throw_on_failure_ex_test.cc +90 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_unittest.cc +7826 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_xml_outfile1_test_.cc +43 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_xml_outfile2_test_.cc +77 -0
- knexus-0.0.1/third_party/googletest/googletest/test/gtest_xml_output_unittest_.cc +217 -0
- knexus-0.0.1/third_party/googletest/googletest/test/production.cc +35 -0
- knexus-0.0.1/third_party/googletest/googletest/test/production.h +55 -0
- knexus-0.0.1/third_party/json/CMakeLists.txt +225 -0
- knexus-0.0.1/third_party/json/cmake/ci.cmake +724 -0
- knexus-0.0.1/third_party/json/cmake/clang_flags.cmake +20 -0
- knexus-0.0.1/third_party/json/cmake/config.cmake.in +15 -0
- knexus-0.0.1/third_party/json/cmake/download_test_data.cmake +56 -0
- knexus-0.0.1/third_party/json/cmake/gcc_flags.cmake +363 -0
- knexus-0.0.1/third_party/json/cmake/nlohmann_jsonConfigVersion.cmake.in +20 -0
- knexus-0.0.1/third_party/json/cmake/pkg-config.pc.in +7 -0
- knexus-0.0.1/third_party/json/cmake/scripts/gen_bazel_build_file.cmake +24 -0
- knexus-0.0.1/third_party/json/cmake/test.cmake +273 -0
- knexus-0.0.1/third_party/json/docs/docset/docset.json +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/README.cpp +39 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/accept__string.cpp +26 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/array.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/array_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__json_pointer.cpp +103 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__json_pointer_const.cpp +80 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__keytype.c++17.cpp +49 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__keytype_const.c++17.cpp +43 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__object_t_key_type.cpp +47 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__object_t_key_type_const.cpp +41 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__size_type.cpp +42 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__size_type_const.cpp +36 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/back.cpp +38 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__CompatibleType.cpp +214 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__InputIt_InputIt.cpp +32 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__basic_json.cpp +17 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__copyassignment.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__list_init_t.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__moveconstructor.cpp +17 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__nullptr_t.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__size_type_basic_json.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__value_t.cpp +25 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/begin.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/binary.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/binary_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/boolean_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__byte_container_with_subtype.cpp +23 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__clear_subtype.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__has_subtype.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__set_subtype.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__subtype.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/cbegin.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/cbor_tag_handler_t.cpp +28 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/cend.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/clear.cpp +34 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/contains__json_pointer.cpp +43 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/contains__keytype.c++17.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/contains__object_t_key_type.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/count__keytype.c++17.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/count__object_t_key_type.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/crbegin.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/crend.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/default_object_comparator_t.cpp +11 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostic_positions.cpp +51 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostic_positions_exception.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostics_extended.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostics_extended_positions.cpp +31 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostics_standard.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diff.cpp +37 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/dump.cpp +48 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/emplace.cpp +31 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/emplace_back.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/empty.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/end.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__IteratorType.cpp +31 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__IteratorType_IteratorType.cpp +31 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__keytype.c++17.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__object_t_key_type.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__size_type.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/error_handler_t.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/exception.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/find__keytype.c++17.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/find__object_t_key_type.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/flatten.cpp +32 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_bjdata.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_bson.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_cbor.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_json__default_constructible.cpp +37 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_json__non_default_constructible.cpp +53 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_msgpack.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_ubjson.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/front.cpp +29 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get__PointerType.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get__ValueType_const.cpp +50 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_allocator.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_binary.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_ptr.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_ref.cpp +27 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_to.cpp +59 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert.cpp +17 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__count.cpp +17 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__ilist.cpp +17 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__range.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__range_object.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/invalid_iterator.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_array.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_binary.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_boolean.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_discarded.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_null.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number_float.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number_integer.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number_unsigned.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_object.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_primitive.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_string.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_structured.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/items.cpp +23 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_base_class_t.cpp +88 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_lines.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer.cpp +47 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__back.cpp +15 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__empty.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__equal.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__equal_stringtype.cpp +33 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__notequal.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__notequal_stringtype.cpp +32 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator_add.cpp +23 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator_add_binary.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator_string_t.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__parent_pointer.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__pop_back.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__push_back.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__string_t.cpp +13 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__to_string.cpp +34 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/max_size.cpp +25 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/merge_patch.cpp +41 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/meta.cpp +11 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_derived_type_intrusive_macro.cpp +37 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_explicit.cpp +62 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_macro.cpp +48 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_only_serialize_explicit.cpp +39 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_only_serialize_macro.cpp +33 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_with_default_explicit.cpp +57 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_with_default_macro.cpp +42 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_explicit.cpp +55 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_macro.cpp +41 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_only_serialize_explicit.cpp +32 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_only_serialize_macro.cpp +26 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_default_explicit.cpp +55 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_default_macro.cpp +40 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_namespace.cpp +14 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_namespace_begin.c++17.cpp +33 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_namespace_no_version.cpp +13 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_serialize_enum.cpp +59 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_serialize_enum_2.cpp +33 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_version.cpp +12 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/number_float_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/number_integer_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/number_unsigned_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/object.cpp +28 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/object_comparator_t.cpp +11 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/object_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__ValueType.cpp +60 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__equal.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__equal__nullptr_t.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__equal__specializations.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__greater.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__greaterequal.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__less.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__lessequal.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__notequal.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__notequal__nullptr_t.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__value_t.cpp +38 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__json_pointer.cpp +49 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__json_pointer_const.cpp +25 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__keytype.c++17.cpp +34 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__keytype_const.c++17.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__object_t_key_type.cpp +32 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__object_t_key_type_const.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__size_type.cpp +25 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__size_type_const.cpp +13 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_deserialize.cpp +26 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_literal_json.cpp +13 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_literal_json_pointer.cpp +14 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_ltlt__basic_json.cpp +21 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_ltlt__json_pointer.cpp +13 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_spaceship__const_reference.c++20.cpp +40 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_spaceship__scalartype.c++20.cpp +40 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/ordered_json.cpp +14 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/ordered_map.cpp +43 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/other_error.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/out_of_range.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__allow_exceptions.cpp +36 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__array__parser_callback_t.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__contiguouscontainer__parser_callback_t.cpp +15 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__istream__parser_callback_t.cpp +57 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__iterator_pair.cpp +15 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__pointers.cpp +15 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__string__parser_callback_t.cpp +48 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse_error.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/patch.cpp +33 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/patch_inplace.cpp +35 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/push_back.cpp +25 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/push_back__initializer_list.cpp +27 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/push_back__object_t__value.cpp +25 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/rbegin.cpp +16 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/rend.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/sax_parse.cpp +131 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/sax_parse__binary.cpp +114 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/size.cpp +29 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/std_hash.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/std_swap.cpp +19 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/string_t.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__array_t.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__binary_t.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__object_t.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__reference.cpp +18 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__string_t.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_bjdata.cpp +64 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_bson.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_cbor.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_json.cpp +32 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_msgpack.cpp +22 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_string.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_ubjson.cpp +64 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/type.cpp +28 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/type_error.cpp +20 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/type_name.cpp +27 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/unflatten.cpp +26 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/update.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/update__range.cpp +24 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__json_ptr.cpp +31 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__keytype.c++17.cpp +32 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__object_t_key_type.cpp +30 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__return_type.cpp +14 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/bazel/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cget/CMakeLists.txt +7 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cget/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/conan/CMakeLists.txt +7 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/conan/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/conda/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cpm/CMakeLists.txt +9 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cpm/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/homebrew/CMakeLists.txt +7 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/homebrew/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/hunter/CMakeLists.txt +15 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/hunter/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/macports/CMakeLists.txt +7 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/macports/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/meson/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/spack/CMakeLists.txt +7 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/spack/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/vcpkg/CMakeLists.txt +7 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/vcpkg/example.cpp +10 -0
- knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/xmake/example.cpp +10 -0
- knexus-0.0.1/third_party/json/include/nlohmann/adl_serializer.hpp +55 -0
- knexus-0.0.1/third_party/json/include/nlohmann/byte_container_with_subtype.hpp +103 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/abi_macros.hpp +111 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/conversions/from_json.hpp +583 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/conversions/to_chars.hpp +1118 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/conversions/to_json.hpp +486 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/exceptions.hpp +291 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/hash.hpp +129 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/input/binary_reader.hpp +3081 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/input/input_adapters.hpp +549 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/input/json_sax.hpp +986 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/input/lexer.hpp +1643 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/input/parser.hpp +519 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/input/position_t.hpp +37 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/internal_iterator.hpp +35 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/iter_impl.hpp +760 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/iteration_proxy.hpp +235 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/iterator_traits.hpp +61 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/json_reverse_iterator.hpp +130 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/primitive_iterator.hpp +132 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/json_custom_base_class.hpp +39 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/json_pointer.hpp +988 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/json_ref.hpp +78 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/macro_scope.hpp +601 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/macro_unscope.hpp +47 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/call_std/begin.hpp +17 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/call_std/end.hpp +17 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/cpp_future.hpp +171 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/detected.hpp +70 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/identity_tag.hpp +21 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/is_sax.hpp +159 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/std_fs.hpp +29 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/type_traits.hpp +821 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/void_t.hpp +24 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/output/binary_writer.hpp +1863 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/output/output_adapters.hpp +147 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/output/serializer.hpp +988 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/string_concat.hpp +146 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/string_escape.hpp +72 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/string_utils.hpp +37 -0
- knexus-0.0.1/third_party/json/include/nlohmann/detail/value_t.hpp +118 -0
- knexus-0.0.1/third_party/json/include/nlohmann/json.hpp +5309 -0
- knexus-0.0.1/third_party/json/include/nlohmann/json_fwd.hpp +75 -0
- knexus-0.0.1/third_party/json/include/nlohmann/ordered_map.hpp +359 -0
- knexus-0.0.1/third_party/json/include/nlohmann/thirdparty/hedley/hedley.hpp +2045 -0
- knexus-0.0.1/third_party/json/include/nlohmann/thirdparty/hedley/hedley_undef.hpp +158 -0
- knexus-0.0.1/third_party/json/single_include/nlohmann/json.hpp +25601 -0
- knexus-0.0.1/third_party/json/single_include/nlohmann/json_fwd.hpp +187 -0
- knexus-0.0.1/third_party/json/tests/CMakeLists.txt +197 -0
- knexus-0.0.1/third_party/json/tests/abi/CMakeLists.txt +30 -0
- knexus-0.0.1/third_party/json/tests/abi/config/CMakeLists.txt +22 -0
- knexus-0.0.1/third_party/json/tests/abi/config/config.hpp +35 -0
- knexus-0.0.1/third_party/json/tests/abi/config/custom.cpp +33 -0
- knexus-0.0.1/third_party/json/tests/abi/config/default.cpp +45 -0
- knexus-0.0.1/third_party/json/tests/abi/config/noversion.cpp +44 -0
- knexus-0.0.1/third_party/json/tests/abi/diag/CMakeLists.txt +19 -0
- knexus-0.0.1/third_party/json/tests/abi/diag/diag.cpp +29 -0
- knexus-0.0.1/third_party/json/tests/abi/diag/diag.hpp +20 -0
- knexus-0.0.1/third_party/json/tests/abi/diag/diag_off.cpp +30 -0
- knexus-0.0.1/third_party/json/tests/abi/diag/diag_on.cpp +30 -0
- knexus-0.0.1/third_party/json/tests/abi/include/nlohmann/json_v3_10_5.hpp +22091 -0
- knexus-0.0.1/third_party/json/tests/abi/inline_ns/CMakeLists.txt +12 -0
- knexus-0.0.1/third_party/json/tests/abi/inline_ns/use_current.cpp +36 -0
- knexus-0.0.1/third_party/json/tests/abi/inline_ns/use_v3_10_5.cpp +22 -0
- knexus-0.0.1/third_party/json/tests/abi/main.cpp +10 -0
- knexus-0.0.1/third_party/json/tests/benchmarks/CMakeLists.txt +34 -0
- knexus-0.0.1/third_party/json/tests/benchmarks/src/benchmarks.cpp +217 -0
- knexus-0.0.1/third_party/json/tests/cmake_add_subdirectory/CMakeLists.txt +18 -0
- knexus-0.0.1/third_party/json/tests/cmake_add_subdirectory/project/CMakeLists.txt +20 -0
- knexus-0.0.1/third_party/json/tests/cmake_add_subdirectory/project/main.cpp +16 -0
- knexus-0.0.1/third_party/json/tests/cmake_fetch_content/CMakeLists.txt +20 -0
- knexus-0.0.1/third_party/json/tests/cmake_fetch_content/project/CMakeLists.txt +20 -0
- knexus-0.0.1/third_party/json/tests/cmake_fetch_content/project/main.cpp +16 -0
- knexus-0.0.1/third_party/json/tests/cmake_fetch_content2/CMakeLists.txt +20 -0
- knexus-0.0.1/third_party/json/tests/cmake_fetch_content2/project/CMakeLists.txt +15 -0
- knexus-0.0.1/third_party/json/tests/cmake_fetch_content2/project/main.cpp +16 -0
- knexus-0.0.1/third_party/json/tests/cmake_import/CMakeLists.txt +19 -0
- knexus-0.0.1/third_party/json/tests/cmake_import/project/CMakeLists.txt +12 -0
- knexus-0.0.1/third_party/json/tests/cmake_import/project/main.cpp +16 -0
- knexus-0.0.1/third_party/json/tests/cmake_import_minver/CMakeLists.txt +19 -0
- knexus-0.0.1/third_party/json/tests/cmake_import_minver/project/CMakeLists.txt +8 -0
- knexus-0.0.1/third_party/json/tests/cmake_import_minver/project/main.cpp +16 -0
- knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/CMakeLists.txt +18 -0
- knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Bar.cpp +11 -0
- knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Bar.hpp +12 -0
- knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/CMakeLists.txt +21 -0
- knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Foo.cpp +11 -0
- knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Foo.hpp +12 -0
- knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/main.cpp +16 -0
- knexus-0.0.1/third_party/json/tests/cuda_example/CMakeLists.txt +10 -0
- knexus-0.0.1/third_party/json/tests/module_cpp20/CMakeLists.txt +12 -0
- knexus-0.0.1/third_party/json/tests/module_cpp20/json.cpp +17 -0
- knexus-0.0.1/third_party/json/tests/module_cpp20/main.cpp +6 -0
- knexus-0.0.1/third_party/json/tests/src/fuzzer-driver_afl.cpp +39 -0
- knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_bjdata.cpp +85 -0
- knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_bson.cpp +74 -0
- knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_cbor.cpp +69 -0
- knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_json.cpp +70 -0
- knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_msgpack.cpp +69 -0
- knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_ubjson.cpp +85 -0
- knexus-0.0.1/third_party/json/tests/src/make_test_data_available.hpp +31 -0
- knexus-0.0.1/third_party/json/tests/src/test_utils.hpp +33 -0
- knexus-0.0.1/third_party/json/tests/src/unit-32bit.cpp +134 -0
- knexus-0.0.1/third_party/json/tests/src/unit-algorithms.cpp +365 -0
- knexus-0.0.1/third_party/json/tests/src/unit-allocator.cpp +263 -0
- knexus-0.0.1/third_party/json/tests/src/unit-alt-string.cpp +370 -0
- knexus-0.0.1/third_party/json/tests/src/unit-assert_macro.cpp +48 -0
- knexus-0.0.1/third_party/json/tests/src/unit-binary_formats.cpp +211 -0
- knexus-0.0.1/third_party/json/tests/src/unit-bjdata.cpp +3836 -0
- knexus-0.0.1/third_party/json/tests/src/unit-bson.cpp +1296 -0
- knexus-0.0.1/third_party/json/tests/src/unit-byte_container_with_subtype.cpp +76 -0
- knexus-0.0.1/third_party/json/tests/src/unit-capacity.cpp +542 -0
- knexus-0.0.1/third_party/json/tests/src/unit-cbor.cpp +2704 -0
- knexus-0.0.1/third_party/json/tests/src/unit-class_const_iterator.cpp +393 -0
- knexus-0.0.1/third_party/json/tests/src/unit-class_iterator.cpp +468 -0
- knexus-0.0.1/third_party/json/tests/src/unit-class_lexer.cpp +226 -0
- knexus-0.0.1/third_party/json/tests/src/unit-class_parser.cpp +1691 -0
- knexus-0.0.1/third_party/json/tests/src/unit-class_parser_diagnostic_positions.cpp +1957 -0
- knexus-0.0.1/third_party/json/tests/src/unit-comparison.cpp +596 -0
- knexus-0.0.1/third_party/json/tests/src/unit-concepts.cpp +149 -0
- knexus-0.0.1/third_party/json/tests/src/unit-constructor1.cpp +1581 -0
- knexus-0.0.1/third_party/json/tests/src/unit-constructor2.cpp +186 -0
- knexus-0.0.1/third_party/json/tests/src/unit-convenience.cpp +205 -0
- knexus-0.0.1/third_party/json/tests/src/unit-conversions.cpp +1753 -0
- knexus-0.0.1/third_party/json/tests/src/unit-custom-base-class.cpp +335 -0
- knexus-0.0.1/third_party/json/tests/src/unit-deserialization.cpp +1192 -0
- knexus-0.0.1/third_party/json/tests/src/unit-diagnostic-positions-only.cpp +44 -0
- knexus-0.0.1/third_party/json/tests/src/unit-diagnostic-positions.cpp +40 -0
- knexus-0.0.1/third_party/json/tests/src/unit-diagnostics.cpp +265 -0
- knexus-0.0.1/third_party/json/tests/src/unit-disabled_exceptions.cpp +51 -0
- knexus-0.0.1/third_party/json/tests/src/unit-element_access1.cpp +880 -0
- knexus-0.0.1/third_party/json/tests/src/unit-element_access2.cpp +1792 -0
- knexus-0.0.1/third_party/json/tests/src/unit-hash.cpp +113 -0
- knexus-0.0.1/third_party/json/tests/src/unit-inspection.cpp +459 -0
- knexus-0.0.1/third_party/json/tests/src/unit-items.cpp +1433 -0
- knexus-0.0.1/third_party/json/tests/src/unit-iterators1.cpp +1630 -0
- knexus-0.0.1/third_party/json/tests/src/unit-iterators2.cpp +972 -0
- knexus-0.0.1/third_party/json/tests/src/unit-iterators3.cpp +35 -0
- knexus-0.0.1/third_party/json/tests/src/unit-json_patch.cpp +1336 -0
- knexus-0.0.1/third_party/json/tests/src/unit-json_pointer.cpp +791 -0
- knexus-0.0.1/third_party/json/tests/src/unit-large_json.cpp +29 -0
- knexus-0.0.1/third_party/json/tests/src/unit-locale-cpp.cpp +166 -0
- knexus-0.0.1/third_party/json/tests/src/unit-merge_patch.cpp +244 -0
- knexus-0.0.1/third_party/json/tests/src/unit-meta.cpp +36 -0
- knexus-0.0.1/third_party/json/tests/src/unit-modifiers.cpp +952 -0
- knexus-0.0.1/third_party/json/tests/src/unit-msgpack.cpp +1959 -0
- knexus-0.0.1/third_party/json/tests/src/unit-no-mem-leak-on-adl-serialize.cpp +86 -0
- knexus-0.0.1/third_party/json/tests/src/unit-noexcept.cpp +83 -0
- knexus-0.0.1/third_party/json/tests/src/unit-ordered_json.cpp +71 -0
- knexus-0.0.1/third_party/json/tests/src/unit-ordered_map.cpp +310 -0
- knexus-0.0.1/third_party/json/tests/src/unit-pointer_access.cpp +479 -0
- knexus-0.0.1/third_party/json/tests/src/unit-readme.cpp +304 -0
- knexus-0.0.1/third_party/json/tests/src/unit-reference_access.cpp +247 -0
- knexus-0.0.1/third_party/json/tests/src/unit-regression1.cpp +1530 -0
- knexus-0.0.1/third_party/json/tests/src/unit-regression2.cpp +1099 -0
- knexus-0.0.1/third_party/json/tests/src/unit-serialization.cpp +297 -0
- knexus-0.0.1/third_party/json/tests/src/unit-testsuites.cpp +1392 -0
- knexus-0.0.1/third_party/json/tests/src/unit-to_chars.cpp +516 -0
- knexus-0.0.1/third_party/json/tests/src/unit-type_traits.cpp +56 -0
- knexus-0.0.1/third_party/json/tests/src/unit-ubjson.cpp +2547 -0
- knexus-0.0.1/third_party/json/tests/src/unit-udl.cpp +57 -0
- knexus-0.0.1/third_party/json/tests/src/unit-udt.cpp +908 -0
- knexus-0.0.1/third_party/json/tests/src/unit-udt_macro.cpp +709 -0
- knexus-0.0.1/third_party/json/tests/src/unit-unicode1.cpp +620 -0
- knexus-0.0.1/third_party/json/tests/src/unit-unicode2.cpp +610 -0
- knexus-0.0.1/third_party/json/tests/src/unit-unicode3.cpp +324 -0
- knexus-0.0.1/third_party/json/tests/src/unit-unicode4.cpp +324 -0
- knexus-0.0.1/third_party/json/tests/src/unit-unicode5.cpp +324 -0
- knexus-0.0.1/third_party/json/tests/src/unit-user_defined_input.cpp +130 -0
- knexus-0.0.1/third_party/json/tests/src/unit-windows_h.cpp +23 -0
- knexus-0.0.1/third_party/json/tests/src/unit-wstring.cpp +99 -0
- knexus-0.0.1/third_party/json/tests/src/unit.cpp +10 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/CMakeLists.txt +45 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerCorpus.h +217 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerCrossOver.cpp +52 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerDefs.h +89 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerDictionary.h +124 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerDriver.cpp +545 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctions.h +35 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctionsDlsym.cpp +52 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctionsWeak.cpp +53 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp +56 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIO.cpp +117 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIO.h +64 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIOPosix.cpp +88 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIOWindows.cpp +282 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerInterface.h +67 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerInternal.h +182 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerLoop.cpp +792 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMain.cpp +21 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMerge.cpp +261 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMerge.h +70 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMutate.cpp +527 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMutate.h +145 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerOptions.h +68 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerRandom.h +36 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerSHA1.cpp +222 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerSHA1.h +33 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerTracePC.cpp +339 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerTracePC.h +158 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerTraceState.cpp +325 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtil.cpp +218 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtil.h +72 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilDarwin.cpp +152 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilLinux.cpp +24 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilPosix.cpp +117 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilWindows.cpp +182 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerValueBitMap.h +87 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/afl/afl_driver.cpp +295 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AFLDriverTest.cpp +22 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AbsNegAndConstant64Test.cpp +23 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AbsNegAndConstantTest.cpp +23 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AccumulateAllocationsTest.cpp +17 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/BufferOverflowOnInput.cpp +23 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CMakeLists.txt +217 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CallerCalleeTest.cpp +59 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CounterTest.cpp +18 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CustomCrossOverTest.cpp +63 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CustomMutatorTest.cpp +38 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSO1.cpp +12 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSO2.cpp +12 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSOTestExtra.cpp +11 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSOTestMain.cpp +31 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DivTest.cpp +20 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/EmptyTest.cpp +11 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/FourIndependentBranchesTest.cpp +22 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/FullCoverageSetTest.cpp +24 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/FuzzerUnittest.cpp +738 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/InitializeTest.cpp +28 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/LeakTest.cpp +17 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/LeakTimeoutTest.cpp +17 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/LoadTest.cpp +22 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/MemcmpTest.cpp +31 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/NthRunCrashTest.cpp +18 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/NullDerefOnEmptyTest.cpp +19 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/NullDerefTest.cpp +26 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/OneHugeAllocTest.cpp +28 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp +27 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/OutOfMemoryTest.cpp +31 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/RepeatedBytesTest.cpp +29 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/RepeatedMemcmp.cpp +22 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ShrinkControlFlowTest.cpp +28 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ShrinkValueProfileTest.cpp +22 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SignedIntOverflowTest.cpp +28 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleCmpTest.cpp +46 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleDictionaryTest.cpp +29 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleHashTest.cpp +40 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleTest.cpp +27 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleThreadedTest.cpp +25 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SingleMemcmpTest.cpp +17 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SingleStrcmpTest.cpp +17 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SingleStrncmpTest.cpp +17 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SpamyTest.cpp +21 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrcmpTest.cpp +32 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrncmpOOBTest.cpp +21 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrncmpTest.cpp +28 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrstrTest.cpp +28 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SwapCmpTest.cpp +34 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/Switch2Test.cpp +35 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SwitchTest.cpp +58 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ThreadedLeakTest.cpp +18 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ThreadedTest.cpp +26 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/TimeoutEmptyTest.cpp +14 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/TimeoutTest.cpp +26 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/TraceMallocTest.cpp +27 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/UninstrumentedTest.cpp +11 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/lit.site.cfg.in +4 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/no-coverage/CMakeLists.txt +29 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ubsan/CMakeLists.txt +15 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/uninstrumented/CMakeLists.txt +16 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/unit/lit.site.cfg.in +2 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/doctest/doctest.h +7134 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/doctest/doctest_compatibility.h +37 -0
- knexus-0.0.1/third_party/json/tests/thirdparty/fifo_map/fifo_map.hpp +530 -0
- knexus-0.0.1/third_party/json/tools/amalgamate/config_json.json +8 -0
- knexus-0.0.1/third_party/json/tools/amalgamate/config_json_fwd.json +8 -0
- knexus-0.0.1/third_party/json/tools/macro_builder/main.cpp +43 -0
- knexus-0.0.1/third_party/magic_enum/CMakeLists.txt +162 -0
- knexus-0.0.1/third_party/magic_enum/cmake/GenPkgConfig/GenPkgConfig.cmake +252 -0
- knexus-0.0.1/third_party/magic_enum/cmake/GenPkgConfig/buildTimeScripts/getObjectFilesBaseNames.cmake +18 -0
- knexus-0.0.1/third_party/magic_enum/example/CMakeLists.txt +30 -0
- knexus-0.0.1/third_party/magic_enum/example/enum_flag_example.cpp +101 -0
- knexus-0.0.1/third_party/magic_enum/example/example.cpp +120 -0
- knexus-0.0.1/third_party/magic_enum/example/example_containers_array.cpp +65 -0
- knexus-0.0.1/third_party/magic_enum/example/example_containers_bitset.cpp +56 -0
- knexus-0.0.1/third_party/magic_enum/example/example_containers_set.cpp +56 -0
- knexus-0.0.1/third_party/magic_enum/example/example_custom_name.cpp +71 -0
- knexus-0.0.1/third_party/magic_enum/example/example_nonascii_name.cpp +45 -0
- knexus-0.0.1/third_party/magic_enum/example/example_switch.cpp +107 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum.hpp +1519 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_all.hpp +44 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_containers.hpp +1174 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_flags.hpp +222 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_format.hpp +84 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_fuse.hpp +89 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_iostream.hpp +117 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_switch.hpp +195 -0
- knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_utility.hpp +138 -0
- knexus-0.0.1/third_party/magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp +17937 -0
- knexus-0.0.1/third_party/magic_enum/test/CMakeLists.txt +126 -0
- knexus-0.0.1/third_party/magic_enum/test/test.cpp +1289 -0
- knexus-0.0.1/third_party/magic_enum/test/test_aliases.cpp +137 -0
- knexus-0.0.1/third_party/magic_enum/test/test_containers.cpp +313 -0
- knexus-0.0.1/third_party/magic_enum/test/test_flags.cpp +834 -0
- knexus-0.0.1/third_party/magic_enum/test/test_nonascii.cpp +445 -0
- knexus-0.0.1/third_party/magic_enum/test/test_wchar_t.cpp +147 -0
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
cmake_minimum_required(VERSION 3.18)
|
|
2
|
+
|
|
3
|
+
if(POLICY CMP0116)
|
|
4
|
+
# Introduced in cmake 3.20
|
|
5
|
+
# https://cmake.org/cmake/help/latest/policy/CMP0116.html
|
|
6
|
+
cmake_policy(SET CMP0116 OLD)
|
|
7
|
+
endif()
|
|
8
|
+
|
|
9
|
+
set(CMAKE_CXX_STANDARD 17)
|
|
10
|
+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
11
|
+
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
12
|
+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
|
13
|
+
|
|
14
|
+
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
15
|
+
|
|
16
|
+
set(CMAKE_CXX_FLAGS_INIT "-stdlib=libc++")
|
|
17
|
+
set(CMAKE_EXE_LINKER_FLAGS_INIT "-stdlib=libc++")
|
|
18
|
+
|
|
19
|
+
endif()
|
|
20
|
+
|
|
21
|
+
project(nexus CXX C)
|
|
22
|
+
|
|
23
|
+
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
24
|
+
|
|
25
|
+
set(LINUX TRUE)
|
|
26
|
+
set(ENV{PLATFORM_OS} "Linux")
|
|
27
|
+
message(STATUS "Target system: Linux")
|
|
28
|
+
|
|
29
|
+
elseif(CMAKE_SYSTEM_NAME MATCHES "Darwin")
|
|
30
|
+
|
|
31
|
+
set(MACOS TRUE)
|
|
32
|
+
set(ENV{PLATFORM_OS} "MacOS")
|
|
33
|
+
message(STATUS "Target system: MacOS")
|
|
34
|
+
|
|
35
|
+
endif()
|
|
36
|
+
|
|
37
|
+
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
|
38
|
+
|
|
39
|
+
# Options
|
|
40
|
+
option(NEXUS_BUILD_PYTHON_MODULE "Build Python Nexus bindings" ON)
|
|
41
|
+
option(NEXUS_ENABLE_LOGGING "Enable Nexus Logging" ON)
|
|
42
|
+
option(NEXUS_BUILD_PLUGINS "Build the runtime plugins" ON)
|
|
43
|
+
|
|
44
|
+
# Ensure Python3 vars are set correctly
|
|
45
|
+
# used conditionally in this file and by lit tests
|
|
46
|
+
|
|
47
|
+
# Customized release build type with assertions: NEXUSRelBuildWithAsserts
|
|
48
|
+
if(NOT MSVC)
|
|
49
|
+
set(CMAKE_C_FLAGS_NEXUSRELBUILDWITHASSERTS "-O2 -g")
|
|
50
|
+
set(CMAKE_CXX_FLAGS_NEXUSRELBUILDWITHASSERTS "-O2 -g")
|
|
51
|
+
set(CMAKE_C_FLAGS_NEXUSBUILDWITHO1 "-O1")
|
|
52
|
+
set(CMAKE_CXX_FLAGS_NEXUSBUILDWITHO1 "-O1")
|
|
53
|
+
else()
|
|
54
|
+
set(CMAKE_C_FLAGS_NEXUSRELBUILDWITHASSERTS "/Zi /RTC1 /bigobj /Zc:preprocessor /permissive-")
|
|
55
|
+
set(CMAKE_CXX_FLAGS_NEXUSRELBUILDWITHASSERTS "/Zi /RTC1 /bigobj /Zc:preprocessor /permissive-")
|
|
56
|
+
set(CMAKE_EXE_LINKER_FLAGS_NEXUSRELBUILDWITHASSERTS "/debug:fastlink /INCREMENTAL")
|
|
57
|
+
set(CMAKE_MODULE_LINKER_FLAGS_NEXUSRELBUILDWITHASSERTS "/debug:fastlink /INCREMENTAL")
|
|
58
|
+
set(CMAKE_SHARED_LINKER_FLAGS_NEXUSRELBUILDWITHASSERTS "/debug:fastlink /INCREMENTAL")
|
|
59
|
+
endif()
|
|
60
|
+
|
|
61
|
+
# Default build type
|
|
62
|
+
if(NOT CMAKE_BUILD_TYPE)
|
|
63
|
+
message(STATUS "Default build type: Debug")
|
|
64
|
+
set(CMAKE_BUILD_TYPE "Debug")
|
|
65
|
+
endif()
|
|
66
|
+
|
|
67
|
+
if(NOT WIN32)
|
|
68
|
+
find_library(TERMINFO_LIBRARY tinfo)
|
|
69
|
+
endif()
|
|
70
|
+
|
|
71
|
+
#if(NEXUS_BUILD_UT)
|
|
72
|
+
# # This is an aggregate target for all unit tests.
|
|
73
|
+
# add_custom_target(NEXUSUnitTests)
|
|
74
|
+
# set_target_properties(NEXUSUnitTests PROPERTIES FOLDER "NEXUS/Tests")
|
|
75
|
+
# include(AddNEXUSUnitTest)
|
|
76
|
+
#endif()
|
|
77
|
+
|
|
78
|
+
# Compiler flags
|
|
79
|
+
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
80
|
+
if(NOT MSVC)
|
|
81
|
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS -fPIC -std=gnu++17")
|
|
82
|
+
else()
|
|
83
|
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__STDC_FORMAT_MACROS")
|
|
84
|
+
endif()
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
# Disable warnings that show up in external code (gtest;pybind11)
|
|
88
|
+
if(NOT MSVC)
|
|
89
|
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-covered-switch-default -fvisibility=hidden")
|
|
90
|
+
else()
|
|
91
|
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4244 /wd4624 /wd4715 /wd4530")
|
|
92
|
+
endif()
|
|
93
|
+
|
|
94
|
+
if(NEXUS_ENABLE_LOGGING)
|
|
95
|
+
add_compile_definitions(NEXUS_LOGGING)
|
|
96
|
+
endif()
|
|
97
|
+
|
|
98
|
+
file(COPY ${CMAKE_SOURCE_DIR}/device_lib/
|
|
99
|
+
DESTINATION ${CMAKE_BINARY_DIR}/device_lib
|
|
100
|
+
FILES_MATCHING PATTERN "*")
|
|
101
|
+
|
|
102
|
+
include_directories(${PROJECT_SOURCE_DIR}/include)
|
|
103
|
+
include_directories(${PROJECT_SOURCE_DIR}/third_party/magic_enum/include)
|
|
104
|
+
|
|
105
|
+
# -----
|
|
106
|
+
add_subdirectory(third_party/json json)
|
|
107
|
+
|
|
108
|
+
# ------
|
|
109
|
+
# Core API source directory
|
|
110
|
+
add_subdirectory(src)
|
|
111
|
+
|
|
112
|
+
# ------
|
|
113
|
+
if(NEXUS_BUILD_PYTHON_MODULE)
|
|
114
|
+
message(STATUS "Adding Python module")
|
|
115
|
+
set(PYTHON_SRC_PATH ${CMAKE_CURRENT_SOURCE_DIR}/python/src)
|
|
116
|
+
include_directories(${PYTHON_SRC_PATH})
|
|
117
|
+
|
|
118
|
+
# Python Interpreter is used to run lit tests
|
|
119
|
+
find_package(Python3 REQUIRED COMPONENTS Development.Module Interpreter)
|
|
120
|
+
find_package(pybind11 CONFIG REQUIRED HINTS "${Python3_SITELIB}")
|
|
121
|
+
|
|
122
|
+
set(NEXUS_LIBRARIES
|
|
123
|
+
nexus-api
|
|
124
|
+
|
|
125
|
+
Python3::Module
|
|
126
|
+
pybind11::headers
|
|
127
|
+
|
|
128
|
+
)
|
|
129
|
+
|
|
130
|
+
add_library(nexus SHARED
|
|
131
|
+
${PYTHON_SRC_PATH}/main.cc
|
|
132
|
+
${PYTHON_SRC_PATH}/system.cc
|
|
133
|
+
)
|
|
134
|
+
|
|
135
|
+
# EXAMPLE_VERSION_INFO is defined by setup.py and passed into the C++ code as a
|
|
136
|
+
# define (VERSION_INFO) here.
|
|
137
|
+
target_compile_definitions(nexus
|
|
138
|
+
PRIVATE VERSION_INFO=${EXAMPLE_VERSION_INFO})
|
|
139
|
+
|
|
140
|
+
## Link nexus with its dependencies
|
|
141
|
+
target_link_libraries(nexus PRIVATE ${NEXUS_LIBRARIES})
|
|
142
|
+
target_link_libraries(nexus PRIVATE pybind11::module)
|
|
143
|
+
|
|
144
|
+
set_target_properties(nexus PROPERTIES
|
|
145
|
+
BUILD_RPATH_USE_ORIGIN TRUE
|
|
146
|
+
INSTALL_RPATH "$ORIGIN"
|
|
147
|
+
BUILD_RPATH "$ORIGIN"
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
set_target_properties(nexus PROPERTIES PREFIX "lib" SUFFIX ".so")
|
|
151
|
+
#install(TARGETS nexus DESTINATION nexus)
|
|
152
|
+
|
|
153
|
+
if(WIN32)
|
|
154
|
+
target_link_libraries(nexus PRIVATE ${CMAKE_DL_LIBS})
|
|
155
|
+
set_target_properties(nexus PROPERTIES SUFFIX ".pyd")
|
|
156
|
+
else()
|
|
157
|
+
# Check if the platform is MacOS
|
|
158
|
+
if(APPLE)
|
|
159
|
+
#set(PYTHON_LDFLAGS "-undefined dynamic_lookup")
|
|
160
|
+
endif()
|
|
161
|
+
|
|
162
|
+
target_link_options(nexus PRIVATE ${PYTHON_LDFLAGS})
|
|
163
|
+
|
|
164
|
+
#target_link_libraries(nexus PRIVATE z)
|
|
165
|
+
endif()
|
|
166
|
+
endif()
|
|
167
|
+
|
|
168
|
+
if (UNIX AND NOT APPLE)
|
|
169
|
+
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--exclude-libs,ALL")
|
|
170
|
+
endif()
|
|
171
|
+
|
|
172
|
+
if(NEXUS_BUILD_PLUGINS)
|
|
173
|
+
add_subdirectory(plugins)
|
|
174
|
+
endif()
|
|
175
|
+
|
|
176
|
+
# Google Test
|
|
177
|
+
include_directories(third_party/googletest)
|
|
178
|
+
add_subdirectory(third_party/googletest)
|
|
179
|
+
|
|
180
|
+
enable_testing()
|
|
181
|
+
include(GoogleTest)
|
|
182
|
+
add_custom_target(NexusIntegrationTest)
|
|
183
|
+
set_target_properties(NexusIntegrationTest PROPERTIES FOLDER "Tests")
|
|
184
|
+
|
|
185
|
+
function(add_nexus_it)
|
|
186
|
+
set(options)
|
|
187
|
+
set(oneValueArgs NAME)
|
|
188
|
+
set(multiValueArgs SRCS LIBS DEFS)
|
|
189
|
+
cmake_parse_arguments(_ "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
|
190
|
+
|
|
191
|
+
get_property(nexus_libs GLOBAL PROPERTY NEXUS_LIBRARIES)
|
|
192
|
+
|
|
193
|
+
add_test(NAME ${__NAME}
|
|
194
|
+
COMMAND ${__NAME})
|
|
195
|
+
add_executable(
|
|
196
|
+
${__NAME}
|
|
197
|
+
${__SRCS})
|
|
198
|
+
target_link_libraries(
|
|
199
|
+
${__NAME}
|
|
200
|
+
PRIVATE
|
|
201
|
+
GTest::gtest_main
|
|
202
|
+
${nexus_libs}
|
|
203
|
+
gmock
|
|
204
|
+
${__LIBS})
|
|
205
|
+
|
|
206
|
+
if(NOT MSVC)
|
|
207
|
+
target_compile_options(${__NAME} PRIVATE -fno-rtti)
|
|
208
|
+
endif()
|
|
209
|
+
|
|
210
|
+
target_compile_definitions(${__NAME} PRIVATE ${__DEFS})
|
|
211
|
+
|
|
212
|
+
# Without the TEST_DISCOVERY_TIMEOUT, the tests randomly time out on my mac
|
|
213
|
+
# laptop. I think the issue may be that the very first time you run a program
|
|
214
|
+
# it's a bit slow.
|
|
215
|
+
gtest_discover_tests(${__NAME} DISCOVERY_TIMEOUT 60)
|
|
216
|
+
|
|
217
|
+
# Add the unit test to the top-level unit test target.
|
|
218
|
+
add_dependencies(NexusIntegrationTest ${__NAME})
|
|
219
|
+
endfunction()
|
|
220
|
+
|
|
221
|
+
add_subdirectory(test)
|
knexus-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 kernelize.ai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
knexus-0.0.1/MANIFEST.in
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
graft device_lib
|
|
2
|
+
include CMakeLists.txt
|
|
3
|
+
include *.md *.txt *.cfg *.ini
|
|
4
|
+
recursive-include cmake *.cmake *.in
|
|
5
|
+
recursive-include src *.cpp *.cc *.h *.hpp CMakeLists.txt
|
|
6
|
+
recursive-include api-src *.cpp *.cc *.h *.hpp
|
|
7
|
+
recursive-include python *.py
|
|
8
|
+
recursive-include python/src *.cpp *.cc *.h *.hpp
|
|
9
|
+
recursive-include include *.h *.hpp
|
|
10
|
+
recursive-include third_party *.h *.hpp *.cpp *.cc *.json CMakeLists.txt *.cmake *.in
|
|
11
|
+
recursive-include plugins *.cpp *.cc *.h *.hpp CMakeLists.txt
|
|
12
|
+
recursive-include test *.cpp *.cc *.h *.hpp CMakeLists.txt
|
|
13
|
+
recursive-include third_party/cpuinfo/include *.h
|
|
14
|
+
recursive-include third_party/cpuinfo/src *.c
|
|
15
|
+
recursive-include third_party/cpuinfo/deps *.c *.h
|
|
16
|
+
include third_party/cpuinfo/CMakeLists.txt
|
knexus-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: knexus
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Home-page: https://github.com/kernelize-ai/nexus/
|
|
5
|
+
Author: Simon Waters
|
|
6
|
+
Author-email: simon@kernelize.ai
|
|
7
|
+
Keywords: Runtime,Triton
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Requires-Python: >=3.9,<3.14
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: setuptools>=40.8.0
|
|
20
|
+
Requires-Dist: importlib-metadata; python_version < "3.10"
|
|
21
|
+
Provides-Extra: test
|
|
22
|
+
Requires-Dist: pytest>=6.0; extra == "test"
|
|
23
|
+
Dynamic: author
|
|
24
|
+
Dynamic: author-email
|
|
25
|
+
Dynamic: classifier
|
|
26
|
+
Dynamic: home-page
|
|
27
|
+
Dynamic: keywords
|
|
28
|
+
Dynamic: license-file
|
|
29
|
+
Dynamic: provides-extra
|
|
30
|
+
Dynamic: requires-dist
|
|
31
|
+
Dynamic: requires-python
|
knexus-0.0.1/README.md
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
# Nexus Device API
|
|
2
|
+
|
|
3
|
+
The Nexus Device API provides a clean, standardized Interface to Device Discovery, Characterization and Kernel Deployment.
|
|
4
|
+
|
|
5
|
+
## Interfaces
|
|
6
|
+
|
|
7
|
+
There are 4 interfaces in Nexus, 2 User APIs and 2 Vendor APIs.
|
|
8
|
+
|
|
9
|
+
User APIs:
|
|
10
|
+
* Python API
|
|
11
|
+
* C++ Source API
|
|
12
|
+
|
|
13
|
+
Vendor APIs:
|
|
14
|
+
* JSON DB
|
|
15
|
+
* Runtime Plugin C-API
|
|
16
|
+
|
|
17
|
+
### Python API
|
|
18
|
+
|
|
19
|
+
The Python API is designed to be intuitive with full device discovery, characterization and kernel execution.
|
|
20
|
+
|
|
21
|
+
```python
|
|
22
|
+
import nexus
|
|
23
|
+
|
|
24
|
+
runtimes = nexus.get_runtimes()
|
|
25
|
+
rt0 = runtimes.get(0)
|
|
26
|
+
rt0_name = rt0.get_property_str('Name')
|
|
27
|
+
|
|
28
|
+
dev0 = rt0.get_device(0)
|
|
29
|
+
dev0_arch = dev0.get_property_str('Architecture')
|
|
30
|
+
|
|
31
|
+
buf0 = dev0.create_buffer(tensor0)
|
|
32
|
+
buf1 = dev0.create_buffer((1024,1024), dtype='fp16')
|
|
33
|
+
|
|
34
|
+
# Create event for synchronization
|
|
35
|
+
event = dev0.create_event(nexus.event_type.Shared)
|
|
36
|
+
|
|
37
|
+
sched0 = dev0.create_schedule()
|
|
38
|
+
|
|
39
|
+
cmd0 = sched0.create_command(kernel)
|
|
40
|
+
signal_cmd = sched0.create_signal_command(event, 1)
|
|
41
|
+
|
|
42
|
+
sched0.run(blocking=False)
|
|
43
|
+
event.wait(1) # Wait for completion
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
### C++ Source API
|
|
47
|
+
|
|
48
|
+
The C++ Source API provides direct access to all API objects with clean interface and garbage collection.
|
|
49
|
+
|
|
50
|
+
```
|
|
51
|
+
// insert test/cpp/main.cpp
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### JSON DB
|
|
55
|
+
|
|
56
|
+
The JSON DB interface provides deep device/system characteristics to improve compilation and runtime distribution. There should be a device_lib.json for each architecture.
|
|
57
|
+
The file name follows the convention `<vendor_name>-<device_type>-<architecture>.json`. This should correlate with querying the device:
|
|
58
|
+
|
|
59
|
+
```c++
|
|
60
|
+
auto vendor = device.getProperty<std::string>("Vendor");
|
|
61
|
+
auto type = device.getProperty<std::string>("Type");
|
|
62
|
+
auto arch = device.getProperty<std::string>("Architecture");
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
// see schema/gpu_architecture_schema.json
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
### Runtime Plugin C-API
|
|
69
|
+
|
|
70
|
+
The Runtime Plugin C-API is a thin wrapper for clean dynamic library loading to call into vendor specific runtimes.
|
|
71
|
+
|
|
72
|
+
// See plugins/metal/metal_runtime.cpp for example
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
## Building Nexus
|
|
76
|
+
|
|
77
|
+
### Quick Start
|
|
78
|
+
|
|
79
|
+
For a quick setup, see the [Quick Start Guide](docs/Quick_Start.md).
|
|
80
|
+
|
|
81
|
+
### Detailed Build Instructions
|
|
82
|
+
|
|
83
|
+
First clone the repo with submodules:
|
|
84
|
+
|
|
85
|
+
```shell
|
|
86
|
+
git clone --recursive https://github.com/kernelize-ai/nexus.git
|
|
87
|
+
cd nexus
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Then build with CMake:
|
|
91
|
+
|
|
92
|
+
```shell
|
|
93
|
+
mkdir build && cd build
|
|
94
|
+
cmake .. -DCMAKE_BUILD_TYPE=Release -DNEXUS_BUILD_PYTHON_MODULE=ON -DNEXUS_BUILD_PLUGINS=ON
|
|
95
|
+
make -j$(nproc) # Linux/macOS
|
|
96
|
+
# or
|
|
97
|
+
cmake --build . --config Release --parallel # Windows
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
For detailed build instructions, dependencies, and troubleshooting, see the [Build and CI Documentation](docs/Build_and_CI.md).
|
|
101
|
+
|
|
102
|
+
### Building the python packages
|
|
103
|
+
|
|
104
|
+
For building the development package in a virtual environment:
|
|
105
|
+
|
|
106
|
+
```shell
|
|
107
|
+
python3 -m venv .venv --prompt nexus
|
|
108
|
+
source .venv/bin/activate # Linux/macOS
|
|
109
|
+
# or
|
|
110
|
+
.venv\Scripts\activate # Windows
|
|
111
|
+
pip install -r requirements.txt
|
|
112
|
+
|
|
113
|
+
pip install -e .
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
For building and installing the release package in a virtual environment:
|
|
117
|
+
|
|
118
|
+
```shell
|
|
119
|
+
python -m build
|
|
120
|
+
|
|
121
|
+
python3 -m venv .venv --prompt nexus
|
|
122
|
+
source .venv/bin/activate # Linux/macOS
|
|
123
|
+
# or
|
|
124
|
+
.venv\Scripts\activate # Windows
|
|
125
|
+
pip install -r requirements.txt
|
|
126
|
+
|
|
127
|
+
pip install dist/nexus-*.whl
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Testing
|
|
131
|
+
|
|
132
|
+
Run the test suite:
|
|
133
|
+
|
|
134
|
+
```shell
|
|
135
|
+
cd build
|
|
136
|
+
ctest --output-on-failure
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
For Python-specific tests:
|
|
140
|
+
|
|
141
|
+
```shell
|
|
142
|
+
python test/pynexus/test.py
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
## Continuous Integration
|
|
146
|
+
|
|
147
|
+
The project uses GitHub Actions for continuous integration, building on:
|
|
148
|
+
- **Linux** (Ubuntu): GCC compiler, Debug and Release builds
|
|
149
|
+
- **macOS**: Clang compiler, Debug and Release builds
|
|
150
|
+
|
|
151
|
+
See the [Build and CI Documentation](docs/Build_and_CI.md) for details on the CI setup and how to run builds locally.
|
|
152
|
+
|
|
153
|
+
## Documentation
|
|
154
|
+
|
|
155
|
+
- [Quick Start Guide](docs/Quick_Start.md) - Get up and running quickly
|
|
156
|
+
- [Core API](docs/Core_API.md) - C++ API documentation
|
|
157
|
+
- [Python API](docs/Python_API.md) - Python bindings documentation
|
|
158
|
+
- [Plugin API](docs/Plugin_API.md) - Plugin development guide
|
|
159
|
+
- [JSON API](docs/JSON_API.md) - JSON interface documentation
|
|
160
|
+
- [Build and CI](docs/Build_and_CI.md) - Build instructions and CI setup
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2023 The Khronos Group Inc.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* OpenCL is a trademark of Apple Inc. used under license by Khronos.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
#include <nexus-api.h>
|
|
21
|
+
#include <magic_enum/magic_enum.hpp>
|
|
22
|
+
|
|
23
|
+
const char *nxsGetFuncName(nxs_int funcEnum) {
|
|
24
|
+
auto fenum = magic_enum::enum_cast<nxs_function>(funcEnum);
|
|
25
|
+
if (fenum)
|
|
26
|
+
return magic_enum::enum_name(*fenum).data() + NXS_FUNCTION_PREFIX_LEN;
|
|
27
|
+
return "";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
nxs_function nxsGetFuncEnum(const char *funcName) {
|
|
31
|
+
std::string fname = std::string("NF_") + funcName;
|
|
32
|
+
if (auto val = magic_enum::enum_cast<nxs_function>(fname))
|
|
33
|
+
return *val;
|
|
34
|
+
return NXS_FUNCTION_INVALID;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
const char *nxsGetPropName(nxs_int propEnum) {
|
|
39
|
+
auto penum = magic_enum::enum_cast<nxs_property>(propEnum);
|
|
40
|
+
if (penum)
|
|
41
|
+
return magic_enum::enum_name(*penum).data() + NXS_PROPERTY_PREFIX_LEN;
|
|
42
|
+
return "";
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
nxs_property nxsGetPropEnum(const char *propName) {
|
|
46
|
+
std::string pname = std::string("NP_") + propName;
|
|
47
|
+
if (auto val = magic_enum::enum_cast<nxs_property>(pname))
|
|
48
|
+
return *val;
|
|
49
|
+
return NXS_PROPERTY_INVALID;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const char *nxsGetStatusName(nxs_int statusEnum) {
|
|
53
|
+
auto senum = magic_enum::enum_cast<nxs_status>(statusEnum);
|
|
54
|
+
if (senum)
|
|
55
|
+
return magic_enum::enum_name(*senum).data() + NXS_STATUS_PREFIX_LEN;
|
|
56
|
+
return "";
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
nxs_status nxsGetStatusEnum(const char *statusName) {
|
|
60
|
+
std::string sname = std::string("NXS_") + statusName;
|
|
61
|
+
return *magic_enum::enum_cast<nxs_status>(sname);
|
|
62
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
if(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "^(s390x|ppc64le)$")
|
|
3
|
+
# ---[ Nexus uses cpuinfo library in the thread pool
|
|
4
|
+
# ---[ But it doesn't support s390x/powerpc and thus not used on s390x/powerpc
|
|
5
|
+
if(NOT TARGET cpuinfo AND USE_SYSTEM_CPUINFO)
|
|
6
|
+
add_library(cpuinfo SHARED IMPORTED)
|
|
7
|
+
find_library(CPUINFO_LIBRARY cpuinfo)
|
|
8
|
+
if(NOT CPUINFO_LIBRARY)
|
|
9
|
+
message(FATAL_ERROR "Cannot find cpuinfo")
|
|
10
|
+
endif()
|
|
11
|
+
message("Found cpuinfo: ${CPUINFO_LIBRARY}")
|
|
12
|
+
set_target_properties(cpuinfo PROPERTIES IMPORTED_LOCATION "${CPUINFO_LIBRARY}")
|
|
13
|
+
elseif(NOT TARGET cpuinfo)
|
|
14
|
+
if(NOT DEFINED CPUINFO_SOURCE_DIR)
|
|
15
|
+
set(CPUINFO_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../third_party/cpuinfo" CACHE STRING "cpuinfo source directory")
|
|
16
|
+
endif()
|
|
17
|
+
|
|
18
|
+
set(CPUINFO_BUILD_TOOLS OFF CACHE BOOL "")
|
|
19
|
+
set(CPUINFO_BUILD_UNIT_TESTS OFF CACHE BOOL "")
|
|
20
|
+
set(CPUINFO_BUILD_MOCK_TESTS OFF CACHE BOOL "")
|
|
21
|
+
set(CPUINFO_BUILD_BENCHMARKS OFF CACHE BOOL "")
|
|
22
|
+
set(CPUINFO_LIBRARY_TYPE "static" CACHE STRING "")
|
|
23
|
+
set(CPUINFO_LOG_LEVEL "error" CACHE STRING "")
|
|
24
|
+
if(MSVC)
|
|
25
|
+
if(NEXUS_USE_MSVC_STATIC_RUNTIME)
|
|
26
|
+
set(CPUINFO_RUNTIME_TYPE "static" CACHE STRING "")
|
|
27
|
+
else()
|
|
28
|
+
set(CPUINFO_RUNTIME_TYPE "shared" CACHE STRING "")
|
|
29
|
+
endif()
|
|
30
|
+
endif()
|
|
31
|
+
add_subdirectory(
|
|
32
|
+
"${CPUINFO_SOURCE_DIR}"
|
|
33
|
+
"${CMAKE_CURRENT_BINARY_DIR}/cpuinfo")
|
|
34
|
+
# We build static version of cpuinfo but link
|
|
35
|
+
# them into a shared library for Nexus, so they need PIC.
|
|
36
|
+
set_property(TARGET cpuinfo PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
37
|
+
endif()
|
|
38
|
+
endif()
|
|
39
|
+
|