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.
Files changed (1196) hide show
  1. knexus-0.0.1/CMakeLists.txt +221 -0
  2. knexus-0.0.1/LICENSE +21 -0
  3. knexus-0.0.1/MANIFEST.in +16 -0
  4. knexus-0.0.1/PKG-INFO +31 -0
  5. knexus-0.0.1/README.md +160 -0
  6. knexus-0.0.1/api-src/nxs_api.cpp +62 -0
  7. knexus-0.0.1/cmake/FindCPUINFO.cmake +39 -0
  8. knexus-0.0.1/device_lib/amd-gpu-gfx942.json +1059 -0
  9. knexus-0.0.1/device_lib/amd-gpu-gfx950.json +238 -0
  10. knexus-0.0.1/device_lib/apple-gpu-.json +964 -0
  11. knexus-0.0.1/device_lib/apple-gpu-applegpu_g16s.json +231 -0
  12. knexus-0.0.1/device_lib/apple-gpu-m1m.json +164 -0
  13. knexus-0.0.1/device_lib/apple-gpu-m2.json +164 -0
  14. knexus-0.0.1/device_lib/apple-gpu-m3.json +184 -0
  15. knexus-0.0.1/device_lib/apple-gpu-m4.json +213 -0
  16. knexus-0.0.1/device_lib/apple-gpu-m4p.json +252 -0
  17. knexus-0.0.1/device_lib/nvidia-gpu-sm_90.json +274 -0
  18. knexus-0.0.1/include/nexus/api.h +16 -0
  19. knexus-0.0.1/include/nexus/buffer.h +40 -0
  20. knexus-0.0.1/include/nexus/command.h +46 -0
  21. knexus-0.0.1/include/nexus/device.h +57 -0
  22. knexus-0.0.1/include/nexus/device_db.h +20 -0
  23. knexus-0.0.1/include/nexus/event.h +37 -0
  24. knexus-0.0.1/include/nexus/kernel.h +26 -0
  25. knexus-0.0.1/include/nexus/library.h +29 -0
  26. knexus-0.0.1/include/nexus/log.h +22 -0
  27. knexus-0.0.1/include/nexus/object.h +141 -0
  28. knexus-0.0.1/include/nexus/properties.h +46 -0
  29. knexus-0.0.1/include/nexus/property.h +41 -0
  30. knexus-0.0.1/include/nexus/runtime.h +31 -0
  31. knexus-0.0.1/include/nexus/schedule.h +37 -0
  32. knexus-0.0.1/include/nexus/stream.h +27 -0
  33. knexus-0.0.1/include/nexus/system.h +37 -0
  34. knexus-0.0.1/include/nexus/utility.h +17 -0
  35. knexus-0.0.1/include/nexus-api/_nxs_functions.h +402 -0
  36. knexus-0.0.1/include/nexus-api/_nxs_propertys.h +201 -0
  37. knexus-0.0.1/include/nexus-api/nxs.h +621 -0
  38. knexus-0.0.1/include/nexus-api/nxs_functions.h +16 -0
  39. knexus-0.0.1/include/nexus-api/nxs_log.h +23 -0
  40. knexus-0.0.1/include/nexus-api/nxs_platform.h +1396 -0
  41. knexus-0.0.1/include/nexus-api/nxs_propertys.h +21 -0
  42. knexus-0.0.1/include/nexus-api/nxs_version.h +70 -0
  43. knexus-0.0.1/include/nexus-api.h +11 -0
  44. knexus-0.0.1/include/nexus.h +16 -0
  45. knexus-0.0.1/plugins/CMakeLists.txt +33 -0
  46. knexus-0.0.1/plugins/cpu/CMakeLists.txt +17 -0
  47. knexus-0.0.1/plugins/cpu/cpu_runtime.cpp +503 -0
  48. knexus-0.0.1/plugins/cuda/CMakeLists.txt +45 -0
  49. knexus-0.0.1/plugins/cuda/cuda_command.h +115 -0
  50. knexus-0.0.1/plugins/cuda/cuda_device.h +26 -0
  51. knexus-0.0.1/plugins/cuda/cuda_plugin_runtime.h +94 -0
  52. knexus-0.0.1/plugins/cuda/cuda_runtime.cpp +774 -0
  53. knexus-0.0.1/plugins/cuda/cuda_schedule.cpp +10 -0
  54. knexus-0.0.1/plugins/cuda/cuda_schedule.h +68 -0
  55. knexus-0.0.1/plugins/cuda/cuda_utils.h +45 -0
  56. knexus-0.0.1/plugins/hip/CMakeLists.txt +27 -0
  57. knexus-0.0.1/plugins/hip/hip_runtime.cpp +904 -0
  58. knexus-0.0.1/plugins/include/rt_buffer.h +42 -0
  59. knexus-0.0.1/plugins/include/rt_object.h +73 -0
  60. knexus-0.0.1/plugins/include/rt_pool.h +178 -0
  61. knexus-0.0.1/plugins/include/rt_runtime.h +54 -0
  62. knexus-0.0.1/plugins/include/rt_utilities.h +105 -0
  63. knexus-0.0.1/plugins/metal/CMakeLists.txt +24 -0
  64. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/Foundation.hpp +47 -0
  65. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSArray.hpp +124 -0
  66. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSAutoreleasePool.hpp +83 -0
  67. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSBundle.hpp +374 -0
  68. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSData.hpp +54 -0
  69. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSDate.hpp +53 -0
  70. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSDefines.hpp +45 -0
  71. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSDictionary.hpp +128 -0
  72. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSEnumerator.hpp +78 -0
  73. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSError.hpp +173 -0
  74. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSLock.hpp +118 -0
  75. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSNotification.hpp +110 -0
  76. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSNumber.hpp +501 -0
  77. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSObjCRuntime.hpp +43 -0
  78. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSObject.hpp +302 -0
  79. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSPrivate.hpp +531 -0
  80. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSProcessInfo.hpp +386 -0
  81. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSRange.hpp +83 -0
  82. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSSet.hpp +87 -0
  83. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSSharedPtr.hpp +310 -0
  84. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSString.hpp +255 -0
  85. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSTypes.hpp +51 -0
  86. knexus-0.0.1/plugins/metal/metal-cpp/Foundation/NSURL.hpp +90 -0
  87. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAccelerationStructure.hpp +1948 -0
  88. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAccelerationStructureCommandEncoder.hpp +290 -0
  89. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAccelerationStructureTypes.hpp +243 -0
  90. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLAllocation.hpp +43 -0
  91. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLArgument.hpp +848 -0
  92. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLArgumentEncoder.hpp +244 -0
  93. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBinaryArchive.hpp +159 -0
  94. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBlitCommandEncoder.hpp +246 -0
  95. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBlitPass.hpp +165 -0
  96. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLBuffer.hpp +109 -0
  97. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCaptureManager.hpp +220 -0
  98. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCaptureScope.hpp +92 -0
  99. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCommandBuffer.hpp +504 -0
  100. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCommandEncoder.hpp +101 -0
  101. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCommandQueue.hpp +169 -0
  102. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLComputeCommandEncoder.hpp +362 -0
  103. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLComputePass.hpp +181 -0
  104. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLComputePipeline.hpp +396 -0
  105. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLCounters.hpp +261 -0
  106. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDefines.hpp +41 -0
  107. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDepthStencil.hpp +269 -0
  108. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDevice.hpp +1453 -0
  109. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDrawable.hpp +99 -0
  110. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLDynamicLibrary.hpp +82 -0
  111. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLEvent.hpp +177 -0
  112. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFence.hpp +57 -0
  113. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionConstantValues.hpp +85 -0
  114. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionDescriptor.hpp +159 -0
  115. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionHandle.hpp +61 -0
  116. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionLog.hpp +114 -0
  117. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLFunctionStitching.hpp +342 -0
  118. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLHeaderBridge.hpp +2546 -0
  119. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLHeap.hpp +330 -0
  120. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIOCommandBuffer.hpp +200 -0
  121. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIOCommandQueue.hpp +227 -0
  122. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIOCompressor.hpp +94 -0
  123. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIndirectCommandBuffer.hpp +284 -0
  124. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIndirectCommandEncoder.hpp +259 -0
  125. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLIntersectionFunctionTable.hpp +181 -0
  126. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLLibrary.hpp +746 -0
  127. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLLinkedFunctions.hpp +115 -0
  128. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLLogState.hpp +123 -0
  129. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLParallelRenderCommandEncoder.hpp +94 -0
  130. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLPipeline.hpp +115 -0
  131. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLPixelFormat.hpp +173 -0
  132. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLPrivate.hpp +156 -0
  133. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRasterizationRate.hpp +386 -0
  134. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRenderCommandEncoder.hpp +1177 -0
  135. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRenderPass.hpp +787 -0
  136. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLRenderPipeline.hpp +1719 -0
  137. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResidencySet.hpp +195 -0
  138. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResource.hpp +189 -0
  139. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResourceStateCommandEncoder.hpp +103 -0
  140. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLResourceStatePass.hpp +165 -0
  141. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLSampler.hpp +319 -0
  142. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLStageInputOutputDescriptor.hpp +383 -0
  143. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLTexture.hpp +719 -0
  144. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLTypes.hpp +168 -0
  145. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLVersion.hpp +32 -0
  146. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLVertexDescriptor.hpp +349 -0
  147. knexus-0.0.1/plugins/metal/metal-cpp/Metal/MTLVisibleFunctionTable.hpp +104 -0
  148. knexus-0.0.1/plugins/metal/metal-cpp/Metal/Metal.hpp +87 -0
  149. knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXDefines.hpp +41 -0
  150. knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXPrivate.hpp +303 -0
  151. knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXSpatialScaler.hpp +372 -0
  152. knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MTLFXTemporalScaler.hpp +773 -0
  153. knexus-0.0.1/plugins/metal/metal-cpp/MetalFX/MetalFX.hpp +28 -0
  154. knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CADefines.hpp +41 -0
  155. knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CAMetalDrawable.hpp +57 -0
  156. knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CAMetalLayer.hpp +131 -0
  157. knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/CAPrivate.hpp +132 -0
  158. knexus-0.0.1/plugins/metal/metal-cpp/QuartzCore/QuartzCore.hpp +28 -0
  159. knexus-0.0.1/plugins/metal/metal_example.cpp +196 -0
  160. knexus-0.0.1/plugins/metal/metal_runtime.cpp +942 -0
  161. knexus-0.0.1/pyproject.toml +52 -0
  162. knexus-0.0.1/python/build_helpers.py +17 -0
  163. knexus-0.0.1/python/knexus.egg-info/PKG-INFO +31 -0
  164. knexus-0.0.1/python/knexus.egg-info/SOURCES.txt +1194 -0
  165. knexus-0.0.1/python/knexus.egg-info/dependency_links.txt +1 -0
  166. knexus-0.0.1/python/knexus.egg-info/not-zip-safe +1 -0
  167. knexus-0.0.1/python/knexus.egg-info/requires.txt +7 -0
  168. knexus-0.0.1/python/knexus.egg-info/top_level.txt +1 -0
  169. knexus-0.0.1/python/nexus/__init__.py +19 -0
  170. knexus-0.0.1/python/nexus/device_lib/amd-gpu-gfx942.json +1059 -0
  171. knexus-0.0.1/python/nexus/device_lib/amd-gpu-gfx950.json +238 -0
  172. knexus-0.0.1/python/nexus/device_lib/apple-gpu-.json +964 -0
  173. knexus-0.0.1/python/nexus/device_lib/apple-gpu-applegpu_g16s.json +231 -0
  174. knexus-0.0.1/python/nexus/device_lib/apple-gpu-m1m.json +164 -0
  175. knexus-0.0.1/python/nexus/device_lib/apple-gpu-m2.json +164 -0
  176. knexus-0.0.1/python/nexus/device_lib/apple-gpu-m3.json +184 -0
  177. knexus-0.0.1/python/nexus/device_lib/apple-gpu-m4.json +213 -0
  178. knexus-0.0.1/python/nexus/device_lib/apple-gpu-m4p.json +252 -0
  179. knexus-0.0.1/python/nexus/device_lib/nvidia-gpu-sm_90.json +274 -0
  180. knexus-0.0.1/python/nexus/runtime_libs/libcpu_plugin.so +0 -0
  181. knexus-0.0.1/python/nexus/runtime_libs/libcuda_plugin.so +0 -0
  182. knexus-0.0.1/python/src/main.cc +32 -0
  183. knexus-0.0.1/python/src/pynexus.h +16 -0
  184. knexus-0.0.1/python/src/system.cc +533 -0
  185. knexus-0.0.1/requirements.txt +16 -0
  186. knexus-0.0.1/setup.cfg +4 -0
  187. knexus-0.0.1/setup.py +280 -0
  188. knexus-0.0.1/src/CMakeLists.txt +22 -0
  189. knexus-0.0.1/src/_buffer_impl.h +42 -0
  190. knexus-0.0.1/src/_device_impl.h +59 -0
  191. knexus-0.0.1/src/_library_impl.h +31 -0
  192. knexus-0.0.1/src/_runtime_impl.h +130 -0
  193. knexus-0.0.1/src/_schedule_impl.h +35 -0
  194. knexus-0.0.1/src/_system_impl.h +42 -0
  195. knexus-0.0.1/src/buffer.cpp +96 -0
  196. knexus-0.0.1/src/command.cpp +133 -0
  197. knexus-0.0.1/src/device.cpp +168 -0
  198. knexus-0.0.1/src/device_db.cpp +46 -0
  199. knexus-0.0.1/src/event.cpp +64 -0
  200. knexus-0.0.1/src/kernel.cpp +49 -0
  201. knexus-0.0.1/src/library.cpp +52 -0
  202. knexus-0.0.1/src/properties.cpp +156 -0
  203. knexus-0.0.1/src/runtime.cpp +97 -0
  204. knexus-0.0.1/src/schedule.cpp +115 -0
  205. knexus-0.0.1/src/stream.cpp +47 -0
  206. knexus-0.0.1/src/system.cpp +80 -0
  207. knexus-0.0.1/src/utility.cpp +51 -0
  208. knexus-0.0.1/test/CMakeLists.txt +2 -0
  209. knexus-0.0.1/test/cpp/CMakeLists.txt +2 -0
  210. knexus-0.0.1/test/cpp/cpu/CMakeLists.txt +12 -0
  211. knexus-0.0.1/test/cpp/cpu/main.cpp +85 -0
  212. knexus-0.0.1/test/cpp/gpu/CMakeLists.txt +106 -0
  213. knexus-0.0.1/test/cpp/gpu/nexus_test.h +26 -0
  214. knexus-0.0.1/test/cpp/gpu/test.cpp +38 -0
  215. knexus-0.0.1/test/cpp/gpu/test_basic_kernel.cpp +93 -0
  216. knexus-0.0.1/test/cpp/gpu/test_multi_stream_sync.cpp +125 -0
  217. knexus-0.0.1/test/cpp/gpu/test_smi.cpp +62 -0
  218. knexus-0.0.1/test/prop_test.cpp +73 -0
  219. knexus-0.0.1/third_party/cpuinfo/CMakeLists.txt +931 -0
  220. knexus-0.0.1/third_party/cpuinfo/CMakePresets.json +63 -0
  221. knexus-0.0.1/third_party/cpuinfo/bench/get-current.cc +41 -0
  222. knexus-0.0.1/third_party/cpuinfo/bench/init.cc +12 -0
  223. knexus-0.0.1/third_party/cpuinfo/cmake/DownloadGoogleBenchmark.cmake +15 -0
  224. knexus-0.0.1/third_party/cpuinfo/cmake/DownloadGoogleTest.cmake +15 -0
  225. knexus-0.0.1/third_party/cpuinfo/cmake/cpuinfo-config.cmake.in +12 -0
  226. knexus-0.0.1/third_party/cpuinfo/deps/clog/CMakeLists.txt +101 -0
  227. knexus-0.0.1/third_party/cpuinfo/deps/clog/cmake/DownloadGoogleTest.cmake +15 -0
  228. knexus-0.0.1/third_party/cpuinfo/deps/clog/include/clog.h +100 -0
  229. knexus-0.0.1/third_party/cpuinfo/deps/clog/src/clog.c +436 -0
  230. knexus-0.0.1/third_party/cpuinfo/deps/clog/test/clog.cc +46 -0
  231. knexus-0.0.1/third_party/cpuinfo/include/cpuinfo-mock.h +76 -0
  232. knexus-0.0.1/third_party/cpuinfo/include/cpuinfo.h +2366 -0
  233. knexus-0.0.1/third_party/cpuinfo/libcpuinfo.pc.in +12 -0
  234. knexus-0.0.1/third_party/cpuinfo/src/api.c +730 -0
  235. knexus-0.0.1/third_party/cpuinfo/src/arm/android/api.h +20 -0
  236. knexus-0.0.1/third_party/cpuinfo/src/arm/android/properties.c +66 -0
  237. knexus-0.0.1/third_party/cpuinfo/src/arm/api.h +133 -0
  238. knexus-0.0.1/third_party/cpuinfo/src/arm/cache.c +1786 -0
  239. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/aarch32-isa.c +366 -0
  240. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/aarch64-isa.c +211 -0
  241. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/api.h +392 -0
  242. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/chipset.c +4235 -0
  243. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/clusters.c +632 -0
  244. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/cp.h +49 -0
  245. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/cpuinfo.c +1023 -0
  246. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/hwcap.c +154 -0
  247. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/init.c +888 -0
  248. knexus-0.0.1/third_party/cpuinfo/src/arm/linux/midr.c +1002 -0
  249. knexus-0.0.1/third_party/cpuinfo/src/arm/mach/init.c +752 -0
  250. knexus-0.0.1/third_party/cpuinfo/src/arm/midr.h +273 -0
  251. knexus-0.0.1/third_party/cpuinfo/src/arm/tlb.c +154 -0
  252. knexus-0.0.1/third_party/cpuinfo/src/arm/uarch.c +429 -0
  253. knexus-0.0.1/third_party/cpuinfo/src/arm/windows/init-by-logical-sys-info.c +912 -0
  254. knexus-0.0.1/third_party/cpuinfo/src/arm/windows/init.c +222 -0
  255. knexus-0.0.1/third_party/cpuinfo/src/arm/windows/windows-arm-init.h +21 -0
  256. knexus-0.0.1/third_party/cpuinfo/src/cache.c +17 -0
  257. knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/common.h +39 -0
  258. knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/internal-api.h +67 -0
  259. knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/log.h +102 -0
  260. knexus-0.0.1/third_party/cpuinfo/src/cpuinfo/utils.h +21 -0
  261. knexus-0.0.1/third_party/cpuinfo/src/emscripten/init.c +288 -0
  262. knexus-0.0.1/third_party/cpuinfo/src/freebsd/api.h +12 -0
  263. knexus-0.0.1/third_party/cpuinfo/src/freebsd/topology.c +100 -0
  264. knexus-0.0.1/third_party/cpuinfo/src/init.c +67 -0
  265. knexus-0.0.1/third_party/cpuinfo/src/linux/api.h +94 -0
  266. knexus-0.0.1/third_party/cpuinfo/src/linux/cpulist.c +242 -0
  267. knexus-0.0.1/third_party/cpuinfo/src/linux/mockfile.c +103 -0
  268. knexus-0.0.1/third_party/cpuinfo/src/linux/multiline.c +113 -0
  269. knexus-0.0.1/third_party/cpuinfo/src/linux/processors.c +580 -0
  270. knexus-0.0.1/third_party/cpuinfo/src/linux/smallfile.c +78 -0
  271. knexus-0.0.1/third_party/cpuinfo/src/log.c +203 -0
  272. knexus-0.0.1/third_party/cpuinfo/src/mach/api.h +14 -0
  273. knexus-0.0.1/third_party/cpuinfo/src/mach/topology.c +69 -0
  274. knexus-0.0.1/third_party/cpuinfo/src/riscv/api.h +42 -0
  275. knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/api.h +71 -0
  276. knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/init.c +619 -0
  277. knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/riscv-hw.c +151 -0
  278. knexus-0.0.1/third_party/cpuinfo/src/riscv/linux/riscv-isa.c +43 -0
  279. knexus-0.0.1/third_party/cpuinfo/src/riscv/uarch.c +27 -0
  280. knexus-0.0.1/third_party/cpuinfo/src/x86/api.h +159 -0
  281. knexus-0.0.1/third_party/cpuinfo/src/x86/cache/descriptor.c +1827 -0
  282. knexus-0.0.1/third_party/cpuinfo/src/x86/cache/deterministic.c +247 -0
  283. knexus-0.0.1/third_party/cpuinfo/src/x86/cache/init.c +97 -0
  284. knexus-0.0.1/third_party/cpuinfo/src/x86/cpuid.h +77 -0
  285. knexus-0.0.1/third_party/cpuinfo/src/x86/freebsd/init.c +398 -0
  286. knexus-0.0.1/third_party/cpuinfo/src/x86/info.c +18 -0
  287. knexus-0.0.1/third_party/cpuinfo/src/x86/init.c +78 -0
  288. knexus-0.0.1/third_party/cpuinfo/src/x86/isa.c +832 -0
  289. knexus-0.0.1/third_party/cpuinfo/src/x86/linux/api.h +19 -0
  290. knexus-0.0.1/third_party/cpuinfo/src/x86/linux/cpuinfo.c +215 -0
  291. knexus-0.0.1/third_party/cpuinfo/src/x86/linux/init.c +678 -0
  292. knexus-0.0.1/third_party/cpuinfo/src/x86/mach/init.c +380 -0
  293. knexus-0.0.1/third_party/cpuinfo/src/x86/mockcpuid.c +68 -0
  294. knexus-0.0.1/third_party/cpuinfo/src/x86/name.c +754 -0
  295. knexus-0.0.1/third_party/cpuinfo/src/x86/topology.c +163 -0
  296. knexus-0.0.1/third_party/cpuinfo/src/x86/uarch.c +413 -0
  297. knexus-0.0.1/third_party/cpuinfo/src/x86/vendor.c +187 -0
  298. knexus-0.0.1/third_party/cpuinfo/src/x86/windows/api.h +45 -0
  299. knexus-0.0.1/third_party/cpuinfo/src/x86/windows/init.c +671 -0
  300. knexus-0.0.1/third_party/cpuinfo/test/arm-cache.cc +2172 -0
  301. knexus-0.0.1/third_party/cpuinfo/test/get-current.cc +43 -0
  302. knexus-0.0.1/third_party/cpuinfo/test/init.cc +1521 -0
  303. knexus-0.0.1/third_party/cpuinfo/test/mock/alcatel-revvl.cc +671 -0
  304. knexus-0.0.1/third_party/cpuinfo/test/mock/alcatel-revvl.h +2819 -0
  305. knexus-0.0.1/third_party/cpuinfo/test/mock/alldocube-iwork8.cc +698 -0
  306. knexus-0.0.1/third_party/cpuinfo/test/mock/alldocube-iwork8.h +2362 -0
  307. knexus-0.0.1/third_party/cpuinfo/test/mock/atm7029b-tablet.cc +567 -0
  308. knexus-0.0.1/third_party/cpuinfo/test/mock/atm7029b-tablet.h +1274 -0
  309. knexus-0.0.1/third_party/cpuinfo/test/mock/blu-r1-hd.cc +572 -0
  310. knexus-0.0.1/third_party/cpuinfo/test/mock/blu-r1-hd.h +1992 -0
  311. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a3-2016-eu.cc +596 -0
  312. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a3-2016-eu.h +2371 -0
  313. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2016-duos.cc +668 -0
  314. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2016-duos.h +3419 -0
  315. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2018.cc +799 -0
  316. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-a8-2018.h +3463 -0
  317. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-c9-pro.cc +785 -0
  318. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-c9-pro.h +4285 -0
  319. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-grand-prime-value-edition.cc +567 -0
  320. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-grand-prime-value-edition.h +1988 -0
  321. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j1-2016.cc +567 -0
  322. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j1-2016.h +2074 -0
  323. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j5.cc +567 -0
  324. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j5.h +2979 -0
  325. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-prime.cc +670 -0
  326. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-prime.h +2648 -0
  327. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-tmobile.cc +670 -0
  328. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-tmobile.h +2669 -0
  329. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-uae.cc +670 -0
  330. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-j7-uae.h +2358 -0
  331. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s3-us.cc +567 -0
  332. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s3-us.h +1615 -0
  333. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s4-us.cc +567 -0
  334. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s4-us.h +2084 -0
  335. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-global.cc +741 -0
  336. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-global.h +2373 -0
  337. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-us.cc +567 -0
  338. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s5-us.h +2502 -0
  339. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s6.cc +785 -0
  340. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s6.h +2910 -0
  341. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-global.cc +811 -0
  342. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-global.h +2906 -0
  343. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-us.cc +695 -0
  344. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s7-us.h +3751 -0
  345. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-global.cc +811 -0
  346. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-global.h +3429 -0
  347. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-us.cc +798 -0
  348. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s8-us.h +4938 -0
  349. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-global.cc +877 -0
  350. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-global.h +3605 -0
  351. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-us.cc +829 -0
  352. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-s9-us.h +6692 -0
  353. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-7.0.cc +567 -0
  354. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-7.0.h +1099 -0
  355. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-lite.cc +567 -0
  356. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-tab-3-lite.h +1602 -0
  357. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-win-duos.cc +567 -0
  358. knexus-0.0.1/third_party/cpuinfo/test/mock/galaxy-win-duos.h +1843 -0
  359. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-ascend-p7.cc +567 -0
  360. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-ascend-p7.h +2227 -0
  361. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-honor-6.cc +741 -0
  362. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-honor-6.h +2967 -0
  363. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-10.cc +798 -0
  364. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-10.h +4417 -0
  365. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-20.cc +861 -0
  366. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-20.h +4324 -0
  367. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-8.cc +785 -0
  368. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-8.h +3753 -0
  369. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-9.cc +798 -0
  370. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-mate-9.h +3843 -0
  371. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p20-pro.cc +798 -0
  372. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p20-pro.h +4616 -0
  373. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p8-lite.cc +659 -0
  374. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p8-lite.h +3011 -0
  375. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p9-lite.cc +692 -0
  376. knexus-0.0.1/third_party/cpuinfo/test/mock/huawei-p9-lite.h +3990 -0
  377. knexus-0.0.1/third_party/cpuinfo/test/mock/iconia-one-10.cc +598 -0
  378. knexus-0.0.1/third_party/cpuinfo/test/mock/iconia-one-10.h +2341 -0
  379. knexus-0.0.1/third_party/cpuinfo/test/mock/leagoo-t5c.cc +698 -0
  380. knexus-0.0.1/third_party/cpuinfo/test/mock/leagoo-t5c.h +3388 -0
  381. knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-a6600-plus.cc +568 -0
  382. knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-a6600-plus.h +2372 -0
  383. knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-vibe-x2.cc +722 -0
  384. knexus-0.0.1/third_party/cpuinfo/test/mock/lenovo-vibe-x2.h +1855 -0
  385. knexus-0.0.1/third_party/cpuinfo/test/mock/lg-k10-eu.cc +567 -0
  386. knexus-0.0.1/third_party/cpuinfo/test/mock/lg-k10-eu.h +2897 -0
  387. knexus-0.0.1/third_party/cpuinfo/test/mock/lg-optimus-g-pro.cc +567 -0
  388. knexus-0.0.1/third_party/cpuinfo/test/mock/lg-optimus-g-pro.h +2541 -0
  389. knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6.cc +867 -0
  390. knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6.h +3215 -0
  391. knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6s.cc +867 -0
  392. knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-6s.h +3851 -0
  393. knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-7-plus.cc +883 -0
  394. knexus-0.0.1/third_party/cpuinfo/test/mock/meizu-pro-7-plus.h +4329 -0
  395. knexus-0.0.1/third_party/cpuinfo/test/mock/memo-pad-7.cc +698 -0
  396. knexus-0.0.1/third_party/cpuinfo/test/mock/memo-pad-7.h +2500 -0
  397. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-e-gen1.cc +567 -0
  398. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-e-gen1.h +1844 -0
  399. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen1.cc +567 -0
  400. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen1.h +1801 -0
  401. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen2.cc +567 -0
  402. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen2.h +2246 -0
  403. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen3.cc +567 -0
  404. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen3.h +2422 -0
  405. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen4.cc +676 -0
  406. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen4.h +3279 -0
  407. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen5.cc +662 -0
  408. knexus-0.0.1/third_party/cpuinfo/test/mock/moto-g-gen5.h +3836 -0
  409. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus-s.cc +561 -0
  410. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus-s.h +822 -0
  411. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus10.cc +567 -0
  412. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus10.h +1131 -0
  413. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus4.cc +567 -0
  414. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus4.h +1165 -0
  415. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus5x.cc +779 -0
  416. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus5x.h +1989 -0
  417. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6.cc +567 -0
  418. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6.h +1578 -0
  419. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6p.cc +785 -0
  420. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus6p.h +1923 -0
  421. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus9.cc +598 -0
  422. knexus-0.0.1/third_party/cpuinfo/test/mock/nexus9.h +1366 -0
  423. knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-3t.cc +695 -0
  424. knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-3t.h +3203 -0
  425. knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5.cc +798 -0
  426. knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5.h +5380 -0
  427. knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5t.cc +798 -0
  428. knexus-0.0.1/third_party/cpuinfo/test/mock/oneplus-5t.h +5420 -0
  429. knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-a37.cc +602 -0
  430. knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-a37.h +2862 -0
  431. knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r15.cc +778 -0
  432. knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r15.h +5500 -0
  433. knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r9.cc +712 -0
  434. knexus-0.0.1/third_party/cpuinfo/test/mock/oppo-r9.h +2688 -0
  435. knexus-0.0.1/third_party/cpuinfo/test/mock/padcod-10.1.cc +567 -0
  436. knexus-0.0.1/third_party/cpuinfo/test/mock/padcod-10.1.h +970 -0
  437. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-2-xl.cc +798 -0
  438. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-2-xl.h +4188 -0
  439. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-8.cc +851 -0
  440. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-8.h +1294 -0
  441. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-c.cc +598 -0
  442. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-c.h +2103 -0
  443. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-xl.cc +695 -0
  444. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel-xl.h +2120 -0
  445. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel.cc +695 -0
  446. knexus-0.0.1/third_party/cpuinfo/test/mock/pixel.h +2208 -0
  447. knexus-0.0.1/third_party/cpuinfo/test/mock/scaleway.cc +310 -0
  448. knexus-0.0.1/third_party/cpuinfo/test/mock/scaleway.h +196 -0
  449. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-mi-5c.cc +692 -0
  450. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-mi-5c.h +2418 -0
  451. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-2a.cc +640 -0
  452. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-2a.h +1593 -0
  453. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-3.cc +779 -0
  454. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-3.h +3512 -0
  455. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-4.cc +679 -0
  456. knexus-0.0.1/third_party/cpuinfo/test/mock/xiaomi-redmi-note-4.h +3908 -0
  457. knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-c4-dual.cc +692 -0
  458. knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-c4-dual.h +2351 -0
  459. knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-sl.cc +567 -0
  460. knexus-0.0.1/third_party/cpuinfo/test/mock/xperia-sl.h +1423 -0
  461. knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2.cc +698 -0
  462. knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2.h +3054 -0
  463. knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2e.cc +698 -0
  464. knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-2e.h +2755 -0
  465. knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-c.cc +698 -0
  466. knexus-0.0.1/third_party/cpuinfo/test/mock/zenfone-c.h +2566 -0
  467. knexus-0.0.1/third_party/cpuinfo/test/name/android-properties.cc +129 -0
  468. knexus-0.0.1/third_party/cpuinfo/test/name/brand-string.cc +411 -0
  469. knexus-0.0.1/third_party/cpuinfo/test/name/proc-cpuinfo-hardware.cc +482 -0
  470. knexus-0.0.1/third_party/cpuinfo/test/name/ro-arch.cc +45 -0
  471. knexus-0.0.1/third_party/cpuinfo/test/name/ro-board-platform.cc +195 -0
  472. knexus-0.0.1/third_party/cpuinfo/test/name/ro-chipname.cc +118 -0
  473. knexus-0.0.1/third_party/cpuinfo/test/name/ro-mediatek-platform.cc +84 -0
  474. knexus-0.0.1/third_party/cpuinfo/test/name/ro-product-board.cc +279 -0
  475. knexus-0.0.1/third_party/googletest/CMakeLists.txt +36 -0
  476. knexus-0.0.1/third_party/googletest/googlemock/CMakeLists.txt +210 -0
  477. knexus-0.0.1/third_party/googletest/googlemock/cmake/gmock.pc.in +10 -0
  478. knexus-0.0.1/third_party/googletest/googlemock/cmake/gmock_main.pc.in +10 -0
  479. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-actions.h +2404 -0
  480. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-cardinalities.h +159 -0
  481. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-function-mocker.h +519 -0
  482. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-matchers.h +5918 -0
  483. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-more-actions.h +659 -0
  484. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-more-matchers.h +120 -0
  485. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-nice-strict.h +277 -0
  486. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock-spec-builders.h +2146 -0
  487. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/gmock.h +97 -0
  488. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h +7 -0
  489. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-matchers.h +37 -0
  490. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/custom/gmock-port.h +40 -0
  491. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h +484 -0
  492. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/gmock-port.h +140 -0
  493. knexus-0.0.1/third_party/googletest/googlemock/include/gmock/internal/gmock-pp.h +279 -0
  494. knexus-0.0.1/third_party/googletest/googlemock/src/gmock-all.cc +46 -0
  495. knexus-0.0.1/third_party/googletest/googlemock/src/gmock-cardinalities.cc +155 -0
  496. knexus-0.0.1/third_party/googletest/googlemock/src/gmock-internal-utils.cc +258 -0
  497. knexus-0.0.1/third_party/googletest/googlemock/src/gmock-matchers.cc +478 -0
  498. knexus-0.0.1/third_party/googletest/googlemock/src/gmock-spec-builders.cc +792 -0
  499. knexus-0.0.1/third_party/googletest/googlemock/src/gmock.cc +225 -0
  500. knexus-0.0.1/third_party/googletest/googlemock/src/gmock_main.cc +73 -0
  501. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-actions_test.cc +2233 -0
  502. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-cardinalities_test.cc +424 -0
  503. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-function-mocker_test.cc +998 -0
  504. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-internal-utils_test.cc +766 -0
  505. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-arithmetic_test.cc +1699 -0
  506. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-comparisons_test.cc +2523 -0
  507. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-containers_test.cc +3446 -0
  508. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers-misc_test.cc +1882 -0
  509. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-matchers_test.h +192 -0
  510. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-more-actions_test.cc +1617 -0
  511. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-nice-strict_test.cc +541 -0
  512. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-port_test.cc +42 -0
  513. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-pp-string_test.cc +205 -0
  514. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-pp_test.cc +83 -0
  515. knexus-0.0.1/third_party/googletest/googlemock/test/gmock-spec-builders_test.cc +2599 -0
  516. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_all_test.cc +49 -0
  517. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_ex_test.cc +80 -0
  518. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_leak_test_.cc +99 -0
  519. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_link2_test.cc +38 -0
  520. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_link_test.cc +38 -0
  521. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_link_test.h +693 -0
  522. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_output_test_.cc +286 -0
  523. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_stress_test.cc +227 -0
  524. knexus-0.0.1/third_party/googletest/googlemock/test/gmock_test.cc +179 -0
  525. knexus-0.0.1/third_party/googletest/googletest/CMakeLists.txt +327 -0
  526. knexus-0.0.1/third_party/googletest/googletest/cmake/Config.cmake.in +13 -0
  527. knexus-0.0.1/third_party/googletest/googletest/cmake/gtest.pc.in +9 -0
  528. knexus-0.0.1/third_party/googletest/googletest/cmake/gtest_main.pc.in +10 -0
  529. knexus-0.0.1/third_party/googletest/googletest/cmake/internal_utils.cmake +334 -0
  530. knexus-0.0.1/third_party/googletest/googletest/cmake/libgtest.la.in +21 -0
  531. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-assertion-result.h +244 -0
  532. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-death-test.h +345 -0
  533. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-matchers.h +952 -0
  534. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-message.h +251 -0
  535. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-param-test.h +602 -0
  536. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-printers.h +1242 -0
  537. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-spi.h +250 -0
  538. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-test-part.h +192 -0
  539. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest-typed-test.h +331 -0
  540. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest.h +2338 -0
  541. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h +279 -0
  542. knexus-0.0.1/third_party/googletest/googletest/include/gtest/gtest_prod.h +60 -0
  543. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/custom/gtest-port.h +37 -0
  544. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/custom/gtest-printers.h +42 -0
  545. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/custom/gtest.h +37 -0
  546. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-death-test-internal.h +306 -0
  547. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-filepath.h +233 -0
  548. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h +1517 -0
  549. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-param-util.h +1064 -0
  550. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-port-arch.h +124 -0
  551. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-port.h +2374 -0
  552. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-string.h +178 -0
  553. knexus-0.0.1/third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h +220 -0
  554. knexus-0.0.1/third_party/googletest/googletest/samples/prime_tables.h +125 -0
  555. knexus-0.0.1/third_party/googletest/googletest/samples/sample1.cc +66 -0
  556. knexus-0.0.1/third_party/googletest/googletest/samples/sample1.h +41 -0
  557. knexus-0.0.1/third_party/googletest/googletest/samples/sample10_unittest.cc +138 -0
  558. knexus-0.0.1/third_party/googletest/googletest/samples/sample1_unittest.cc +148 -0
  559. knexus-0.0.1/third_party/googletest/googletest/samples/sample2.cc +54 -0
  560. knexus-0.0.1/third_party/googletest/googletest/samples/sample2.h +79 -0
  561. knexus-0.0.1/third_party/googletest/googletest/samples/sample2_unittest.cc +107 -0
  562. knexus-0.0.1/third_party/googletest/googletest/samples/sample3-inl.h +171 -0
  563. knexus-0.0.1/third_party/googletest/googletest/samples/sample3_unittest.cc +146 -0
  564. knexus-0.0.1/third_party/googletest/googletest/samples/sample4.cc +50 -0
  565. knexus-0.0.1/third_party/googletest/googletest/samples/sample4.h +53 -0
  566. knexus-0.0.1/third_party/googletest/googletest/samples/sample4_unittest.cc +53 -0
  567. knexus-0.0.1/third_party/googletest/googletest/samples/sample5_unittest.cc +189 -0
  568. knexus-0.0.1/third_party/googletest/googletest/samples/sample6_unittest.cc +214 -0
  569. knexus-0.0.1/third_party/googletest/googletest/samples/sample7_unittest.cc +113 -0
  570. knexus-0.0.1/third_party/googletest/googletest/samples/sample8_unittest.cc +154 -0
  571. knexus-0.0.1/third_party/googletest/googletest/samples/sample9_unittest.cc +148 -0
  572. knexus-0.0.1/third_party/googletest/googletest/src/gtest-all.cc +49 -0
  573. knexus-0.0.1/third_party/googletest/googletest/src/gtest-assertion-result.cc +77 -0
  574. knexus-0.0.1/third_party/googletest/googletest/src/gtest-death-test.cc +1587 -0
  575. knexus-0.0.1/third_party/googletest/googletest/src/gtest-filepath.cc +414 -0
  576. knexus-0.0.1/third_party/googletest/googletest/src/gtest-internal-inl.h +1234 -0
  577. knexus-0.0.1/third_party/googletest/googletest/src/gtest-matchers.cc +98 -0
  578. knexus-0.0.1/third_party/googletest/googletest/src/gtest-port.cc +1434 -0
  579. knexus-0.0.1/third_party/googletest/googletest/src/gtest-printers.cc +555 -0
  580. knexus-0.0.1/third_party/googletest/googletest/src/gtest-test-part.cc +106 -0
  581. knexus-0.0.1/third_party/googletest/googletest/src/gtest-typed-test.cc +108 -0
  582. knexus-0.0.1/third_party/googletest/googletest/src/gtest.cc +7104 -0
  583. knexus-0.0.1/third_party/googletest/googletest/src/gtest_main.cc +66 -0
  584. knexus-0.0.1/third_party/googletest/googletest/test/googletest-break-on-failure-unittest_.cc +83 -0
  585. knexus-0.0.1/third_party/googletest/googletest/test/googletest-catch-exceptions-test_.cc +289 -0
  586. knexus-0.0.1/third_party/googletest/googletest/test/googletest-color-test_.cc +60 -0
  587. knexus-0.0.1/third_party/googletest/googletest/test/googletest-death-test-test.cc +1512 -0
  588. knexus-0.0.1/third_party/googletest/googletest/test/googletest-death-test_ex_test.cc +91 -0
  589. knexus-0.0.1/third_party/googletest/googletest/test/googletest-env-var-test_.cc +130 -0
  590. knexus-0.0.1/third_party/googletest/googletest/test/googletest-fail-if-no-test-linked-test-with-disabled-test_.cc +38 -0
  591. knexus-0.0.1/third_party/googletest/googletest/test/googletest-fail-if-no-test-linked-test-with-enabled-test_.cc +38 -0
  592. knexus-0.0.1/third_party/googletest/googletest/test/googletest-failfast-unittest_.cc +166 -0
  593. knexus-0.0.1/third_party/googletest/googletest/test/googletest-filepath-test.cc +671 -0
  594. knexus-0.0.1/third_party/googletest/googletest/test/googletest-filter-unittest_.cc +106 -0
  595. knexus-0.0.1/third_party/googletest/googletest/test/googletest-global-environment-unittest_.cc +58 -0
  596. knexus-0.0.1/third_party/googletest/googletest/test/googletest-list-tests-unittest_.cc +143 -0
  597. knexus-0.0.1/third_party/googletest/googletest/test/googletest-listener-test.cc +509 -0
  598. knexus-0.0.1/third_party/googletest/googletest/test/googletest-message-test.cc +184 -0
  599. knexus-0.0.1/third_party/googletest/googletest/test/googletest-options-test.cc +225 -0
  600. knexus-0.0.1/third_party/googletest/googletest/test/googletest-output-test_.cc +1058 -0
  601. knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-invalid-name1-test_.cc +46 -0
  602. knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-invalid-name2-test_.cc +52 -0
  603. knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-test.cc +1243 -0
  604. knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test-test.h +49 -0
  605. knexus-0.0.1/third_party/googletest/googletest/test/googletest-param-test2-test.cc +58 -0
  606. knexus-0.0.1/third_party/googletest/googletest/test/googletest-port-test.cc +1301 -0
  607. knexus-0.0.1/third_party/googletest/googletest/test/googletest-printers-test.cc +2112 -0
  608. knexus-0.0.1/third_party/googletest/googletest/test/googletest-setuptestsuite-test_.cc +44 -0
  609. knexus-0.0.1/third_party/googletest/googletest/test/googletest-shuffle-test_.cc +99 -0
  610. knexus-0.0.1/third_party/googletest/googletest/test/googletest-test-part-test.cc +220 -0
  611. knexus-0.0.1/third_party/googletest/googletest/test/googletest-throw-on-failure-test_.cc +71 -0
  612. knexus-0.0.1/third_party/googletest/googletest/test/googletest-uninitialized-test_.cc +39 -0
  613. knexus-0.0.1/third_party/googletest/googletest/test/gtest-typed-test2_test.cc +39 -0
  614. knexus-0.0.1/third_party/googletest/googletest/test/gtest-typed-test_test.cc +423 -0
  615. knexus-0.0.1/third_party/googletest/googletest/test/gtest-typed-test_test.h +57 -0
  616. knexus-0.0.1/third_party/googletest/googletest/test/gtest-unittest-api_test.cc +328 -0
  617. knexus-0.0.1/third_party/googletest/googletest/test/gtest_all_test.cc +46 -0
  618. knexus-0.0.1/third_party/googletest/googletest/test/gtest_assert_by_exception_test.cc +112 -0
  619. knexus-0.0.1/third_party/googletest/googletest/test/gtest_dirs_test.cc +101 -0
  620. knexus-0.0.1/third_party/googletest/googletest/test/gtest_environment_test.cc +187 -0
  621. knexus-0.0.1/third_party/googletest/googletest/test/gtest_help_test_.cc +44 -0
  622. knexus-0.0.1/third_party/googletest/googletest/test/gtest_list_output_unittest_.cc +77 -0
  623. knexus-0.0.1/third_party/googletest/googletest/test/gtest_main_unittest.cc +42 -0
  624. knexus-0.0.1/third_party/googletest/googletest/test/gtest_no_test_unittest.cc +54 -0
  625. knexus-0.0.1/third_party/googletest/googletest/test/gtest_pred_impl_unittest.cc +2070 -0
  626. knexus-0.0.1/third_party/googletest/googletest/test/gtest_premature_exit_test.cc +128 -0
  627. knexus-0.0.1/third_party/googletest/googletest/test/gtest_prod_test.cc +56 -0
  628. knexus-0.0.1/third_party/googletest/googletest/test/gtest_repeat_test.cc +220 -0
  629. knexus-0.0.1/third_party/googletest/googletest/test/gtest_skip_in_environment_setup_test.cc +50 -0
  630. knexus-0.0.1/third_party/googletest/googletest/test/gtest_skip_test.cc +51 -0
  631. knexus-0.0.1/third_party/googletest/googletest/test/gtest_sole_header_test.cc +54 -0
  632. knexus-0.0.1/third_party/googletest/googletest/test/gtest_stress_test.cc +245 -0
  633. knexus-0.0.1/third_party/googletest/googletest/test/gtest_test_macro_stack_footprint_test.cc +89 -0
  634. knexus-0.0.1/third_party/googletest/googletest/test/gtest_testbridge_test_.cc +42 -0
  635. knexus-0.0.1/third_party/googletest/googletest/test/gtest_throw_on_failure_ex_test.cc +90 -0
  636. knexus-0.0.1/third_party/googletest/googletest/test/gtest_unittest.cc +7826 -0
  637. knexus-0.0.1/third_party/googletest/googletest/test/gtest_xml_outfile1_test_.cc +43 -0
  638. knexus-0.0.1/third_party/googletest/googletest/test/gtest_xml_outfile2_test_.cc +77 -0
  639. knexus-0.0.1/third_party/googletest/googletest/test/gtest_xml_output_unittest_.cc +217 -0
  640. knexus-0.0.1/third_party/googletest/googletest/test/production.cc +35 -0
  641. knexus-0.0.1/third_party/googletest/googletest/test/production.h +55 -0
  642. knexus-0.0.1/third_party/json/CMakeLists.txt +225 -0
  643. knexus-0.0.1/third_party/json/cmake/ci.cmake +724 -0
  644. knexus-0.0.1/third_party/json/cmake/clang_flags.cmake +20 -0
  645. knexus-0.0.1/third_party/json/cmake/config.cmake.in +15 -0
  646. knexus-0.0.1/third_party/json/cmake/download_test_data.cmake +56 -0
  647. knexus-0.0.1/third_party/json/cmake/gcc_flags.cmake +363 -0
  648. knexus-0.0.1/third_party/json/cmake/nlohmann_jsonConfigVersion.cmake.in +20 -0
  649. knexus-0.0.1/third_party/json/cmake/pkg-config.pc.in +7 -0
  650. knexus-0.0.1/third_party/json/cmake/scripts/gen_bazel_build_file.cmake +24 -0
  651. knexus-0.0.1/third_party/json/cmake/test.cmake +273 -0
  652. knexus-0.0.1/third_party/json/docs/docset/docset.json +10 -0
  653. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/README.cpp +39 -0
  654. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/accept__string.cpp +26 -0
  655. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/array.cpp +19 -0
  656. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/array_t.cpp +10 -0
  657. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__json_pointer.cpp +103 -0
  658. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__json_pointer_const.cpp +80 -0
  659. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__keytype.c++17.cpp +49 -0
  660. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__keytype_const.c++17.cpp +43 -0
  661. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__object_t_key_type.cpp +47 -0
  662. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__object_t_key_type_const.cpp +41 -0
  663. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__size_type.cpp +42 -0
  664. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/at__size_type_const.cpp +36 -0
  665. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/back.cpp +38 -0
  666. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__CompatibleType.cpp +214 -0
  667. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__InputIt_InputIt.cpp +32 -0
  668. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__basic_json.cpp +17 -0
  669. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__copyassignment.cpp +18 -0
  670. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__list_init_t.cpp +21 -0
  671. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__moveconstructor.cpp +17 -0
  672. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__nullptr_t.cpp +16 -0
  673. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__size_type_basic_json.cpp +18 -0
  674. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/basic_json__value_t.cpp +25 -0
  675. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/begin.cpp +16 -0
  676. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/binary.cpp +16 -0
  677. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/binary_t.cpp +10 -0
  678. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/boolean_t.cpp +10 -0
  679. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__byte_container_with_subtype.cpp +23 -0
  680. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__clear_subtype.cpp +21 -0
  681. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__has_subtype.cpp +19 -0
  682. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__set_subtype.cpp +22 -0
  683. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/byte_container_with_subtype__subtype.cpp +22 -0
  684. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/cbegin.cpp +16 -0
  685. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/cbor_tag_handler_t.cpp +28 -0
  686. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/cend.cpp +19 -0
  687. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/clear.cpp +34 -0
  688. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/contains__json_pointer.cpp +43 -0
  689. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/contains__keytype.c++17.cpp +20 -0
  690. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/contains__object_t_key_type.cpp +18 -0
  691. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/count__keytype.c++17.cpp +20 -0
  692. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/count__object_t_key_type.cpp +18 -0
  693. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/crbegin.cpp +16 -0
  694. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/crend.cpp +19 -0
  695. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/default_object_comparator_t.cpp +11 -0
  696. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostic_positions.cpp +51 -0
  697. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostic_positions_exception.cpp +30 -0
  698. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostics_extended.cpp +22 -0
  699. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostics_extended_positions.cpp +31 -0
  700. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diagnostics_standard.cpp +20 -0
  701. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/diff.cpp +37 -0
  702. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/dump.cpp +48 -0
  703. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/emplace.cpp +31 -0
  704. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/emplace_back.cpp +24 -0
  705. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/empty.cpp +30 -0
  706. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/end.cpp +19 -0
  707. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__IteratorType.cpp +31 -0
  708. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__IteratorType_IteratorType.cpp +31 -0
  709. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__keytype.c++17.cpp +20 -0
  710. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__object_t_key_type.cpp +18 -0
  711. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/erase__size_type.cpp +16 -0
  712. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/error_handler_t.cpp +24 -0
  713. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/exception.cpp +20 -0
  714. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/find__keytype.c++17.cpp +22 -0
  715. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/find__object_t_key_type.cpp +20 -0
  716. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/flatten.cpp +32 -0
  717. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_bjdata.cpp +20 -0
  718. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_bson.cpp +21 -0
  719. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_cbor.cpp +20 -0
  720. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_json__default_constructible.cpp +37 -0
  721. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_json__non_default_constructible.cpp +53 -0
  722. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_msgpack.cpp +20 -0
  723. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/from_ubjson.cpp +20 -0
  724. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/front.cpp +29 -0
  725. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get__PointerType.cpp +21 -0
  726. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get__ValueType_const.cpp +50 -0
  727. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_allocator.cpp +18 -0
  728. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_binary.cpp +16 -0
  729. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_ptr.cpp +21 -0
  730. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_ref.cpp +27 -0
  731. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/get_to.cpp +59 -0
  732. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert.cpp +17 -0
  733. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__count.cpp +17 -0
  734. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__ilist.cpp +17 -0
  735. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__range.cpp +20 -0
  736. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/insert__range_object.cpp +21 -0
  737. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/invalid_iterator.cpp +21 -0
  738. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_array.cpp +30 -0
  739. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_binary.cpp +30 -0
  740. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_boolean.cpp +30 -0
  741. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_discarded.cpp +30 -0
  742. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_null.cpp +30 -0
  743. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number.cpp +30 -0
  744. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number_float.cpp +30 -0
  745. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number_integer.cpp +30 -0
  746. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_number_unsigned.cpp +30 -0
  747. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_object.cpp +30 -0
  748. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_primitive.cpp +30 -0
  749. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_string.cpp +30 -0
  750. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/is_structured.cpp +30 -0
  751. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/items.cpp +23 -0
  752. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_base_class_t.cpp +88 -0
  753. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_lines.cpp +22 -0
  754. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer.cpp +47 -0
  755. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__back.cpp +15 -0
  756. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__empty.cpp +20 -0
  757. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__equal.cpp +19 -0
  758. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__equal_stringtype.cpp +33 -0
  759. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__notequal.cpp +19 -0
  760. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator__notequal_stringtype.cpp +32 -0
  761. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator_add.cpp +23 -0
  762. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator_add_binary.cpp +19 -0
  763. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__operator_string_t.cpp +19 -0
  764. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__parent_pointer.cpp +18 -0
  765. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__pop_back.cpp +21 -0
  766. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__push_back.cpp +21 -0
  767. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__string_t.cpp +13 -0
  768. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/json_pointer__to_string.cpp +34 -0
  769. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/max_size.cpp +25 -0
  770. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/merge_patch.cpp +41 -0
  771. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/meta.cpp +11 -0
  772. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_derived_type_intrusive_macro.cpp +37 -0
  773. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_explicit.cpp +62 -0
  774. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_macro.cpp +48 -0
  775. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_only_serialize_explicit.cpp +39 -0
  776. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_only_serialize_macro.cpp +33 -0
  777. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_with_default_explicit.cpp +57 -0
  778. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_intrusive_with_default_macro.cpp +42 -0
  779. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_explicit.cpp +55 -0
  780. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_macro.cpp +41 -0
  781. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_only_serialize_explicit.cpp +32 -0
  782. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_only_serialize_macro.cpp +26 -0
  783. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_default_explicit.cpp +55 -0
  784. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_define_type_non_intrusive_with_default_macro.cpp +40 -0
  785. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_namespace.cpp +14 -0
  786. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_namespace_begin.c++17.cpp +33 -0
  787. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_namespace_no_version.cpp +13 -0
  788. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_serialize_enum.cpp +59 -0
  789. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_serialize_enum_2.cpp +33 -0
  790. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/nlohmann_json_version.cpp +12 -0
  791. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/number_float_t.cpp +10 -0
  792. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/number_integer_t.cpp +10 -0
  793. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/number_unsigned_t.cpp +10 -0
  794. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/object.cpp +28 -0
  795. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/object_comparator_t.cpp +11 -0
  796. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/object_t.cpp +10 -0
  797. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__ValueType.cpp +60 -0
  798. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__equal.cpp +24 -0
  799. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__equal__nullptr_t.cpp +22 -0
  800. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__equal__specializations.cpp +16 -0
  801. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__greater.cpp +24 -0
  802. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__greaterequal.cpp +24 -0
  803. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__less.cpp +24 -0
  804. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__lessequal.cpp +24 -0
  805. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__notequal.cpp +24 -0
  806. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__notequal__nullptr_t.cpp +22 -0
  807. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator__value_t.cpp +38 -0
  808. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__json_pointer.cpp +49 -0
  809. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__json_pointer_const.cpp +25 -0
  810. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__keytype.c++17.cpp +34 -0
  811. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__keytype_const.c++17.cpp +18 -0
  812. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__object_t_key_type.cpp +32 -0
  813. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__object_t_key_type_const.cpp +16 -0
  814. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__size_type.cpp +25 -0
  815. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_array__size_type_const.cpp +13 -0
  816. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_deserialize.cpp +26 -0
  817. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_literal_json.cpp +13 -0
  818. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_literal_json_pointer.cpp +14 -0
  819. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_ltlt__basic_json.cpp +21 -0
  820. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_ltlt__json_pointer.cpp +13 -0
  821. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_spaceship__const_reference.c++20.cpp +40 -0
  822. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/operator_spaceship__scalartype.c++20.cpp +40 -0
  823. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/ordered_json.cpp +14 -0
  824. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/ordered_map.cpp +43 -0
  825. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/other_error.cpp +30 -0
  826. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/out_of_range.cpp +20 -0
  827. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__allow_exceptions.cpp +36 -0
  828. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__array__parser_callback_t.cpp +30 -0
  829. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__contiguouscontainer__parser_callback_t.cpp +15 -0
  830. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__istream__parser_callback_t.cpp +57 -0
  831. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__iterator_pair.cpp +15 -0
  832. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__pointers.cpp +15 -0
  833. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse__string__parser_callback_t.cpp +48 -0
  834. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/parse_error.cpp +20 -0
  835. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/patch.cpp +33 -0
  836. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/patch_inplace.cpp +35 -0
  837. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/push_back.cpp +25 -0
  838. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/push_back__initializer_list.cpp +27 -0
  839. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/push_back__object_t__value.cpp +25 -0
  840. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/rbegin.cpp +16 -0
  841. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/rend.cpp +19 -0
  842. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/sax_parse.cpp +131 -0
  843. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/sax_parse__binary.cpp +114 -0
  844. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/size.cpp +29 -0
  845. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/std_hash.cpp +19 -0
  846. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/std_swap.cpp +19 -0
  847. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/string_t.cpp +10 -0
  848. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__array_t.cpp +20 -0
  849. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__binary_t.cpp +20 -0
  850. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__object_t.cpp +20 -0
  851. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__reference.cpp +18 -0
  852. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/swap__string_t.cpp +20 -0
  853. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_bjdata.cpp +64 -0
  854. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_bson.cpp +22 -0
  855. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_cbor.cpp +22 -0
  856. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_json.cpp +32 -0
  857. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_msgpack.cpp +22 -0
  858. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_string.cpp +20 -0
  859. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/to_ubjson.cpp +64 -0
  860. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/type.cpp +28 -0
  861. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/type_error.cpp +20 -0
  862. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/type_name.cpp +27 -0
  863. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/unflatten.cpp +26 -0
  864. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/update.cpp +24 -0
  865. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/update__range.cpp +24 -0
  866. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__json_ptr.cpp +31 -0
  867. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__keytype.c++17.cpp +32 -0
  868. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__object_t_key_type.cpp +30 -0
  869. knexus-0.0.1/third_party/json/docs/mkdocs/docs/examples/value__return_type.cpp +14 -0
  870. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/bazel/example.cpp +10 -0
  871. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cget/CMakeLists.txt +7 -0
  872. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cget/example.cpp +10 -0
  873. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/conan/CMakeLists.txt +7 -0
  874. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/conan/example.cpp +10 -0
  875. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/conda/example.cpp +10 -0
  876. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cpm/CMakeLists.txt +9 -0
  877. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/cpm/example.cpp +10 -0
  878. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/example.cpp +10 -0
  879. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/homebrew/CMakeLists.txt +7 -0
  880. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/homebrew/example.cpp +10 -0
  881. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/hunter/CMakeLists.txt +15 -0
  882. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/hunter/example.cpp +10 -0
  883. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/macports/CMakeLists.txt +7 -0
  884. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/macports/example.cpp +10 -0
  885. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/meson/example.cpp +10 -0
  886. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/spack/CMakeLists.txt +7 -0
  887. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/spack/example.cpp +10 -0
  888. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/vcpkg/CMakeLists.txt +7 -0
  889. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/vcpkg/example.cpp +10 -0
  890. knexus-0.0.1/third_party/json/docs/mkdocs/docs/integration/xmake/example.cpp +10 -0
  891. knexus-0.0.1/third_party/json/include/nlohmann/adl_serializer.hpp +55 -0
  892. knexus-0.0.1/third_party/json/include/nlohmann/byte_container_with_subtype.hpp +103 -0
  893. knexus-0.0.1/third_party/json/include/nlohmann/detail/abi_macros.hpp +111 -0
  894. knexus-0.0.1/third_party/json/include/nlohmann/detail/conversions/from_json.hpp +583 -0
  895. knexus-0.0.1/third_party/json/include/nlohmann/detail/conversions/to_chars.hpp +1118 -0
  896. knexus-0.0.1/third_party/json/include/nlohmann/detail/conversions/to_json.hpp +486 -0
  897. knexus-0.0.1/third_party/json/include/nlohmann/detail/exceptions.hpp +291 -0
  898. knexus-0.0.1/third_party/json/include/nlohmann/detail/hash.hpp +129 -0
  899. knexus-0.0.1/third_party/json/include/nlohmann/detail/input/binary_reader.hpp +3081 -0
  900. knexus-0.0.1/third_party/json/include/nlohmann/detail/input/input_adapters.hpp +549 -0
  901. knexus-0.0.1/third_party/json/include/nlohmann/detail/input/json_sax.hpp +986 -0
  902. knexus-0.0.1/third_party/json/include/nlohmann/detail/input/lexer.hpp +1643 -0
  903. knexus-0.0.1/third_party/json/include/nlohmann/detail/input/parser.hpp +519 -0
  904. knexus-0.0.1/third_party/json/include/nlohmann/detail/input/position_t.hpp +37 -0
  905. knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/internal_iterator.hpp +35 -0
  906. knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/iter_impl.hpp +760 -0
  907. knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/iteration_proxy.hpp +235 -0
  908. knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/iterator_traits.hpp +61 -0
  909. knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/json_reverse_iterator.hpp +130 -0
  910. knexus-0.0.1/third_party/json/include/nlohmann/detail/iterators/primitive_iterator.hpp +132 -0
  911. knexus-0.0.1/third_party/json/include/nlohmann/detail/json_custom_base_class.hpp +39 -0
  912. knexus-0.0.1/third_party/json/include/nlohmann/detail/json_pointer.hpp +988 -0
  913. knexus-0.0.1/third_party/json/include/nlohmann/detail/json_ref.hpp +78 -0
  914. knexus-0.0.1/third_party/json/include/nlohmann/detail/macro_scope.hpp +601 -0
  915. knexus-0.0.1/third_party/json/include/nlohmann/detail/macro_unscope.hpp +47 -0
  916. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/call_std/begin.hpp +17 -0
  917. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/call_std/end.hpp +17 -0
  918. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/cpp_future.hpp +171 -0
  919. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/detected.hpp +70 -0
  920. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/identity_tag.hpp +21 -0
  921. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/is_sax.hpp +159 -0
  922. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/std_fs.hpp +29 -0
  923. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/type_traits.hpp +821 -0
  924. knexus-0.0.1/third_party/json/include/nlohmann/detail/meta/void_t.hpp +24 -0
  925. knexus-0.0.1/third_party/json/include/nlohmann/detail/output/binary_writer.hpp +1863 -0
  926. knexus-0.0.1/third_party/json/include/nlohmann/detail/output/output_adapters.hpp +147 -0
  927. knexus-0.0.1/third_party/json/include/nlohmann/detail/output/serializer.hpp +988 -0
  928. knexus-0.0.1/third_party/json/include/nlohmann/detail/string_concat.hpp +146 -0
  929. knexus-0.0.1/third_party/json/include/nlohmann/detail/string_escape.hpp +72 -0
  930. knexus-0.0.1/third_party/json/include/nlohmann/detail/string_utils.hpp +37 -0
  931. knexus-0.0.1/third_party/json/include/nlohmann/detail/value_t.hpp +118 -0
  932. knexus-0.0.1/third_party/json/include/nlohmann/json.hpp +5309 -0
  933. knexus-0.0.1/third_party/json/include/nlohmann/json_fwd.hpp +75 -0
  934. knexus-0.0.1/third_party/json/include/nlohmann/ordered_map.hpp +359 -0
  935. knexus-0.0.1/third_party/json/include/nlohmann/thirdparty/hedley/hedley.hpp +2045 -0
  936. knexus-0.0.1/third_party/json/include/nlohmann/thirdparty/hedley/hedley_undef.hpp +158 -0
  937. knexus-0.0.1/third_party/json/single_include/nlohmann/json.hpp +25601 -0
  938. knexus-0.0.1/third_party/json/single_include/nlohmann/json_fwd.hpp +187 -0
  939. knexus-0.0.1/third_party/json/tests/CMakeLists.txt +197 -0
  940. knexus-0.0.1/third_party/json/tests/abi/CMakeLists.txt +30 -0
  941. knexus-0.0.1/third_party/json/tests/abi/config/CMakeLists.txt +22 -0
  942. knexus-0.0.1/third_party/json/tests/abi/config/config.hpp +35 -0
  943. knexus-0.0.1/third_party/json/tests/abi/config/custom.cpp +33 -0
  944. knexus-0.0.1/third_party/json/tests/abi/config/default.cpp +45 -0
  945. knexus-0.0.1/third_party/json/tests/abi/config/noversion.cpp +44 -0
  946. knexus-0.0.1/third_party/json/tests/abi/diag/CMakeLists.txt +19 -0
  947. knexus-0.0.1/third_party/json/tests/abi/diag/diag.cpp +29 -0
  948. knexus-0.0.1/third_party/json/tests/abi/diag/diag.hpp +20 -0
  949. knexus-0.0.1/third_party/json/tests/abi/diag/diag_off.cpp +30 -0
  950. knexus-0.0.1/third_party/json/tests/abi/diag/diag_on.cpp +30 -0
  951. knexus-0.0.1/third_party/json/tests/abi/include/nlohmann/json_v3_10_5.hpp +22091 -0
  952. knexus-0.0.1/third_party/json/tests/abi/inline_ns/CMakeLists.txt +12 -0
  953. knexus-0.0.1/third_party/json/tests/abi/inline_ns/use_current.cpp +36 -0
  954. knexus-0.0.1/third_party/json/tests/abi/inline_ns/use_v3_10_5.cpp +22 -0
  955. knexus-0.0.1/third_party/json/tests/abi/main.cpp +10 -0
  956. knexus-0.0.1/third_party/json/tests/benchmarks/CMakeLists.txt +34 -0
  957. knexus-0.0.1/third_party/json/tests/benchmarks/src/benchmarks.cpp +217 -0
  958. knexus-0.0.1/third_party/json/tests/cmake_add_subdirectory/CMakeLists.txt +18 -0
  959. knexus-0.0.1/third_party/json/tests/cmake_add_subdirectory/project/CMakeLists.txt +20 -0
  960. knexus-0.0.1/third_party/json/tests/cmake_add_subdirectory/project/main.cpp +16 -0
  961. knexus-0.0.1/third_party/json/tests/cmake_fetch_content/CMakeLists.txt +20 -0
  962. knexus-0.0.1/third_party/json/tests/cmake_fetch_content/project/CMakeLists.txt +20 -0
  963. knexus-0.0.1/third_party/json/tests/cmake_fetch_content/project/main.cpp +16 -0
  964. knexus-0.0.1/third_party/json/tests/cmake_fetch_content2/CMakeLists.txt +20 -0
  965. knexus-0.0.1/third_party/json/tests/cmake_fetch_content2/project/CMakeLists.txt +15 -0
  966. knexus-0.0.1/third_party/json/tests/cmake_fetch_content2/project/main.cpp +16 -0
  967. knexus-0.0.1/third_party/json/tests/cmake_import/CMakeLists.txt +19 -0
  968. knexus-0.0.1/third_party/json/tests/cmake_import/project/CMakeLists.txt +12 -0
  969. knexus-0.0.1/third_party/json/tests/cmake_import/project/main.cpp +16 -0
  970. knexus-0.0.1/third_party/json/tests/cmake_import_minver/CMakeLists.txt +19 -0
  971. knexus-0.0.1/third_party/json/tests/cmake_import_minver/project/CMakeLists.txt +8 -0
  972. knexus-0.0.1/third_party/json/tests/cmake_import_minver/project/main.cpp +16 -0
  973. knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/CMakeLists.txt +18 -0
  974. knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Bar.cpp +11 -0
  975. knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Bar.hpp +12 -0
  976. knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/CMakeLists.txt +21 -0
  977. knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Foo.cpp +11 -0
  978. knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/Foo.hpp +12 -0
  979. knexus-0.0.1/third_party/json/tests/cmake_target_include_directories/project/main.cpp +16 -0
  980. knexus-0.0.1/third_party/json/tests/cuda_example/CMakeLists.txt +10 -0
  981. knexus-0.0.1/third_party/json/tests/module_cpp20/CMakeLists.txt +12 -0
  982. knexus-0.0.1/third_party/json/tests/module_cpp20/json.cpp +17 -0
  983. knexus-0.0.1/third_party/json/tests/module_cpp20/main.cpp +6 -0
  984. knexus-0.0.1/third_party/json/tests/src/fuzzer-driver_afl.cpp +39 -0
  985. knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_bjdata.cpp +85 -0
  986. knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_bson.cpp +74 -0
  987. knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_cbor.cpp +69 -0
  988. knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_json.cpp +70 -0
  989. knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_msgpack.cpp +69 -0
  990. knexus-0.0.1/third_party/json/tests/src/fuzzer-parse_ubjson.cpp +85 -0
  991. knexus-0.0.1/third_party/json/tests/src/make_test_data_available.hpp +31 -0
  992. knexus-0.0.1/third_party/json/tests/src/test_utils.hpp +33 -0
  993. knexus-0.0.1/third_party/json/tests/src/unit-32bit.cpp +134 -0
  994. knexus-0.0.1/third_party/json/tests/src/unit-algorithms.cpp +365 -0
  995. knexus-0.0.1/third_party/json/tests/src/unit-allocator.cpp +263 -0
  996. knexus-0.0.1/third_party/json/tests/src/unit-alt-string.cpp +370 -0
  997. knexus-0.0.1/third_party/json/tests/src/unit-assert_macro.cpp +48 -0
  998. knexus-0.0.1/third_party/json/tests/src/unit-binary_formats.cpp +211 -0
  999. knexus-0.0.1/third_party/json/tests/src/unit-bjdata.cpp +3836 -0
  1000. knexus-0.0.1/third_party/json/tests/src/unit-bson.cpp +1296 -0
  1001. knexus-0.0.1/third_party/json/tests/src/unit-byte_container_with_subtype.cpp +76 -0
  1002. knexus-0.0.1/third_party/json/tests/src/unit-capacity.cpp +542 -0
  1003. knexus-0.0.1/third_party/json/tests/src/unit-cbor.cpp +2704 -0
  1004. knexus-0.0.1/third_party/json/tests/src/unit-class_const_iterator.cpp +393 -0
  1005. knexus-0.0.1/third_party/json/tests/src/unit-class_iterator.cpp +468 -0
  1006. knexus-0.0.1/third_party/json/tests/src/unit-class_lexer.cpp +226 -0
  1007. knexus-0.0.1/third_party/json/tests/src/unit-class_parser.cpp +1691 -0
  1008. knexus-0.0.1/third_party/json/tests/src/unit-class_parser_diagnostic_positions.cpp +1957 -0
  1009. knexus-0.0.1/third_party/json/tests/src/unit-comparison.cpp +596 -0
  1010. knexus-0.0.1/third_party/json/tests/src/unit-concepts.cpp +149 -0
  1011. knexus-0.0.1/third_party/json/tests/src/unit-constructor1.cpp +1581 -0
  1012. knexus-0.0.1/third_party/json/tests/src/unit-constructor2.cpp +186 -0
  1013. knexus-0.0.1/third_party/json/tests/src/unit-convenience.cpp +205 -0
  1014. knexus-0.0.1/third_party/json/tests/src/unit-conversions.cpp +1753 -0
  1015. knexus-0.0.1/third_party/json/tests/src/unit-custom-base-class.cpp +335 -0
  1016. knexus-0.0.1/third_party/json/tests/src/unit-deserialization.cpp +1192 -0
  1017. knexus-0.0.1/third_party/json/tests/src/unit-diagnostic-positions-only.cpp +44 -0
  1018. knexus-0.0.1/third_party/json/tests/src/unit-diagnostic-positions.cpp +40 -0
  1019. knexus-0.0.1/third_party/json/tests/src/unit-diagnostics.cpp +265 -0
  1020. knexus-0.0.1/third_party/json/tests/src/unit-disabled_exceptions.cpp +51 -0
  1021. knexus-0.0.1/third_party/json/tests/src/unit-element_access1.cpp +880 -0
  1022. knexus-0.0.1/third_party/json/tests/src/unit-element_access2.cpp +1792 -0
  1023. knexus-0.0.1/third_party/json/tests/src/unit-hash.cpp +113 -0
  1024. knexus-0.0.1/third_party/json/tests/src/unit-inspection.cpp +459 -0
  1025. knexus-0.0.1/third_party/json/tests/src/unit-items.cpp +1433 -0
  1026. knexus-0.0.1/third_party/json/tests/src/unit-iterators1.cpp +1630 -0
  1027. knexus-0.0.1/third_party/json/tests/src/unit-iterators2.cpp +972 -0
  1028. knexus-0.0.1/third_party/json/tests/src/unit-iterators3.cpp +35 -0
  1029. knexus-0.0.1/third_party/json/tests/src/unit-json_patch.cpp +1336 -0
  1030. knexus-0.0.1/third_party/json/tests/src/unit-json_pointer.cpp +791 -0
  1031. knexus-0.0.1/third_party/json/tests/src/unit-large_json.cpp +29 -0
  1032. knexus-0.0.1/third_party/json/tests/src/unit-locale-cpp.cpp +166 -0
  1033. knexus-0.0.1/third_party/json/tests/src/unit-merge_patch.cpp +244 -0
  1034. knexus-0.0.1/third_party/json/tests/src/unit-meta.cpp +36 -0
  1035. knexus-0.0.1/third_party/json/tests/src/unit-modifiers.cpp +952 -0
  1036. knexus-0.0.1/third_party/json/tests/src/unit-msgpack.cpp +1959 -0
  1037. knexus-0.0.1/third_party/json/tests/src/unit-no-mem-leak-on-adl-serialize.cpp +86 -0
  1038. knexus-0.0.1/third_party/json/tests/src/unit-noexcept.cpp +83 -0
  1039. knexus-0.0.1/third_party/json/tests/src/unit-ordered_json.cpp +71 -0
  1040. knexus-0.0.1/third_party/json/tests/src/unit-ordered_map.cpp +310 -0
  1041. knexus-0.0.1/third_party/json/tests/src/unit-pointer_access.cpp +479 -0
  1042. knexus-0.0.1/third_party/json/tests/src/unit-readme.cpp +304 -0
  1043. knexus-0.0.1/third_party/json/tests/src/unit-reference_access.cpp +247 -0
  1044. knexus-0.0.1/third_party/json/tests/src/unit-regression1.cpp +1530 -0
  1045. knexus-0.0.1/third_party/json/tests/src/unit-regression2.cpp +1099 -0
  1046. knexus-0.0.1/third_party/json/tests/src/unit-serialization.cpp +297 -0
  1047. knexus-0.0.1/third_party/json/tests/src/unit-testsuites.cpp +1392 -0
  1048. knexus-0.0.1/third_party/json/tests/src/unit-to_chars.cpp +516 -0
  1049. knexus-0.0.1/third_party/json/tests/src/unit-type_traits.cpp +56 -0
  1050. knexus-0.0.1/third_party/json/tests/src/unit-ubjson.cpp +2547 -0
  1051. knexus-0.0.1/third_party/json/tests/src/unit-udl.cpp +57 -0
  1052. knexus-0.0.1/third_party/json/tests/src/unit-udt.cpp +908 -0
  1053. knexus-0.0.1/third_party/json/tests/src/unit-udt_macro.cpp +709 -0
  1054. knexus-0.0.1/third_party/json/tests/src/unit-unicode1.cpp +620 -0
  1055. knexus-0.0.1/third_party/json/tests/src/unit-unicode2.cpp +610 -0
  1056. knexus-0.0.1/third_party/json/tests/src/unit-unicode3.cpp +324 -0
  1057. knexus-0.0.1/third_party/json/tests/src/unit-unicode4.cpp +324 -0
  1058. knexus-0.0.1/third_party/json/tests/src/unit-unicode5.cpp +324 -0
  1059. knexus-0.0.1/third_party/json/tests/src/unit-user_defined_input.cpp +130 -0
  1060. knexus-0.0.1/third_party/json/tests/src/unit-windows_h.cpp +23 -0
  1061. knexus-0.0.1/third_party/json/tests/src/unit-wstring.cpp +99 -0
  1062. knexus-0.0.1/third_party/json/tests/src/unit.cpp +10 -0
  1063. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/CMakeLists.txt +45 -0
  1064. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerCorpus.h +217 -0
  1065. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerCrossOver.cpp +52 -0
  1066. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerDefs.h +89 -0
  1067. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerDictionary.h +124 -0
  1068. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerDriver.cpp +545 -0
  1069. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctions.h +35 -0
  1070. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctionsDlsym.cpp +52 -0
  1071. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctionsWeak.cpp +53 -0
  1072. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp +56 -0
  1073. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIO.cpp +117 -0
  1074. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIO.h +64 -0
  1075. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIOPosix.cpp +88 -0
  1076. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerIOWindows.cpp +282 -0
  1077. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerInterface.h +67 -0
  1078. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerInternal.h +182 -0
  1079. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerLoop.cpp +792 -0
  1080. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMain.cpp +21 -0
  1081. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMerge.cpp +261 -0
  1082. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMerge.h +70 -0
  1083. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMutate.cpp +527 -0
  1084. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerMutate.h +145 -0
  1085. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerOptions.h +68 -0
  1086. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerRandom.h +36 -0
  1087. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerSHA1.cpp +222 -0
  1088. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerSHA1.h +33 -0
  1089. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerTracePC.cpp +339 -0
  1090. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerTracePC.h +158 -0
  1091. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerTraceState.cpp +325 -0
  1092. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtil.cpp +218 -0
  1093. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtil.h +72 -0
  1094. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilDarwin.cpp +152 -0
  1095. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilLinux.cpp +24 -0
  1096. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilPosix.cpp +117 -0
  1097. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerUtilWindows.cpp +182 -0
  1098. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/FuzzerValueBitMap.h +87 -0
  1099. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/afl/afl_driver.cpp +295 -0
  1100. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AFLDriverTest.cpp +22 -0
  1101. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AbsNegAndConstant64Test.cpp +23 -0
  1102. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AbsNegAndConstantTest.cpp +23 -0
  1103. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/AccumulateAllocationsTest.cpp +17 -0
  1104. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/BufferOverflowOnInput.cpp +23 -0
  1105. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CMakeLists.txt +217 -0
  1106. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CallerCalleeTest.cpp +59 -0
  1107. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CounterTest.cpp +18 -0
  1108. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CustomCrossOverTest.cpp +63 -0
  1109. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/CustomMutatorTest.cpp +38 -0
  1110. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSO1.cpp +12 -0
  1111. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSO2.cpp +12 -0
  1112. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSOTestExtra.cpp +11 -0
  1113. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DSOTestMain.cpp +31 -0
  1114. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/DivTest.cpp +20 -0
  1115. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/EmptyTest.cpp +11 -0
  1116. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/FourIndependentBranchesTest.cpp +22 -0
  1117. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/FullCoverageSetTest.cpp +24 -0
  1118. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/FuzzerUnittest.cpp +738 -0
  1119. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/InitializeTest.cpp +28 -0
  1120. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/LeakTest.cpp +17 -0
  1121. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/LeakTimeoutTest.cpp +17 -0
  1122. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/LoadTest.cpp +22 -0
  1123. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/MemcmpTest.cpp +31 -0
  1124. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/NthRunCrashTest.cpp +18 -0
  1125. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/NullDerefOnEmptyTest.cpp +19 -0
  1126. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/NullDerefTest.cpp +26 -0
  1127. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/OneHugeAllocTest.cpp +28 -0
  1128. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp +27 -0
  1129. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/OutOfMemoryTest.cpp +31 -0
  1130. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/RepeatedBytesTest.cpp +29 -0
  1131. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/RepeatedMemcmp.cpp +22 -0
  1132. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ShrinkControlFlowTest.cpp +28 -0
  1133. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ShrinkValueProfileTest.cpp +22 -0
  1134. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SignedIntOverflowTest.cpp +28 -0
  1135. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleCmpTest.cpp +46 -0
  1136. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleDictionaryTest.cpp +29 -0
  1137. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleHashTest.cpp +40 -0
  1138. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleTest.cpp +27 -0
  1139. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SimpleThreadedTest.cpp +25 -0
  1140. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SingleMemcmpTest.cpp +17 -0
  1141. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SingleStrcmpTest.cpp +17 -0
  1142. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SingleStrncmpTest.cpp +17 -0
  1143. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SpamyTest.cpp +21 -0
  1144. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrcmpTest.cpp +32 -0
  1145. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrncmpOOBTest.cpp +21 -0
  1146. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrncmpTest.cpp +28 -0
  1147. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/StrstrTest.cpp +28 -0
  1148. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SwapCmpTest.cpp +34 -0
  1149. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/Switch2Test.cpp +35 -0
  1150. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/SwitchTest.cpp +58 -0
  1151. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ThreadedLeakTest.cpp +18 -0
  1152. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ThreadedTest.cpp +26 -0
  1153. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/TimeoutEmptyTest.cpp +14 -0
  1154. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/TimeoutTest.cpp +26 -0
  1155. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/TraceMallocTest.cpp +27 -0
  1156. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/UninstrumentedTest.cpp +11 -0
  1157. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/lit.site.cfg.in +4 -0
  1158. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/no-coverage/CMakeLists.txt +29 -0
  1159. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/ubsan/CMakeLists.txt +15 -0
  1160. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/uninstrumented/CMakeLists.txt +16 -0
  1161. knexus-0.0.1/third_party/json/tests/thirdparty/Fuzzer/test/unit/lit.site.cfg.in +2 -0
  1162. knexus-0.0.1/third_party/json/tests/thirdparty/doctest/doctest.h +7134 -0
  1163. knexus-0.0.1/third_party/json/tests/thirdparty/doctest/doctest_compatibility.h +37 -0
  1164. knexus-0.0.1/third_party/json/tests/thirdparty/fifo_map/fifo_map.hpp +530 -0
  1165. knexus-0.0.1/third_party/json/tools/amalgamate/config_json.json +8 -0
  1166. knexus-0.0.1/third_party/json/tools/amalgamate/config_json_fwd.json +8 -0
  1167. knexus-0.0.1/third_party/json/tools/macro_builder/main.cpp +43 -0
  1168. knexus-0.0.1/third_party/magic_enum/CMakeLists.txt +162 -0
  1169. knexus-0.0.1/third_party/magic_enum/cmake/GenPkgConfig/GenPkgConfig.cmake +252 -0
  1170. knexus-0.0.1/third_party/magic_enum/cmake/GenPkgConfig/buildTimeScripts/getObjectFilesBaseNames.cmake +18 -0
  1171. knexus-0.0.1/third_party/magic_enum/example/CMakeLists.txt +30 -0
  1172. knexus-0.0.1/third_party/magic_enum/example/enum_flag_example.cpp +101 -0
  1173. knexus-0.0.1/third_party/magic_enum/example/example.cpp +120 -0
  1174. knexus-0.0.1/third_party/magic_enum/example/example_containers_array.cpp +65 -0
  1175. knexus-0.0.1/third_party/magic_enum/example/example_containers_bitset.cpp +56 -0
  1176. knexus-0.0.1/third_party/magic_enum/example/example_containers_set.cpp +56 -0
  1177. knexus-0.0.1/third_party/magic_enum/example/example_custom_name.cpp +71 -0
  1178. knexus-0.0.1/third_party/magic_enum/example/example_nonascii_name.cpp +45 -0
  1179. knexus-0.0.1/third_party/magic_enum/example/example_switch.cpp +107 -0
  1180. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum.hpp +1519 -0
  1181. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_all.hpp +44 -0
  1182. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_containers.hpp +1174 -0
  1183. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_flags.hpp +222 -0
  1184. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_format.hpp +84 -0
  1185. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_fuse.hpp +89 -0
  1186. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_iostream.hpp +117 -0
  1187. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_switch.hpp +195 -0
  1188. knexus-0.0.1/third_party/magic_enum/include/magic_enum/magic_enum_utility.hpp +138 -0
  1189. knexus-0.0.1/third_party/magic_enum/test/3rdparty/Catch2/include/catch2/catch.hpp +17937 -0
  1190. knexus-0.0.1/third_party/magic_enum/test/CMakeLists.txt +126 -0
  1191. knexus-0.0.1/third_party/magic_enum/test/test.cpp +1289 -0
  1192. knexus-0.0.1/third_party/magic_enum/test/test_aliases.cpp +137 -0
  1193. knexus-0.0.1/third_party/magic_enum/test/test_containers.cpp +313 -0
  1194. knexus-0.0.1/third_party/magic_enum/test/test_flags.cpp +834 -0
  1195. knexus-0.0.1/third_party/magic_enum/test/test_nonascii.cpp +445 -0
  1196. 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.
@@ -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
+