robotpy-native-wpiutil 2025.3.2__py3-none-win_amd64.whl

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 (344) hide show
  1. native/wpiutil/_init_robotpy_native_wpiutil.py +20 -0
  2. native/wpiutil/include/debugging/detail/psnip_debug_trap.h +83 -0
  3. native/wpiutil/include/debugging.hpp +29 -0
  4. native/wpiutil/include/fmt/args.h +220 -0
  5. native/wpiutil/include/fmt/base.h +2938 -0
  6. native/wpiutil/include/fmt/chrono.h +2338 -0
  7. native/wpiutil/include/fmt/color.h +610 -0
  8. native/wpiutil/include/fmt/compile.h +551 -0
  9. native/wpiutil/include/fmt/core.h +5 -0
  10. native/wpiutil/include/fmt/format-inl.h +1947 -0
  11. native/wpiutil/include/fmt/format.h +4234 -0
  12. native/wpiutil/include/fmt/os.h +427 -0
  13. native/wpiutil/include/fmt/ostream.h +166 -0
  14. native/wpiutil/include/fmt/printf.h +633 -0
  15. native/wpiutil/include/fmt/ranges.h +848 -0
  16. native/wpiutil/include/fmt/std.h +727 -0
  17. native/wpiutil/include/fmt/xchar.h +368 -0
  18. native/wpiutil/include/google/protobuf/any.h +157 -0
  19. native/wpiutil/include/google/protobuf/any.pb.h +384 -0
  20. native/wpiutil/include/google/protobuf/api.pb.h +1437 -0
  21. native/wpiutil/include/google/protobuf/arena.h +851 -0
  22. native/wpiutil/include/google/protobuf/arena_impl.h +686 -0
  23. native/wpiutil/include/google/protobuf/arenastring.h +480 -0
  24. native/wpiutil/include/google/protobuf/arenaz_sampler.h +207 -0
  25. native/wpiutil/include/google/protobuf/compiler/importer.h +338 -0
  26. native/wpiutil/include/google/protobuf/compiler/parser.h +602 -0
  27. native/wpiutil/include/google/protobuf/descriptor.h +2448 -0
  28. native/wpiutil/include/google/protobuf/descriptor.pb.h +14821 -0
  29. native/wpiutil/include/google/protobuf/descriptor_database.h +398 -0
  30. native/wpiutil/include/google/protobuf/duration.pb.h +278 -0
  31. native/wpiutil/include/google/protobuf/dynamic_message.h +227 -0
  32. native/wpiutil/include/google/protobuf/empty.pb.h +198 -0
  33. native/wpiutil/include/google/protobuf/endian.h +198 -0
  34. native/wpiutil/include/google/protobuf/explicitly_constructed.h +97 -0
  35. native/wpiutil/include/google/protobuf/extension_set.h +1561 -0
  36. native/wpiutil/include/google/protobuf/extension_set_inl.h +285 -0
  37. native/wpiutil/include/google/protobuf/field_access_listener.h +172 -0
  38. native/wpiutil/include/google/protobuf/field_mask.pb.h +317 -0
  39. native/wpiutil/include/google/protobuf/generated_enum_reflection.h +100 -0
  40. native/wpiutil/include/google/protobuf/generated_enum_util.h +85 -0
  41. native/wpiutil/include/google/protobuf/generated_message_bases.h +87 -0
  42. native/wpiutil/include/google/protobuf/generated_message_reflection.h +354 -0
  43. native/wpiutil/include/google/protobuf/generated_message_tctable_decl.h +312 -0
  44. native/wpiutil/include/google/protobuf/generated_message_tctable_impl.h +565 -0
  45. native/wpiutil/include/google/protobuf/generated_message_util.h +214 -0
  46. native/wpiutil/include/google/protobuf/has_bits.h +117 -0
  47. native/wpiutil/include/google/protobuf/implicit_weak_message.h +213 -0
  48. native/wpiutil/include/google/protobuf/inlined_string_field.h +532 -0
  49. native/wpiutil/include/google/protobuf/io/coded_stream.h +1806 -0
  50. native/wpiutil/include/google/protobuf/io/gzip_stream.h +205 -0
  51. native/wpiutil/include/google/protobuf/io/io_win32.h +141 -0
  52. native/wpiutil/include/google/protobuf/io/printer.h +387 -0
  53. native/wpiutil/include/google/protobuf/io/strtod.h +55 -0
  54. native/wpiutil/include/google/protobuf/io/tokenizer.h +442 -0
  55. native/wpiutil/include/google/protobuf/io/zero_copy_stream.h +260 -0
  56. native/wpiutil/include/google/protobuf/io/zero_copy_stream_impl.h +336 -0
  57. native/wpiutil/include/google/protobuf/io/zero_copy_stream_impl_lite.h +413 -0
  58. native/wpiutil/include/google/protobuf/map.h +1448 -0
  59. native/wpiutil/include/google/protobuf/map_entry.h +134 -0
  60. native/wpiutil/include/google/protobuf/map_entry_lite.h +563 -0
  61. native/wpiutil/include/google/protobuf/map_field.h +946 -0
  62. native/wpiutil/include/google/protobuf/map_field_inl.h +375 -0
  63. native/wpiutil/include/google/protobuf/map_field_lite.h +209 -0
  64. native/wpiutil/include/google/protobuf/map_type_handler.h +736 -0
  65. native/wpiutil/include/google/protobuf/message.h +1497 -0
  66. native/wpiutil/include/google/protobuf/message_lite.h +591 -0
  67. native/wpiutil/include/google/protobuf/metadata.h +36 -0
  68. native/wpiutil/include/google/protobuf/metadata_lite.h +316 -0
  69. native/wpiutil/include/google/protobuf/parse_context.h +1033 -0
  70. native/wpiutil/include/google/protobuf/port.h +80 -0
  71. native/wpiutil/include/google/protobuf/port_def.inc +928 -0
  72. native/wpiutil/include/google/protobuf/port_undef.inc +160 -0
  73. native/wpiutil/include/google/protobuf/reflection.h +570 -0
  74. native/wpiutil/include/google/protobuf/reflection_internal.h +364 -0
  75. native/wpiutil/include/google/protobuf/reflection_ops.h +92 -0
  76. native/wpiutil/include/google/protobuf/repeated_field.h +1219 -0
  77. native/wpiutil/include/google/protobuf/repeated_ptr_field.h +1970 -0
  78. native/wpiutil/include/google/protobuf/service.h +295 -0
  79. native/wpiutil/include/google/protobuf/source_context.pb.h +282 -0
  80. native/wpiutil/include/google/protobuf/struct.pb.h +1177 -0
  81. native/wpiutil/include/google/protobuf/stubs/bytestream.h +351 -0
  82. native/wpiutil/include/google/protobuf/stubs/callback.h +583 -0
  83. native/wpiutil/include/google/protobuf/stubs/casts.h +138 -0
  84. native/wpiutil/include/google/protobuf/stubs/common.h +197 -0
  85. native/wpiutil/include/google/protobuf/stubs/hash.h +114 -0
  86. native/wpiutil/include/google/protobuf/stubs/int128.h +387 -0
  87. native/wpiutil/include/google/protobuf/stubs/logging.h +239 -0
  88. native/wpiutil/include/google/protobuf/stubs/macros.h +93 -0
  89. native/wpiutil/include/google/protobuf/stubs/map_util.h +769 -0
  90. native/wpiutil/include/google/protobuf/stubs/mathutil.h +162 -0
  91. native/wpiutil/include/google/protobuf/stubs/mutex.h +218 -0
  92. native/wpiutil/include/google/protobuf/stubs/once.h +55 -0
  93. native/wpiutil/include/google/protobuf/stubs/platform_macros.h +138 -0
  94. native/wpiutil/include/google/protobuf/stubs/port.h +413 -0
  95. native/wpiutil/include/google/protobuf/stubs/status.h +196 -0
  96. native/wpiutil/include/google/protobuf/stubs/status_macros.h +89 -0
  97. native/wpiutil/include/google/protobuf/stubs/statusor.h +253 -0
  98. native/wpiutil/include/google/protobuf/stubs/stl_util.h +90 -0
  99. native/wpiutil/include/google/protobuf/stubs/stringpiece.h +402 -0
  100. native/wpiutil/include/google/protobuf/stubs/stringprintf.h +85 -0
  101. native/wpiutil/include/google/protobuf/stubs/strutil.h +950 -0
  102. native/wpiutil/include/google/protobuf/stubs/substitute.h +178 -0
  103. native/wpiutil/include/google/protobuf/stubs/template_util.h +138 -0
  104. native/wpiutil/include/google/protobuf/stubs/time.h +82 -0
  105. native/wpiutil/include/google/protobuf/text_format.h +693 -0
  106. native/wpiutil/include/google/protobuf/timestamp.pb.h +278 -0
  107. native/wpiutil/include/google/protobuf/type.pb.h +2571 -0
  108. native/wpiutil/include/google/protobuf/unknown_field_set.h +407 -0
  109. native/wpiutil/include/google/protobuf/util/delimited_message_util.h +109 -0
  110. native/wpiutil/include/google/protobuf/util/field_comparator.h +288 -0
  111. native/wpiutil/include/google/protobuf/util/field_mask_util.h +263 -0
  112. native/wpiutil/include/google/protobuf/util/internal/constants.h +101 -0
  113. native/wpiutil/include/google/protobuf/util/internal/datapiece.h +219 -0
  114. native/wpiutil/include/google/protobuf/util/internal/default_value_objectwriter.h +332 -0
  115. native/wpiutil/include/google/protobuf/util/internal/error_listener.h +109 -0
  116. native/wpiutil/include/google/protobuf/util/internal/field_mask_utility.h +74 -0
  117. native/wpiutil/include/google/protobuf/util/internal/json_escaping.h +98 -0
  118. native/wpiutil/include/google/protobuf/util/internal/json_objectwriter.h +278 -0
  119. native/wpiutil/include/google/protobuf/util/internal/json_stream_parser.h +350 -0
  120. native/wpiutil/include/google/protobuf/util/internal/location_tracker.h +70 -0
  121. native/wpiutil/include/google/protobuf/util/internal/object_location_tracker.h +64 -0
  122. native/wpiutil/include/google/protobuf/util/internal/object_source.h +85 -0
  123. native/wpiutil/include/google/protobuf/util/internal/object_writer.h +151 -0
  124. native/wpiutil/include/google/protobuf/util/internal/proto_writer.h +389 -0
  125. native/wpiutil/include/google/protobuf/util/internal/protostream_objectsource.h +329 -0
  126. native/wpiutil/include/google/protobuf/util/internal/protostream_objectwriter.h +453 -0
  127. native/wpiutil/include/google/protobuf/util/internal/structured_objectwriter.h +121 -0
  128. native/wpiutil/include/google/protobuf/util/internal/type_info.h +97 -0
  129. native/wpiutil/include/google/protobuf/util/internal/utility.h +204 -0
  130. native/wpiutil/include/google/protobuf/util/json_util.h +204 -0
  131. native/wpiutil/include/google/protobuf/util/message_differencer.h +980 -0
  132. native/wpiutil/include/google/protobuf/util/time_util.h +314 -0
  133. native/wpiutil/include/google/protobuf/util/type_resolver.h +77 -0
  134. native/wpiutil/include/google/protobuf/util/type_resolver_util.h +58 -0
  135. native/wpiutil/include/google/protobuf/wire_format.h +414 -0
  136. native/wpiutil/include/google/protobuf/wire_format_lite.h +1908 -0
  137. native/wpiutil/include/google/protobuf/wrappers.pb.h +1741 -0
  138. native/wpiutil/include/pb.h +931 -0
  139. native/wpiutil/include/pb_common.h +42 -0
  140. native/wpiutil/include/pb_decode.h +198 -0
  141. native/wpiutil/include/pb_encode.h +189 -0
  142. native/wpiutil/include/wpi/ADL.h +135 -0
  143. native/wpiutil/include/wpi/Algorithm.h +35 -0
  144. native/wpiutil/include/wpi/AlignOf.h +30 -0
  145. native/wpiutil/include/wpi/AllocatorBase.h +132 -0
  146. native/wpiutil/include/wpi/Base64.h +49 -0
  147. native/wpiutil/include/wpi/CallbackManager.h +395 -0
  148. native/wpiutil/include/wpi/Casting.h +852 -0
  149. native/wpiutil/include/wpi/Chrono.h +84 -0
  150. native/wpiutil/include/wpi/Compiler.h +642 -0
  151. native/wpiutil/include/wpi/ConvertUTF.h +345 -0
  152. native/wpiutil/include/wpi/DataLog.h +1669 -0
  153. native/wpiutil/include/wpi/DataLogBackgroundWriter.h +170 -0
  154. native/wpiutil/include/wpi/DataLogReader.h +369 -0
  155. native/wpiutil/include/wpi/DataLogWriter.h +97 -0
  156. native/wpiutil/include/wpi/DataLog_c.h +312 -0
  157. native/wpiutil/include/wpi/DecayedDerivedFrom.h +17 -0
  158. native/wpiutil/include/wpi/Demangle.h +33 -0
  159. native/wpiutil/include/wpi/DenseMap.h +1353 -0
  160. native/wpiutil/include/wpi/DenseMapInfo.h +325 -0
  161. native/wpiutil/include/wpi/DenseMapInfoVariant.h +71 -0
  162. native/wpiutil/include/wpi/Endian.h +491 -0
  163. native/wpiutil/include/wpi/EpochTracker.h +104 -0
  164. native/wpiutil/include/wpi/Errc.h +90 -0
  165. native/wpiutil/include/wpi/Errno.h +36 -0
  166. native/wpiutil/include/wpi/ErrorHandling.h +156 -0
  167. native/wpiutil/include/wpi/EventVector.h +51 -0
  168. native/wpiutil/include/wpi/FastQueue.h +557 -0
  169. native/wpiutil/include/wpi/FileLogger.h +61 -0
  170. native/wpiutil/include/wpi/FunctionExtras.h +427 -0
  171. native/wpiutil/include/wpi/Hashing.h +688 -0
  172. native/wpiutil/include/wpi/Logger.h +94 -0
  173. native/wpiutil/include/wpi/MapVector.h +259 -0
  174. native/wpiutil/include/wpi/MappedFileRegion.h +86 -0
  175. native/wpiutil/include/wpi/MathExtras.h +778 -0
  176. native/wpiutil/include/wpi/MemAlloc.h +100 -0
  177. native/wpiutil/include/wpi/MemoryBuffer.h +252 -0
  178. native/wpiutil/include/wpi/MessagePack.h +45 -0
  179. native/wpiutil/include/wpi/NullDeleter.h +16 -0
  180. native/wpiutil/include/wpi/PointerIntPair.h +294 -0
  181. native/wpiutil/include/wpi/PointerLikeTypeTraits.h +152 -0
  182. native/wpiutil/include/wpi/PointerUnion.h +349 -0
  183. native/wpiutil/include/wpi/ProtoHelper.h +18 -0
  184. native/wpiutil/include/wpi/RawFrame.h +166 -0
  185. native/wpiutil/include/wpi/ReverseIteration.h +18 -0
  186. native/wpiutil/include/wpi/RuntimeCheck.h +21 -0
  187. native/wpiutil/include/wpi/STLForwardCompat.h +72 -0
  188. native/wpiutil/include/wpi/SafeThread.h +145 -0
  189. native/wpiutil/include/wpi/Signal.h +832 -0
  190. native/wpiutil/include/wpi/SmallPtrSet.h +557 -0
  191. native/wpiutil/include/wpi/SmallSet.h +285 -0
  192. native/wpiutil/include/wpi/SmallString.h +222 -0
  193. native/wpiutil/include/wpi/SmallVector.h +1360 -0
  194. native/wpiutil/include/wpi/SmallVectorMemoryBuffer.h +63 -0
  195. native/wpiutil/include/wpi/SpanExtras.h +58 -0
  196. native/wpiutil/include/wpi/StackTrace.h +35 -0
  197. native/wpiutil/include/wpi/StringExtras.h +772 -0
  198. native/wpiutil/include/wpi/StringMap.h +777 -0
  199. native/wpiutil/include/wpi/SwapByteOrder.h +68 -0
  200. native/wpiutil/include/wpi/SymbolExports.h +194 -0
  201. native/wpiutil/include/wpi/Synchronization.h +608 -0
  202. native/wpiutil/include/wpi/UidVector.h +159 -0
  203. native/wpiutil/include/wpi/VersionTuple.h +172 -0
  204. native/wpiutil/include/wpi/WindowsError.h +19 -0
  205. native/wpiutil/include/wpi/adl_serializer.h +55 -0
  206. native/wpiutil/include/wpi/argparse.h +2543 -0
  207. native/wpiutil/include/wpi/array.h +100 -0
  208. native/wpiutil/include/wpi/bit.h +109 -0
  209. native/wpiutil/include/wpi/byte_container_with_subtype.h +103 -0
  210. native/wpiutil/include/wpi/circular_buffer.h +354 -0
  211. native/wpiutil/include/wpi/condition_variable.h +19 -0
  212. native/wpiutil/include/wpi/ct_string.h +231 -0
  213. native/wpiutil/include/wpi/deprecated.h +31 -0
  214. native/wpiutil/include/wpi/detail/abi_macros.h +61 -0
  215. native/wpiutil/include/wpi/detail/conversions/from_json.h +497 -0
  216. native/wpiutil/include/wpi/detail/conversions/to_chars.h +1118 -0
  217. native/wpiutil/include/wpi/detail/conversions/to_json.h +446 -0
  218. native/wpiutil/include/wpi/detail/exceptions.h +257 -0
  219. native/wpiutil/include/wpi/detail/hash.h +129 -0
  220. native/wpiutil/include/wpi/detail/input/binary_reader.h +3009 -0
  221. native/wpiutil/include/wpi/detail/input/input_adapters.h +492 -0
  222. native/wpiutil/include/wpi/detail/input/json_sax.h +727 -0
  223. native/wpiutil/include/wpi/detail/input/lexer.h +1633 -0
  224. native/wpiutil/include/wpi/detail/input/parser.h +519 -0
  225. native/wpiutil/include/wpi/detail/input/position_t.h +37 -0
  226. native/wpiutil/include/wpi/detail/iterators/internal_iterator.h +35 -0
  227. native/wpiutil/include/wpi/detail/iterators/iter_impl.h +751 -0
  228. native/wpiutil/include/wpi/detail/iterators/iteration_proxy.h +242 -0
  229. native/wpiutil/include/wpi/detail/iterators/iterator_traits.h +61 -0
  230. native/wpiutil/include/wpi/detail/iterators/json_reverse_iterator.h +130 -0
  231. native/wpiutil/include/wpi/detail/iterators/primitive_iterator.h +132 -0
  232. native/wpiutil/include/wpi/detail/json_custom_base_class.h +39 -0
  233. native/wpiutil/include/wpi/detail/json_pointer.h +988 -0
  234. native/wpiutil/include/wpi/detail/json_ref.h +78 -0
  235. native/wpiutil/include/wpi/detail/macro_scope.h +482 -0
  236. native/wpiutil/include/wpi/detail/macro_unscope.h +45 -0
  237. native/wpiutil/include/wpi/detail/meta/call_std/begin.h +17 -0
  238. native/wpiutil/include/wpi/detail/meta/call_std/end.h +17 -0
  239. native/wpiutil/include/wpi/detail/meta/cpp_future.h +171 -0
  240. native/wpiutil/include/wpi/detail/meta/detected.h +70 -0
  241. native/wpiutil/include/wpi/detail/meta/identity_tag.h +21 -0
  242. native/wpiutil/include/wpi/detail/meta/is_sax.h +159 -0
  243. native/wpiutil/include/wpi/detail/meta/std_fs.h +29 -0
  244. native/wpiutil/include/wpi/detail/meta/type_traits.h +795 -0
  245. native/wpiutil/include/wpi/detail/meta/void_t.h +24 -0
  246. native/wpiutil/include/wpi/detail/output/binary_writer.h +1838 -0
  247. native/wpiutil/include/wpi/detail/output/output_adapters.h +173 -0
  248. native/wpiutil/include/wpi/detail/output/serializer.h +997 -0
  249. native/wpiutil/include/wpi/detail/string_concat.h +146 -0
  250. native/wpiutil/include/wpi/detail/string_escape.h +72 -0
  251. native/wpiutil/include/wpi/detail/value_t.h +118 -0
  252. native/wpiutil/include/wpi/expected +2444 -0
  253. native/wpiutil/include/wpi/fmt/raw_ostream.h +31 -0
  254. native/wpiutil/include/wpi/fs.h +209 -0
  255. native/wpiutil/include/wpi/function_ref.h +66 -0
  256. native/wpiutil/include/wpi/future.h +943 -0
  257. native/wpiutil/include/wpi/interpolating_map.h +87 -0
  258. native/wpiutil/include/wpi/iterator.h +378 -0
  259. native/wpiutil/include/wpi/iterator_range.h +86 -0
  260. native/wpiutil/include/wpi/jni_util.h +979 -0
  261. native/wpiutil/include/wpi/json.h +5281 -0
  262. native/wpiutil/include/wpi/json_fwd.h +75 -0
  263. native/wpiutil/include/wpi/leb128.h +111 -0
  264. native/wpiutil/include/wpi/memory/aligned_allocator.hpp +196 -0
  265. native/wpiutil/include/wpi/memory/allocator_storage.hpp +933 -0
  266. native/wpiutil/include/wpi/memory/allocator_traits.hpp +601 -0
  267. native/wpiutil/include/wpi/memory/config.hpp +147 -0
  268. native/wpiutil/include/wpi/memory/config_impl.hpp +34 -0
  269. native/wpiutil/include/wpi/memory/container.hpp +367 -0
  270. native/wpiutil/include/wpi/memory/debugging.hpp +113 -0
  271. native/wpiutil/include/wpi/memory/default_allocator.hpp +36 -0
  272. native/wpiutil/include/wpi/memory/deleter.hpp +307 -0
  273. native/wpiutil/include/wpi/memory/detail/align.hpp +51 -0
  274. native/wpiutil/include/wpi/memory/detail/assert.hpp +56 -0
  275. native/wpiutil/include/wpi/memory/detail/container_node_sizes.hpp +9 -0
  276. native/wpiutil/include/wpi/memory/detail/debug_helpers.hpp +234 -0
  277. native/wpiutil/include/wpi/memory/detail/ebo_storage.hpp +41 -0
  278. native/wpiutil/include/wpi/memory/detail/free_list.hpp +227 -0
  279. native/wpiutil/include/wpi/memory/detail/free_list_array.hpp +125 -0
  280. native/wpiutil/include/wpi/memory/detail/ilog2.hpp +68 -0
  281. native/wpiutil/include/wpi/memory/detail/lowlevel_allocator.hpp +85 -0
  282. native/wpiutil/include/wpi/memory/detail/memory_stack.hpp +119 -0
  283. native/wpiutil/include/wpi/memory/detail/small_free_list.hpp +163 -0
  284. native/wpiutil/include/wpi/memory/detail/utility.hpp +117 -0
  285. native/wpiutil/include/wpi/memory/error.hpp +288 -0
  286. native/wpiutil/include/wpi/memory/fallback_allocator.hpp +211 -0
  287. native/wpiutil/include/wpi/memory/heap_allocator.hpp +82 -0
  288. native/wpiutil/include/wpi/memory/iteration_allocator.hpp +304 -0
  289. native/wpiutil/include/wpi/memory/joint_allocator.hpp +926 -0
  290. native/wpiutil/include/wpi/memory/malloc_allocator.hpp +70 -0
  291. native/wpiutil/include/wpi/memory/memory_arena.hpp +692 -0
  292. native/wpiutil/include/wpi/memory/memory_pool.hpp +432 -0
  293. native/wpiutil/include/wpi/memory/memory_pool_collection.hpp +568 -0
  294. native/wpiutil/include/wpi/memory/memory_pool_type.hpp +52 -0
  295. native/wpiutil/include/wpi/memory/memory_resource_adapter.hpp +238 -0
  296. native/wpiutil/include/wpi/memory/memory_stack.hpp +489 -0
  297. native/wpiutil/include/wpi/memory/namespace_alias.hpp +41 -0
  298. native/wpiutil/include/wpi/memory/new_allocator.hpp +54 -0
  299. native/wpiutil/include/wpi/memory/segregator.hpp +447 -0
  300. native/wpiutil/include/wpi/memory/smart_ptr.hpp +197 -0
  301. native/wpiutil/include/wpi/memory/static_allocator.hpp +178 -0
  302. native/wpiutil/include/wpi/memory/std_allocator.hpp +361 -0
  303. native/wpiutil/include/wpi/memory/temporary_allocator.hpp +334 -0
  304. native/wpiutil/include/wpi/memory/threading.hpp +154 -0
  305. native/wpiutil/include/wpi/memory/tracking.hpp +429 -0
  306. native/wpiutil/include/wpi/memory/virtual_memory.hpp +201 -0
  307. native/wpiutil/include/wpi/mpack.h +8218 -0
  308. native/wpiutil/include/wpi/mutex.h +21 -0
  309. native/wpiutil/include/wpi/nodiscard.h +21 -0
  310. native/wpiutil/include/wpi/ordered_map.h +359 -0
  311. native/wpiutil/include/wpi/print.h +63 -0
  312. native/wpiutil/include/wpi/priority_mutex.h +85 -0
  313. native/wpiutil/include/wpi/priority_queue.h +116 -0
  314. native/wpiutil/include/wpi/protobuf/Protobuf.h +394 -0
  315. native/wpiutil/include/wpi/protobuf/ProtobufCallbacks.h +670 -0
  316. native/wpiutil/include/wpi/protobuf/ProtobufMessageDatabase.h +77 -0
  317. native/wpiutil/include/wpi/raw_istream.h +176 -0
  318. native/wpiutil/include/wpi/raw_os_ostream.h +41 -0
  319. native/wpiutil/include/wpi/raw_ostream.h +804 -0
  320. native/wpiutil/include/wpi/rotated_span.h +254 -0
  321. native/wpiutil/include/wpi/scope +37 -0
  322. native/wpiutil/include/wpi/sendable/Sendable.h +28 -0
  323. native/wpiutil/include/wpi/sendable/SendableBuilder.h +397 -0
  324. native/wpiutil/include/wpi/sendable/SendableHelper.h +63 -0
  325. native/wpiutil/include/wpi/sendable/SendableRegistry.h +339 -0
  326. native/wpiutil/include/wpi/sha1.h +52 -0
  327. native/wpiutil/include/wpi/spinlock.h +144 -0
  328. native/wpiutil/include/wpi/static_circular_buffer.h +292 -0
  329. native/wpiutil/include/wpi/string.h +108 -0
  330. native/wpiutil/include/wpi/struct/DynamicStruct.h +700 -0
  331. native/wpiutil/include/wpi/struct/SchemaParser.h +199 -0
  332. native/wpiutil/include/wpi/struct/Struct.h +714 -0
  333. native/wpiutil/include/wpi/thirdparty/hedley/hedley.h +2045 -0
  334. native/wpiutil/include/wpi/thirdparty/hedley/hedley_undef.h +158 -0
  335. native/wpiutil/include/wpi/timestamp.h +132 -0
  336. native/wpiutil/include/wpi/type_traits.h +86 -0
  337. native/wpiutil/include/wpi/xxhash.h +81 -0
  338. native/wpiutil/lib/wpiutil.dll +0 -0
  339. native/wpiutil/lib/wpiutil.lib +0 -0
  340. native/wpiutil/robotpy-native-wpiutil.pc +10 -0
  341. robotpy_native_wpiutil-2025.3.2.dist-info/METADATA +6 -0
  342. robotpy_native_wpiutil-2025.3.2.dist-info/RECORD +344 -0
  343. robotpy_native_wpiutil-2025.3.2.dist-info/WHEEL +4 -0
  344. robotpy_native_wpiutil-2025.3.2.dist-info/entry_points.txt +2 -0
@@ -0,0 +1,20 @@
1
+ # This file is automatically generated, DO NOT EDIT
2
+ # fmt: off
3
+
4
+ def __load_library():
5
+ from os.path import abspath, join, dirname, exists
6
+ from ctypes import cdll
7
+
8
+ root = abspath(dirname(__file__))
9
+
10
+ lib_path = join(root, 'lib', 'wpiutil.dll')
11
+
12
+ try:
13
+ return cdll.LoadLibrary(lib_path)
14
+ except FileNotFoundError:
15
+ if not exists(lib_path):
16
+ raise FileNotFoundError("wpiutil.dll was not found on your system. Is this package correctly installed?")
17
+ raise Exception("wpiutil.dll could not be loaded. Do you have Visual Studio C++ Redistributible installed?")
18
+
19
+ __lib = __load_library()
20
+
@@ -0,0 +1,83 @@
1
+ /* Debugging assertions and traps
2
+ * Portable Snippets - https://github.com/nemequ/portable-snippets
3
+ * Created by Evan Nemerson <evan@nemerson.com>
4
+ *
5
+ * To the extent possible under law, the authors have waived all
6
+ * copyright and related or neighboring rights to this code. For
7
+ * details, see the Creative Commons Zero 1.0 Universal license at
8
+ * https://creativecommons.org/publicdomain/zero/1.0/
9
+ */
10
+
11
+ #if !defined(PSNIP_DEBUG_TRAP_H)
12
+ #define PSNIP_DEBUG_TRAP_H
13
+
14
+ #if !defined(PSNIP_NDEBUG) && defined(NDEBUG) && !defined(PSNIP_DEBUG)
15
+ # define PSNIP_NDEBUG 1
16
+ #endif
17
+
18
+ #if defined(__has_builtin) && !defined(__ibmxl__)
19
+ # if __has_builtin(__builtin_debugtrap)
20
+ # define psnip_trap() __builtin_debugtrap()
21
+ # elif __has_builtin(__debugbreak)
22
+ # define psnip_trap() __debugbreak()
23
+ # endif
24
+ #endif
25
+ #if !defined(psnip_trap)
26
+ # if defined(_MSC_VER) || defined(__INTEL_COMPILER)
27
+ # define psnip_trap() __debugbreak()
28
+ # elif defined(__ARMCC_VERSION)
29
+ # define psnip_trap() __breakpoint(42)
30
+ # elif defined(__ibmxl__) || defined(__xlC__)
31
+ # include <builtins.h>
32
+ # define psnip_trap() __trap(42)
33
+ # elif defined(__DMC__) && defined(_M_IX86)
34
+ static inline void psnip_trap(void) { __asm int 3h; }
35
+ # elif defined(__i386__) || defined(__x86_64__)
36
+ static inline void psnip_trap(void) { __asm__ __volatile__("int3"); }
37
+ # elif defined(__thumb__)
38
+ static inline void psnip_trap(void) { __asm__ __volatile__(".inst 0xde01"); }
39
+ # elif defined(__aarch64__)
40
+ static inline void psnip_trap(void) { __asm__ __volatile__(".inst 0xd4200000"); }
41
+ # elif defined(__arm__)
42
+ static inline void psnip_trap(void) { __asm__ __volatile__(".inst 0xe7f001f0"); }
43
+ # elif defined (__alpha__) && !defined(__osf__)
44
+ static inline void psnip_trap(void) { __asm__ __volatile__("bpt"); }
45
+ # elif defined(_54_)
46
+ static inline void psnip_trap(void) { __asm__ __volatile__("ESTOP"); }
47
+ # elif defined(_55_)
48
+ static inline void psnip_trap(void) { __asm__ __volatile__(";\n .if (.MNEMONIC)\n ESTOP_1\n .else\n ESTOP_1()\n .endif\n NOP"); }
49
+ # elif defined(_64P_)
50
+ static inline void psnip_trap(void) { __asm__ __volatile__("SWBP 0"); }
51
+ # elif defined(_6x_)
52
+ static inline void psnip_trap(void) { __asm__ __volatile__("NOP\n .word 0x10000000"); }
53
+ # elif defined(__STDC_HOSTED__) && (__STDC_HOSTED__ == 0) && defined(__GNUC__)
54
+ # define psnip_trap() __builtin_trap()
55
+ # else
56
+ # include <signal.h>
57
+ # if defined(SIGTRAP)
58
+ # define psnip_trap() raise(SIGTRAP)
59
+ # else
60
+ # define psnip_trap() raise(SIGABRT)
61
+ # endif
62
+ # endif
63
+ #endif
64
+
65
+ #if defined(HEDLEY_LIKELY)
66
+ # define PSNIP_DBG_LIKELY(expr) HEDLEY_LIKELY(expr)
67
+ #elif defined(__GNUC__) && (__GNUC__ >= 3)
68
+ # define PSNIP_DBG_LIKELY(expr) __builtin_expect(!!(expr), 1)
69
+ #else
70
+ # define PSNIP_DBG_LIKELY(expr) (!!(expr))
71
+ #endif
72
+
73
+ #if !defined(PSNIP_NDEBUG) || (PSNIP_NDEBUG == 0)
74
+ # define psnip_dbg_assert(expr) do { \
75
+ if (!PSNIP_DBG_LIKELY(expr)) { \
76
+ psnip_trap(); \
77
+ } \
78
+ } while (0)
79
+ #else
80
+ # define psnip_dbg_assert(expr)
81
+ #endif
82
+
83
+ #endif /* !defined(PSNIP_DEBUG_TRAP_H) */
@@ -0,0 +1,29 @@
1
+ #ifndef IXM_BREAKPOINT_HPP
2
+ #define IXM_BREAKPOINT_HPP
3
+
4
+ #include <debugging/detail/psnip_debug_trap.h>
5
+
6
+ namespace wpi {
7
+
8
+ bool is_debugger_present() noexcept;
9
+
10
+ #if defined(__GNUC__) && !defined(__clang__)
11
+ [[gnu::flatten]]
12
+ #endif
13
+ inline void breakpoint() noexcept
14
+ {
15
+ psnip_trap();
16
+ }
17
+
18
+
19
+ #if defined(__GNUC__) && !defined(__clang__)
20
+ [[gnu::flatten]]
21
+ #endif
22
+ inline void breakpoint_if_debugging() noexcept
23
+ {
24
+ if (is_debugger_present()) breakpoint();
25
+ }
26
+
27
+ } // namespace wpi
28
+
29
+ #endif
@@ -0,0 +1,220 @@
1
+ // Formatting library for C++ - dynamic argument lists
2
+ //
3
+ // Copyright (c) 2012 - present, Victor Zverovich
4
+ // All rights reserved.
5
+ //
6
+ // For the license information refer to format.h.
7
+
8
+ #ifndef FMT_ARGS_H_
9
+ #define FMT_ARGS_H_
10
+
11
+ #ifndef FMT_MODULE
12
+ # include <functional> // std::reference_wrapper
13
+ # include <memory> // std::unique_ptr
14
+ # include <vector>
15
+ #endif
16
+
17
+ #include "format.h" // std_string_view
18
+
19
+ FMT_BEGIN_NAMESPACE
20
+ namespace detail {
21
+
22
+ template <typename T> struct is_reference_wrapper : std::false_type {};
23
+ template <typename T>
24
+ struct is_reference_wrapper<std::reference_wrapper<T>> : std::true_type {};
25
+
26
+ template <typename T> auto unwrap(const T& v) -> const T& { return v; }
27
+ template <typename T>
28
+ auto unwrap(const std::reference_wrapper<T>& v) -> const T& {
29
+ return static_cast<const T&>(v);
30
+ }
31
+
32
+ // node is defined outside dynamic_arg_list to workaround a C2504 bug in MSVC
33
+ // 2022 (v17.10.0).
34
+ //
35
+ // Workaround for clang's -Wweak-vtables. Unlike for regular classes, for
36
+ // templates it doesn't complain about inability to deduce single translation
37
+ // unit for placing vtable. So node is made a fake template.
38
+ template <typename = void> struct node {
39
+ virtual ~node() = default;
40
+ std::unique_ptr<node<>> next;
41
+ };
42
+
43
+ class dynamic_arg_list {
44
+ template <typename T> struct typed_node : node<> {
45
+ T value;
46
+
47
+ template <typename Arg>
48
+ FMT_CONSTEXPR typed_node(const Arg& arg) : value(arg) {}
49
+
50
+ template <typename Char>
51
+ FMT_CONSTEXPR typed_node(const basic_string_view<Char>& arg)
52
+ : value(arg.data(), arg.size()) {}
53
+ };
54
+
55
+ std::unique_ptr<node<>> head_;
56
+
57
+ public:
58
+ template <typename T, typename Arg> auto push(const Arg& arg) -> const T& {
59
+ auto new_node = std::unique_ptr<typed_node<T>>(new typed_node<T>(arg));
60
+ auto& value = new_node->value;
61
+ new_node->next = std::move(head_);
62
+ head_ = std::move(new_node);
63
+ return value;
64
+ }
65
+ };
66
+ } // namespace detail
67
+
68
+ /**
69
+ * A dynamic list of formatting arguments with storage.
70
+ *
71
+ * It can be implicitly converted into `fmt::basic_format_args` for passing
72
+ * into type-erased formatting functions such as `fmt::vformat`.
73
+ */
74
+ template <typename Context> class dynamic_format_arg_store {
75
+ private:
76
+ using char_type = typename Context::char_type;
77
+
78
+ template <typename T> struct need_copy {
79
+ static constexpr detail::type mapped_type =
80
+ detail::mapped_type_constant<T, char_type>::value;
81
+
82
+ enum {
83
+ value = !(detail::is_reference_wrapper<T>::value ||
84
+ std::is_same<T, basic_string_view<char_type>>::value ||
85
+ std::is_same<T, detail::std_string_view<char_type>>::value ||
86
+ (mapped_type != detail::type::cstring_type &&
87
+ mapped_type != detail::type::string_type &&
88
+ mapped_type != detail::type::custom_type))
89
+ };
90
+ };
91
+
92
+ template <typename T>
93
+ using stored_t = conditional_t<
94
+ std::is_convertible<T, std::basic_string<char_type>>::value &&
95
+ !detail::is_reference_wrapper<T>::value,
96
+ std::basic_string<char_type>, T>;
97
+
98
+ // Storage of basic_format_arg must be contiguous.
99
+ std::vector<basic_format_arg<Context>> data_;
100
+ std::vector<detail::named_arg_info<char_type>> named_info_;
101
+
102
+ // Storage of arguments not fitting into basic_format_arg must grow
103
+ // without relocation because items in data_ refer to it.
104
+ detail::dynamic_arg_list dynamic_args_;
105
+
106
+ friend class basic_format_args<Context>;
107
+
108
+ auto data() const -> const basic_format_arg<Context>* {
109
+ return named_info_.empty() ? data_.data() : data_.data() + 1;
110
+ }
111
+
112
+ template <typename T> void emplace_arg(const T& arg) {
113
+ data_.emplace_back(arg);
114
+ }
115
+
116
+ template <typename T>
117
+ void emplace_arg(const detail::named_arg<char_type, T>& arg) {
118
+ if (named_info_.empty())
119
+ data_.insert(data_.begin(), basic_format_arg<Context>(nullptr, 0));
120
+ data_.emplace_back(detail::unwrap(arg.value));
121
+ auto pop_one = [](std::vector<basic_format_arg<Context>>* data) {
122
+ data->pop_back();
123
+ };
124
+ std::unique_ptr<std::vector<basic_format_arg<Context>>, decltype(pop_one)>
125
+ guard{&data_, pop_one};
126
+ named_info_.push_back({arg.name, static_cast<int>(data_.size() - 2u)});
127
+ data_[0] = {named_info_.data(), named_info_.size()};
128
+ guard.release();
129
+ }
130
+
131
+ public:
132
+ constexpr dynamic_format_arg_store() = default;
133
+
134
+ operator basic_format_args<Context>() const {
135
+ return basic_format_args<Context>(data(), static_cast<int>(data_.size()),
136
+ !named_info_.empty());
137
+ }
138
+
139
+ /**
140
+ * Adds an argument into the dynamic store for later passing to a formatting
141
+ * function.
142
+ *
143
+ * Note that custom types and string types (but not string views) are copied
144
+ * into the store dynamically allocating memory if necessary.
145
+ *
146
+ * **Example**:
147
+ *
148
+ * fmt::dynamic_format_arg_store<fmt::format_context> store;
149
+ * store.push_back(42);
150
+ * store.push_back("abc");
151
+ * store.push_back(1.5f);
152
+ * std::string result = fmt::vformat("{} and {} and {}", store);
153
+ */
154
+ template <typename T> void push_back(const T& arg) {
155
+ if (detail::const_check(need_copy<T>::value))
156
+ emplace_arg(dynamic_args_.push<stored_t<T>>(arg));
157
+ else
158
+ emplace_arg(detail::unwrap(arg));
159
+ }
160
+
161
+ /**
162
+ * Adds a reference to the argument into the dynamic store for later passing
163
+ * to a formatting function.
164
+ *
165
+ * **Example**:
166
+ *
167
+ * fmt::dynamic_format_arg_store<fmt::format_context> store;
168
+ * char band[] = "Rolling Stones";
169
+ * store.push_back(std::cref(band));
170
+ * band[9] = 'c'; // Changing str affects the output.
171
+ * std::string result = fmt::vformat("{}", store);
172
+ * // result == "Rolling Scones"
173
+ */
174
+ template <typename T> void push_back(std::reference_wrapper<T> arg) {
175
+ static_assert(
176
+ need_copy<T>::value,
177
+ "objects of built-in types and string views are always copied");
178
+ emplace_arg(arg.get());
179
+ }
180
+
181
+ /**
182
+ * Adds named argument into the dynamic store for later passing to a
183
+ * formatting function. `std::reference_wrapper` is supported to avoid
184
+ * copying of the argument. The name is always copied into the store.
185
+ */
186
+ template <typename T>
187
+ void push_back(const detail::named_arg<char_type, T>& arg) {
188
+ const char_type* arg_name =
189
+ dynamic_args_.push<std::basic_string<char_type>>(arg.name).c_str();
190
+ if (detail::const_check(need_copy<T>::value)) {
191
+ emplace_arg(
192
+ fmt::arg(arg_name, dynamic_args_.push<stored_t<T>>(arg.value)));
193
+ } else {
194
+ emplace_arg(fmt::arg(arg_name, arg.value));
195
+ }
196
+ }
197
+
198
+ /// Erase all elements from the store.
199
+ void clear() {
200
+ data_.clear();
201
+ named_info_.clear();
202
+ dynamic_args_ = {};
203
+ }
204
+
205
+ /// Reserves space to store at least `new_cap` arguments including
206
+ /// `new_cap_named` named arguments.
207
+ void reserve(size_t new_cap, size_t new_cap_named) {
208
+ FMT_ASSERT(new_cap >= new_cap_named,
209
+ "set of arguments includes set of named arguments");
210
+ data_.reserve(new_cap);
211
+ named_info_.reserve(new_cap_named);
212
+ }
213
+
214
+ /// Returns the number of elements in the store.
215
+ size_t size() const noexcept { return data_.size(); }
216
+ };
217
+
218
+ FMT_END_NAMESPACE
219
+
220
+ #endif // FMT_ARGS_H_