tensorstore 0.0.0__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 (2133) hide show
  1. tensorstore-0.0.0/.bazelignore +15 -0
  2. tensorstore-0.0.0/.bazelrc +132 -0
  3. tensorstore-0.0.0/.bazelversion +1 -0
  4. tensorstore-0.0.0/.clang-format +3 -0
  5. tensorstore-0.0.0/.gitattributes +5 -0
  6. tensorstore-0.0.0/.github/workflows/build.yml +99 -0
  7. tensorstore-0.0.0/.github/workflows/docs.yml +66 -0
  8. tensorstore-0.0.0/.gitignore +23 -0
  9. tensorstore-0.0.0/.style.yapf +2 -0
  10. tensorstore-0.0.0/AUTHORS +7 -0
  11. tensorstore-0.0.0/BUILD.bazel +174 -0
  12. tensorstore-0.0.0/CMakeLists.txt +105 -0
  13. tensorstore-0.0.0/CONTRIBUTING.md +28 -0
  14. tensorstore-0.0.0/LICENSE +291 -0
  15. tensorstore-0.0.0/PKG-INFO +371 -0
  16. tensorstore-0.0.0/README.md +61 -0
  17. tensorstore-0.0.0/WORKSPACE +47 -0
  18. tensorstore-0.0.0/bazel/BUILD +26 -0
  19. tensorstore-0.0.0/bazel/cc_grpc_library.bzl +85 -0
  20. tensorstore-0.0.0/bazel/constants.bzl +18 -0
  21. tensorstore-0.0.0/bazel/local_mirror.bzl +87 -0
  22. tensorstore-0.0.0/bazel/non_compile.bzl +58 -0
  23. tensorstore-0.0.0/bazel/proxy_xds_build_system.bzl +95 -0
  24. tensorstore-0.0.0/bazel/pybind11.bzl +181 -0
  25. tensorstore-0.0.0/bazel/pybind11_cc_test.bzl +120 -0
  26. tensorstore-0.0.0/bazel/pytest.bzl +115 -0
  27. tensorstore-0.0.0/bazel/pytype.bzl +27 -0
  28. tensorstore-0.0.0/bazel/rules_nasm.bzl +100 -0
  29. tensorstore-0.0.0/bazel/tensorstore.bzl +55 -0
  30. tensorstore-0.0.0/bazel/utils.bzl +78 -0
  31. tensorstore-0.0.0/bazelisk.py +506 -0
  32. tensorstore-0.0.0/docs/BUILD +275 -0
  33. tensorstore-0.0.0/docs/build_docs.py +403 -0
  34. tensorstore-0.0.0/docs/chunk_layout_schema.yml +185 -0
  35. tensorstore-0.0.0/docs/codec_schema.yml +20 -0
  36. tensorstore-0.0.0/docs/conf.py +564 -0
  37. tensorstore-0.0.0/docs/conftest.py +37 -0
  38. tensorstore-0.0.0/docs/context.rst +17 -0
  39. tensorstore-0.0.0/docs/context_schema.yml +80 -0
  40. tensorstore-0.0.0/docs/cpp/api/index.rst +114 -0
  41. tensorstore-0.0.0/docs/cpp_api_include.cc +40 -0
  42. tensorstore-0.0.0/docs/defs.bzl +100 -0
  43. tensorstore-0.0.0/docs/doctest.bzl +107 -0
  44. tensorstore-0.0.0/docs/doctest_test.py +396 -0
  45. tensorstore-0.0.0/docs/docutils.conf +4 -0
  46. tensorstore-0.0.0/docs/environment.rst +151 -0
  47. tensorstore-0.0.0/docs/generate_cpp_api.py +178 -0
  48. tensorstore-0.0.0/docs/generate_logo.py +80 -0
  49. tensorstore-0.0.0/docs/index.rst +97 -0
  50. tensorstore-0.0.0/docs/index_domain_schema.yml +108 -0
  51. tensorstore-0.0.0/docs/index_space.rst +313 -0
  52. tensorstore-0.0.0/docs/index_transform_schema.yml +198 -0
  53. tensorstore-0.0.0/docs/installation.rst +423 -0
  54. tensorstore-0.0.0/docs/intersphinx_inv/dask.inv +0 -0
  55. tensorstore-0.0.0/docs/intersphinx_inv/numpy.inv +0 -0
  56. tensorstore-0.0.0/docs/intersphinx_inv/python3.inv +0 -0
  57. tensorstore-0.0.0/docs/intersphinx_inv/zarr-specs.inv +0 -0
  58. tensorstore-0.0.0/docs/intersphinx_inv/zarr-specs.txt +70 -0
  59. tensorstore-0.0.0/docs/intersphinx_inv/zarr.inv +0 -0
  60. tensorstore-0.0.0/docs/python/api/index.rst +50 -0
  61. tensorstore-0.0.0/docs/python/indexing.rst +1714 -0
  62. tensorstore-0.0.0/docs/python/tutorial.rst +259 -0
  63. tensorstore-0.0.0/docs/schema.rst +69 -0
  64. tensorstore-0.0.0/docs/schema_schema.yml +126 -0
  65. tensorstore-0.0.0/docs/spec.rst +9 -0
  66. tensorstore-0.0.0/docs/tensorstore_schema.yml +145 -0
  67. tensorstore-0.0.0/docs/tensorstore_sphinx_ext/BUILD +27 -0
  68. tensorstore-0.0.0/docs/tensorstore_sphinx_ext/__init__.py +0 -0
  69. tensorstore-0.0.0/docs/tensorstore_sphinx_ext/doctest.py +70 -0
  70. tensorstore-0.0.0/docs/tensorstore_sphinx_ext/json_pprint.py +135 -0
  71. tensorstore-0.0.0/docs/update_intersphinx_inventories.py +39 -0
  72. tensorstore-0.0.0/dprint.json +6 -0
  73. tensorstore-0.0.0/examples/BUILD +123 -0
  74. tensorstore-0.0.0/examples/compute_percentiles.cc +496 -0
  75. tensorstore-0.0.0/examples/create_array.cc +259 -0
  76. tensorstore-0.0.0/examples/data_type_invoker.h +103 -0
  77. tensorstore-0.0.0/examples/extract_slice.cc +280 -0
  78. tensorstore-0.0.0/examples/image_convolution.cc +309 -0
  79. tensorstore-0.0.0/examples/map_apply.cc +112 -0
  80. tensorstore-0.0.0/external.bzl +20 -0
  81. tensorstore-0.0.0/pyproject.toml +41 -0
  82. tensorstore-0.0.0/python/tensorstore/BUILD +1250 -0
  83. tensorstore-0.0.0/python/tensorstore/LICENSE +203 -0
  84. tensorstore-0.0.0/python/tensorstore/__init__.py +327 -0
  85. tensorstore-0.0.0/python/tensorstore/array_type_caster.cc +415 -0
  86. tensorstore-0.0.0/python/tensorstore/array_type_caster.h +253 -0
  87. tensorstore-0.0.0/python/tensorstore/batch.cc +171 -0
  88. tensorstore-0.0.0/python/tensorstore/batch.h +34 -0
  89. tensorstore-0.0.0/python/tensorstore/bazel_pytest_main.py +73 -0
  90. tensorstore-0.0.0/python/tensorstore/cast.cc +106 -0
  91. tensorstore-0.0.0/python/tensorstore/cc_test_driver.cc +41 -0
  92. tensorstore-0.0.0/python/tensorstore/cc_test_driver_main.py +39 -0
  93. tensorstore-0.0.0/python/tensorstore/chunk_layout.cc +681 -0
  94. tensorstore-0.0.0/python/tensorstore/chunk_layout.h +44 -0
  95. tensorstore-0.0.0/python/tensorstore/chunk_layout_keyword_arguments.h +576 -0
  96. tensorstore-0.0.0/python/tensorstore/context.cc +358 -0
  97. tensorstore-0.0.0/python/tensorstore/context.h +75 -0
  98. tensorstore-0.0.0/python/tensorstore/data_type.cc +346 -0
  99. tensorstore-0.0.0/python/tensorstore/data_type.h +207 -0
  100. tensorstore-0.0.0/python/tensorstore/define_heap_type.cc +30 -0
  101. tensorstore-0.0.0/python/tensorstore/define_heap_type.h +179 -0
  102. tensorstore-0.0.0/python/tensorstore/dim_expression.cc +1640 -0
  103. tensorstore-0.0.0/python/tensorstore/dim_expression.h +585 -0
  104. tensorstore-0.0.0/python/tensorstore/downsample.cc +125 -0
  105. tensorstore-0.0.0/python/tensorstore/downsample.h +45 -0
  106. tensorstore-0.0.0/python/tensorstore/experimental.cc +210 -0
  107. tensorstore-0.0.0/python/tensorstore/future.cc +1185 -0
  108. tensorstore-0.0.0/python/tensorstore/future.h +659 -0
  109. tensorstore-0.0.0/python/tensorstore/garbage_collection.cc +255 -0
  110. tensorstore-0.0.0/python/tensorstore/garbage_collection.h +424 -0
  111. tensorstore-0.0.0/python/tensorstore/gil_safe.cc +110 -0
  112. tensorstore-0.0.0/python/tensorstore/gil_safe.h +245 -0
  113. tensorstore-0.0.0/python/tensorstore/homogeneous_tuple.h +56 -0
  114. tensorstore-0.0.0/python/tensorstore/index.cc +116 -0
  115. tensorstore-0.0.0/python/tensorstore/index.h +142 -0
  116. tensorstore-0.0.0/python/tensorstore/index_space.cc +2946 -0
  117. tensorstore-0.0.0/python/tensorstore/index_space.h +518 -0
  118. tensorstore-0.0.0/python/tensorstore/index_test.cc +108 -0
  119. tensorstore-0.0.0/python/tensorstore/intrusive_ptr_holder.h +35 -0
  120. tensorstore-0.0.0/python/tensorstore/json_type_caster.cc +191 -0
  121. tensorstore-0.0.0/python/tensorstore/json_type_caster.h +69 -0
  122. tensorstore-0.0.0/python/tensorstore/keyword_arguments.h +193 -0
  123. tensorstore-0.0.0/python/tensorstore/keyword_arguments_test.cc +127 -0
  124. tensorstore-0.0.0/python/tensorstore/kvstore.cc +1797 -0
  125. tensorstore-0.0.0/python/tensorstore/kvstore.h +108 -0
  126. tensorstore-0.0.0/python/tensorstore/numpy.cc +31 -0
  127. tensorstore-0.0.0/python/tensorstore/numpy.h +89 -0
  128. tensorstore-0.0.0/python/tensorstore/numpy_indexing_spec.cc +260 -0
  129. tensorstore-0.0.0/python/tensorstore/numpy_indexing_spec.h +183 -0
  130. tensorstore-0.0.0/python/tensorstore/ocdbt.cc +204 -0
  131. tensorstore-0.0.0/python/tensorstore/python_imports.cc +59 -0
  132. tensorstore-0.0.0/python/tensorstore/python_imports.h +61 -0
  133. tensorstore-0.0.0/python/tensorstore/python_value_or_exception.cc +65 -0
  134. tensorstore-0.0.0/python/tensorstore/python_value_or_exception.h +143 -0
  135. tensorstore-0.0.0/python/tensorstore/result_type_caster.h +107 -0
  136. tensorstore-0.0.0/python/tensorstore/sequence_parameter.h +62 -0
  137. tensorstore-0.0.0/python/tensorstore/serialization.cc +551 -0
  138. tensorstore-0.0.0/python/tensorstore/serialization.h +335 -0
  139. tensorstore-0.0.0/python/tensorstore/shell.py +29 -0
  140. tensorstore-0.0.0/python/tensorstore/spec.cc +2086 -0
  141. tensorstore-0.0.0/python/tensorstore/spec.h +612 -0
  142. tensorstore-0.0.0/python/tensorstore/stack.cc +444 -0
  143. tensorstore-0.0.0/python/tensorstore/status.cc +273 -0
  144. tensorstore-0.0.0/python/tensorstore/status.h +113 -0
  145. tensorstore-0.0.0/python/tensorstore/subscript_method.h +124 -0
  146. tensorstore-0.0.0/python/tensorstore/tensorstore_class.cc +2905 -0
  147. tensorstore-0.0.0/python/tensorstore/tensorstore_class.h +203 -0
  148. tensorstore-0.0.0/python/tensorstore/tensorstore_module.cc +83 -0
  149. tensorstore-0.0.0/python/tensorstore/tensorstore_module_components.cc +72 -0
  150. tensorstore-0.0.0/python/tensorstore/tensorstore_module_components.h +53 -0
  151. tensorstore-0.0.0/python/tensorstore/tests/bfloat16_test.py +466 -0
  152. tensorstore-0.0.0/python/tensorstore/tests/chunk_layout_test.py +145 -0
  153. tensorstore-0.0.0/python/tensorstore/tests/conftest.py +62 -0
  154. tensorstore-0.0.0/python/tensorstore/tests/context_test.py +105 -0
  155. tensorstore-0.0.0/python/tensorstore/tests/custom_dtypes_test.py +130 -0
  156. tensorstore-0.0.0/python/tensorstore/tests/data_type_test.py +190 -0
  157. tensorstore-0.0.0/python/tensorstore/tests/dim_expression_test.py +1066 -0
  158. tensorstore-0.0.0/python/tensorstore/tests/dim_test.py +119 -0
  159. tensorstore-0.0.0/python/tensorstore/tests/downsample_test.py +53 -0
  160. tensorstore-0.0.0/python/tensorstore/tests/exit_test.py +77 -0
  161. tensorstore-0.0.0/python/tensorstore/tests/experimental_test.py +61 -0
  162. tensorstore-0.0.0/python/tensorstore/tests/future_test.py +216 -0
  163. tensorstore-0.0.0/python/tensorstore/tests/index_domain_test.py +241 -0
  164. tensorstore-0.0.0/python/tensorstore/tests/index_transform_test.py +173 -0
  165. tensorstore-0.0.0/python/tensorstore/tests/indexing_test.py +213 -0
  166. tensorstore-0.0.0/python/tensorstore/tests/int4_test.py +395 -0
  167. tensorstore-0.0.0/python/tensorstore/tests/kvstore_test.py +158 -0
  168. tensorstore-0.0.0/python/tensorstore/tests/spec_test.py +159 -0
  169. tensorstore-0.0.0/python/tensorstore/tests/stack_test.py +43 -0
  170. tensorstore-0.0.0/python/tensorstore/tests/tensorstore_test.py +612 -0
  171. tensorstore-0.0.0/python/tensorstore/tests/transaction_test.py +164 -0
  172. tensorstore-0.0.0/python/tensorstore/tests/virtual_chunked_test.py +270 -0
  173. tensorstore-0.0.0/python/tensorstore/time.cc +45 -0
  174. tensorstore-0.0.0/python/tensorstore/time.h +40 -0
  175. tensorstore-0.0.0/python/tensorstore/transaction.cc +348 -0
  176. tensorstore-0.0.0/python/tensorstore/transaction.h +50 -0
  177. tensorstore-0.0.0/python/tensorstore/type_name_override.h +93 -0
  178. tensorstore-0.0.0/python/tensorstore/typed_slice.h +76 -0
  179. tensorstore-0.0.0/python/tensorstore/unit.cc +324 -0
  180. tensorstore-0.0.0/python/tensorstore/unit.h +59 -0
  181. tensorstore-0.0.0/python/tensorstore/virtual_chunked.cc +559 -0
  182. tensorstore-0.0.0/python/tensorstore/write_futures.cc +202 -0
  183. tensorstore-0.0.0/python/tensorstore/write_futures.h +95 -0
  184. tensorstore-0.0.0/setup.cfg +4 -0
  185. tensorstore-0.0.0/setup.py +357 -0
  186. tensorstore-0.0.0/tensorstore/BUILD +1104 -0
  187. tensorstore-0.0.0/tensorstore/array.cc +377 -0
  188. tensorstore-0.0.0/tensorstore/array.h +2202 -0
  189. tensorstore-0.0.0/tensorstore/array_nc_test.cc +62 -0
  190. tensorstore-0.0.0/tensorstore/array_storage_statistics.cc +44 -0
  191. tensorstore-0.0.0/tensorstore/array_storage_statistics.h +142 -0
  192. tensorstore-0.0.0/tensorstore/array_test.cc +2042 -0
  193. tensorstore-0.0.0/tensorstore/array_testutil.cc +96 -0
  194. tensorstore-0.0.0/tensorstore/array_testutil.h +300 -0
  195. tensorstore-0.0.0/tensorstore/array_testutil_matches_array.inc +214 -0
  196. tensorstore-0.0.0/tensorstore/array_testutil_test.cc +183 -0
  197. tensorstore-0.0.0/tensorstore/batch.cc +103 -0
  198. tensorstore-0.0.0/tensorstore/batch.h +129 -0
  199. tensorstore-0.0.0/tensorstore/batch_impl.h +106 -0
  200. tensorstore-0.0.0/tensorstore/batch_test.cc +138 -0
  201. tensorstore-0.0.0/tensorstore/box.cc +84 -0
  202. tensorstore-0.0.0/tensorstore/box.h +964 -0
  203. tensorstore-0.0.0/tensorstore/box_test.cc +811 -0
  204. tensorstore-0.0.0/tensorstore/cast.h +109 -0
  205. tensorstore-0.0.0/tensorstore/chunk_layout.cc +2147 -0
  206. tensorstore-0.0.0/tensorstore/chunk_layout.h +1121 -0
  207. tensorstore-0.0.0/tensorstore/chunk_layout_test.cc +1867 -0
  208. tensorstore-0.0.0/tensorstore/codec_spec.cc +151 -0
  209. tensorstore-0.0.0/tensorstore/codec_spec.h +171 -0
  210. tensorstore-0.0.0/tensorstore/codec_spec_registry.h +82 -0
  211. tensorstore-0.0.0/tensorstore/codec_spec_test.cc +37 -0
  212. tensorstore-0.0.0/tensorstore/container_kind.h +39 -0
  213. tensorstore-0.0.0/tensorstore/context.cc +1285 -0
  214. tensorstore-0.0.0/tensorstore/context.h +737 -0
  215. tensorstore-0.0.0/tensorstore/context_impl.h +195 -0
  216. tensorstore-0.0.0/tensorstore/context_impl_base.h +667 -0
  217. tensorstore-0.0.0/tensorstore/context_resource_provider.h +212 -0
  218. tensorstore-0.0.0/tensorstore/context_test.cc +968 -0
  219. tensorstore-0.0.0/tensorstore/contiguous_layout.cc +139 -0
  220. tensorstore-0.0.0/tensorstore/contiguous_layout.h +246 -0
  221. tensorstore-0.0.0/tensorstore/contiguous_layout_test.cc +266 -0
  222. tensorstore-0.0.0/tensorstore/data_type.cc +665 -0
  223. tensorstore-0.0.0/tensorstore/data_type.h +1569 -0
  224. tensorstore-0.0.0/tensorstore/data_type_conversion.h +1932 -0
  225. tensorstore-0.0.0/tensorstore/data_type_conversion_test.cc +915 -0
  226. tensorstore-0.0.0/tensorstore/data_type_test.cc +583 -0
  227. tensorstore-0.0.0/tensorstore/downsample.h +111 -0
  228. tensorstore-0.0.0/tensorstore/downsample_method.cc +40 -0
  229. tensorstore-0.0.0/tensorstore/downsample_method.h +44 -0
  230. tensorstore-0.0.0/tensorstore/driver/BUILD +418 -0
  231. tensorstore-0.0.0/tensorstore/driver/array/BUILD +112 -0
  232. tensorstore-0.0.0/tensorstore/driver/array/array.cc +559 -0
  233. tensorstore-0.0.0/tensorstore/driver/array/array.h +125 -0
  234. tensorstore-0.0.0/tensorstore/driver/array/array_test.cc +768 -0
  235. tensorstore-0.0.0/tensorstore/driver/array/index.rst +13 -0
  236. tensorstore-0.0.0/tensorstore/driver/array/schema.yml +23 -0
  237. tensorstore-0.0.0/tensorstore/driver/cast/BUILD +101 -0
  238. tensorstore-0.0.0/tensorstore/driver/cast/cast.cc +487 -0
  239. tensorstore-0.0.0/tensorstore/driver/cast/cast.h +113 -0
  240. tensorstore-0.0.0/tensorstore/driver/cast/cast_test.cc +723 -0
  241. tensorstore-0.0.0/tensorstore/driver/cast/index.rst +19 -0
  242. tensorstore-0.0.0/tensorstore/driver/cast/schema.yml +20 -0
  243. tensorstore-0.0.0/tensorstore/driver/chunk.h +236 -0
  244. tensorstore-0.0.0/tensorstore/driver/chunk_cache_driver.h +157 -0
  245. tensorstore-0.0.0/tensorstore/driver/chunk_receiver_utils.h +70 -0
  246. tensorstore-0.0.0/tensorstore/driver/copy.cc +402 -0
  247. tensorstore-0.0.0/tensorstore/driver/copy.h +58 -0
  248. tensorstore-0.0.0/tensorstore/driver/downsample/BUILD +310 -0
  249. tensorstore-0.0.0/tensorstore/driver/downsample/downsample.cc +1121 -0
  250. tensorstore-0.0.0/tensorstore/driver/downsample/downsample.h +33 -0
  251. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_array.cc +173 -0
  252. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_array.h +68 -0
  253. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_array_test.cc +410 -0
  254. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_benchmark_test.cc +100 -0
  255. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_method_json_binder.h +51 -0
  256. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_nditerable.cc +1358 -0
  257. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_nditerable.h +71 -0
  258. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_test.cc +892 -0
  259. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_util.cc +802 -0
  260. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_util.h +222 -0
  261. tensorstore-0.0.0/tensorstore/driver/downsample/downsample_util_test.cc +567 -0
  262. tensorstore-0.0.0/tensorstore/driver/downsample/grid_occupancy_map.cc +139 -0
  263. tensorstore-0.0.0/tensorstore/driver/downsample/grid_occupancy_map.h +90 -0
  264. tensorstore-0.0.0/tensorstore/driver/downsample/grid_occupancy_map_test.cc +95 -0
  265. tensorstore-0.0.0/tensorstore/driver/downsample/index.rst +15 -0
  266. tensorstore-0.0.0/tensorstore/driver/downsample/schema.yml +116 -0
  267. tensorstore-0.0.0/tensorstore/driver/driver.cc +389 -0
  268. tensorstore-0.0.0/tensorstore/driver/driver.h +361 -0
  269. tensorstore-0.0.0/tensorstore/driver/driver_handle.h +171 -0
  270. tensorstore-0.0.0/tensorstore/driver/driver_spec.cc +380 -0
  271. tensorstore-0.0.0/tensorstore/driver/driver_spec.h +324 -0
  272. tensorstore-0.0.0/tensorstore/driver/driver_test.cc +89 -0
  273. tensorstore-0.0.0/tensorstore/driver/driver_testutil.cc +1458 -0
  274. tensorstore-0.0.0/tensorstore/driver/driver_testutil.h +383 -0
  275. tensorstore-0.0.0/tensorstore/driver/image/BUILD +97 -0
  276. tensorstore-0.0.0/tensorstore/driver/image/avif/BUILD +48 -0
  277. tensorstore-0.0.0/tensorstore/driver/image/avif/driver.cc +110 -0
  278. tensorstore-0.0.0/tensorstore/driver/image/avif/index.rst +15 -0
  279. tensorstore-0.0.0/tensorstore/driver/image/avif/schema.yml +46 -0
  280. tensorstore-0.0.0/tensorstore/driver/image/bmp/BUILD +44 -0
  281. tensorstore-0.0.0/tensorstore/driver/image/bmp/driver.cc +76 -0
  282. tensorstore-0.0.0/tensorstore/driver/image/bmp/index.rst +11 -0
  283. tensorstore-0.0.0/tensorstore/driver/image/bmp/schema.yml +36 -0
  284. tensorstore-0.0.0/tensorstore/driver/image/driver_impl.h +586 -0
  285. tensorstore-0.0.0/tensorstore/driver/image/driver_test.cc +387 -0
  286. tensorstore-0.0.0/tensorstore/driver/image/jpeg/BUILD +47 -0
  287. tensorstore-0.0.0/tensorstore/driver/image/jpeg/driver.cc +100 -0
  288. tensorstore-0.0.0/tensorstore/driver/image/jpeg/index.rst +10 -0
  289. tensorstore-0.0.0/tensorstore/driver/image/jpeg/schema.yml +41 -0
  290. tensorstore-0.0.0/tensorstore/driver/image/png/BUILD +46 -0
  291. tensorstore-0.0.0/tensorstore/driver/image/png/driver.cc +104 -0
  292. tensorstore-0.0.0/tensorstore/driver/image/png/index.rst +10 -0
  293. tensorstore-0.0.0/tensorstore/driver/image/png/schema.yml +41 -0
  294. tensorstore-0.0.0/tensorstore/driver/image/test_image.cc +16819 -0
  295. tensorstore-0.0.0/tensorstore/driver/image/test_image.h +35 -0
  296. tensorstore-0.0.0/tensorstore/driver/image/tiff/BUILD +46 -0
  297. tensorstore-0.0.0/tensorstore/driver/image/tiff/driver.cc +140 -0
  298. tensorstore-0.0.0/tensorstore/driver/image/tiff/index.rst +14 -0
  299. tensorstore-0.0.0/tensorstore/driver/image/tiff/schema.yml +41 -0
  300. tensorstore-0.0.0/tensorstore/driver/image/webp/BUILD +45 -0
  301. tensorstore-0.0.0/tensorstore/driver/image/webp/driver.cc +108 -0
  302. tensorstore-0.0.0/tensorstore/driver/image/webp/index.rst +13 -0
  303. tensorstore-0.0.0/tensorstore/driver/image/webp/schema.yml +46 -0
  304. tensorstore-0.0.0/tensorstore/driver/index.rst +43 -0
  305. tensorstore-0.0.0/tensorstore/driver/json/BUILD +134 -0
  306. tensorstore-0.0.0/tensorstore/driver/json/driver.cc +624 -0
  307. tensorstore-0.0.0/tensorstore/driver/json/driver_test.cc +460 -0
  308. tensorstore-0.0.0/tensorstore/driver/json/index.rst +20 -0
  309. tensorstore-0.0.0/tensorstore/driver/json/json_change_map.cc +166 -0
  310. tensorstore-0.0.0/tensorstore/driver/json/json_change_map.h +98 -0
  311. tensorstore-0.0.0/tensorstore/driver/json/json_change_map_test.cc +202 -0
  312. tensorstore-0.0.0/tensorstore/driver/json/schema.yml +88 -0
  313. tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver.cc +1502 -0
  314. tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver.h +955 -0
  315. tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver_impl.h +139 -0
  316. tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver_schema.yml +175 -0
  317. tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver_test.cc +156 -0
  318. tensorstore-0.0.0/tensorstore/driver/n5/BUILD +419 -0
  319. tensorstore-0.0.0/tensorstore/driver/n5/blosc_compressor.cc +55 -0
  320. tensorstore-0.0.0/tensorstore/driver/n5/blosc_compressor_test.cc +175 -0
  321. tensorstore-0.0.0/tensorstore/driver/n5/bzip2_compressor.cc +46 -0
  322. tensorstore-0.0.0/tensorstore/driver/n5/bzip2_compressor_test.cc +106 -0
  323. tensorstore-0.0.0/tensorstore/driver/n5/compressor.cc +51 -0
  324. tensorstore-0.0.0/tensorstore/driver/n5/compressor.h +34 -0
  325. tensorstore-0.0.0/tensorstore/driver/n5/compressor_registry.h +36 -0
  326. tensorstore-0.0.0/tensorstore/driver/n5/driver.cc +492 -0
  327. tensorstore-0.0.0/tensorstore/driver/n5/driver_test.cc +1886 -0
  328. tensorstore-0.0.0/tensorstore/driver/n5/golden_file_test.cc +88 -0
  329. tensorstore-0.0.0/tensorstore/driver/n5/gzip_compressor.cc +57 -0
  330. tensorstore-0.0.0/tensorstore/driver/n5/gzip_compressor_test.cc +113 -0
  331. tensorstore-0.0.0/tensorstore/driver/n5/index.rst +307 -0
  332. tensorstore-0.0.0/tensorstore/driver/n5/metadata.cc +696 -0
  333. tensorstore-0.0.0/tensorstore/driver/n5/metadata.h +251 -0
  334. tensorstore-0.0.0/tensorstore/driver/n5/metadata_test.cc +345 -0
  335. tensorstore-0.0.0/tensorstore/driver/n5/schema.yml +250 -0
  336. tensorstore-0.0.0/tensorstore/driver/n5/storage_statistics_test.cc +30 -0
  337. tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/0/0 +0 -0
  338. tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/0/1 +0 -0
  339. tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/1/0 +0 -0
  340. tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/1/1 +0 -0
  341. tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/attributes.json +18 -0
  342. tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/0/0 +0 -0
  343. tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/0/1 +0 -0
  344. tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/1/0 +0 -0
  345. tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/1/1 +0 -0
  346. tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/attributes.json +15 -0
  347. tensorstore-0.0.0/tensorstore/driver/n5/testdata/generate.py +47 -0
  348. tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/0/0 +0 -0
  349. tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/0/1 +0 -0
  350. tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/1/0 +0 -0
  351. tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/1/1 +0 -0
  352. tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/attributes.json +16 -0
  353. tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/0/0 +0 -0
  354. tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/0/1 +0 -0
  355. tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/1/0 +0 -0
  356. tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/1/1 +0 -0
  357. tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/attributes.json +14 -0
  358. tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/0/0 +0 -0
  359. tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/0/1 +0 -0
  360. tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/1/0 +0 -0
  361. tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/1/1 +0 -0
  362. tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/attributes.json +15 -0
  363. tensorstore-0.0.0/tensorstore/driver/n5/xz_compressor.cc +46 -0
  364. tensorstore-0.0.0/tensorstore/driver/n5/xz_compressor_test.cc +110 -0
  365. tensorstore-0.0.0/tensorstore/driver/n5/zstd_compressor.cc +52 -0
  366. tensorstore-0.0.0/tensorstore/driver/n5/zstd_compressor_test.cc +86 -0
  367. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/BUILD +283 -0
  368. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/chunk_encoding.cc +376 -0
  369. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/chunk_encoding.h +63 -0
  370. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/chunk_encoding_test.cc +183 -0
  371. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/driver.cc +962 -0
  372. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/driver_test.cc +3096 -0
  373. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/index.rst +640 -0
  374. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/metadata.cc +1649 -0
  375. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/metadata.h +409 -0
  376. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/metadata_test.cc +2143 -0
  377. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/schema.yml +225 -0
  378. tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/storage_statistics_test.cc +274 -0
  379. tensorstore-0.0.0/tensorstore/driver/read.cc +366 -0
  380. tensorstore-0.0.0/tensorstore/driver/read.h +101 -0
  381. tensorstore-0.0.0/tensorstore/driver/read_request.h +35 -0
  382. tensorstore-0.0.0/tensorstore/driver/registry.h +173 -0
  383. tensorstore-0.0.0/tensorstore/driver/stack/BUILD +151 -0
  384. tensorstore-0.0.0/tensorstore/driver/stack/driver.cc +1093 -0
  385. tensorstore-0.0.0/tensorstore/driver/stack/driver.h +110 -0
  386. tensorstore-0.0.0/tensorstore/driver/stack/driver_test.cc +1411 -0
  387. tensorstore-0.0.0/tensorstore/driver/stack/index.rst +135 -0
  388. tensorstore-0.0.0/tensorstore/driver/stack/integration_test.cc +410 -0
  389. tensorstore-0.0.0/tensorstore/driver/stack/schema.yml +44 -0
  390. tensorstore-0.0.0/tensorstore/driver/virtual_chunked/BUILD +100 -0
  391. tensorstore-0.0.0/tensorstore/driver/virtual_chunked/virtual_chunked.cc +761 -0
  392. tensorstore-0.0.0/tensorstore/driver/virtual_chunked/virtual_chunked_test.cc +585 -0
  393. tensorstore-0.0.0/tensorstore/driver/write.cc +335 -0
  394. tensorstore-0.0.0/tensorstore/driver/write.h +59 -0
  395. tensorstore-0.0.0/tensorstore/driver/write_request.h +33 -0
  396. tensorstore-0.0.0/tensorstore/driver/zarr/BUILD +523 -0
  397. tensorstore-0.0.0/tensorstore/driver/zarr/blosc_compressor.cc +67 -0
  398. tensorstore-0.0.0/tensorstore/driver/zarr/blosc_compressor_test.cc +297 -0
  399. tensorstore-0.0.0/tensorstore/driver/zarr/bzip2_compressor.cc +44 -0
  400. tensorstore-0.0.0/tensorstore/driver/zarr/bzip2_compressor_test.cc +105 -0
  401. tensorstore-0.0.0/tensorstore/driver/zarr/compressor.cc +48 -0
  402. tensorstore-0.0.0/tensorstore/driver/zarr/compressor.h +34 -0
  403. tensorstore-0.0.0/tensorstore/driver/zarr/compressor_registry.h +36 -0
  404. tensorstore-0.0.0/tensorstore/driver/zarr/compressor_test.cc +64 -0
  405. tensorstore-0.0.0/tensorstore/driver/zarr/driver.cc +534 -0
  406. tensorstore-0.0.0/tensorstore/driver/zarr/driver_impl.h +186 -0
  407. tensorstore-0.0.0/tensorstore/driver/zarr/driver_impl_test.cc +388 -0
  408. tensorstore-0.0.0/tensorstore/driver/zarr/driver_test.cc +3463 -0
  409. tensorstore-0.0.0/tensorstore/driver/zarr/dtype.cc +453 -0
  410. tensorstore-0.0.0/tensorstore/driver/zarr/dtype.h +149 -0
  411. tensorstore-0.0.0/tensorstore/driver/zarr/dtype_test.cc +381 -0
  412. tensorstore-0.0.0/tensorstore/driver/zarr/index.rst +473 -0
  413. tensorstore-0.0.0/tensorstore/driver/zarr/metadata.cc +657 -0
  414. tensorstore-0.0.0/tensorstore/driver/zarr/metadata.h +269 -0
  415. tensorstore-0.0.0/tensorstore/driver/zarr/metadata_test.cc +798 -0
  416. tensorstore-0.0.0/tensorstore/driver/zarr/metadata_testutil.cc +84 -0
  417. tensorstore-0.0.0/tensorstore/driver/zarr/metadata_testutil.h +48 -0
  418. tensorstore-0.0.0/tensorstore/driver/zarr/schema.yml +303 -0
  419. tensorstore-0.0.0/tensorstore/driver/zarr/spec.cc +568 -0
  420. tensorstore-0.0.0/tensorstore/driver/zarr/spec.h +169 -0
  421. tensorstore-0.0.0/tensorstore/driver/zarr/spec_test.cc +828 -0
  422. tensorstore-0.0.0/tensorstore/driver/zarr/storage_statistics_test.cc +33 -0
  423. tensorstore-0.0.0/tensorstore/driver/zarr/storage_statistics_test_util.cc +347 -0
  424. tensorstore-0.0.0/tensorstore/driver/zarr/storage_statistics_test_util.h +77 -0
  425. tensorstore-0.0.0/tensorstore/driver/zarr/zlib_compressor.cc +53 -0
  426. tensorstore-0.0.0/tensorstore/driver/zarr/zlib_compressor_test.cc +92 -0
  427. tensorstore-0.0.0/tensorstore/driver/zarr/zstd_compressor.cc +52 -0
  428. tensorstore-0.0.0/tensorstore/driver/zarr/zstd_compressor_test.cc +87 -0
  429. tensorstore-0.0.0/tensorstore/driver/zarr3/BUILD +329 -0
  430. tensorstore-0.0.0/tensorstore/driver/zarr3/chunk_cache.cc +498 -0
  431. tensorstore-0.0.0/tensorstore/driver/zarr3/chunk_cache.h +312 -0
  432. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/BUILD +417 -0
  433. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/blosc.cc +213 -0
  434. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/blosc.h +56 -0
  435. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/blosc_test.cc +225 -0
  436. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/bytes.cc +245 -0
  437. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/bytes.h +70 -0
  438. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/bytes_test.cc +103 -0
  439. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec.cc +188 -0
  440. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec.h +358 -0
  441. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_chain_spec.cc +537 -0
  442. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_chain_spec.h +224 -0
  443. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_chain_spec_test.cc +142 -0
  444. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_spec.cc +45 -0
  445. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_spec.h +341 -0
  446. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_test_util.cc +150 -0
  447. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_test_util.h +65 -0
  448. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/crc32c.cc +114 -0
  449. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/crc32c.h +40 -0
  450. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/gzip.cc +116 -0
  451. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/gzip.h +48 -0
  452. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/gzip_test.cc +56 -0
  453. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/registry.h +106 -0
  454. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/sharding_indexed.cc +385 -0
  455. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/sharding_indexed.h +77 -0
  456. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/sharding_indexed_test.cc +234 -0
  457. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/transpose.cc +334 -0
  458. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/transpose.h +70 -0
  459. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/transpose_test.cc +153 -0
  460. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/zstd_codec.cc +138 -0
  461. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/zstd_codec.h +49 -0
  462. tensorstore-0.0.0/tensorstore/driver/zarr3/codec/zstd_test.cc +70 -0
  463. tensorstore-0.0.0/tensorstore/driver/zarr3/default_nan.h +86 -0
  464. tensorstore-0.0.0/tensorstore/driver/zarr3/driver.cc +630 -0
  465. tensorstore-0.0.0/tensorstore/driver/zarr3/driver_test.cc +1627 -0
  466. tensorstore-0.0.0/tensorstore/driver/zarr3/index.rst +343 -0
  467. tensorstore-0.0.0/tensorstore/driver/zarr3/metadata.cc +972 -0
  468. tensorstore-0.0.0/tensorstore/driver/zarr3/metadata.h +222 -0
  469. tensorstore-0.0.0/tensorstore/driver/zarr3/metadata_test.cc +621 -0
  470. tensorstore-0.0.0/tensorstore/driver/zarr3/name_configuration_json_binder.h +36 -0
  471. tensorstore-0.0.0/tensorstore/driver/zarr3/schema.yml +581 -0
  472. tensorstore-0.0.0/tensorstore/driver/zarr3/sharding_benchmark_test.cc +179 -0
  473. tensorstore-0.0.0/tensorstore/driver/zarr3/storage_statistics_test.cc +402 -0
  474. tensorstore-0.0.0/tensorstore/generate_data_type.py +238 -0
  475. tensorstore-0.0.0/tensorstore/generate_interval_slice_overloads.py +278 -0
  476. tensorstore-0.0.0/tensorstore/generate_make_array_overloads.py +253 -0
  477. tensorstore-0.0.0/tensorstore/generate_matches_array_overloads.py +121 -0
  478. tensorstore-0.0.0/tensorstore/index.h +77 -0
  479. tensorstore-0.0.0/tensorstore/index_interval.cc +624 -0
  480. tensorstore-0.0.0/tensorstore/index_interval.h +1166 -0
  481. tensorstore-0.0.0/tensorstore/index_interval_test.cc +1794 -0
  482. tensorstore-0.0.0/tensorstore/index_space/BUILD +1117 -0
  483. tensorstore-0.0.0/tensorstore/index_space/add_new_dims_op_test.cc +213 -0
  484. tensorstore-0.0.0/tensorstore/index_space/alignment.cc +173 -0
  485. tensorstore-0.0.0/tensorstore/index_space/alignment.h +213 -0
  486. tensorstore-0.0.0/tensorstore/index_space/alignment_test.cc +469 -0
  487. tensorstore-0.0.0/tensorstore/index_space/compose_transforms_test.cc +349 -0
  488. tensorstore-0.0.0/tensorstore/index_space/deep_copy_transform_rep_ptr_test.cc +167 -0
  489. tensorstore-0.0.0/tensorstore/index_space/diagonal_op_test.cc +350 -0
  490. tensorstore-0.0.0/tensorstore/index_space/dim_expression.h +2272 -0
  491. tensorstore-0.0.0/tensorstore/index_space/dim_expression_nc_test.cc +67 -0
  492. tensorstore-0.0.0/tensorstore/index_space/dim_expression_test.cc +540 -0
  493. tensorstore-0.0.0/tensorstore/index_space/dimension_identifier.cc +193 -0
  494. tensorstore-0.0.0/tensorstore/index_space/dimension_identifier.h +275 -0
  495. tensorstore-0.0.0/tensorstore/index_space/dimension_identifier_test.cc +312 -0
  496. tensorstore-0.0.0/tensorstore/index_space/dimension_index_buffer.h +38 -0
  497. tensorstore-0.0.0/tensorstore/index_space/dimension_permutation.cc +92 -0
  498. tensorstore-0.0.0/tensorstore/index_space/dimension_permutation.h +77 -0
  499. tensorstore-0.0.0/tensorstore/index_space/dimension_permutation_test.cc +98 -0
  500. tensorstore-0.0.0/tensorstore/index_space/dimension_selection_test.cc +439 -0
  501. tensorstore-0.0.0/tensorstore/index_space/dimension_units.cc +129 -0
  502. tensorstore-0.0.0/tensorstore/index_space/dimension_units.h +96 -0
  503. tensorstore-0.0.0/tensorstore/index_space/dimension_units_test.cc +177 -0
  504. tensorstore-0.0.0/tensorstore/index_space/get_output_range_test.cc +285 -0
  505. tensorstore-0.0.0/tensorstore/index_space/identity_transform_test.cc +225 -0
  506. tensorstore-0.0.0/tensorstore/index_space/index_array_slice_op_test.cc +743 -0
  507. tensorstore-0.0.0/tensorstore/index_space/index_domain.h +759 -0
  508. tensorstore-0.0.0/tensorstore/index_space/index_domain_builder.h +373 -0
  509. tensorstore-0.0.0/tensorstore/index_space/index_transform.cc +729 -0
  510. tensorstore-0.0.0/tensorstore/index_space/index_transform.h +1391 -0
  511. tensorstore-0.0.0/tensorstore/index_space/index_transform_builder.cc +208 -0
  512. tensorstore-0.0.0/tensorstore/index_space/index_transform_builder.h +908 -0
  513. tensorstore-0.0.0/tensorstore/index_space/index_transform_builder_test.cc +678 -0
  514. tensorstore-0.0.0/tensorstore/index_space/index_transform_test.cc +1174 -0
  515. tensorstore-0.0.0/tensorstore/index_space/index_transform_testutil.cc +314 -0
  516. tensorstore-0.0.0/tensorstore/index_space/index_transform_testutil.h +127 -0
  517. tensorstore-0.0.0/tensorstore/index_space/index_vector_or_scalar.cc +36 -0
  518. tensorstore-0.0.0/tensorstore/index_space/index_vector_or_scalar.h +127 -0
  519. tensorstore-0.0.0/tensorstore/index_space/index_vector_or_scalar_test.cc +92 -0
  520. tensorstore-0.0.0/tensorstore/index_space/internal/add_new_dims_op.cc +157 -0
  521. tensorstore-0.0.0/tensorstore/index_space/internal/add_new_dims_op.h +77 -0
  522. tensorstore-0.0.0/tensorstore/index_space/internal/compose_transforms.cc +341 -0
  523. tensorstore-0.0.0/tensorstore/index_space/internal/compose_transforms.h +52 -0
  524. tensorstore-0.0.0/tensorstore/index_space/internal/deep_copy_transform_rep_ptr.h +103 -0
  525. tensorstore-0.0.0/tensorstore/index_space/internal/diagonal_op.cc +199 -0
  526. tensorstore-0.0.0/tensorstore/index_space/internal/diagonal_op.h +83 -0
  527. tensorstore-0.0.0/tensorstore/index_space/internal/dim_expression_helper.h +262 -0
  528. tensorstore-0.0.0/tensorstore/index_space/internal/dim_expression_testutil.h +322 -0
  529. tensorstore-0.0.0/tensorstore/index_space/internal/dimension_selection.cc +197 -0
  530. tensorstore-0.0.0/tensorstore/index_space/internal/dimension_selection.h +150 -0
  531. tensorstore-0.0.0/tensorstore/index_space/internal/identity_transform.cc +119 -0
  532. tensorstore-0.0.0/tensorstore/index_space/internal/identity_transform.h +78 -0
  533. tensorstore-0.0.0/tensorstore/index_space/internal/index_array_slice_op.cc +389 -0
  534. tensorstore-0.0.0/tensorstore/index_space/internal/index_array_slice_op.h +190 -0
  535. tensorstore-0.0.0/tensorstore/index_space/internal/interval_slice_op.cc +262 -0
  536. tensorstore-0.0.0/tensorstore/index_space/internal/interval_slice_op.h +245 -0
  537. tensorstore-0.0.0/tensorstore/index_space/internal/inverse_transform.cc +130 -0
  538. tensorstore-0.0.0/tensorstore/index_space/internal/inverse_transform.h +32 -0
  539. tensorstore-0.0.0/tensorstore/index_space/internal/iterate.cc +465 -0
  540. tensorstore-0.0.0/tensorstore/index_space/internal/iterate_impl.h +378 -0
  541. tensorstore-0.0.0/tensorstore/index_space/internal/label_op.cc +65 -0
  542. tensorstore-0.0.0/tensorstore/index_space/internal/label_op.h +94 -0
  543. tensorstore-0.0.0/tensorstore/index_space/internal/mark_explicit_op.cc +63 -0
  544. tensorstore-0.0.0/tensorstore/index_space/internal/mark_explicit_op.h +85 -0
  545. tensorstore-0.0.0/tensorstore/index_space/internal/numpy_indexing_spec.cc +934 -0
  546. tensorstore-0.0.0/tensorstore/index_space/internal/numpy_indexing_spec.h +287 -0
  547. tensorstore-0.0.0/tensorstore/index_space/internal/propagate_bounds.cc +326 -0
  548. tensorstore-0.0.0/tensorstore/index_space/internal/propagate_bounds.h +69 -0
  549. tensorstore-0.0.0/tensorstore/index_space/internal/single_index_slice_op.cc +287 -0
  550. tensorstore-0.0.0/tensorstore/index_space/internal/single_index_slice_op.h +100 -0
  551. tensorstore-0.0.0/tensorstore/index_space/internal/transform_array.cc +224 -0
  552. tensorstore-0.0.0/tensorstore/index_space/internal/transform_array.h +118 -0
  553. tensorstore-0.0.0/tensorstore/index_space/internal/transform_rep.cc +644 -0
  554. tensorstore-0.0.0/tensorstore/index_space/internal/transform_rep.h +674 -0
  555. tensorstore-0.0.0/tensorstore/index_space/internal/transform_rep_impl.h +92 -0
  556. tensorstore-0.0.0/tensorstore/index_space/internal/translate_op.cc +126 -0
  557. tensorstore-0.0.0/tensorstore/index_space/internal/translate_op.h +130 -0
  558. tensorstore-0.0.0/tensorstore/index_space/internal/translate_output_dimensions.cc +45 -0
  559. tensorstore-0.0.0/tensorstore/index_space/internal/transpose.cc +277 -0
  560. tensorstore-0.0.0/tensorstore/index_space/internal/transpose.h +74 -0
  561. tensorstore-0.0.0/tensorstore/index_space/internal/transpose_op.cc +192 -0
  562. tensorstore-0.0.0/tensorstore/index_space/internal/transpose_op.h +237 -0
  563. tensorstore-0.0.0/tensorstore/index_space/interval_slice_op_test.cc +1113 -0
  564. tensorstore-0.0.0/tensorstore/index_space/inverse_transform_test.cc +392 -0
  565. tensorstore-0.0.0/tensorstore/index_space/iterate_benchmark_test.cc +195 -0
  566. tensorstore-0.0.0/tensorstore/index_space/iterate_nc_test.cc +37 -0
  567. tensorstore-0.0.0/tensorstore/index_space/iterate_test.cc +346 -0
  568. tensorstore-0.0.0/tensorstore/index_space/json.cc +619 -0
  569. tensorstore-0.0.0/tensorstore/index_space/json.h +386 -0
  570. tensorstore-0.0.0/tensorstore/index_space/json_test.cc +890 -0
  571. tensorstore-0.0.0/tensorstore/index_space/label_op_test.cc +96 -0
  572. tensorstore-0.0.0/tensorstore/index_space/mark_explicit_op_test.cc +296 -0
  573. tensorstore-0.0.0/tensorstore/index_space/move_to_op_test.cc +224 -0
  574. tensorstore-0.0.0/tensorstore/index_space/output_index_map.h +350 -0
  575. tensorstore-0.0.0/tensorstore/index_space/output_index_map_test.cc +309 -0
  576. tensorstore-0.0.0/tensorstore/index_space/output_index_method.cc +34 -0
  577. tensorstore-0.0.0/tensorstore/index_space/output_index_method.h +44 -0
  578. tensorstore-0.0.0/tensorstore/index_space/propagate_bounds_test.cc +702 -0
  579. tensorstore-0.0.0/tensorstore/index_space/propagate_input_domain_resize_to_output_test.cc +554 -0
  580. tensorstore-0.0.0/tensorstore/index_space/single_index_slice_op_test.cc +378 -0
  581. tensorstore-0.0.0/tensorstore/index_space/slice_by_box_test.cc +161 -0
  582. tensorstore-0.0.0/tensorstore/index_space/slice_by_index_domain_test.cc +346 -0
  583. tensorstore-0.0.0/tensorstore/index_space/transform_array_constraints.h +157 -0
  584. tensorstore-0.0.0/tensorstore/index_space/transform_array_constraints_test.cc +87 -0
  585. tensorstore-0.0.0/tensorstore/index_space/transform_array_test.cc +474 -0
  586. tensorstore-0.0.0/tensorstore/index_space/transform_broadcastable_array.cc +156 -0
  587. tensorstore-0.0.0/tensorstore/index_space/transform_broadcastable_array.h +67 -0
  588. tensorstore-0.0.0/tensorstore/index_space/transform_broadcastable_array_test.cc +283 -0
  589. tensorstore-0.0.0/tensorstore/index_space/transform_rep_test.cc +478 -0
  590. tensorstore-0.0.0/tensorstore/index_space/transformed_array.cc +293 -0
  591. tensorstore-0.0.0/tensorstore/index_space/transformed_array.h +998 -0
  592. tensorstore-0.0.0/tensorstore/index_space/transformed_array_test.cc +678 -0
  593. tensorstore-0.0.0/tensorstore/index_space/translate_op_test.cc +541 -0
  594. tensorstore-0.0.0/tensorstore/index_space/transpose_op_test.cc +193 -0
  595. tensorstore-0.0.0/tensorstore/index_space/transpose_test.cc +164 -0
  596. tensorstore-0.0.0/tensorstore/index_space/transpose_to_op_test.cc +111 -0
  597. tensorstore-0.0.0/tensorstore/index_space.h +166 -0
  598. tensorstore-0.0.0/tensorstore/internal/BUILD +1888 -0
  599. tensorstore-0.0.0/tensorstore/internal/arena.h +159 -0
  600. tensorstore-0.0.0/tensorstore/internal/arena_test.cc +101 -0
  601. tensorstore-0.0.0/tensorstore/internal/ascii_set.h +59 -0
  602. tensorstore-0.0.0/tensorstore/internal/async_write_array.cc +539 -0
  603. tensorstore-0.0.0/tensorstore/internal/async_write_array.h +412 -0
  604. tensorstore-0.0.0/tensorstore/internal/async_write_array_test.cc +825 -0
  605. tensorstore-0.0.0/tensorstore/internal/attributes.h +65 -0
  606. tensorstore-0.0.0/tensorstore/internal/benchmark/BUILD +255 -0
  607. tensorstore-0.0.0/tensorstore/internal/benchmark/README.md +104 -0
  608. tensorstore-0.0.0/tensorstore/internal/benchmark/kvstore_benchmark.cc +412 -0
  609. tensorstore-0.0.0/tensorstore/internal/benchmark/kvstore_duration.cc +212 -0
  610. tensorstore-0.0.0/tensorstore/internal/benchmark/metric_utils.cc +135 -0
  611. tensorstore-0.0.0/tensorstore/internal/benchmark/metric_utils.h +50 -0
  612. tensorstore-0.0.0/tensorstore/internal/benchmark/multi_genspec.cc +607 -0
  613. tensorstore-0.0.0/tensorstore/internal/benchmark/multi_read_benchmark.cc +344 -0
  614. tensorstore-0.0.0/tensorstore/internal/benchmark/multi_spec.cc +103 -0
  615. tensorstore-0.0.0/tensorstore/internal/benchmark/multi_spec.h +40 -0
  616. tensorstore-0.0.0/tensorstore/internal/benchmark/multi_write_benchmark.cc +415 -0
  617. tensorstore-0.0.0/tensorstore/internal/benchmark/ts_benchmark.cc +236 -0
  618. tensorstore-0.0.0/tensorstore/internal/benchmark/vector_flag.h +71 -0
  619. tensorstore-0.0.0/tensorstore/internal/box_difference.cc +157 -0
  620. tensorstore-0.0.0/tensorstore/internal/box_difference.h +65 -0
  621. tensorstore-0.0.0/tensorstore/internal/box_difference_test.cc +174 -0
  622. tensorstore-0.0.0/tensorstore/internal/cache/BUILD +479 -0
  623. tensorstore-0.0.0/tensorstore/internal/cache/aggregate_writeback_cache.h +99 -0
  624. tensorstore-0.0.0/tensorstore/internal/cache/async_cache.cc +797 -0
  625. tensorstore-0.0.0/tensorstore/internal/cache/async_cache.h +965 -0
  626. tensorstore-0.0.0/tensorstore/internal/cache/async_cache_test.cc +1165 -0
  627. tensorstore-0.0.0/tensorstore/internal/cache/async_initialized_cache_mixin.h +83 -0
  628. tensorstore-0.0.0/tensorstore/internal/cache/cache.cc +817 -0
  629. tensorstore-0.0.0/tensorstore/internal/cache/cache.h +411 -0
  630. tensorstore-0.0.0/tensorstore/internal/cache/cache_impl.h +403 -0
  631. tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_limits.h +35 -0
  632. tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_resource.cc +62 -0
  633. tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_resource.h +34 -0
  634. tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_resource_test.cc +55 -0
  635. tensorstore-0.0.0/tensorstore/internal/cache/cache_test.cc +1130 -0
  636. tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache.cc +684 -0
  637. tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache.h +264 -0
  638. tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache_benchmark_test.cc +386 -0
  639. tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache_test.cc +2013 -0
  640. tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache.cc +52 -0
  641. tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache.h +468 -0
  642. tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache_test.cc +902 -0
  643. tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache_testutil.cc +735 -0
  644. tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache_testutil.h +232 -0
  645. tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_chunk_cache.cc +119 -0
  646. tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_chunk_cache.h +92 -0
  647. tensorstore-0.0.0/tensorstore/internal/cache_key/BUILD +32 -0
  648. tensorstore-0.0.0/tensorstore/internal/cache_key/absl_time.h +40 -0
  649. tensorstore-0.0.0/tensorstore/internal/cache_key/cache_key.h +126 -0
  650. tensorstore-0.0.0/tensorstore/internal/cache_key/cache_key_test.cc +78 -0
  651. tensorstore-0.0.0/tensorstore/internal/cache_key/fwd.h +27 -0
  652. tensorstore-0.0.0/tensorstore/internal/cache_key/std_optional.h +36 -0
  653. tensorstore-0.0.0/tensorstore/internal/cache_key/std_variant.h +36 -0
  654. tensorstore-0.0.0/tensorstore/internal/cache_key/std_vector.h +38 -0
  655. tensorstore-0.0.0/tensorstore/internal/chunk_grid_specification.cc +144 -0
  656. tensorstore-0.0.0/tensorstore/internal/chunk_grid_specification.h +196 -0
  657. tensorstore-0.0.0/tensorstore/internal/compare.h +76 -0
  658. tensorstore-0.0.0/tensorstore/internal/compression/BUILD +267 -0
  659. tensorstore-0.0.0/tensorstore/internal/compression/blosc.cc +197 -0
  660. tensorstore-0.0.0/tensorstore/internal/compression/blosc.h +151 -0
  661. tensorstore-0.0.0/tensorstore/internal/compression/blosc_compressor.cc +42 -0
  662. tensorstore-0.0.0/tensorstore/internal/compression/blosc_compressor.h +68 -0
  663. tensorstore-0.0.0/tensorstore/internal/compression/blosc_test.cc +216 -0
  664. tensorstore-0.0.0/tensorstore/internal/compression/bzip2_compressor.cc +45 -0
  665. tensorstore-0.0.0/tensorstore/internal/compression/bzip2_compressor.h +51 -0
  666. tensorstore-0.0.0/tensorstore/internal/compression/cord_stream_manager.h +93 -0
  667. tensorstore-0.0.0/tensorstore/internal/compression/json_specified_compressor.cc +63 -0
  668. tensorstore-0.0.0/tensorstore/internal/compression/json_specified_compressor.h +93 -0
  669. tensorstore-0.0.0/tensorstore/internal/compression/neuroglancer_compressed_segmentation.cc +425 -0
  670. tensorstore-0.0.0/tensorstore/internal/compression/neuroglancer_compressed_segmentation.h +196 -0
  671. tensorstore-0.0.0/tensorstore/internal/compression/neuroglancer_compressed_segmentation_test.cc +453 -0
  672. tensorstore-0.0.0/tensorstore/internal/compression/testdata/data.zip +0 -0
  673. tensorstore-0.0.0/tensorstore/internal/compression/xz_compressor.cc +53 -0
  674. tensorstore-0.0.0/tensorstore/internal/compression/xz_compressor.h +58 -0
  675. tensorstore-0.0.0/tensorstore/internal/compression/xz_compressor_test.cc +141 -0
  676. tensorstore-0.0.0/tensorstore/internal/compression/zip_details.cc +743 -0
  677. tensorstore-0.0.0/tensorstore/internal/compression/zip_details.h +230 -0
  678. tensorstore-0.0.0/tensorstore/internal/compression/zip_details_test.cc +797 -0
  679. tensorstore-0.0.0/tensorstore/internal/compression/zlib.cc +122 -0
  680. tensorstore-0.0.0/tensorstore/internal/compression/zlib.h +62 -0
  681. tensorstore-0.0.0/tensorstore/internal/compression/zlib_compressor.cc +49 -0
  682. tensorstore-0.0.0/tensorstore/internal/compression/zlib_compressor.h +44 -0
  683. tensorstore-0.0.0/tensorstore/internal/compression/zlib_test.cc +142 -0
  684. tensorstore-0.0.0/tensorstore/internal/compression/zstd_compressor.cc +44 -0
  685. tensorstore-0.0.0/tensorstore/internal/compression/zstd_compressor.h +47 -0
  686. tensorstore-0.0.0/tensorstore/internal/concurrency_resource.cc +68 -0
  687. tensorstore-0.0.0/tensorstore/internal/concurrency_resource.h +64 -0
  688. tensorstore-0.0.0/tensorstore/internal/concurrency_resource_provider.h +64 -0
  689. tensorstore-0.0.0/tensorstore/internal/container/BUILD +153 -0
  690. tensorstore-0.0.0/tensorstore/internal/container/block_queue.h +287 -0
  691. tensorstore-0.0.0/tensorstore/internal/container/block_queue_test.cc +119 -0
  692. tensorstore-0.0.0/tensorstore/internal/container/circular_queue.h +197 -0
  693. tensorstore-0.0.0/tensorstore/internal/container/circular_queue_test.cc +155 -0
  694. tensorstore-0.0.0/tensorstore/internal/container/compressed_tuple.h +287 -0
  695. tensorstore-0.0.0/tensorstore/internal/container/compressed_tuple_test.cc +465 -0
  696. tensorstore-0.0.0/tensorstore/internal/container/hash_set_of_any.h +147 -0
  697. tensorstore-0.0.0/tensorstore/internal/container/hash_set_of_any_test.cc +59 -0
  698. tensorstore-0.0.0/tensorstore/internal/container/heterogeneous_container.h +77 -0
  699. tensorstore-0.0.0/tensorstore/internal/container/heterogeneous_container_test.cc +65 -0
  700. tensorstore-0.0.0/tensorstore/internal/container/intrusive_linked_list.h +89 -0
  701. tensorstore-0.0.0/tensorstore/internal/container/intrusive_linked_list_test.cc +73 -0
  702. tensorstore-0.0.0/tensorstore/internal/container/intrusive_red_black_tree.cc +535 -0
  703. tensorstore-0.0.0/tensorstore/internal/container/intrusive_red_black_tree.h +692 -0
  704. tensorstore-0.0.0/tensorstore/internal/container/intrusive_red_black_tree_test.cc +445 -0
  705. tensorstore-0.0.0/tensorstore/internal/container/item_traits.h +102 -0
  706. tensorstore-0.0.0/tensorstore/internal/container/single_producer_queue.h +273 -0
  707. tensorstore-0.0.0/tensorstore/internal/container/single_producer_queue_test.cc +128 -0
  708. tensorstore-0.0.0/tensorstore/internal/container_to_shared.h +41 -0
  709. tensorstore-0.0.0/tensorstore/internal/container_to_shared_test.cc +56 -0
  710. tensorstore-0.0.0/tensorstore/internal/context_binding.h +205 -0
  711. tensorstore-0.0.0/tensorstore/internal/context_binding_vector.h +55 -0
  712. tensorstore-0.0.0/tensorstore/internal/cord_util.cc +47 -0
  713. tensorstore-0.0.0/tensorstore/internal/cord_util.h +38 -0
  714. tensorstore-0.0.0/tensorstore/internal/data_copy_concurrency_resource.cc +46 -0
  715. tensorstore-0.0.0/tensorstore/internal/data_copy_concurrency_resource.h +32 -0
  716. tensorstore-0.0.0/tensorstore/internal/data_type_endian_conversion.cc +187 -0
  717. tensorstore-0.0.0/tensorstore/internal/data_type_endian_conversion.h +105 -0
  718. tensorstore-0.0.0/tensorstore/internal/data_type_endian_conversion_test.cc +324 -0
  719. tensorstore-0.0.0/tensorstore/internal/data_type_random_generator.cc +185 -0
  720. tensorstore-0.0.0/tensorstore/internal/data_type_random_generator.h +51 -0
  721. tensorstore-0.0.0/tensorstore/internal/decoded_matches.cc +72 -0
  722. tensorstore-0.0.0/tensorstore/internal/decoded_matches.h +48 -0
  723. tensorstore-0.0.0/tensorstore/internal/decoded_matches_test.cc +75 -0
  724. tensorstore-0.0.0/tensorstore/internal/digest/BUILD +25 -0
  725. tensorstore-0.0.0/tensorstore/internal/digest/sha256.cc +31 -0
  726. tensorstore-0.0.0/tensorstore/internal/digest/sha256.h +54 -0
  727. tensorstore-0.0.0/tensorstore/internal/digest/sha256_test.cc +50 -0
  728. tensorstore-0.0.0/tensorstore/internal/dimension_labels.cc +74 -0
  729. tensorstore-0.0.0/tensorstore/internal/dimension_labels.h +40 -0
  730. tensorstore-0.0.0/tensorstore/internal/dimension_labels_test.cc +49 -0
  731. tensorstore-0.0.0/tensorstore/internal/element_copy_function.h +52 -0
  732. tensorstore-0.0.0/tensorstore/internal/elementwise_function.h +747 -0
  733. tensorstore-0.0.0/tensorstore/internal/elementwise_function_test.cc +268 -0
  734. tensorstore-0.0.0/tensorstore/internal/endian_elementwise_conversion.h +462 -0
  735. tensorstore-0.0.0/tensorstore/internal/env.cc +99 -0
  736. tensorstore-0.0.0/tensorstore/internal/env.h +92 -0
  737. tensorstore-0.0.0/tensorstore/internal/env_test.cc +86 -0
  738. tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/BUILD +33 -0
  739. tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/estimate_heap_usage.h +144 -0
  740. tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/estimate_heap_usage_test.cc +132 -0
  741. tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/std_optional.h +39 -0
  742. tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/std_variant.h +41 -0
  743. tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/std_vector.h +43 -0
  744. tensorstore-0.0.0/tensorstore/internal/exception_macros.h +27 -0
  745. tensorstore-0.0.0/tensorstore/internal/file_io_concurrency_resource.cc +40 -0
  746. tensorstore-0.0.0/tensorstore/internal/file_io_concurrency_resource.h +30 -0
  747. tensorstore-0.0.0/tensorstore/internal/flat_cord_builder.h +109 -0
  748. tensorstore-0.0.0/tensorstore/internal/gdb_scripting.h +21 -0
  749. tensorstore-0.0.0/tensorstore/internal/global_initializer.h +50 -0
  750. tensorstore-0.0.0/tensorstore/internal/global_initializer_test.cc +36 -0
  751. tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges.cc +151 -0
  752. tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges.h +81 -0
  753. tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_base10.cc +77 -0
  754. tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_base10.h +75 -0
  755. tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_base10_test.cc +123 -0
  756. tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_test.cc +267 -0
  757. tensorstore-0.0.0/tensorstore/internal/grid_partition.cc +527 -0
  758. tensorstore-0.0.0/tensorstore/internal/grid_partition.h +164 -0
  759. tensorstore-0.0.0/tensorstore/internal/grid_partition_impl.cc +1015 -0
  760. tensorstore-0.0.0/tensorstore/internal/grid_partition_impl.h +237 -0
  761. tensorstore-0.0.0/tensorstore/internal/grid_partition_impl_test.cc +618 -0
  762. tensorstore-0.0.0/tensorstore/internal/grid_partition_iterator.cc +233 -0
  763. tensorstore-0.0.0/tensorstore/internal/grid_partition_iterator.h +177 -0
  764. tensorstore-0.0.0/tensorstore/internal/grid_partition_iterator_test.cc +699 -0
  765. tensorstore-0.0.0/tensorstore/internal/grid_partition_test.cc +254 -0
  766. tensorstore-0.0.0/tensorstore/internal/grid_storage_statistics.cc +269 -0
  767. tensorstore-0.0.0/tensorstore/internal/grid_storage_statistics.h +107 -0
  768. tensorstore-0.0.0/tensorstore/internal/grpc/BUILD +112 -0
  769. tensorstore-0.0.0/tensorstore/internal/grpc/client_credentials.cc +60 -0
  770. tensorstore-0.0.0/tensorstore/internal/grpc/client_credentials.h +79 -0
  771. tensorstore-0.0.0/tensorstore/internal/grpc/client_credentials_test.cc +44 -0
  772. tensorstore-0.0.0/tensorstore/internal/grpc/grpc_mock.h +161 -0
  773. tensorstore-0.0.0/tensorstore/internal/grpc/peer_address.cc +41 -0
  774. tensorstore-0.0.0/tensorstore/internal/grpc/peer_address.h +35 -0
  775. tensorstore-0.0.0/tensorstore/internal/grpc/server_credentials.cc +59 -0
  776. tensorstore-0.0.0/tensorstore/internal/grpc/server_credentials.h +79 -0
  777. tensorstore-0.0.0/tensorstore/internal/grpc/server_credentials_test.cc +42 -0
  778. tensorstore-0.0.0/tensorstore/internal/grpc/utils.cc +75 -0
  779. tensorstore-0.0.0/tensorstore/internal/grpc/utils.h +36 -0
  780. tensorstore-0.0.0/tensorstore/internal/grpc/utils_test.cc +36 -0
  781. tensorstore-0.0.0/tensorstore/internal/half_gtest.h +32 -0
  782. tensorstore-0.0.0/tensorstore/internal/http/BUILD +268 -0
  783. tensorstore-0.0.0/tensorstore/internal/http/curl_factory.cc +237 -0
  784. tensorstore-0.0.0/tensorstore/internal/http/curl_factory.h +50 -0
  785. tensorstore-0.0.0/tensorstore/internal/http/curl_factory_hook.cc +169 -0
  786. tensorstore-0.0.0/tensorstore/internal/http/curl_handle.cc +48 -0
  787. tensorstore-0.0.0/tensorstore/internal/http/curl_handle.h +93 -0
  788. tensorstore-0.0.0/tensorstore/internal/http/curl_transport.cc +638 -0
  789. tensorstore-0.0.0/tensorstore/internal/http/curl_transport.h +60 -0
  790. tensorstore-0.0.0/tensorstore/internal/http/curl_transport_http2_test.cc +457 -0
  791. tensorstore-0.0.0/tensorstore/internal/http/curl_transport_test.cc +213 -0
  792. tensorstore-0.0.0/tensorstore/internal/http/curl_wrappers.cc +134 -0
  793. tensorstore-0.0.0/tensorstore/internal/http/curl_wrappers.h +65 -0
  794. tensorstore-0.0.0/tensorstore/internal/http/curl_wrappers_test.cc +72 -0
  795. tensorstore-0.0.0/tensorstore/internal/http/http_header.cc +170 -0
  796. tensorstore-0.0.0/tensorstore/internal/http/http_header.h +95 -0
  797. tensorstore-0.0.0/tensorstore/internal/http/http_header_test.cc +137 -0
  798. tensorstore-0.0.0/tensorstore/internal/http/http_request.cc +161 -0
  799. tensorstore-0.0.0/tensorstore/internal/http/http_request.h +143 -0
  800. tensorstore-0.0.0/tensorstore/internal/http/http_request_test.cc +145 -0
  801. tensorstore-0.0.0/tensorstore/internal/http/http_response.cc +248 -0
  802. tensorstore-0.0.0/tensorstore/internal/http/http_response.h +97 -0
  803. tensorstore-0.0.0/tensorstore/internal/http/http_response_test.cc +88 -0
  804. tensorstore-0.0.0/tensorstore/internal/http/http_transport.cc +111 -0
  805. tensorstore-0.0.0/tensorstore/internal/http/http_transport.h +111 -0
  806. tensorstore-0.0.0/tensorstore/internal/http/mock_http_transport.cc +105 -0
  807. tensorstore-0.0.0/tensorstore/internal/http/mock_http_transport.h +79 -0
  808. tensorstore-0.0.0/tensorstore/internal/http/transport_test_utils.cc +358 -0
  809. tensorstore-0.0.0/tensorstore/internal/http/transport_test_utils.h +84 -0
  810. tensorstore-0.0.0/tensorstore/internal/image/BUILD +362 -0
  811. tensorstore-0.0.0/tensorstore/internal/image/avif_common.cc +36 -0
  812. tensorstore-0.0.0/tensorstore/internal/image/avif_common.h +40 -0
  813. tensorstore-0.0.0/tensorstore/internal/image/avif_reader.cc +370 -0
  814. tensorstore-0.0.0/tensorstore/internal/image/avif_reader.h +87 -0
  815. tensorstore-0.0.0/tensorstore/internal/image/avif_test.cc +143 -0
  816. tensorstore-0.0.0/tensorstore/internal/image/avif_writer.cc +393 -0
  817. tensorstore-0.0.0/tensorstore/internal/image/avif_writer.h +105 -0
  818. tensorstore-0.0.0/tensorstore/internal/image/bmp_reader.cc +470 -0
  819. tensorstore-0.0.0/tensorstore/internal/image/bmp_reader.h +72 -0
  820. tensorstore-0.0.0/tensorstore/internal/image/bmp_test.cc +83 -0
  821. tensorstore-0.0.0/tensorstore/internal/image/image_info.cc +45 -0
  822. tensorstore-0.0.0/tensorstore/internal/image/image_info.h +51 -0
  823. tensorstore-0.0.0/tensorstore/internal/image/image_reader.h +58 -0
  824. tensorstore-0.0.0/tensorstore/internal/image/image_reader_test.cc +321 -0
  825. tensorstore-0.0.0/tensorstore/internal/image/image_view.cc +36 -0
  826. tensorstore-0.0.0/tensorstore/internal/image/image_view.h +73 -0
  827. tensorstore-0.0.0/tensorstore/internal/image/image_writer.h +55 -0
  828. tensorstore-0.0.0/tensorstore/internal/image/image_writer_test.cc +310 -0
  829. tensorstore-0.0.0/tensorstore/internal/image/jpeg_common.cc +54 -0
  830. tensorstore-0.0.0/tensorstore/internal/image/jpeg_common.h +49 -0
  831. tensorstore-0.0.0/tensorstore/internal/image/jpeg_reader.cc +332 -0
  832. tensorstore-0.0.0/tensorstore/internal/image/jpeg_reader.h +64 -0
  833. tensorstore-0.0.0/tensorstore/internal/image/jpeg_test.cc +302 -0
  834. tensorstore-0.0.0/tensorstore/internal/image/jpeg_writer.cc +233 -0
  835. tensorstore-0.0.0/tensorstore/internal/image/jpeg_writer.h +75 -0
  836. tensorstore-0.0.0/tensorstore/internal/image/png_reader.cc +270 -0
  837. tensorstore-0.0.0/tensorstore/internal/image/png_reader.h +68 -0
  838. tensorstore-0.0.0/tensorstore/internal/image/png_test.cc +119 -0
  839. tensorstore-0.0.0/tensorstore/internal/image/png_writer.cc +238 -0
  840. tensorstore-0.0.0/tensorstore/internal/image/png_writer.h +78 -0
  841. tensorstore-0.0.0/tensorstore/internal/image/testdata/1x1_405060ff.png +0 -0
  842. tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_08b.avif +0 -0
  843. tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_08b_cq1.avif +0 -0
  844. tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_08b_grey.avif +0 -0
  845. tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_10b_cq1.avif +0 -0
  846. tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_12b_grey.avif +0 -0
  847. tensorstore-0.0.0/tensorstore/internal/image/testdata/bmp/D75_08b.bmp +0 -0
  848. tensorstore-0.0.0/tensorstore/internal/image/testdata/bmp/D75_08b_grey.bmp +0 -0
  849. tensorstore-0.0.0/tensorstore/internal/image/testdata/image.png +0 -0
  850. tensorstore-0.0.0/tensorstore/internal/image/testdata/jpeg/D75_08b.jpeg +0 -0
  851. tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_01b.png +0 -0
  852. tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_04b.png +0 -0
  853. tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_08b.png +0 -0
  854. tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_08b_grey.png +0 -0
  855. tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_16b.png +0 -0
  856. tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_16b_grey.png +0 -0
  857. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_01b.tiff +0 -0
  858. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b.tiff +0 -0
  859. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_3page.tiff +0 -0
  860. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_grey.tiff +0 -0
  861. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_lzw.tiff +0 -0
  862. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_scanline.tiff +0 -0
  863. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_tiled.tiff +0 -0
  864. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_zip.tiff +0 -0
  865. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_16b.tiff +0 -0
  866. tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_16b_grey.tiff +0 -0
  867. tensorstore-0.0.0/tensorstore/internal/image/testdata/webp/D75_08b.webp +0 -0
  868. tensorstore-0.0.0/tensorstore/internal/image/testdata/webp/D75_08b_q90.webp +0 -0
  869. tensorstore-0.0.0/tensorstore/internal/image/tiff_common.cc +109 -0
  870. tensorstore-0.0.0/tensorstore/internal/image/tiff_common.h +34 -0
  871. tensorstore-0.0.0/tensorstore/internal/image/tiff_reader.cc +541 -0
  872. tensorstore-0.0.0/tensorstore/internal/image/tiff_reader.h +77 -0
  873. tensorstore-0.0.0/tensorstore/internal/image/tiff_test.cc +211 -0
  874. tensorstore-0.0.0/tensorstore/internal/image/tiff_writer.cc +267 -0
  875. tensorstore-0.0.0/tensorstore/internal/image/tiff_writer.h +71 -0
  876. tensorstore-0.0.0/tensorstore/internal/image/webp_reader.cc +193 -0
  877. tensorstore-0.0.0/tensorstore/internal/image/webp_reader.h +66 -0
  878. tensorstore-0.0.0/tensorstore/internal/image/webp_test.cc +114 -0
  879. tensorstore-0.0.0/tensorstore/internal/image/webp_writer.cc +147 -0
  880. tensorstore-0.0.0/tensorstore/internal/image/webp_writer.h +79 -0
  881. tensorstore-0.0.0/tensorstore/internal/integer_overflow.h +146 -0
  882. tensorstore-0.0.0/tensorstore/internal/integer_overflow_test.cc +179 -0
  883. tensorstore-0.0.0/tensorstore/internal/integer_range.h +70 -0
  884. tensorstore-0.0.0/tensorstore/internal/integer_sequence.h +171 -0
  885. tensorstore-0.0.0/tensorstore/internal/integer_types.h +82 -0
  886. tensorstore-0.0.0/tensorstore/internal/intrusive_ptr.h +544 -0
  887. tensorstore-0.0.0/tensorstore/internal/intrusive_ptr_test.cc +493 -0
  888. tensorstore-0.0.0/tensorstore/internal/irregular_grid.cc +96 -0
  889. tensorstore-0.0.0/tensorstore/internal/irregular_grid.h +88 -0
  890. tensorstore-0.0.0/tensorstore/internal/irregular_grid_test.cc +133 -0
  891. tensorstore-0.0.0/tensorstore/internal/json/BUILD +153 -0
  892. tensorstore-0.0.0/tensorstore/internal/json/array.cc +316 -0
  893. tensorstore-0.0.0/tensorstore/internal/json/array.h +103 -0
  894. tensorstore-0.0.0/tensorstore/internal/json/array_test.cc +263 -0
  895. tensorstore-0.0.0/tensorstore/internal/json/json.cc +91 -0
  896. tensorstore-0.0.0/tensorstore/internal/json/json.h +86 -0
  897. tensorstore-0.0.0/tensorstore/internal/json/json_test.cc +116 -0
  898. tensorstore-0.0.0/tensorstore/internal/json/pprint_python.cc +190 -0
  899. tensorstore-0.0.0/tensorstore/internal/json/pprint_python.h +69 -0
  900. tensorstore-0.0.0/tensorstore/internal/json/pprint_python_test.cc +103 -0
  901. tensorstore-0.0.0/tensorstore/internal/json/same.cc +101 -0
  902. tensorstore-0.0.0/tensorstore/internal/json/same.h +37 -0
  903. tensorstore-0.0.0/tensorstore/internal/json/same_test.cc +70 -0
  904. tensorstore-0.0.0/tensorstore/internal/json/value_as.cc +192 -0
  905. tensorstore-0.0.0/tensorstore/internal/json/value_as.h +199 -0
  906. tensorstore-0.0.0/tensorstore/internal/json/value_as_test.cc +587 -0
  907. tensorstore-0.0.0/tensorstore/internal/json_binding/BUILD +403 -0
  908. tensorstore-0.0.0/tensorstore/internal/json_binding/absl_time.h +85 -0
  909. tensorstore-0.0.0/tensorstore/internal/json_binding/absl_time_test.cc +55 -0
  910. tensorstore-0.0.0/tensorstore/internal/json_binding/array.h +90 -0
  911. tensorstore-0.0.0/tensorstore/internal/json_binding/array_test.cc +52 -0
  912. tensorstore-0.0.0/tensorstore/internal/json_binding/bindable.h +269 -0
  913. tensorstore-0.0.0/tensorstore/internal/json_binding/box.h +145 -0
  914. tensorstore-0.0.0/tensorstore/internal/json_binding/data_type.cc +91 -0
  915. tensorstore-0.0.0/tensorstore/internal/json_binding/data_type.h +45 -0
  916. tensorstore-0.0.0/tensorstore/internal/json_binding/data_type_test.cc +68 -0
  917. tensorstore-0.0.0/tensorstore/internal/json_binding/dimension_indexed.h +162 -0
  918. tensorstore-0.0.0/tensorstore/internal/json_binding/enum.h +136 -0
  919. tensorstore-0.0.0/tensorstore/internal/json_binding/enum_test.cc +123 -0
  920. tensorstore-0.0.0/tensorstore/internal/json_binding/gtest.h +200 -0
  921. tensorstore-0.0.0/tensorstore/internal/json_binding/json_binding.h +1033 -0
  922. tensorstore-0.0.0/tensorstore/internal/json_binding/json_binding_test.cc +419 -0
  923. tensorstore-0.0.0/tensorstore/internal/json_binding/optional_object.h +65 -0
  924. tensorstore-0.0.0/tensorstore/internal/json_binding/optional_object_test.cc +49 -0
  925. tensorstore-0.0.0/tensorstore/internal/json_binding/rational.h +99 -0
  926. tensorstore-0.0.0/tensorstore/internal/json_binding/rational_test.cc +75 -0
  927. tensorstore-0.0.0/tensorstore/internal/json_binding/raw_bytes_hex.cc +64 -0
  928. tensorstore-0.0.0/tensorstore/internal/json_binding/raw_bytes_hex.h +53 -0
  929. tensorstore-0.0.0/tensorstore/internal/json_binding/raw_bytes_hex_test.cc +61 -0
  930. tensorstore-0.0.0/tensorstore/internal/json_binding/staleness_bound.cc +62 -0
  931. tensorstore-0.0.0/tensorstore/internal/json_binding/staleness_bound.h +43 -0
  932. tensorstore-0.0.0/tensorstore/internal/json_binding/staleness_bound_test.cc +80 -0
  933. tensorstore-0.0.0/tensorstore/internal/json_binding/std_array.h +191 -0
  934. tensorstore-0.0.0/tensorstore/internal/json_binding/std_array_test.cc +70 -0
  935. tensorstore-0.0.0/tensorstore/internal/json_binding/std_optional.h +99 -0
  936. tensorstore-0.0.0/tensorstore/internal/json_binding/std_optional_test.cc +95 -0
  937. tensorstore-0.0.0/tensorstore/internal/json_binding/std_tuple.h +200 -0
  938. tensorstore-0.0.0/tensorstore/internal/json_binding/std_tuple_test.cc +68 -0
  939. tensorstore-0.0.0/tensorstore/internal/json_binding/std_variant.cc +35 -0
  940. tensorstore-0.0.0/tensorstore/internal/json_binding/std_variant.h +154 -0
  941. tensorstore-0.0.0/tensorstore/internal/json_binding/std_variant_test.cc +65 -0
  942. tensorstore-0.0.0/tensorstore/internal/json_binding/unit.cc +67 -0
  943. tensorstore-0.0.0/tensorstore/internal/json_binding/unit.h +54 -0
  944. tensorstore-0.0.0/tensorstore/internal/json_gtest.cc +149 -0
  945. tensorstore-0.0.0/tensorstore/internal/json_gtest.h +85 -0
  946. tensorstore-0.0.0/tensorstore/internal/json_gtest_test.cc +64 -0
  947. tensorstore-0.0.0/tensorstore/internal/json_metadata_matching.cc +39 -0
  948. tensorstore-0.0.0/tensorstore/internal/json_metadata_matching.h +52 -0
  949. tensorstore-0.0.0/tensorstore/internal/json_pointer.cc +327 -0
  950. tensorstore-0.0.0/tensorstore/internal/json_pointer.h +139 -0
  951. tensorstore-0.0.0/tensorstore/internal/json_pointer_test.cc +355 -0
  952. tensorstore-0.0.0/tensorstore/internal/json_registry.h +197 -0
  953. tensorstore-0.0.0/tensorstore/internal/json_registry_fwd.h +30 -0
  954. tensorstore-0.0.0/tensorstore/internal/json_registry_impl.cc +129 -0
  955. tensorstore-0.0.0/tensorstore/internal/json_registry_impl.h +140 -0
  956. tensorstore-0.0.0/tensorstore/internal/json_registry_test.cc +115 -0
  957. tensorstore-0.0.0/tensorstore/internal/lexicographical_grid_index_key.h +94 -0
  958. tensorstore-0.0.0/tensorstore/internal/lock_collection.cc +86 -0
  959. tensorstore-0.0.0/tensorstore/internal/lock_collection.h +131 -0
  960. tensorstore-0.0.0/tensorstore/internal/lock_collection_test.cc +262 -0
  961. tensorstore-0.0.0/tensorstore/internal/log/BUILD +31 -0
  962. tensorstore-0.0.0/tensorstore/internal/log/verbose_flag.cc +201 -0
  963. tensorstore-0.0.0/tensorstore/internal/log/verbose_flag.h +109 -0
  964. tensorstore-0.0.0/tensorstore/internal/log/verbose_flag_test.cc +74 -0
  965. tensorstore-0.0.0/tensorstore/internal/masked_array.cc +311 -0
  966. tensorstore-0.0.0/tensorstore/internal/masked_array.h +114 -0
  967. tensorstore-0.0.0/tensorstore/internal/masked_array_test.cc +831 -0
  968. tensorstore-0.0.0/tensorstore/internal/masked_array_testutil.cc +84 -0
  969. tensorstore-0.0.0/tensorstore/internal/masked_array_testutil.h +57 -0
  970. tensorstore-0.0.0/tensorstore/internal/memory.h +160 -0
  971. tensorstore-0.0.0/tensorstore/internal/meta.h +42 -0
  972. tensorstore-0.0.0/tensorstore/internal/meta_test.cc +37 -0
  973. tensorstore-0.0.0/tensorstore/internal/metrics/BUILD +262 -0
  974. tensorstore-0.0.0/tensorstore/internal/metrics/collect.cc +200 -0
  975. tensorstore-0.0.0/tensorstore/internal/metrics/collect.h +74 -0
  976. tensorstore-0.0.0/tensorstore/internal/metrics/collect_test.cc +173 -0
  977. tensorstore-0.0.0/tensorstore/internal/metrics/counter.h +251 -0
  978. tensorstore-0.0.0/tensorstore/internal/metrics/gauge.h +464 -0
  979. tensorstore-0.0.0/tensorstore/internal/metrics/histogram.cc +64 -0
  980. tensorstore-0.0.0/tensorstore/internal/metrics/histogram.h +322 -0
  981. tensorstore-0.0.0/tensorstore/internal/metrics/metadata.cc +89 -0
  982. tensorstore-0.0.0/tensorstore/internal/metrics/metadata.h +69 -0
  983. tensorstore-0.0.0/tensorstore/internal/metrics/metadata_test.cc +62 -0
  984. tensorstore-0.0.0/tensorstore/internal/metrics/metric_hook.h +31 -0
  985. tensorstore-0.0.0/tensorstore/internal/metrics/metric_impl.cc +30 -0
  986. tensorstore-0.0.0/tensorstore/internal/metrics/metric_impl.h +367 -0
  987. tensorstore-0.0.0/tensorstore/internal/metrics/metrics.proto +70 -0
  988. tensorstore-0.0.0/tensorstore/internal/metrics/metrics_benchmark_test.cc +85 -0
  989. tensorstore-0.0.0/tensorstore/internal/metrics/metrics_test.cc +356 -0
  990. tensorstore-0.0.0/tensorstore/internal/metrics/prometheus.cc +284 -0
  991. tensorstore-0.0.0/tensorstore/internal/metrics/prometheus.h +66 -0
  992. tensorstore-0.0.0/tensorstore/internal/metrics/prometheus_test.cc +112 -0
  993. tensorstore-0.0.0/tensorstore/internal/metrics/protobuf.cc +161 -0
  994. tensorstore-0.0.0/tensorstore/internal/metrics/protobuf.h +40 -0
  995. tensorstore-0.0.0/tensorstore/internal/metrics/protobuf_test.cc +333 -0
  996. tensorstore-0.0.0/tensorstore/internal/metrics/registry.cc +88 -0
  997. tensorstore-0.0.0/tensorstore/internal/metrics/registry.h +125 -0
  998. tensorstore-0.0.0/tensorstore/internal/metrics/registry_test.cc +53 -0
  999. tensorstore-0.0.0/tensorstore/internal/metrics/value.h +225 -0
  1000. tensorstore-0.0.0/tensorstore/internal/multi_barrier.cc +61 -0
  1001. tensorstore-0.0.0/tensorstore/internal/multi_barrier.h +72 -0
  1002. tensorstore-0.0.0/tensorstore/internal/multi_barrier_test.cc +73 -0
  1003. tensorstore-0.0.0/tensorstore/internal/multi_vector.h +331 -0
  1004. tensorstore-0.0.0/tensorstore/internal/multi_vector_impl.h +124 -0
  1005. tensorstore-0.0.0/tensorstore/internal/multi_vector_test.cc +291 -0
  1006. tensorstore-0.0.0/tensorstore/internal/multi_vector_view.h +199 -0
  1007. tensorstore-0.0.0/tensorstore/internal/multi_vector_view_test.cc +146 -0
  1008. tensorstore-0.0.0/tensorstore/internal/mutex.h +145 -0
  1009. tensorstore-0.0.0/tensorstore/internal/nditerable.cc +45 -0
  1010. tensorstore-0.0.0/tensorstore/internal/nditerable.h +394 -0
  1011. tensorstore-0.0.0/tensorstore/internal/nditerable_array.cc +276 -0
  1012. tensorstore-0.0.0/tensorstore/internal/nditerable_array.h +41 -0
  1013. tensorstore-0.0.0/tensorstore/internal/nditerable_array_test.cc +498 -0
  1014. tensorstore-0.0.0/tensorstore/internal/nditerable_array_util.h +96 -0
  1015. tensorstore-0.0.0/tensorstore/internal/nditerable_buffer_management.h +499 -0
  1016. tensorstore-0.0.0/tensorstore/internal/nditerable_copy.cc +247 -0
  1017. tensorstore-0.0.0/tensorstore/internal/nditerable_copy.h +226 -0
  1018. tensorstore-0.0.0/tensorstore/internal/nditerable_copy_benchmark_test.cc +236 -0
  1019. tensorstore-0.0.0/tensorstore/internal/nditerable_copy_test.cc +219 -0
  1020. tensorstore-0.0.0/tensorstore/internal/nditerable_data_type_conversion.cc +144 -0
  1021. tensorstore-0.0.0/tensorstore/internal/nditerable_data_type_conversion.h +53 -0
  1022. tensorstore-0.0.0/tensorstore/internal/nditerable_data_type_conversion_test.cc +122 -0
  1023. tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_input_transform.cc +128 -0
  1024. tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_input_transform.h +56 -0
  1025. tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_input_transform_test.cc +136 -0
  1026. tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_output_transform.cc +107 -0
  1027. tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_output_transform.h +54 -0
  1028. tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_output_transform_test.cc +100 -0
  1029. tensorstore-0.0.0/tensorstore/internal/nditerable_transformed_array.cc +493 -0
  1030. tensorstore-0.0.0/tensorstore/internal/nditerable_transformed_array.h +68 -0
  1031. tensorstore-0.0.0/tensorstore/internal/nditerable_transformed_array_test.cc +745 -0
  1032. tensorstore-0.0.0/tensorstore/internal/nditerable_util.cc +248 -0
  1033. tensorstore-0.0.0/tensorstore/internal/nditerable_util.h +532 -0
  1034. tensorstore-0.0.0/tensorstore/internal/nditerable_util_test.cc +301 -0
  1035. tensorstore-0.0.0/tensorstore/internal/non_compile_bypass.h +23 -0
  1036. tensorstore-0.0.0/tensorstore/internal/oauth2/BUILD +241 -0
  1037. tensorstore-0.0.0/tensorstore/internal/oauth2/auth_provider.cc +31 -0
  1038. tensorstore-0.0.0/tensorstore/internal/oauth2/auth_provider.h +45 -0
  1039. tensorstore-0.0.0/tensorstore/internal/oauth2/bearer_token.h +34 -0
  1040. tensorstore-0.0.0/tensorstore/internal/oauth2/fake_private_key.cc +60 -0
  1041. tensorstore-0.0.0/tensorstore/internal/oauth2/fake_private_key.h +29 -0
  1042. tensorstore-0.0.0/tensorstore/internal/oauth2/fixed_token_auth_provider.cc +32 -0
  1043. tensorstore-0.0.0/tensorstore/internal/oauth2/fixed_token_auth_provider.h +45 -0
  1044. tensorstore-0.0.0/tensorstore/internal/oauth2/fixed_token_auth_provider_test.cc +35 -0
  1045. tensorstore-0.0.0/tensorstore/internal/oauth2/gce_auth_provider.cc +154 -0
  1046. tensorstore-0.0.0/tensorstore/internal/oauth2/gce_auth_provider.h +79 -0
  1047. tensorstore-0.0.0/tensorstore/internal/oauth2/gce_auth_provider_test.cc +135 -0
  1048. tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_provider.cc +252 -0
  1049. tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_provider.h +63 -0
  1050. tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_provider_test.cc +301 -0
  1051. tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_test_utils.cc +37 -0
  1052. tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_test_utils.h +38 -0
  1053. tensorstore-0.0.0/tensorstore/internal/oauth2/google_service_account_auth_provider.cc +96 -0
  1054. tensorstore-0.0.0/tensorstore/internal/oauth2/google_service_account_auth_provider.h +64 -0
  1055. tensorstore-0.0.0/tensorstore/internal/oauth2/google_service_account_auth_provider_test.cc +156 -0
  1056. tensorstore-0.0.0/tensorstore/internal/oauth2/oauth2_auth_provider.cc +90 -0
  1057. tensorstore-0.0.0/tensorstore/internal/oauth2/oauth2_auth_provider.h +60 -0
  1058. tensorstore-0.0.0/tensorstore/internal/oauth2/oauth2_auth_provider_test.cc +140 -0
  1059. tensorstore-0.0.0/tensorstore/internal/oauth2/oauth_utils.cc +285 -0
  1060. tensorstore-0.0.0/tensorstore/internal/oauth2/oauth_utils.h +113 -0
  1061. tensorstore-0.0.0/tensorstore/internal/oauth2/oauth_utils_test.cc +369 -0
  1062. tensorstore-0.0.0/tensorstore/internal/oauth2/refreshable_auth_provider.cc +47 -0
  1063. tensorstore-0.0.0/tensorstore/internal/oauth2/refreshable_auth_provider.h +80 -0
  1064. tensorstore-0.0.0/tensorstore/internal/open_mode_spec.cc +152 -0
  1065. tensorstore-0.0.0/tensorstore/internal/open_mode_spec.h +67 -0
  1066. tensorstore-0.0.0/tensorstore/internal/os/BUILD +280 -0
  1067. tensorstore-0.0.0/tensorstore/internal/os/cwd.cc +131 -0
  1068. tensorstore-0.0.0/tensorstore/internal/os/cwd.h +35 -0
  1069. tensorstore-0.0.0/tensorstore/internal/os/error_code.h +62 -0
  1070. tensorstore-0.0.0/tensorstore/internal/os/error_code_posix.cc +287 -0
  1071. tensorstore-0.0.0/tensorstore/internal/os/error_code_win.cc +153 -0
  1072. tensorstore-0.0.0/tensorstore/internal/os/file_lister.h +71 -0
  1073. tensorstore-0.0.0/tensorstore/internal/os/file_lister_posix.cc +237 -0
  1074. tensorstore-0.0.0/tensorstore/internal/os/file_lister_test.cc +235 -0
  1075. tensorstore-0.0.0/tensorstore/internal/os/file_lister_win.cc +270 -0
  1076. tensorstore-0.0.0/tensorstore/internal/os/file_lock.cc +175 -0
  1077. tensorstore-0.0.0/tensorstore/internal/os/file_lock.h +103 -0
  1078. tensorstore-0.0.0/tensorstore/internal/os/file_lock_test.cc +107 -0
  1079. tensorstore-0.0.0/tensorstore/internal/os/file_util.h +357 -0
  1080. tensorstore-0.0.0/tensorstore/internal/os/file_util_posix.cc +504 -0
  1081. tensorstore-0.0.0/tensorstore/internal/os/file_util_test.cc +199 -0
  1082. tensorstore-0.0.0/tensorstore/internal/os/file_util_win.cc +630 -0
  1083. tensorstore-0.0.0/tensorstore/internal/os/filesystem.cc +117 -0
  1084. tensorstore-0.0.0/tensorstore/internal/os/filesystem.h +47 -0
  1085. tensorstore-0.0.0/tensorstore/internal/os/get_bios_info.h +31 -0
  1086. tensorstore-0.0.0/tensorstore/internal/os/get_bios_info_linux.cc +74 -0
  1087. tensorstore-0.0.0/tensorstore/internal/os/get_bios_info_win.cc +75 -0
  1088. tensorstore-0.0.0/tensorstore/internal/os/include_windows.h +60 -0
  1089. tensorstore-0.0.0/tensorstore/internal/os/potentially_blocking_region.h +30 -0
  1090. tensorstore-0.0.0/tensorstore/internal/os/subprocess.h +95 -0
  1091. tensorstore-0.0.0/tensorstore/internal/os/subprocess_posix.cc +303 -0
  1092. tensorstore-0.0.0/tensorstore/internal/os/subprocess_test.cc +182 -0
  1093. tensorstore-0.0.0/tensorstore/internal/os/subprocess_win.cc +391 -0
  1094. tensorstore-0.0.0/tensorstore/internal/os/unique_handle.h +68 -0
  1095. tensorstore-0.0.0/tensorstore/internal/os/wstring.cc +95 -0
  1096. tensorstore-0.0.0/tensorstore/internal/os/wstring.h +39 -0
  1097. tensorstore-0.0.0/tensorstore/internal/parse_json_matches.cc +63 -0
  1098. tensorstore-0.0.0/tensorstore/internal/parse_json_matches.h +43 -0
  1099. tensorstore-0.0.0/tensorstore/internal/parse_json_matches_test.cc +60 -0
  1100. tensorstore-0.0.0/tensorstore/internal/path.cc +179 -0
  1101. tensorstore-0.0.0/tensorstore/internal/path.h +79 -0
  1102. tensorstore-0.0.0/tensorstore/internal/path_test.cc +170 -0
  1103. tensorstore-0.0.0/tensorstore/internal/poly/BUILD +44 -0
  1104. tensorstore-0.0.0/tensorstore/internal/poly/poly.h +391 -0
  1105. tensorstore-0.0.0/tensorstore/internal/poly/poly_impl.h +320 -0
  1106. tensorstore-0.0.0/tensorstore/internal/poly/poly_test.cc +564 -0
  1107. tensorstore-0.0.0/tensorstore/internal/poly/storage.cc +23 -0
  1108. tensorstore-0.0.0/tensorstore/internal/poly/storage.h +342 -0
  1109. tensorstore-0.0.0/tensorstore/internal/poly/storage_test.cc +163 -0
  1110. tensorstore-0.0.0/tensorstore/internal/preprocessor/BUILD +40 -0
  1111. tensorstore-0.0.0/tensorstore/internal/preprocessor/cat.h +27 -0
  1112. tensorstore-0.0.0/tensorstore/internal/preprocessor/cat_test.cc +33 -0
  1113. tensorstore-0.0.0/tensorstore/internal/preprocessor/defer.h +23 -0
  1114. tensorstore-0.0.0/tensorstore/internal/preprocessor/expand.h +23 -0
  1115. tensorstore-0.0.0/tensorstore/internal/preprocessor/stringify.h +21 -0
  1116. tensorstore-0.0.0/tensorstore/internal/preprocessor/stringify_test.cc +31 -0
  1117. tensorstore-0.0.0/tensorstore/internal/queue_testutil.h +90 -0
  1118. tensorstore-0.0.0/tensorstore/internal/rate_limiter/BUILD +86 -0
  1119. tensorstore-0.0.0/tensorstore/internal/rate_limiter/admission_queue.cc +83 -0
  1120. tensorstore-0.0.0/tensorstore/internal/rate_limiter/admission_queue.h +70 -0
  1121. tensorstore-0.0.0/tensorstore/internal/rate_limiter/admission_queue_test.cc +80 -0
  1122. tensorstore-0.0.0/tensorstore/internal/rate_limiter/rate_limiter.cc +47 -0
  1123. tensorstore-0.0.0/tensorstore/internal/rate_limiter/rate_limiter.h +74 -0
  1124. tensorstore-0.0.0/tensorstore/internal/rate_limiter/rate_limiter_test.cc +77 -0
  1125. tensorstore-0.0.0/tensorstore/internal/rate_limiter/scaling_rate_limiter.cc +112 -0
  1126. tensorstore-0.0.0/tensorstore/internal/rate_limiter/scaling_rate_limiter.h +89 -0
  1127. tensorstore-0.0.0/tensorstore/internal/rate_limiter/scaling_rate_limiter_test.cc +144 -0
  1128. tensorstore-0.0.0/tensorstore/internal/rate_limiter/token_bucket_rate_limiter.cc +172 -0
  1129. tensorstore-0.0.0/tensorstore/internal/rate_limiter/token_bucket_rate_limiter.h +88 -0
  1130. tensorstore-0.0.0/tensorstore/internal/ref_counted_string.cc +61 -0
  1131. tensorstore-0.0.0/tensorstore/internal/ref_counted_string.h +274 -0
  1132. tensorstore-0.0.0/tensorstore/internal/ref_counted_string_test.cc +271 -0
  1133. tensorstore-0.0.0/tensorstore/internal/regular_grid.h +70 -0
  1134. tensorstore-0.0.0/tensorstore/internal/regular_grid_test.cc +61 -0
  1135. tensorstore-0.0.0/tensorstore/internal/retries_context_resource.h +96 -0
  1136. tensorstore-0.0.0/tensorstore/internal/retry.cc +46 -0
  1137. tensorstore-0.0.0/tensorstore/internal/retry.h +40 -0
  1138. tensorstore-0.0.0/tensorstore/internal/retry_test.cc +52 -0
  1139. tensorstore-0.0.0/tensorstore/internal/riegeli/BUILD +181 -0
  1140. tensorstore-0.0.0/tensorstore/internal/riegeli/array_endian_codec.cc +250 -0
  1141. tensorstore-0.0.0/tensorstore/internal/riegeli/array_endian_codec.h +65 -0
  1142. tensorstore-0.0.0/tensorstore/internal/riegeli/array_endian_codec_test.cc +327 -0
  1143. tensorstore-0.0.0/tensorstore/internal/riegeli/delimited.cc +45 -0
  1144. tensorstore-0.0.0/tensorstore/internal/riegeli/delimited.h +110 -0
  1145. tensorstore-0.0.0/tensorstore/internal/riegeli/digest_suffixed_reader.h +159 -0
  1146. tensorstore-0.0.0/tensorstore/internal/riegeli/digest_suffixed_test.cc +258 -0
  1147. tensorstore-0.0.0/tensorstore/internal/riegeli/digest_suffixed_writer.h +57 -0
  1148. tensorstore-0.0.0/tensorstore/internal/riegeli/find.cc +100 -0
  1149. tensorstore-0.0.0/tensorstore/internal/riegeli/find.h +47 -0
  1150. tensorstore-0.0.0/tensorstore/internal/riegeli/find_test.cc +95 -0
  1151. tensorstore-0.0.0/tensorstore/internal/riegeli/json_input.cc +71 -0
  1152. tensorstore-0.0.0/tensorstore/internal/riegeli/json_input.h +45 -0
  1153. tensorstore-0.0.0/tensorstore/internal/riegeli/json_io_test.cc +46 -0
  1154. tensorstore-0.0.0/tensorstore/internal/riegeli/json_output.cc +66 -0
  1155. tensorstore-0.0.0/tensorstore/internal/riegeli/json_output.h +42 -0
  1156. tensorstore-0.0.0/tensorstore/internal/source_location.h +91 -0
  1157. tensorstore-0.0.0/tensorstore/internal/source_location_test.cc +39 -0
  1158. tensorstore-0.0.0/tensorstore/internal/storage_statistics.cc +77 -0
  1159. tensorstore-0.0.0/tensorstore/internal/storage_statistics.h +90 -0
  1160. tensorstore-0.0.0/tensorstore/internal/string_like.h +87 -0
  1161. tensorstore-0.0.0/tensorstore/internal/string_like_test.cc +59 -0
  1162. tensorstore-0.0.0/tensorstore/internal/tagged_ptr.h +224 -0
  1163. tensorstore-0.0.0/tensorstore/internal/tagged_ptr_test.cc +211 -0
  1164. tensorstore-0.0.0/tensorstore/internal/testing/BUILD +74 -0
  1165. tensorstore-0.0.0/tensorstore/internal/testing/concurrent.cc +49 -0
  1166. tensorstore-0.0.0/tensorstore/internal/testing/concurrent.h +172 -0
  1167. tensorstore-0.0.0/tensorstore/internal/testing/concurrent_test.cc +95 -0
  1168. tensorstore-0.0.0/tensorstore/internal/testing/dynamic.cc +54 -0
  1169. tensorstore-0.0.0/tensorstore/internal/testing/dynamic.h +35 -0
  1170. tensorstore-0.0.0/tensorstore/internal/testing/random_seed.cc +42 -0
  1171. tensorstore-0.0.0/tensorstore/internal/testing/random_seed.h +28 -0
  1172. tensorstore-0.0.0/tensorstore/internal/testing/scoped_directory.cc +70 -0
  1173. tensorstore-0.0.0/tensorstore/internal/testing/scoped_directory.h +55 -0
  1174. tensorstore-0.0.0/tensorstore/internal/thread/BUILD +207 -0
  1175. tensorstore-0.0.0/tensorstore/internal/thread/pool_impl.cc +249 -0
  1176. tensorstore-0.0.0/tensorstore/internal/thread/pool_impl.h +93 -0
  1177. tensorstore-0.0.0/tensorstore/internal/thread/pool_impl_test.cc +135 -0
  1178. tensorstore-0.0.0/tensorstore/internal/thread/schedule_at.cc +314 -0
  1179. tensorstore-0.0.0/tensorstore/internal/thread/schedule_at.h +35 -0
  1180. tensorstore-0.0.0/tensorstore/internal/thread/schedule_at_test.cc +116 -0
  1181. tensorstore-0.0.0/tensorstore/internal/thread/task.h +53 -0
  1182. tensorstore-0.0.0/tensorstore/internal/thread/task_group_impl.cc +342 -0
  1183. tensorstore-0.0.0/tensorstore/internal/thread/task_group_impl.h +103 -0
  1184. tensorstore-0.0.0/tensorstore/internal/thread/task_provider.h +40 -0
  1185. tensorstore-0.0.0/tensorstore/internal/thread/thread.cc +40 -0
  1186. tensorstore-0.0.0/tensorstore/internal/thread/thread.h +105 -0
  1187. tensorstore-0.0.0/tensorstore/internal/thread/thread_pool.cc +76 -0
  1188. tensorstore-0.0.0/tensorstore/internal/thread/thread_pool.h +36 -0
  1189. tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_benchmark.cc +25 -0
  1190. tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_benchmark.inc +224 -0
  1191. tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_test.cc +26 -0
  1192. tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_test.inc +163 -0
  1193. tensorstore-0.0.0/tensorstore/internal/thread/thread_test.cc +38 -0
  1194. tensorstore-0.0.0/tensorstore/internal/tracing/BUILD +47 -0
  1195. tensorstore-0.0.0/tensorstore/internal/tracing/logged_trace_span.cc +68 -0
  1196. tensorstore-0.0.0/tensorstore/internal/tracing/logged_trace_span.h +134 -0
  1197. tensorstore-0.0.0/tensorstore/internal/tracing/span_attribute.h +64 -0
  1198. tensorstore-0.0.0/tensorstore/internal/tracing/trace_context.h +41 -0
  1199. tensorstore-0.0.0/tensorstore/internal/tracing/trace_span.cc +15 -0
  1200. tensorstore-0.0.0/tensorstore/internal/tracing/trace_span.h +57 -0
  1201. tensorstore-0.0.0/tensorstore/internal/tracing/trace_test.cc +86 -0
  1202. tensorstore-0.0.0/tensorstore/internal/type_traits.h +412 -0
  1203. tensorstore-0.0.0/tensorstore/internal/type_traits_test.cc +159 -0
  1204. tensorstore-0.0.0/tensorstore/internal/unaligned_data_type_functions.cc +116 -0
  1205. tensorstore-0.0.0/tensorstore/internal/unaligned_data_type_functions.h +115 -0
  1206. tensorstore-0.0.0/tensorstore/internal/unique_with_intrusive_allocator.h +159 -0
  1207. tensorstore-0.0.0/tensorstore/internal/unique_with_intrusive_allocator_test.cc +80 -0
  1208. tensorstore-0.0.0/tensorstore/internal/unowned_to_shared.h +39 -0
  1209. tensorstore-0.0.0/tensorstore/internal/uri_utils.cc +129 -0
  1210. tensorstore-0.0.0/tensorstore/internal/uri_utils.h +127 -0
  1211. tensorstore-0.0.0/tensorstore/internal/uri_utils_test.cc +208 -0
  1212. tensorstore-0.0.0/tensorstore/internal/utf8.cc +105 -0
  1213. tensorstore-0.0.0/tensorstore/internal/utf8.h +37 -0
  1214. tensorstore-0.0.0/tensorstore/internal/utf8_test.cc +96 -0
  1215. tensorstore-0.0.0/tensorstore/internal/void_wrapper.h +87 -0
  1216. tensorstore-0.0.0/tensorstore/internal/void_wrapper_test.cc +112 -0
  1217. tensorstore-0.0.0/tensorstore/json_serialization_options.h +131 -0
  1218. tensorstore-0.0.0/tensorstore/json_serialization_options_base.h +45 -0
  1219. tensorstore-0.0.0/tensorstore/kvstore/BUILD +419 -0
  1220. tensorstore-0.0.0/tensorstore/kvstore/batch_util.h +398 -0
  1221. tensorstore-0.0.0/tensorstore/kvstore/byte_range.cc +71 -0
  1222. tensorstore-0.0.0/tensorstore/kvstore/byte_range.h +209 -0
  1223. tensorstore-0.0.0/tensorstore/kvstore/byte_range_test.cc +186 -0
  1224. tensorstore-0.0.0/tensorstore/kvstore/common_metrics.h +147 -0
  1225. tensorstore-0.0.0/tensorstore/kvstore/copy.cc +134 -0
  1226. tensorstore-0.0.0/tensorstore/kvstore/driver.h +397 -0
  1227. tensorstore-0.0.0/tensorstore/kvstore/file/BUILD +131 -0
  1228. tensorstore-0.0.0/tensorstore/kvstore/file/file_key_value_store.cc +949 -0
  1229. tensorstore-0.0.0/tensorstore/kvstore/file/file_key_value_store_test.cc +538 -0
  1230. tensorstore-0.0.0/tensorstore/kvstore/file/file_resource.cc +35 -0
  1231. tensorstore-0.0.0/tensorstore/kvstore/file/file_resource.h +139 -0
  1232. tensorstore-0.0.0/tensorstore/kvstore/file/index.rst +48 -0
  1233. tensorstore-0.0.0/tensorstore/kvstore/file/schema.yml +149 -0
  1234. tensorstore-0.0.0/tensorstore/kvstore/file/util.cc +63 -0
  1235. tensorstore-0.0.0/tensorstore/kvstore/file/util.h +36 -0
  1236. tensorstore-0.0.0/tensorstore/kvstore/file/util_test.cc +62 -0
  1237. tensorstore-0.0.0/tensorstore/kvstore/gcs/BUILD +93 -0
  1238. tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_resource.cc +36 -0
  1239. tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_resource.h +68 -0
  1240. tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_testbench.cc +177 -0
  1241. tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_testbench.h +51 -0
  1242. tensorstore-0.0.0/tensorstore/kvstore/gcs/index.rst +82 -0
  1243. tensorstore-0.0.0/tensorstore/kvstore/gcs/schema.yml +152 -0
  1244. tensorstore-0.0.0/tensorstore/kvstore/gcs/validate.cc +164 -0
  1245. tensorstore-0.0.0/tensorstore/kvstore/gcs/validate.h +55 -0
  1246. tensorstore-0.0.0/tensorstore/kvstore/gcs/validate_test.cc +79 -0
  1247. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/BUILD +206 -0
  1248. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/gcs_grpc.cc +1017 -0
  1249. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/gcs_grpc_test.cc +659 -0
  1250. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/gcs_grpc_testbench_test.cc +172 -0
  1251. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/get_credentials.cc +45 -0
  1252. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/get_credentials.h +37 -0
  1253. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/mock_storage_service.h +83 -0
  1254. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/state.cc +235 -0
  1255. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/state.h +111 -0
  1256. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/storage_stub_pool.cc +304 -0
  1257. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/storage_stub_pool.h +74 -0
  1258. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/use_directpath.cc +71 -0
  1259. tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/use_directpath.h +27 -0
  1260. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/BUILD +199 -0
  1261. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_key_value_store.cc +1306 -0
  1262. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_key_value_store_test.cc +846 -0
  1263. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_mock.cc +527 -0
  1264. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_mock.h +136 -0
  1265. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_resource.cc +153 -0
  1266. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_resource.h +143 -0
  1267. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_testbench_test.cc +154 -0
  1268. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/object_metadata.cc +122 -0
  1269. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/object_metadata.h +79 -0
  1270. tensorstore-0.0.0/tensorstore/kvstore/gcs_http/object_metadata_test.cc +162 -0
  1271. tensorstore-0.0.0/tensorstore/kvstore/generation.cc +164 -0
  1272. tensorstore-0.0.0/tensorstore/kvstore/generation.h +416 -0
  1273. tensorstore-0.0.0/tensorstore/kvstore/generation_test.cc +95 -0
  1274. tensorstore-0.0.0/tensorstore/kvstore/generic_coalescing_batch_util.h +145 -0
  1275. tensorstore-0.0.0/tensorstore/kvstore/http/BUILD +98 -0
  1276. tensorstore-0.0.0/tensorstore/kvstore/http/byte_range_util.cc +78 -0
  1277. tensorstore-0.0.0/tensorstore/kvstore/http/byte_range_util.h +40 -0
  1278. tensorstore-0.0.0/tensorstore/kvstore/http/driver.cc +477 -0
  1279. tensorstore-0.0.0/tensorstore/kvstore/http/driver_test.cc +539 -0
  1280. tensorstore-0.0.0/tensorstore/kvstore/http/index.rst +51 -0
  1281. tensorstore-0.0.0/tensorstore/kvstore/http/schema.yml +155 -0
  1282. tensorstore-0.0.0/tensorstore/kvstore/index.rst +24 -0
  1283. tensorstore-0.0.0/tensorstore/kvstore/key_range.cc +239 -0
  1284. tensorstore-0.0.0/tensorstore/kvstore/key_range.h +199 -0
  1285. tensorstore-0.0.0/tensorstore/kvstore/key_range_test.cc +261 -0
  1286. tensorstore-0.0.0/tensorstore/kvstore/kvstack/BUILD +99 -0
  1287. tensorstore-0.0.0/tensorstore/kvstore/kvstack/index.rst +14 -0
  1288. tensorstore-0.0.0/tensorstore/kvstore/kvstack/key_range_map.h +144 -0
  1289. tensorstore-0.0.0/tensorstore/kvstore/kvstack/key_range_map_test.cc +176 -0
  1290. tensorstore-0.0.0/tensorstore/kvstore/kvstack/kvstack_key_value_store.cc +534 -0
  1291. tensorstore-0.0.0/tensorstore/kvstore/kvstack/kvstack_test.cc +336 -0
  1292. tensorstore-0.0.0/tensorstore/kvstore/kvstack/schema.yml +55 -0
  1293. tensorstore-0.0.0/tensorstore/kvstore/kvstore.cc +458 -0
  1294. tensorstore-0.0.0/tensorstore/kvstore/kvstore.h +298 -0
  1295. tensorstore-0.0.0/tensorstore/kvstore/kvstore_test.cc +39 -0
  1296. tensorstore-0.0.0/tensorstore/kvstore/live_kvstore_test.cc +130 -0
  1297. tensorstore-0.0.0/tensorstore/kvstore/memory/BUILD +70 -0
  1298. tensorstore-0.0.0/tensorstore/kvstore/memory/index.rst +15 -0
  1299. tensorstore-0.0.0/tensorstore/kvstore/memory/memory_key_value_store.cc +543 -0
  1300. tensorstore-0.0.0/tensorstore/kvstore/memory/memory_key_value_store.h +35 -0
  1301. tensorstore-0.0.0/tensorstore/kvstore/memory/memory_key_value_store_test.cc +318 -0
  1302. tensorstore-0.0.0/tensorstore/kvstore/memory/schema.yml +55 -0
  1303. tensorstore-0.0.0/tensorstore/kvstore/mock_kvstore.cc +361 -0
  1304. tensorstore-0.0.0/tensorstore/kvstore/mock_kvstore.h +168 -0
  1305. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/BUILD +237 -0
  1306. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/index.rst +67 -0
  1307. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.cc +94 -0
  1308. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.h +36 -0
  1309. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3_test.cc +76 -0
  1310. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.cc +1676 -0
  1311. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.h +114 -0
  1312. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded_test.cc +1902 -0
  1313. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/schema.yml +113 -0
  1314. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.cc +219 -0
  1315. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.h +223 -0
  1316. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.cc +222 -0
  1317. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.h +89 -0
  1318. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder_test.cc +97 -0
  1319. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.cc +182 -0
  1320. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.h +180 -0
  1321. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder_test.cc +187 -0
  1322. tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_test.cc +359 -0
  1323. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/BUILD +312 -0
  1324. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/btree_writer.h +62 -0
  1325. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/config.cc +258 -0
  1326. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/config.h +130 -0
  1327. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/debug_defines.h +27 -0
  1328. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/BUILD +342 -0
  1329. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_identifier.cc +55 -0
  1330. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_identifier.h +74 -0
  1331. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_write_mutation.cc +267 -0
  1332. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_write_mutation.h +105 -0
  1333. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_writer.cc +796 -0
  1334. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_writer.h +45 -0
  1335. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator.h +107 -0
  1336. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator.proto +65 -0
  1337. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_commit_mutations.cc +877 -0
  1338. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_get_manifest.cc +232 -0
  1339. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_impl.cc +131 -0
  1340. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_impl.h +176 -0
  1341. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_server_test.cc +104 -0
  1342. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_start.cc +83 -0
  1343. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_submit_mutation_batch.cc +378 -0
  1344. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator.proto +62 -0
  1345. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator_server.cc +247 -0
  1346. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator_server.h +122 -0
  1347. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator_server_test.cc +92 -0
  1348. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/driver_test.cc +249 -0
  1349. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/lease_cache_for_cooperator.cc +264 -0
  1350. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/lease_cache_for_cooperator.h +113 -0
  1351. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/rpc_security.cc +112 -0
  1352. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/rpc_security.h +64 -0
  1353. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/rpc_security_registry.h +45 -0
  1354. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/driver.cc +448 -0
  1355. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/driver.h +189 -0
  1356. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/driver_test.cc +935 -0
  1357. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/dump_main.cc +125 -0
  1358. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/dump_util.cc +118 -0
  1359. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/dump_util.h +52 -0
  1360. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/flush_promise_test.cc +525 -0
  1361. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/BUILD +167 -0
  1362. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree.cc +433 -0
  1363. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree.h +364 -0
  1364. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_codec.h +263 -0
  1365. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_node_encoder.cc +408 -0
  1366. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_node_encoder.h +117 -0
  1367. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_test.cc +321 -0
  1368. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/codec_util.cc +271 -0
  1369. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/codec_util.h +164 -0
  1370. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config.cc +89 -0
  1371. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config.h +114 -0
  1372. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config_codec.cc +108 -0
  1373. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config_codec.h +68 -0
  1374. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id.cc +65 -0
  1375. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id.h +89 -0
  1376. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id_codec.cc +299 -0
  1377. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id_codec.h +95 -0
  1378. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id_codec_test.cc +238 -0
  1379. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/dump.cc +277 -0
  1380. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/dump.h +68 -0
  1381. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/dump_test.cc +327 -0
  1382. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/indirect_data_reference.cc +125 -0
  1383. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/indirect_data_reference.h +107 -0
  1384. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/indirect_data_reference_codec.h +96 -0
  1385. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/manifest.cc +278 -0
  1386. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/manifest.h +141 -0
  1387. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/manifest_test.cc +306 -0
  1388. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/version_tree.cc +658 -0
  1389. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/version_tree.h +394 -0
  1390. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/version_tree_codec.h +207 -0
  1391. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/index.rst +1091 -0
  1392. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/BUILD +216 -0
  1393. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/coalesce_kvstore.cc +460 -0
  1394. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/coalesce_kvstore.h +38 -0
  1395. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/coalesce_kvstore_test.cc +267 -0
  1396. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_kvstore_driver.cc +94 -0
  1397. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_kvstore_driver.h +37 -0
  1398. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_writer.cc +205 -0
  1399. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_writer.h +63 -0
  1400. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_writer_test.cc +155 -0
  1401. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/io_handle_impl.cc +499 -0
  1402. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/io_handle_impl.h +63 -0
  1403. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/manifest_cache.cc +843 -0
  1404. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/manifest_cache.h +173 -0
  1405. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/node_cache.cc +27 -0
  1406. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/node_cache.h +180 -0
  1407. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io_handle.cc +125 -0
  1408. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io_handle.h +156 -0
  1409. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/BUILD +276 -0
  1410. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer.cc +408 -0
  1411. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer.h +29 -0
  1412. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer_commit_operation.cc +345 -0
  1413. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer_commit_operation.h +1034 -0
  1414. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/create_new_manifest.cc +386 -0
  1415. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/create_new_manifest.h +56 -0
  1416. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list.cc +301 -0
  1417. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list.h +46 -0
  1418. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list_versions.cc +273 -0
  1419. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list_versions.h +49 -0
  1420. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read.cc +297 -0
  1421. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read.h +33 -0
  1422. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read_version.cc +245 -0
  1423. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read_version.h +36 -0
  1424. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/staged_mutations.cc +275 -0
  1425. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/staged_mutations.h +159 -0
  1426. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/storage_generation.cc +103 -0
  1427. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/storage_generation.h +59 -0
  1428. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/transactional_btree_writer.cc +436 -0
  1429. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/transactional_btree_writer.h +51 -0
  1430. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/write_nodes.cc +93 -0
  1431. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/write_nodes.h +42 -0
  1432. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/read_version_test.cc +270 -0
  1433. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/schema.yml +181 -0
  1434. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/test_util.cc +84 -0
  1435. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/test_util.h +38 -0
  1436. tensorstore-0.0.0/tensorstore/kvstore/ocdbt/zarr_test.cc +65 -0
  1437. tensorstore-0.0.0/tensorstore/kvstore/operations.cc +234 -0
  1438. tensorstore-0.0.0/tensorstore/kvstore/operations.h +369 -0
  1439. tensorstore-0.0.0/tensorstore/kvstore/read_modify_write.h +198 -0
  1440. tensorstore-0.0.0/tensorstore/kvstore/read_result.cc +50 -0
  1441. tensorstore-0.0.0/tensorstore/kvstore/read_result.h +150 -0
  1442. tensorstore-0.0.0/tensorstore/kvstore/registry.h +261 -0
  1443. tensorstore-0.0.0/tensorstore/kvstore/s3/BUILD +378 -0
  1444. tensorstore-0.0.0/tensorstore/kvstore/s3/aws_api_test.cc +22 -0
  1445. tensorstore-0.0.0/tensorstore/kvstore/s3/aws_credentials_resource.cc +117 -0
  1446. tensorstore-0.0.0/tensorstore/kvstore/s3/aws_credentials_resource.h +94 -0
  1447. tensorstore-0.0.0/tensorstore/kvstore/s3/aws_credentials_resource_test.cc +119 -0
  1448. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/BUILD +178 -0
  1449. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/aws_credentials.h +63 -0
  1450. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/default_credential_provider.cc +178 -0
  1451. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/default_credential_provider.h +88 -0
  1452. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/default_credential_provider_test.cc +198 -0
  1453. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/ec2_credential_provider.cc +246 -0
  1454. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/ec2_credential_provider.h +49 -0
  1455. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/ec2_credential_provider_test.cc +179 -0
  1456. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/environment_credential_provider.cc +62 -0
  1457. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/environment_credential_provider.h +34 -0
  1458. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/environment_credential_provider_test.cc +64 -0
  1459. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/file_credential_provider.cc +150 -0
  1460. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/file_credential_provider.h +53 -0
  1461. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/file_credential_provider_test.cc +151 -0
  1462. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/test_utils.cc +66 -0
  1463. tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/test_utils.h +40 -0
  1464. tensorstore-0.0.0/tensorstore/kvstore/s3/index.rst +89 -0
  1465. tensorstore-0.0.0/tensorstore/kvstore/s3/localstack_test.cc +369 -0
  1466. tensorstore-0.0.0/tensorstore/kvstore/s3/moto_server.py +19 -0
  1467. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_endpoint.cc +255 -0
  1468. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_endpoint.h +85 -0
  1469. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_endpoint_test.cc +130 -0
  1470. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_key_value_store.cc +1308 -0
  1471. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_key_value_store_test.cc +485 -0
  1472. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_metadata.cc +293 -0
  1473. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_metadata.h +70 -0
  1474. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_metadata_test.cc +165 -0
  1475. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_request_builder.cc +252 -0
  1476. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_request_builder.h +141 -0
  1477. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_request_builder_test.cc +357 -0
  1478. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_resource.cc +151 -0
  1479. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_resource.h +150 -0
  1480. tensorstore-0.0.0/tensorstore/kvstore/s3/s3_uri_utils.h +56 -0
  1481. tensorstore-0.0.0/tensorstore/kvstore/s3/schema.yml +184 -0
  1482. tensorstore-0.0.0/tensorstore/kvstore/s3/validate.cc +89 -0
  1483. tensorstore-0.0.0/tensorstore/kvstore/s3/validate.h +52 -0
  1484. tensorstore-0.0.0/tensorstore/kvstore/s3/validate_test.cc +117 -0
  1485. tensorstore-0.0.0/tensorstore/kvstore/schema.yml +38 -0
  1486. tensorstore-0.0.0/tensorstore/kvstore/spec.cc +249 -0
  1487. tensorstore-0.0.0/tensorstore/kvstore/spec.h +353 -0
  1488. tensorstore-0.0.0/tensorstore/kvstore/supported_features.h +52 -0
  1489. tensorstore-0.0.0/tensorstore/kvstore/test_matchers.h +146 -0
  1490. tensorstore-0.0.0/tensorstore/kvstore/test_util.cc +1496 -0
  1491. tensorstore-0.0.0/tensorstore/kvstore/test_util.h +177 -0
  1492. tensorstore-0.0.0/tensorstore/kvstore/transaction.cc +1722 -0
  1493. tensorstore-0.0.0/tensorstore/kvstore/transaction.h +774 -0
  1494. tensorstore-0.0.0/tensorstore/kvstore/transaction_test.cc +228 -0
  1495. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/BUILD +256 -0
  1496. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/common.cc +46 -0
  1497. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/common.h +58 -0
  1498. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/common.proto +54 -0
  1499. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/handler_template.h +109 -0
  1500. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/index.rst +19 -0
  1501. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore.proto +164 -0
  1502. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server.cc +565 -0
  1503. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server.h +97 -0
  1504. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server_main.cc +77 -0
  1505. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server_test.cc +220 -0
  1506. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/mock_kvstore_service.h +50 -0
  1507. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/schema.yml +29 -0
  1508. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/tsgrpc.cc +494 -0
  1509. tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/tsgrpc_test.cc +370 -0
  1510. tensorstore-0.0.0/tensorstore/kvstore/url_registry.cc +94 -0
  1511. tensorstore-0.0.0/tensorstore/kvstore/url_registry.h +41 -0
  1512. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/BUILD +209 -0
  1513. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/index.rst +39 -0
  1514. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/key.cc +206 -0
  1515. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/key.h +108 -0
  1516. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/key_test.cc +156 -0
  1517. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/schema.yml +53 -0
  1518. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/shard_format.cc +288 -0
  1519. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/shard_format.h +190 -0
  1520. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/shard_format_test.cc +154 -0
  1521. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.cc +1381 -0
  1522. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.h +81 -0
  1523. tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed_test.cc +1479 -0
  1524. tensorstore-0.0.0/tensorstore/kvstore/zip/BUILD +153 -0
  1525. tensorstore-0.0.0/tensorstore/kvstore/zip/index.rst +24 -0
  1526. tensorstore-0.0.0/tensorstore/kvstore/zip/schema.yml +30 -0
  1527. tensorstore-0.0.0/tensorstore/kvstore/zip/zip_dir_cache.cc +290 -0
  1528. tensorstore-0.0.0/tensorstore/kvstore/zip/zip_dir_cache.h +120 -0
  1529. tensorstore-0.0.0/tensorstore/kvstore/zip/zip_dir_cache_test.cc +198 -0
  1530. tensorstore-0.0.0/tensorstore/kvstore/zip/zip_key_value_store.cc +411 -0
  1531. tensorstore-0.0.0/tensorstore/kvstore/zip/zip_key_value_store_test.cc +206 -0
  1532. tensorstore-0.0.0/tensorstore/make_array.inc +508 -0
  1533. tensorstore-0.0.0/tensorstore/open.h +143 -0
  1534. tensorstore-0.0.0/tensorstore/open_mode.cc +95 -0
  1535. tensorstore-0.0.0/tensorstore/open_mode.h +234 -0
  1536. tensorstore-0.0.0/tensorstore/open_mode_test.cc +88 -0
  1537. tensorstore-0.0.0/tensorstore/open_options.h +225 -0
  1538. tensorstore-0.0.0/tensorstore/progress.cc +63 -0
  1539. tensorstore-0.0.0/tensorstore/progress.h +209 -0
  1540. tensorstore-0.0.0/tensorstore/progress_test.cc +90 -0
  1541. tensorstore-0.0.0/tensorstore/proto/BUILD +289 -0
  1542. tensorstore-0.0.0/tensorstore/proto/array.cc +314 -0
  1543. tensorstore-0.0.0/tensorstore/proto/array.h +52 -0
  1544. tensorstore-0.0.0/tensorstore/proto/array.proto +35 -0
  1545. tensorstore-0.0.0/tensorstore/proto/array_test.cc +268 -0
  1546. tensorstore-0.0.0/tensorstore/proto/encode_time.cc +101 -0
  1547. tensorstore-0.0.0/tensorstore/proto/encode_time.h +42 -0
  1548. tensorstore-0.0.0/tensorstore/proto/encode_time_test.cc +74 -0
  1549. tensorstore-0.0.0/tensorstore/proto/index_transform.cc +296 -0
  1550. tensorstore-0.0.0/tensorstore/proto/index_transform.h +60 -0
  1551. tensorstore-0.0.0/tensorstore/proto/index_transform.proto +92 -0
  1552. tensorstore-0.0.0/tensorstore/proto/index_transform_test.cc +591 -0
  1553. tensorstore-0.0.0/tensorstore/proto/parse_text_proto_or_die.h +67 -0
  1554. tensorstore-0.0.0/tensorstore/proto/proto_binder.cc +99 -0
  1555. tensorstore-0.0.0/tensorstore/proto/proto_binder.h +85 -0
  1556. tensorstore-0.0.0/tensorstore/proto/proto_binder_test.cc +88 -0
  1557. tensorstore-0.0.0/tensorstore/proto/proto_util.cc +118 -0
  1558. tensorstore-0.0.0/tensorstore/proto/proto_util.h +40 -0
  1559. tensorstore-0.0.0/tensorstore/proto/proto_util_test.cc +63 -0
  1560. tensorstore-0.0.0/tensorstore/proto/protobuf_matchers.cc +407 -0
  1561. tensorstore-0.0.0/tensorstore/proto/protobuf_matchers.h +1125 -0
  1562. tensorstore-0.0.0/tensorstore/proto/schema.cc +283 -0
  1563. tensorstore-0.0.0/tensorstore/proto/schema.h +39 -0
  1564. tensorstore-0.0.0/tensorstore/proto/schema.proto +68 -0
  1565. tensorstore-0.0.0/tensorstore/proto/schema_test.cc +172 -0
  1566. tensorstore-0.0.0/tensorstore/rank.cc +34 -0
  1567. tensorstore-0.0.0/tensorstore/rank.h +421 -0
  1568. tensorstore-0.0.0/tensorstore/rank_test.cc +140 -0
  1569. tensorstore-0.0.0/tensorstore/read_write_options.h +248 -0
  1570. tensorstore-0.0.0/tensorstore/resize_options.cc +58 -0
  1571. tensorstore-0.0.0/tensorstore/resize_options.h +195 -0
  1572. tensorstore-0.0.0/tensorstore/resize_options_test.cc +55 -0
  1573. tensorstore-0.0.0/tensorstore/schema.cc +613 -0
  1574. tensorstore-0.0.0/tensorstore/schema.h +371 -0
  1575. tensorstore-0.0.0/tensorstore/schema_test.cc +820 -0
  1576. tensorstore-0.0.0/tensorstore/serialization/BUILD +276 -0
  1577. tensorstore-0.0.0/tensorstore/serialization/absl_time.cc +73 -0
  1578. tensorstore-0.0.0/tensorstore/serialization/absl_time.h +25 -0
  1579. tensorstore-0.0.0/tensorstore/serialization/absl_time_test.cc +50 -0
  1580. tensorstore-0.0.0/tensorstore/serialization/batch.cc +75 -0
  1581. tensorstore-0.0.0/tensorstore/serialization/batch.h +150 -0
  1582. tensorstore-0.0.0/tensorstore/serialization/function.cc +80 -0
  1583. tensorstore-0.0.0/tensorstore/serialization/function.h +447 -0
  1584. tensorstore-0.0.0/tensorstore/serialization/function_test.cc +89 -0
  1585. tensorstore-0.0.0/tensorstore/serialization/fwd.h +86 -0
  1586. tensorstore-0.0.0/tensorstore/serialization/json.cc +37 -0
  1587. tensorstore-0.0.0/tensorstore/serialization/json.h +24 -0
  1588. tensorstore-0.0.0/tensorstore/serialization/json_bindable.h +50 -0
  1589. tensorstore-0.0.0/tensorstore/serialization/json_test.cc +44 -0
  1590. tensorstore-0.0.0/tensorstore/serialization/protobuf.cc +49 -0
  1591. tensorstore-0.0.0/tensorstore/serialization/protobuf.h +42 -0
  1592. tensorstore-0.0.0/tensorstore/serialization/registry.cc +62 -0
  1593. tensorstore-0.0.0/tensorstore/serialization/registry.h +167 -0
  1594. tensorstore-0.0.0/tensorstore/serialization/registry_test.cc +78 -0
  1595. tensorstore-0.0.0/tensorstore/serialization/result.h +50 -0
  1596. tensorstore-0.0.0/tensorstore/serialization/result_test.cc +37 -0
  1597. tensorstore-0.0.0/tensorstore/serialization/serialization.cc +63 -0
  1598. tensorstore-0.0.0/tensorstore/serialization/serialization.h +840 -0
  1599. tensorstore-0.0.0/tensorstore/serialization/serialization_test.cc +166 -0
  1600. tensorstore-0.0.0/tensorstore/serialization/span.h +69 -0
  1601. tensorstore-0.0.0/tensorstore/serialization/span_test.cc +51 -0
  1602. tensorstore-0.0.0/tensorstore/serialization/status.cc +85 -0
  1603. tensorstore-0.0.0/tensorstore/serialization/status.h +36 -0
  1604. tensorstore-0.0.0/tensorstore/serialization/status_test.cc +41 -0
  1605. tensorstore-0.0.0/tensorstore/serialization/std_array.h +25 -0
  1606. tensorstore-0.0.0/tensorstore/serialization/std_complex.h +25 -0
  1607. tensorstore-0.0.0/tensorstore/serialization/std_map.h +39 -0
  1608. tensorstore-0.0.0/tensorstore/serialization/std_optional.h +32 -0
  1609. tensorstore-0.0.0/tensorstore/serialization/std_pair.h +25 -0
  1610. tensorstore-0.0.0/tensorstore/serialization/std_set.h +36 -0
  1611. tensorstore-0.0.0/tensorstore/serialization/std_tuple.h +25 -0
  1612. tensorstore-0.0.0/tensorstore/serialization/std_variant.h +63 -0
  1613. tensorstore-0.0.0/tensorstore/serialization/std_vector.h +32 -0
  1614. tensorstore-0.0.0/tensorstore/serialization/test_util.h +72 -0
  1615. tensorstore-0.0.0/tensorstore/spec.cc +192 -0
  1616. tensorstore-0.0.0/tensorstore/spec.h +246 -0
  1617. tensorstore-0.0.0/tensorstore/spec_impl.h +41 -0
  1618. tensorstore-0.0.0/tensorstore/spec_test.cc +405 -0
  1619. tensorstore-0.0.0/tensorstore/stack.h +138 -0
  1620. tensorstore-0.0.0/tensorstore/staleness_bound.h +243 -0
  1621. tensorstore-0.0.0/tensorstore/static_cast.cc +29 -0
  1622. tensorstore-0.0.0/tensorstore/static_cast.h +289 -0
  1623. tensorstore-0.0.0/tensorstore/static_cast_test.cc +214 -0
  1624. tensorstore-0.0.0/tensorstore/strided_layout.cc +191 -0
  1625. tensorstore-0.0.0/tensorstore/strided_layout.h +1091 -0
  1626. tensorstore-0.0.0/tensorstore/strided_layout_test.cc +1190 -0
  1627. tensorstore-0.0.0/tensorstore/tensorstore.cc +63 -0
  1628. tensorstore-0.0.0/tensorstore/tensorstore.h +1045 -0
  1629. tensorstore-0.0.0/tensorstore/tensorstore_impl.h +207 -0
  1630. tensorstore-0.0.0/tensorstore/tensorstore_serialization_test.cc +151 -0
  1631. tensorstore-0.0.0/tensorstore/transaction.cc +648 -0
  1632. tensorstore-0.0.0/tensorstore/transaction.h +344 -0
  1633. tensorstore-0.0.0/tensorstore/transaction_impl.h +961 -0
  1634. tensorstore-0.0.0/tensorstore/transaction_test.cc +747 -0
  1635. tensorstore-0.0.0/tensorstore/tscli/BUILD +90 -0
  1636. tensorstore-0.0.0/tensorstore/tscli/args.cc +239 -0
  1637. tensorstore-0.0.0/tensorstore/tscli/args.h +65 -0
  1638. tensorstore-0.0.0/tensorstore/tscli/args_test.cc +37 -0
  1639. tensorstore-0.0.0/tensorstore/tscli/cli.h +37 -0
  1640. tensorstore-0.0.0/tensorstore/tscli/kvstore_copy.cc +145 -0
  1641. tensorstore-0.0.0/tensorstore/tscli/kvstore_list.cc +222 -0
  1642. tensorstore-0.0.0/tensorstore/tscli/main.cc +161 -0
  1643. tensorstore-0.0.0/tensorstore/tscli/ts_print_spec.cc +101 -0
  1644. tensorstore-0.0.0/tensorstore/tscli/ts_print_stats.cc +339 -0
  1645. tensorstore-0.0.0/tensorstore/tscli/ts_search.cc +190 -0
  1646. tensorstore-0.0.0/tensorstore/update_generated_source_code.py +81 -0
  1647. tensorstore-0.0.0/tensorstore/util/BUILD +790 -0
  1648. tensorstore-0.0.0/tensorstore/util/apply_members/BUILD +27 -0
  1649. tensorstore-0.0.0/tensorstore/util/apply_members/apply_members.h +150 -0
  1650. tensorstore-0.0.0/tensorstore/util/apply_members/apply_members_test.cc +94 -0
  1651. tensorstore-0.0.0/tensorstore/util/apply_members/std_array.h +51 -0
  1652. tensorstore-0.0.0/tensorstore/util/apply_members/std_complex.h +48 -0
  1653. tensorstore-0.0.0/tensorstore/util/apply_members/std_pair.h +34 -0
  1654. tensorstore-0.0.0/tensorstore/util/apply_members/std_tuple.h +36 -0
  1655. tensorstore-0.0.0/tensorstore/util/bfloat16.h +904 -0
  1656. tensorstore-0.0.0/tensorstore/util/bfloat16_test.cc +506 -0
  1657. tensorstore-0.0.0/tensorstore/util/bit_span.h +224 -0
  1658. tensorstore-0.0.0/tensorstore/util/bit_span_test.cc +183 -0
  1659. tensorstore-0.0.0/tensorstore/util/bit_vec.h +226 -0
  1660. tensorstore-0.0.0/tensorstore/util/bit_vec_impl.cc +55 -0
  1661. tensorstore-0.0.0/tensorstore/util/bit_vec_impl.h +131 -0
  1662. tensorstore-0.0.0/tensorstore/util/bit_vec_test.cc +416 -0
  1663. tensorstore-0.0.0/tensorstore/util/byte_strided_pointer.h +217 -0
  1664. tensorstore-0.0.0/tensorstore/util/byte_strided_pointer_test.cc +165 -0
  1665. tensorstore-0.0.0/tensorstore/util/constant_bit_vector.h +52 -0
  1666. tensorstore-0.0.0/tensorstore/util/constant_bit_vector_test.cc +57 -0
  1667. tensorstore-0.0.0/tensorstore/util/constant_vector.cc +27 -0
  1668. tensorstore-0.0.0/tensorstore/util/constant_vector.h +123 -0
  1669. tensorstore-0.0.0/tensorstore/util/constant_vector_test.cc +77 -0
  1670. tensorstore-0.0.0/tensorstore/util/dimension_set.h +30 -0
  1671. tensorstore-0.0.0/tensorstore/util/division.h +172 -0
  1672. tensorstore-0.0.0/tensorstore/util/division_test.cc +50 -0
  1673. tensorstore-0.0.0/tensorstore/util/element_pointer.cc +31 -0
  1674. tensorstore-0.0.0/tensorstore/util/element_pointer.h +557 -0
  1675. tensorstore-0.0.0/tensorstore/util/element_pointer_test.cc +472 -0
  1676. tensorstore-0.0.0/tensorstore/util/element_traits.h +125 -0
  1677. tensorstore-0.0.0/tensorstore/util/element_traits_test.cc +64 -0
  1678. tensorstore-0.0.0/tensorstore/util/endian.h +135 -0
  1679. tensorstore-0.0.0/tensorstore/util/execution/BUILD +258 -0
  1680. tensorstore-0.0.0/tensorstore/util/execution/any_receiver.h +112 -0
  1681. tensorstore-0.0.0/tensorstore/util/execution/any_receiver_test.cc +159 -0
  1682. tensorstore-0.0.0/tensorstore/util/execution/any_sender.h +86 -0
  1683. tensorstore-0.0.0/tensorstore/util/execution/any_sender_test.cc +200 -0
  1684. tensorstore-0.0.0/tensorstore/util/execution/collecting_sender.h +87 -0
  1685. tensorstore-0.0.0/tensorstore/util/execution/collecting_sender_test.cc +92 -0
  1686. tensorstore-0.0.0/tensorstore/util/execution/execution.h +124 -0
  1687. tensorstore-0.0.0/tensorstore/util/execution/flow_sender_operation_state.h +84 -0
  1688. tensorstore-0.0.0/tensorstore/util/execution/future_collecting_receiver.h +63 -0
  1689. tensorstore-0.0.0/tensorstore/util/execution/future_collecting_receiver_test.cc +51 -0
  1690. tensorstore-0.0.0/tensorstore/util/execution/future_sender.h +141 -0
  1691. tensorstore-0.0.0/tensorstore/util/execution/future_sender_test.cc +193 -0
  1692. tensorstore-0.0.0/tensorstore/util/execution/result_sender.h +117 -0
  1693. tensorstore-0.0.0/tensorstore/util/execution/result_sender_test.cc +86 -0
  1694. tensorstore-0.0.0/tensorstore/util/execution/sender.h +204 -0
  1695. tensorstore-0.0.0/tensorstore/util/execution/sender_test.cc +147 -0
  1696. tensorstore-0.0.0/tensorstore/util/execution/sender_testutil.h +117 -0
  1697. tensorstore-0.0.0/tensorstore/util/execution/sender_util.h +94 -0
  1698. tensorstore-0.0.0/tensorstore/util/execution/sender_util_test.cc +146 -0
  1699. tensorstore-0.0.0/tensorstore/util/execution/sync_flow_sender.h +105 -0
  1700. tensorstore-0.0.0/tensorstore/util/execution/sync_flow_sender_test.cc +90 -0
  1701. tensorstore-0.0.0/tensorstore/util/executor.h +129 -0
  1702. tensorstore-0.0.0/tensorstore/util/executor_test.cc +77 -0
  1703. tensorstore-0.0.0/tensorstore/util/extents.h +178 -0
  1704. tensorstore-0.0.0/tensorstore/util/extents_test.cc +121 -0
  1705. tensorstore-0.0.0/tensorstore/util/float8.h +1348 -0
  1706. tensorstore-0.0.0/tensorstore/util/float8_test.cc +755 -0
  1707. tensorstore-0.0.0/tensorstore/util/future.cc +602 -0
  1708. tensorstore-0.0.0/tensorstore/util/future.h +1463 -0
  1709. tensorstore-0.0.0/tensorstore/util/future_impl.h +1613 -0
  1710. tensorstore-0.0.0/tensorstore/util/future_test.cc +1898 -0
  1711. tensorstore-0.0.0/tensorstore/util/garbage_collection/BUILD +46 -0
  1712. tensorstore-0.0.0/tensorstore/util/garbage_collection/fwd.h +106 -0
  1713. tensorstore-0.0.0/tensorstore/util/garbage_collection/garbage_collection.h +252 -0
  1714. tensorstore-0.0.0/tensorstore/util/garbage_collection/json.h +23 -0
  1715. tensorstore-0.0.0/tensorstore/util/garbage_collection/protobuf.h +35 -0
  1716. tensorstore-0.0.0/tensorstore/util/garbage_collection/std_array.h +26 -0
  1717. tensorstore-0.0.0/tensorstore/util/garbage_collection/std_map.h +39 -0
  1718. tensorstore-0.0.0/tensorstore/util/garbage_collection/std_optional.h +34 -0
  1719. tensorstore-0.0.0/tensorstore/util/garbage_collection/std_pair.h +25 -0
  1720. tensorstore-0.0.0/tensorstore/util/garbage_collection/std_set.h +37 -0
  1721. tensorstore-0.0.0/tensorstore/util/garbage_collection/std_tuple.h +25 -0
  1722. tensorstore-0.0.0/tensorstore/util/garbage_collection/std_vector.h +32 -0
  1723. tensorstore-0.0.0/tensorstore/util/int4.h +398 -0
  1724. tensorstore-0.0.0/tensorstore/util/int4_test.cc +207 -0
  1725. tensorstore-0.0.0/tensorstore/util/internal/iterate.h +125 -0
  1726. tensorstore-0.0.0/tensorstore/util/internal/iterate_impl.h +291 -0
  1727. tensorstore-0.0.0/tensorstore/util/iterate.cc +213 -0
  1728. tensorstore-0.0.0/tensorstore/util/iterate.h +285 -0
  1729. tensorstore-0.0.0/tensorstore/util/iterate_over_index_range.h +209 -0
  1730. tensorstore-0.0.0/tensorstore/util/iterate_over_index_range_test.cc +148 -0
  1731. tensorstore-0.0.0/tensorstore/util/iterate_test.cc +593 -0
  1732. tensorstore-0.0.0/tensorstore/util/json_absl_flag.h +86 -0
  1733. tensorstore-0.0.0/tensorstore/util/json_absl_flag_test.cc +48 -0
  1734. tensorstore-0.0.0/tensorstore/util/maybe_hard_constraint.h +113 -0
  1735. tensorstore-0.0.0/tensorstore/util/option.h +65 -0
  1736. tensorstore-0.0.0/tensorstore/util/quote_string.cc +31 -0
  1737. tensorstore-0.0.0/tensorstore/util/quote_string.h +33 -0
  1738. tensorstore-0.0.0/tensorstore/util/quote_string_test.cc +31 -0
  1739. tensorstore-0.0.0/tensorstore/util/rational.h +618 -0
  1740. tensorstore-0.0.0/tensorstore/util/rational_test.cc +386 -0
  1741. tensorstore-0.0.0/tensorstore/util/result.h +924 -0
  1742. tensorstore-0.0.0/tensorstore/util/result_impl.h +292 -0
  1743. tensorstore-0.0.0/tensorstore/util/result_nc_test.cc +83 -0
  1744. tensorstore-0.0.0/tensorstore/util/result_test.cc +1232 -0
  1745. tensorstore-0.0.0/tensorstore/util/small_bit_set.h +645 -0
  1746. tensorstore-0.0.0/tensorstore/util/small_bit_set_test.cc +316 -0
  1747. tensorstore-0.0.0/tensorstore/util/span.h +545 -0
  1748. tensorstore-0.0.0/tensorstore/util/span_json.h +34 -0
  1749. tensorstore-0.0.0/tensorstore/util/span_json_test.cc +31 -0
  1750. tensorstore-0.0.0/tensorstore/util/span_test.cc +654 -0
  1751. tensorstore-0.0.0/tensorstore/util/status.cc +115 -0
  1752. tensorstore-0.0.0/tensorstore/util/status.h +200 -0
  1753. tensorstore-0.0.0/tensorstore/util/status_test.cc +134 -0
  1754. tensorstore-0.0.0/tensorstore/util/status_testutil.cc +68 -0
  1755. tensorstore-0.0.0/tensorstore/util/status_testutil.h +345 -0
  1756. tensorstore-0.0.0/tensorstore/util/status_testutil_test.cc +180 -0
  1757. tensorstore-0.0.0/tensorstore/util/stop_token.h +196 -0
  1758. tensorstore-0.0.0/tensorstore/util/stop_token_impl.cc +157 -0
  1759. tensorstore-0.0.0/tensorstore/util/stop_token_impl.h +99 -0
  1760. tensorstore-0.0.0/tensorstore/util/stop_token_test.cc +224 -0
  1761. tensorstore-0.0.0/tensorstore/util/str_cat.h +179 -0
  1762. tensorstore-0.0.0/tensorstore/util/str_cat_test.cc +100 -0
  1763. tensorstore-0.0.0/tensorstore/util/unit.cc +64 -0
  1764. tensorstore-0.0.0/tensorstore/util/unit.h +133 -0
  1765. tensorstore-0.0.0/tensorstore/util/unit_test.cc +120 -0
  1766. tensorstore-0.0.0/tensorstore/util/utf8_string.cc +36 -0
  1767. tensorstore-0.0.0/tensorstore/util/utf8_string.h +71 -0
  1768. tensorstore-0.0.0/tensorstore/util/utf8_string_test.cc +42 -0
  1769. tensorstore-0.0.0/tensorstore/virtual_chunked.h +679 -0
  1770. tensorstore-0.0.0/third_party/BUILD +21 -0
  1771. tensorstore-0.0.0/third_party/aws_c_auth/aws_c_auth.BUILD.bazel +23 -0
  1772. tensorstore-0.0.0/third_party/aws_c_auth/workspace.bzl +35 -0
  1773. tensorstore-0.0.0/third_party/aws_c_cal/aws_c_cal.BUILD.bazel +66 -0
  1774. tensorstore-0.0.0/third_party/aws_c_cal/workspace.bzl +35 -0
  1775. tensorstore-0.0.0/third_party/aws_c_common/aws_c_common.BUILD.bazel +249 -0
  1776. tensorstore-0.0.0/third_party/aws_c_common/workspace.bzl +35 -0
  1777. tensorstore-0.0.0/third_party/aws_c_compression/aws_c_compression.BUILD.bazel +22 -0
  1778. tensorstore-0.0.0/third_party/aws_c_compression/workspace.bzl +35 -0
  1779. tensorstore-0.0.0/third_party/aws_c_event_stream/aws_c_event_stream.BUILD.bazel +26 -0
  1780. tensorstore-0.0.0/third_party/aws_c_event_stream/workspace.bzl +35 -0
  1781. tensorstore-0.0.0/third_party/aws_c_http/aws_c_http.BUILD.bazel +26 -0
  1782. tensorstore-0.0.0/third_party/aws_c_http/workspace.bzl +35 -0
  1783. tensorstore-0.0.0/third_party/aws_c_io/aws_c_io.BUILD.bazel +105 -0
  1784. tensorstore-0.0.0/third_party/aws_c_io/workspace.bzl +35 -0
  1785. tensorstore-0.0.0/third_party/aws_c_mqtt/aws_c_mqtt.BUILD.bazel +24 -0
  1786. tensorstore-0.0.0/third_party/aws_c_mqtt/workspace.bzl +35 -0
  1787. tensorstore-0.0.0/third_party/aws_c_s3/aws_c_s3.BUILD.bazel +24 -0
  1788. tensorstore-0.0.0/third_party/aws_c_s3/workspace.bzl +35 -0
  1789. tensorstore-0.0.0/third_party/aws_c_sdkutils/aws_c_sdkutils.BUILD.bazel +22 -0
  1790. tensorstore-0.0.0/third_party/aws_c_sdkutils/workspace.bzl +35 -0
  1791. tensorstore-0.0.0/third_party/aws_checksums/aws_checksums.BUILD.bazel +69 -0
  1792. tensorstore-0.0.0/third_party/aws_checksums/workspace.bzl +35 -0
  1793. tensorstore-0.0.0/third_party/aws_crt_cpp/aws_crt_cpp.BUILD.bazel +46 -0
  1794. tensorstore-0.0.0/third_party/aws_crt_cpp/workspace.bzl +36 -0
  1795. tensorstore-0.0.0/third_party/aws_s2n_tls/aws_s2n_tls.BUILD.bazel +25 -0
  1796. tensorstore-0.0.0/third_party/aws_s2n_tls/workspace.bzl +35 -0
  1797. tensorstore-0.0.0/third_party/bazel_features/workspace.bzl +29 -0
  1798. tensorstore-0.0.0/third_party/bazel_skylib/workspace.bzl +29 -0
  1799. tensorstore-0.0.0/third_party/blake3/blake3.BUILD.bazel +58 -0
  1800. tensorstore-0.0.0/third_party/blake3/system.BUILD.bazel +5 -0
  1801. tensorstore-0.0.0/third_party/blake3/workspace.bzl +37 -0
  1802. tensorstore-0.0.0/third_party/build_bazel_apple_support/workspace.bzl +28 -0
  1803. tensorstore-0.0.0/third_party/cel_spec/workspace.bzl +60 -0
  1804. tensorstore-0.0.0/third_party/com_github_cares_cares/cares.BUILD.bazel +259 -0
  1805. tensorstore-0.0.0/third_party/com_github_cares_cares/config/darwin.h +480 -0
  1806. tensorstore-0.0.0/third_party/com_github_cares_cares/config/linux.h +487 -0
  1807. tensorstore-0.0.0/third_party/com_github_cares_cares/config/windows.h +480 -0
  1808. tensorstore-0.0.0/third_party/com_github_cares_cares/system.BUILD.bazel +5 -0
  1809. tensorstore-0.0.0/third_party/com_github_cares_cares/workspace.bzl +40 -0
  1810. tensorstore-0.0.0/third_party/com_github_cncf_udpa/cmake_extra.BUILD.bazel +43 -0
  1811. tensorstore-0.0.0/third_party/com_github_cncf_udpa/workspace.bzl +63 -0
  1812. tensorstore-0.0.0/third_party/com_github_grpc_grpc/patches/update_build_system.diff +147 -0
  1813. tensorstore-0.0.0/third_party/com_github_grpc_grpc/workspace.bzl +132 -0
  1814. tensorstore-0.0.0/third_party/com_github_nlohmann_json/system.BUILD.bazel +4 -0
  1815. tensorstore-0.0.0/third_party/com_github_nlohmann_json/workspace.bzl +37 -0
  1816. tensorstore-0.0.0/third_party/com_github_pybind_pybind11/pybind11.BUILD.bazel +14 -0
  1817. tensorstore-0.0.0/third_party/com_github_pybind_pybind11/system.BUILD.bazel +9 -0
  1818. tensorstore-0.0.0/third_party/com_github_pybind_pybind11/workspace.bzl +37 -0
  1819. tensorstore-0.0.0/third_party/com_google_absl/workspace.bzl +133 -0
  1820. tensorstore-0.0.0/third_party/com_google_benchmark/patches/fix_mingw.diff +27 -0
  1821. tensorstore-0.0.0/third_party/com_google_benchmark/workspace.bzl +37 -0
  1822. tensorstore-0.0.0/third_party/com_google_boringssl/patches/no-Werror.diff +12 -0
  1823. tensorstore-0.0.0/third_party/com_google_boringssl/system.BUILD.bazel +16 -0
  1824. tensorstore-0.0.0/third_party/com_google_boringssl/workspace.bzl +55 -0
  1825. tensorstore-0.0.0/third_party/com_google_brotli/patches/fix_ror.diff +34 -0
  1826. tensorstore-0.0.0/third_party/com_google_brotli/system.BUILD.bazel +11 -0
  1827. tensorstore-0.0.0/third_party/com_google_brotli/workspace.bzl +40 -0
  1828. tensorstore-0.0.0/third_party/com_google_googleapis/workspace.bzl +43 -0
  1829. tensorstore-0.0.0/third_party/com_google_googletest/workspace.bzl +45 -0
  1830. tensorstore-0.0.0/third_party/com_google_libyuv/libyuv.BUILD.bazel +47 -0
  1831. tensorstore-0.0.0/third_party/com_google_libyuv/workspace.bzl +38 -0
  1832. tensorstore-0.0.0/third_party/com_google_protobuf/cmake_extra.BUILD.bazel +59 -0
  1833. tensorstore-0.0.0/third_party/com_google_protobuf/patches/remove_rules_python_dependency.diff +42 -0
  1834. tensorstore-0.0.0/third_party/com_google_protobuf/workspace.bzl +161 -0
  1835. tensorstore-0.0.0/third_party/com_google_protobuf_utf8_range/workspace.bzl +37 -0
  1836. tensorstore-0.0.0/third_party/com_google_re2/re2.BUILD.bazel +81 -0
  1837. tensorstore-0.0.0/third_party/com_google_re2/workspace.bzl +40 -0
  1838. tensorstore-0.0.0/third_party/com_google_riegeli/patches/absl-crc32c.diff +38 -0
  1839. tensorstore-0.0.0/third_party/com_google_riegeli/workspace.bzl +54 -0
  1840. tensorstore-0.0.0/third_party/com_google_snappy/snappy.BUILD.bazel +137 -0
  1841. tensorstore-0.0.0/third_party/com_google_snappy/system.BUILD.bazel +5 -0
  1842. tensorstore-0.0.0/third_party/com_google_snappy/workspace.bzl +39 -0
  1843. tensorstore-0.0.0/third_party/com_google_storagetestbench/storagetestbench.BUILD.bazel +48 -0
  1844. tensorstore-0.0.0/third_party/com_google_storagetestbench/workspace.bzl +32 -0
  1845. tensorstore-0.0.0/third_party/envoy_api/cmake_extra.BUILD.bazel +70 -0
  1846. tensorstore-0.0.0/third_party/envoy_api/workspace.bzl +84 -0
  1847. tensorstore-0.0.0/third_party/jpeg/jpeg.BUILD.bazel +594 -0
  1848. tensorstore-0.0.0/third_party/jpeg/system.BUILD.bazel +5 -0
  1849. tensorstore-0.0.0/third_party/jpeg/workspace.bzl +44 -0
  1850. tensorstore-0.0.0/third_party/libtiff/libtiff.BUILD.bazel +252 -0
  1851. tensorstore-0.0.0/third_party/libtiff/system.BUILD.bazel +5 -0
  1852. tensorstore-0.0.0/third_party/libtiff/workspace.bzl +39 -0
  1853. tensorstore-0.0.0/third_party/libwebp/libwebp.BUILD.bazel +116 -0
  1854. tensorstore-0.0.0/third_party/libwebp/system.BUILD.bazel +9 -0
  1855. tensorstore-0.0.0/third_party/libwebp/workspace.bzl +44 -0
  1856. tensorstore-0.0.0/third_party/local_proto_mirror/src/bazel/pgv_proto_library.bzl +20 -0
  1857. tensorstore-0.0.0/third_party/local_proto_mirror/src/go/def.bzl +8 -0
  1858. tensorstore-0.0.0/third_party/local_proto_mirror/src/imports.bzl +156 -0
  1859. tensorstore-0.0.0/third_party/local_proto_mirror/src/lpm.BUILD.bazel +5 -0
  1860. tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/resource/v1/lpm.BUILD.bazel +29 -0
  1861. tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/resource/v1/resource.proto +32 -0
  1862. tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/trace/v1/lpm.BUILD.bazel +53 -0
  1863. tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/trace/v1/trace.proto +426 -0
  1864. tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/trace/v1/trace_config.proto +76 -0
  1865. tensorstore-0.0.0/third_party/local_proto_mirror/src/proto/compiler.bzl +4 -0
  1866. tensorstore-0.0.0/third_party/local_proto_mirror/src/proto/def.bzl +10 -0
  1867. tensorstore-0.0.0/third_party/local_proto_mirror/src/validate/lpm.BUILD.bazel +34 -0
  1868. tensorstore-0.0.0/third_party/local_proto_mirror/src/validate/validate.proto +863 -0
  1869. tensorstore-0.0.0/third_party/local_proto_mirror/workspace.bzl +76 -0
  1870. tensorstore-0.0.0/third_party/nasm/nasm.BUILD.bazel +309 -0
  1871. tensorstore-0.0.0/third_party/nasm/system.BUILD.bazel +4 -0
  1872. tensorstore-0.0.0/third_party/nasm/workspace.bzl +30 -0
  1873. tensorstore-0.0.0/third_party/net_sourceforge_half/half.BUILD.bazel +10 -0
  1874. tensorstore-0.0.0/third_party/net_sourceforge_half/patches/detail_raise.patch +157 -0
  1875. tensorstore-0.0.0/third_party/net_sourceforge_half/workspace.bzl +41 -0
  1876. tensorstore-0.0.0/third_party/net_zlib/system.BUILD.bazel +5 -0
  1877. tensorstore-0.0.0/third_party/net_zlib/workspace.bzl +46 -0
  1878. tensorstore-0.0.0/third_party/net_zlib/zlib.BUILD.bazel +161 -0
  1879. tensorstore-0.0.0/third_party/net_zstd/system.BUILD.bazel +5 -0
  1880. tensorstore-0.0.0/third_party/net_zstd/workspace.bzl +43 -0
  1881. tensorstore-0.0.0/third_party/net_zstd/zstd.BUILD.bazel +72 -0
  1882. tensorstore-0.0.0/third_party/org_aomedia_aom/aom_config.asm.template +90 -0
  1883. tensorstore-0.0.0/third_party/org_aomedia_aom/aom_config.h.template +94 -0
  1884. tensorstore-0.0.0/third_party/org_aomedia_aom/aom_version.h.template +19 -0
  1885. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/arm64/aom_dsp_rtcd.h +5167 -0
  1886. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/arm64/aom_scale_rtcd.h +105 -0
  1887. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/arm64/av1_rtcd.h +751 -0
  1888. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/ppc/aom_dsp_rtcd.h +8731 -0
  1889. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/ppc/aom_scale_rtcd.h +149 -0
  1890. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/ppc/av1_rtcd.h +1013 -0
  1891. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64/aom_dsp_rtcd.h +6966 -0
  1892. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64/aom_scale_rtcd.h +103 -0
  1893. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64/av1_rtcd.h +1021 -0
  1894. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64_avx2/aom_dsp_rtcd.h +7986 -0
  1895. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64_avx2/aom_scale_rtcd.h +103 -0
  1896. tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64_avx2/av1_rtcd.h +1220 -0
  1897. tensorstore-0.0.0/third_party/org_aomedia_aom/libaom.BUILD.bazel +604 -0
  1898. tensorstore-0.0.0/third_party/org_aomedia_aom/patches/fix-3395.diff +26 -0
  1899. tensorstore-0.0.0/third_party/org_aomedia_aom/post_update.py +111 -0
  1900. tensorstore-0.0.0/third_party/org_aomedia_aom/workspace.bzl +48 -0
  1901. tensorstore-0.0.0/third_party/org_aomedia_avif/libavif.BUILD.bazel +64 -0
  1902. tensorstore-0.0.0/third_party/org_aomedia_avif/system.BUILD.bazel +5 -0
  1903. tensorstore-0.0.0/third_party/org_aomedia_avif/workspace.bzl +43 -0
  1904. tensorstore-0.0.0/third_party/org_blosc_cblosc/cblosc.BUILD.bazel +194 -0
  1905. tensorstore-0.0.0/third_party/org_blosc_cblosc/system.BUILD.bazel +5 -0
  1906. tensorstore-0.0.0/third_party/org_blosc_cblosc/workspace.bzl +36 -0
  1907. tensorstore-0.0.0/third_party/org_lz4/lz4.BUILD.bazel +46 -0
  1908. tensorstore-0.0.0/third_party/org_lz4/system.BUILD.bazel +5 -0
  1909. tensorstore-0.0.0/third_party/org_lz4/workspace.bzl +39 -0
  1910. tensorstore-0.0.0/third_party/org_nghttp2/nghttp2.BUILD.bazel +215 -0
  1911. tensorstore-0.0.0/third_party/org_nghttp2/system.BUILD.bazel +5 -0
  1912. tensorstore-0.0.0/third_party/org_nghttp2/workspace.bzl +40 -0
  1913. tensorstore-0.0.0/third_party/org_sourceware_bzip2/bzip2.BUILD.bazel +21 -0
  1914. tensorstore-0.0.0/third_party/org_sourceware_bzip2/system.BUILD.bazel +5 -0
  1915. tensorstore-0.0.0/third_party/org_sourceware_bzip2/workspace.bzl +38 -0
  1916. tensorstore-0.0.0/third_party/org_tukaani_xz/system.BUILD.bazel +11 -0
  1917. tensorstore-0.0.0/third_party/org_tukaani_xz/workspace.bzl +36 -0
  1918. tensorstore-0.0.0/third_party/org_tukaani_xz/xz.BUILD.bazel +621 -0
  1919. tensorstore-0.0.0/third_party/org_videolan_dav1d/dav1d.BUILD.bazel +398 -0
  1920. tensorstore-0.0.0/third_party/org_videolan_dav1d/workspace.bzl +41 -0
  1921. tensorstore-0.0.0/third_party/platforms/workspace.bzl +28 -0
  1922. tensorstore-0.0.0/third_party/png/png.BUILD.bazel +101 -0
  1923. tensorstore-0.0.0/third_party/png/system.BUILD.bazel +5 -0
  1924. tensorstore-0.0.0/third_party/png/workspace.bzl +42 -0
  1925. tensorstore-0.0.0/third_party/pypa/README.md +12 -0
  1926. tensorstore-0.0.0/third_party/pypa/build_requirements.txt +7 -0
  1927. tensorstore-0.0.0/third_party/pypa/build_requirements_frozen.txt +83 -0
  1928. tensorstore-0.0.0/third_party/pypa/cibuildwheel_requirements.txt +2 -0
  1929. tensorstore-0.0.0/third_party/pypa/cibuildwheel_requirements_frozen.txt +93 -0
  1930. tensorstore-0.0.0/third_party/pypa/cpp_test_requirements.txt +14 -0
  1931. tensorstore-0.0.0/third_party/pypa/cpp_test_requirements_frozen.txt +1157 -0
  1932. tensorstore-0.0.0/third_party/pypa/docs_requirements.txt +10 -0
  1933. tensorstore-0.0.0/third_party/pypa/docs_requirements_frozen.txt +658 -0
  1934. tensorstore-0.0.0/third_party/pypa/doctest_requirements.txt +2 -0
  1935. tensorstore-0.0.0/third_party/pypa/doctest_requirements_frozen.txt +45 -0
  1936. tensorstore-0.0.0/third_party/pypa/examples_requirements.txt +2 -0
  1937. tensorstore-0.0.0/third_party/pypa/examples_requirements_frozen.txt +60 -0
  1938. tensorstore-0.0.0/third_party/pypa/generate_workspace.py +317 -0
  1939. tensorstore-0.0.0/third_party/pypa/generate_workspace.sh +21 -0
  1940. tensorstore-0.0.0/third_party/pypa/postinstall_fix.py +88 -0
  1941. tensorstore-0.0.0/third_party/pypa/python_test_requirements.txt +6 -0
  1942. tensorstore-0.0.0/third_party/pypa/python_test_requirements_frozen.txt +149 -0
  1943. tensorstore-0.0.0/third_party/pypa/shell_requirements.txt +3 -0
  1944. tensorstore-0.0.0/third_party/pypa/shell_requirements_frozen.txt +79 -0
  1945. tensorstore-0.0.0/third_party/pypa/wheel_requirements.txt +3 -0
  1946. tensorstore-0.0.0/third_party/pypa/wheel_requirements_frozen.txt +53 -0
  1947. tensorstore-0.0.0/third_party/pypa/workspace.bzl +3163 -0
  1948. tensorstore-0.0.0/third_party/python/BUILD.tpl +61 -0
  1949. tensorstore-0.0.0/third_party/python/python_configure.bzl +347 -0
  1950. tensorstore-0.0.0/third_party/repo.bzl +294 -0
  1951. tensorstore-0.0.0/third_party/rules_cc/workspace.bzl +32 -0
  1952. tensorstore-0.0.0/third_party/rules_license/workspace.bzl +29 -0
  1953. tensorstore-0.0.0/third_party/rules_pkg/workspace.bzl +29 -0
  1954. tensorstore-0.0.0/third_party/rules_proto/workspace.bzl +29 -0
  1955. tensorstore-0.0.0/third_party/se_curl/curl.BUILD.bazel +449 -0
  1956. tensorstore-0.0.0/third_party/se_curl/patches/13210.diff +15 -0
  1957. tensorstore-0.0.0/third_party/se_curl/system.BUILD.bazel +6 -0
  1958. tensorstore-0.0.0/third_party/se_curl/workspace.bzl +37 -0
  1959. tensorstore-0.0.0/third_party/third_party.bzl +128 -0
  1960. tensorstore-0.0.0/third_party/tinyxml2/system.BUILD.bazel +5 -0
  1961. tensorstore-0.0.0/third_party/tinyxml2/tinyxml2.BUILD.bazel +10 -0
  1962. tensorstore-0.0.0/third_party/tinyxml2/workspace.bzl +37 -0
  1963. tensorstore-0.0.0/third_party/toolchains_llvm/workspace.bzl +29 -0
  1964. tensorstore-0.0.0/third_party/update_third_party_bzl.py +42 -0
  1965. tensorstore-0.0.0/third_party/update_versions.py +707 -0
  1966. tensorstore-0.0.0/tools/bazel_platforms/BUILD.bazel +10 -0
  1967. tensorstore-0.0.0/tools/bazel_platforms/platform_mappings +26 -0
  1968. tensorstore-0.0.0/tools/ci/cibuildwheel.py +266 -0
  1969. tensorstore-0.0.0/tools/ci/cibuildwheel_linux_cache_setup.sh +41 -0
  1970. tensorstore-0.0.0/tools/ci/configure_bazel_remote_cache.py +68 -0
  1971. tensorstore-0.0.0/tools/cmake/BUILD +178 -0
  1972. tensorstore-0.0.0/tools/cmake/FindAVIF.cmake +92 -0
  1973. tensorstore-0.0.0/tools/cmake/FindBlosc.cmake +450 -0
  1974. tensorstore-0.0.0/tools/cmake/FindBrotli.cmake +135 -0
  1975. tensorstore-0.0.0/tools/cmake/FindLZ4.cmake +40 -0
  1976. tensorstore-0.0.0/tools/cmake/FindNGHTTP2.cmake +20 -0
  1977. tensorstore-0.0.0/tools/cmake/FindSnappy.cmake +22 -0
  1978. tensorstore-0.0.0/tools/cmake/FindWebP.cmake +167 -0
  1979. tensorstore-0.0.0/tools/cmake/FindZstd.cmake +72 -0
  1980. tensorstore-0.0.0/tools/cmake/TensorstoreDebugHelpers.cmake +131 -0
  1981. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/__init__.py +13 -0
  1982. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/__init__.py +13 -0
  1983. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/bazel_skylib.py +409 -0
  1984. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/bazel_tools_repo_utils.py +28 -0
  1985. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/default.py +21 -0
  1986. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/expand_template.py +52 -0
  1987. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/grpc_generate_cc.py +198 -0
  1988. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/helpers.py +147 -0
  1989. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/local_mirror.py +181 -0
  1990. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/rules_cc.py +37 -0
  1991. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/rules_nasm.py +251 -0
  1992. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/rules_proto.py +43 -0
  1993. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/third_party_http_archive.py +655 -0
  1994. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/upb_proto_library.py +394 -0
  1995. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_builder.py +104 -0
  1996. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_provider.py +133 -0
  1997. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_repository.py +178 -0
  1998. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_repository_test.py +90 -0
  1999. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_target.py +44 -0
  2000. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_alias.py +45 -0
  2001. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_cc.py +529 -0
  2002. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_cc_test.py +197 -0
  2003. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_filegroup.py +123 -0
  2004. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/evaluation.py +909 -0
  2005. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/golden_test.py +365 -0
  2006. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/main.py +331 -0
  2007. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_aspect.py +82 -0
  2008. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_aspect_proto.py +449 -0
  2009. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules.py +226 -0
  2010. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_alias.py +111 -0
  2011. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_cc.py +297 -0
  2012. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_cc_proto.py +201 -0
  2013. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_config.py +107 -0
  2014. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_genrule.py +264 -0
  2015. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_platform.py +161 -0
  2016. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_proto.py +223 -0
  2017. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/package.py +95 -0
  2018. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/platforms.py +178 -0
  2019. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/provider_util.py +97 -0
  2020. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/__init__.py +13 -0
  2021. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/aspect.py +65 -0
  2022. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_build_file.py +101 -0
  2023. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_glob.py +114 -0
  2024. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_glob_test.py +46 -0
  2025. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_globals.py +136 -0
  2026. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_globals_test.py +134 -0
  2027. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_target.py +190 -0
  2028. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_target_test.py +152 -0
  2029. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_workspace_file.py +149 -0
  2030. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/common_providers.py +140 -0
  2031. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/depset.py +61 -0
  2032. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/depset_test.py +27 -0
  2033. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/dict_polyfill.py +87 -0
  2034. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/ignored.py +35 -0
  2035. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/ignored_test.py +23 -0
  2036. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/invocation_context.py +225 -0
  2037. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/label.py +104 -0
  2038. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/provider.py +125 -0
  2039. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/provider_test.py +65 -0
  2040. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/rule.py +413 -0
  2041. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/rule_test.py +135 -0
  2042. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/select.py +114 -0
  2043. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/select_test.py +65 -0
  2044. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/struct.py +81 -0
  2045. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/struct_test.py +38 -0
  2046. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/toolchain.py +63 -0
  2047. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/BUILD.bazel +62 -0
  2048. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/WORKSPACE.bazel +1 -0
  2049. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/config.json +13 -0
  2050. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/golden/_bindir/config.h +1 -0
  2051. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/golden/_srcdir/build_rules.cmake +34 -0
  2052. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/BUILD.bazel +27 -0
  2053. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/WORKSPACE.bazel +1 -0
  2054. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/b.cc +3 -0
  2055. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/config.json +19 -0
  2056. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/golden/_srcdir/build_rules.cmake +220 -0
  2057. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/BUILD.bazel +80 -0
  2058. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/child/a.cc +3 -0
  2059. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/child/a.h +1 -0
  2060. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/child/a.inc +1 -0
  2061. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/BUILD.bazel +32 -0
  2062. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/WORKSPACE.bazel +1 -0
  2063. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/a.cc +1 -0
  2064. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/c.proto +1 -0
  2065. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/config.json +5 -0
  2066. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/golden/_srcdir/build_rules.cmake +236 -0
  2067. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/BUILD.bazel +10 -0
  2068. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/WORKSPACE.bazel +49 -0
  2069. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/a.cc +1 -0
  2070. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/config.json +8 -0
  2071. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/BUILD.bazel +20 -0
  2072. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/CMakeLists.txt +25 -0
  2073. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/b.cc +1 -0
  2074. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/b.h +1 -0
  2075. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_srcdir/_find_pkg_redirects_/lpm-config.cmake +3 -0
  2076. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_srcdir/build_rules.cmake +18 -0
  2077. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/.bazelrc +9 -0
  2078. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/BUILD.bazel +117 -0
  2079. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/WORKSPACE.bazel +1 -0
  2080. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/a.cc +1 -0
  2081. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/b.cc +0 -0
  2082. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/b.h +0 -0
  2083. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/c.proto +1 -0
  2084. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/config.json +30 -0
  2085. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/golden/_srcdir/build_rules.cmake +383 -0
  2086. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/subdir/BUILD.bazel +49 -0
  2087. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/subdir/x.cc +1 -0
  2088. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/subdir/z.proto +1 -0
  2089. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/x.h +1 -0
  2090. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/y.h +1 -0
  2091. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/BUILD.bazel +31 -0
  2092. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/WORKSPACE.bazel +1 -0
  2093. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/a.asm +1 -0
  2094. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/a.cc +1 -0
  2095. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/a.h +1 -0
  2096. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/config.json +5 -0
  2097. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/golden/_srcdir/build_rules.cmake +33 -0
  2098. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/include/b.inc +1 -0
  2099. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/BUILD.bazel +70 -0
  2100. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/WORKSPACE.bazel +1 -0
  2101. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/a.proto +2 -0
  2102. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/b.proto +2 -0
  2103. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/c.proto +2 -0
  2104. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/config.json +35 -0
  2105. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/d.proto +2 -0
  2106. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/golden/_srcdir/build_rules.cmake +1214 -0
  2107. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/src/subdir/y.proto +2 -0
  2108. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/x.proto +2 -0
  2109. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/BUILD.bazel +9 -0
  2110. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/WORKSPACE.bazel +22 -0
  2111. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/a.cc +1 -0
  2112. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/config.json +5 -0
  2113. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_bindir/third_party/CMakeLists.txt +3 -0
  2114. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_bindir/third_party/half-proxy-CMakeLists.txt +36 -0
  2115. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_srcdir/_find_pkg_redirects_/half-extra.cmake +3 -0
  2116. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_srcdir/_find_pkg_redirects_/whole-config.cmake +3 -0
  2117. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_srcdir/build_rules.cmake +24 -0
  2118. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/half.BUILD.bazel +10 -0
  2119. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/BUILD.bazel +69 -0
  2120. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/WORKSPACE.bazel +1 -0
  2121. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/a.proto +1 -0
  2122. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/b.proto +1 -0
  2123. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/c.proto +1 -0
  2124. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/config.json +14 -0
  2125. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/golden/_srcdir/build_rules.cmake +276 -0
  2126. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/x.cc +1 -0
  2127. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/util.py +236 -0
  2128. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/util_test.py +106 -0
  2129. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/variable_substitution.py +369 -0
  2130. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/variable_substitution_test.py +280 -0
  2131. tensorstore-0.0.0/tools/cmake/bazel_to_cmake/workspace.py +325 -0
  2132. tensorstore-0.0.0/tools/cmake/bazel_to_cmake.cmake +91 -0
  2133. tensorstore-0.0.0/tools/cmake/run_bazel_to_cmake.py +41 -0
@@ -0,0 +1,15 @@
1
+ # Ignore .git folders
2
+ .git
3
+
4
+ # See: https://github.com/bazelbuild/bazel/issues/7093
5
+ tools/cmake/bazel_to_cmake
6
+ tools/cmake/bazel_to_cmake/bzl_library
7
+ tools/cmake/bazel_to_cmake/starlark
8
+ tools/cmake/bazel_to_cmake/testdata
9
+ tools/cmake/bazel_to_cmake/testdata/native_rules
10
+ tools/cmake/bazel_to_cmake/testdata/rules_nasm
11
+ tools/cmake/bazel_to_cmake/testdata/bazel_skylib
12
+ tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc
13
+ tools/cmake/bazel_to_cmake/testdata/local_mirror
14
+ tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_cmake_binary_dir_/local_mirror/lpm
15
+ tools/cmake/bazel_to_cmake/testdata/third_party_http_archive
@@ -0,0 +1,132 @@
1
+ # Enable using platform specific build settings
2
+ build --enable_platform_specific_config
3
+
4
+ # Disable bzlmod to suppress a warning since we don't yet support it.
5
+ build --noenable_bzlmod
6
+
7
+ # Specify platform mapping to ensure "platforms" and --cpu flags are
8
+ # in sync.
9
+ build --platform_mappings=tools/bazel_platforms/platform_mappings
10
+
11
+ # Use absl with googletest
12
+ build --define=absl=1
13
+
14
+ # Configure C++17 mode
15
+ #
16
+ # Note: We can't use --cxxopt because of
17
+ # https://github.com/bazelbuild/bazel/issues/15550
18
+ build:gcc_or_clang --per_file_copt=.*\\.cc$,.*\\.cpp$@-std=c++17,-fsized-deallocation
19
+ build:gcc_or_clang --host_per_file_copt=.*\\.cc$,.*\\.cpp$@-std=c++17,-fsized-deallocation
20
+
21
+ build:msvc --per_file_copt=.*\\.cc$,.*\\.cpp$@/std:c++17
22
+ build:msvc --host_per_file_copt=.*\\.cc$,.*\\.cpp$@/std:c++17
23
+
24
+ # protobuf/upb has some functions where errors are incorrectly raised:
25
+ # https://github.com/protocolbuffers/upb/blob/main/upb/message/accessors_internal.h
26
+
27
+ build:gcc_or_clang --per_file_copt=upb/.*\\.c$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread
28
+ build:gcc_or_clang --host_per_file_copt=upb/.*\\.c$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread
29
+
30
+ build:gcc_or_clang --per_file_copt=upbc/.*\\.cc$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread
31
+ build:gcc_or_clang --host_per_file_copt=upbc/.*\\.cc$@-Wno-array-bounds,-Wno-stringop-overflow,-Wno-stringop-overread
32
+
33
+ build:gcc_or_clang --per_file_copt=grpc/src/.*\\.cc$@-Wno-attributes
34
+ build:gcc_or_clang --host_per_file_copt=grpc/src/.*\\.cc$@-Wno-attributes
35
+
36
+ # Use colors
37
+ build:gcc_or_clang --copt=-fdiagnostics-color=always
38
+ build:gcc_or_clang --host_copt=-fdiagnostics-color=always
39
+
40
+ # disable deprecated-declarations warnings
41
+ build:gcc_or_clang --copt='-Wno-deprecated-declarations'
42
+ build:gcc_or_clang --host_copt='-Wno-deprecated-declarations'
43
+
44
+ # disable mixed sign comparison warnings
45
+ build:gcc_or_clang --copt='-Wno-sign-compare'
46
+ build:gcc_or_clang --host_copt='-Wno-sign-compare'
47
+
48
+ # disable spurious warnings from gcc
49
+ build:gcc_or_clang --copt='-Wno-unused-but-set-parameter'
50
+ build:gcc_or_clang --host_copt='-Wno-unused-but-set-parameter'
51
+ build:gcc_or_clang --copt='-Wno-maybe-uninitialized'
52
+ build:gcc_or_clang --host_copt='-Wno-maybe-uninitialized'
53
+
54
+ # Not applicable in C++17 but still warned about.
55
+ build:gcc_or_clang --copt='-Wno-sequence-point'
56
+ build:gcc_or_clang --host_copt='-Wno-sequence-point'
57
+
58
+ # disable warnings from clang about unknown warnings
59
+ build:gcc_or_clang --copt='-Wno-unknown-warning-option'
60
+ build:gcc_or_clang --host_copt='-Wno-unknown-warning-option'
61
+
62
+ # ----------------------------------------
63
+ # Linux and FreeBSD configuration settings
64
+ # ----------------------------------------
65
+
66
+ # Assume GCC or Clang on Linux
67
+ build:linux --config=gcc_or_clang
68
+ build:freebsd --config=gcc_or_clang
69
+
70
+ # ------------------------------
71
+ # MacOS configuration settings
72
+ # ------------------------------
73
+
74
+ # We can safely assume Clang or GCC on macOS (almost surely Clang).
75
+ build:macos --config=gcc_or_clang
76
+
77
+ # Workaround for https://github.com/abseil/abseil-cpp/issues/848
78
+ # Root cause: https://github.com/bazelbuild/bazel/issues/4341
79
+ build:macos --features=-supports_dynamic_linker
80
+
81
+ # ------------------------------
82
+ # Windows configuration settings
83
+ # ------------------------------
84
+
85
+ # Significantly speeds up Python test execution. Requires Windows
86
+ # developer mode enabled in order for non-admin users to create
87
+ # symlinks.
88
+ startup --windows_enable_symlinks
89
+
90
+ # https://github.com/protocolbuffers/protobuf/issues/12947
91
+ # Windows has path-length limits of 260 characters leading to errors which
92
+ # may require a shorter filenames. If encountered, uncomment and adjust:
93
+ #
94
+ # startup --output_base=C:\\Out
95
+
96
+ # By default assume MSVC on Windows.
97
+ build:windows --config=msvc
98
+ build:windows --config=windows_common
99
+
100
+ # Fix https://github.com/bazelbuild/bazel/issues/17068
101
+ #
102
+ # In Bazel 6.0.0, `archive_param_file` was accidentally disabled by
103
+ # default for Windows.
104
+ build:windows_common --features=archive_param_file
105
+ build:windows_common --features=linker_param_file
106
+ build:windows_common --features=compiler_param_file
107
+
108
+ # Define mingw configuration.
109
+ #
110
+ # Unfortunately, with `--incompatible_enable_cc_toolchain_resolution`
111
+ # specified, it is inconvenient to use mingw.
112
+ #
113
+ # https://bazel.build/configure/windows#clang
114
+ build:windows_x86_64_mingw --noenable_platform_specific_config --config=windows_common --config=gcc_or_clang
115
+ build:windows_x86_64_mingw --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows_mingw
116
+ build:windows_x86_64_mingw --extra_execution_platforms=//tools/bazel_platforms:windows_x86_64_mingw
117
+ # Prevent "file too big" / "too many sections" errors.
118
+ build:windows_x86_64_mingw --copt=-Wa,-mbig-obj
119
+ build:windows_x86_64_mingw --host_copt=-Wa,-mbig-obj
120
+ # mingw https://sourceforge.net/p/mingw-w64/bugs/134/
121
+ build:windows_x86_64_mingw --copt=-D_NO_W32_PSEUDO_MODIFIERS
122
+ build:windows_x86_64_mingw --host_copt=-D_NO_W32_PSEUDO_MODIFIERS
123
+
124
+ build:windows_common --enable_runfiles=true --build_python_zip=false
125
+
126
+ # Disable warning regarding `msvc::no_unique_address`
127
+ build:msvc --copt=/wd4848
128
+ build:msvc --host_copt=/wd4848
129
+
130
+ # Make MSVC conform to the C++ standard regarding hidden friends
131
+ build:msvc --copt=/Zc:hiddenFriend
132
+ build:msvc --host_copt=/Zc:hiddenFriend
@@ -0,0 +1 @@
1
+ 7.4.0
@@ -0,0 +1,3 @@
1
+ BasedOnStyle: "Google"
2
+ PointerAlignment: Left
3
+ DerivePointerAlignment: false
@@ -0,0 +1,5 @@
1
+ # Prevent line ending conversions by default to avoid problems with binary files.
2
+ #
3
+ # Some of the patches in third_party/ don't work correctly with line
4
+ # ending conversion.
5
+ * -text
@@ -0,0 +1,99 @@
1
+ name: Build
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ python-build-package:
7
+ strategy:
8
+ matrix:
9
+ include:
10
+ - os: "ubuntu-latest"
11
+ cibw_build: "*"
12
+ wheel_identifier: linux_x86_64
13
+ - os: "arm-ubuntu-arm-22.04-8core"
14
+ cibw_build: "*"
15
+ wheel_identifier: linux_arm64
16
+ - os: "windows-2019"
17
+ # Revert to windows-latest after: https://github.com/actions/runner-images/issues/7662
18
+ cibw_build: "*"
19
+ wheel_identifier: windows
20
+ - os: "macos-latest"
21
+ cibw_build: "*_x86_64"
22
+ wheel_identifier: macos_x86_64
23
+ - os: "macos-latest"
24
+ cibw_build: "*_arm64"
25
+ wheel_identifier: macos_arm64
26
+ runs-on: ${{ matrix.os }}
27
+ steps:
28
+ - uses: actions/checkout@v4
29
+ with:
30
+ # Need full history to determine version number.
31
+ fetch-depth: 0
32
+ - if: ${{ !startsWith(matrix.os, 'arm-ubuntu-') }}
33
+ uses: actions/setup-python@v5
34
+ with:
35
+ python-version: "3.12"
36
+ # actions/setup-python does not support Linux arm64, but deadsnakes/action
37
+ # is a drop-in replacement that does.
38
+ #
39
+ # https://github.com/actions/setup-python/issues/678
40
+ - if: ${{ startsWith(matrix.os, 'arm-ubuntu-') }}
41
+ uses: deadsnakes/action@6c8b9b82fe0b4344f4b98f2775fcc395df45e494 # v3.1.0
42
+ with:
43
+ python-version: "3.12"
44
+ - name: "Configure bazel remote cache write credentials"
45
+ env:
46
+ BAZEL_CACHE_SERVICE_ACCOUNT_KEY: ${{ secrets.BAZEL_CACHE_SERVICE_ACCOUNT_KEY }}
47
+ run: python ./tools/ci/configure_bazel_remote_cache.py --bazelrc ~/ci_bazelrc buildwheel-${{ matrix.os }}
48
+ shell: bash # For ~ expansion
49
+ - name: Get pip cache dir
50
+ id: pip-cache
51
+ shell: bash
52
+ run: |
53
+ echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
54
+ - uses: actions/cache@v4
55
+ with:
56
+ path: ${{ steps.pip-cache.outputs.dir }}
57
+ key: pip-${{ runner.os }}-buildwheel-${{ hashFiles('tools/ci/*_requirements.txt', 'third_party/pypa/*_requirements_frozen.txt') }}
58
+ - uses: actions/cache@v4
59
+ with:
60
+ path: |
61
+ ~/.cache/cibuildwheel_bazel_cache/cache/repos
62
+ ~/.cache/bazelisk
63
+ key: bazel-${{ runner.os }}-buildwheel-${{ hashFiles('.bazelversion', 'WORKSPACE', 'external.bzl', 'third_party/**') }}
64
+ - name: Install cibuildwheel
65
+ run: pip install -r third_party/pypa/cibuildwheel_requirements_frozen.txt
66
+ - name: Build Python source distribution (sdist)
67
+ run: python -m build --sdist
68
+ if: ${{ runner.os == 'Linux' }}
69
+ - name: Build Python wheels
70
+ run: python ./tools/ci/cibuildwheel.py --bazelrc ~/ci_bazelrc
71
+ shell: bash # For ~ expansion
72
+ env:
73
+ CIBW_BUILD: ${{ matrix.cibw_build }}
74
+ - name: Upload wheels as artifacts
75
+ uses: actions/upload-artifact@v4
76
+ with:
77
+ name: python-wheels-${{ matrix.wheel_identifier }}
78
+ path: |
79
+ dist/*.whl
80
+ dist/*.tar.gz
81
+
82
+ python-publish-package:
83
+ # Only publish package on push to tag or default branch.
84
+ if: ${{ github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master') }}
85
+ runs-on: ubuntu-latest
86
+ needs:
87
+ - "python-build-package"
88
+ steps:
89
+ - uses: actions/download-artifact@v4
90
+ with:
91
+ pattern: python-wheels-*
92
+ path: dist
93
+ merge-multiple: true
94
+ - name: Publish to PyPI (main server)
95
+ uses: pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0, always use commit hash
96
+ with:
97
+ user: __token__
98
+ password: ${{ secrets.pypi_token }}
99
+ if: ${{ startsWith(github.ref, 'refs/tags/v') }}
@@ -0,0 +1,66 @@
1
+ name: Docs
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ build-docs:
7
+ strategy:
8
+ matrix:
9
+ python-version:
10
+ - "3.12"
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
+ with:
15
+ # Need full history to determine version number.
16
+ fetch-depth: 0
17
+ - name: "Set up Python ${{ matrix.python-version }}"
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: "Configure bazel remote cache write credentials"
22
+ env:
23
+ BAZEL_CACHE_SERVICE_ACCOUNT_KEY: ${{ secrets.BAZEL_CACHE_SERVICE_ACCOUNT_KEY }}
24
+ run: python ./tools/ci/configure_bazel_remote_cache.py --bazelrc ~/ci_bazelrc docs
25
+ shell: bash
26
+ - name: Get pip cache dir
27
+ id: pip-cache
28
+ shell: bash
29
+ run: |
30
+ echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
31
+ - uses: actions/cache@v4
32
+ with:
33
+ path: ${{ steps.pip-cache.outputs.dir }}
34
+ key: pip-${{ runner.os }}-docs-${{ matrix.python-version }}-${{ hashFiles('third_party/pypa/workspace.bzl') }}
35
+ - uses: actions/cache@v4
36
+ with:
37
+ path: |
38
+ ~/.cache/bazel/_bazel_*/cache/repos
39
+ ~/.cache/bazelisk
40
+ key: bazel-docs-${{ hashFiles('.bazelversion', 'WORKSPACE', 'external.bzl', 'third_party/**') }}
41
+ - name: Build documentation
42
+ run: CC=gcc-10 python -u bazelisk.py --bazelrc ~/ci_bazelrc run --announce_rc --show_timestamps --keep_going --color=yes --verbose_failures //docs:build_docs -- --output docs_output
43
+ shell: bash
44
+ - run: zip -r docs_output.zip docs_output
45
+ - name: Upload docs as artifact
46
+ uses: actions/upload-artifact@v4
47
+ with:
48
+ name: docs
49
+ path: docs_output.zip
50
+
51
+ publish-docs:
52
+ # Only publish package on push to tag or default branch.
53
+ if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
54
+ runs-on: ubuntu-latest
55
+ needs:
56
+ - build-docs
57
+ steps:
58
+ - uses: actions/download-artifact@v4
59
+ with:
60
+ name: docs
61
+ - run: unzip docs_output.zip
62
+ - name: Publish to gh-pages
63
+ uses: peaceiris/actions-gh-pages@bbdfb200618d235585ad98e965f4aafc39b4c501 # v3.7.3 (2020-10-20)
64
+ with:
65
+ github_token: ${{ secrets.GITHUB_TOKEN }}
66
+ publish_dir: ./docs_output
@@ -0,0 +1,23 @@
1
+ # Editor files
2
+ *~
3
+ .#*
4
+ \#*#
5
+ .DS_Store
6
+
7
+ # Build artifacts
8
+ /bazel-*
9
+ bazel-*
10
+
11
+ # VSCode artifacts
12
+ .vscode
13
+
14
+ # Python packaging artifacts
15
+ /dist
16
+ /.eggs
17
+ *.egg-info
18
+
19
+ # Python artifacts
20
+ __pycache__
21
+ *.pyc
22
+ /python/tensorstore/*.so
23
+ /python/tensorstore/*.pyd
@@ -0,0 +1,2 @@
1
+ [style]
2
+ based_on_style: yapf
@@ -0,0 +1,7 @@
1
+ # This is the list of TensorStore's significant contributors.
2
+ #
3
+ # This does not necessarily list everyone who has contributed code,
4
+ # especially since many employees of one corporation may be contributing.
5
+ # To see the full list of contributors, see the revision history in
6
+ # source control.
7
+ Google LLC
@@ -0,0 +1,174 @@
1
+ load("@bazel_skylib//lib:selects.bzl", "selects")
2
+ load("@tensorstore//bazel:utils.bzl", "emit_os_cpu_compiler_group")
3
+
4
+ package(default_visibility = ["//visibility:public"])
5
+
6
+ exports_files(glob(["*"]))
7
+
8
+ # Config settings. Aliases can be imported into a BUILD file via a list
9
+ # comprehension like:
10
+ #
11
+ #[
12
+ # alias(
13
+ # name = name,
14
+ # actual = "@tensorstore//:{target}".format(target = name),
15
+ # )
16
+ # for name in [
17
+ # "arm64_clang",
18
+ # "arm64_gcc_or_clang",
19
+ # "arm64_gcc",
20
+ # "arm64_mingw_gcc",
21
+ # "arm64_msvc",
22
+ #
23
+ # "linux_arm64_clang",
24
+ # "linux_arm64_gcc_or_clang",
25
+ # "linux_arm64_gcc",
26
+ # "linux_clang",
27
+ # "linux_gcc_or_clang",
28
+ # "linux_gcc",
29
+ # "linux_x86_64_clang",
30
+ # "linux_x86_64_gcc_or_clang",
31
+ # "linux_x86_64_gcc",
32
+ #
33
+ # "macos_arm64_clang",
34
+ # "macos_clang",
35
+ # "macos_x86_64_clang",
36
+ #
37
+ # "windows_arm64_mingw_gcc",
38
+ # "windows_arm64_msvc",
39
+ # "windows_mingw_gcc",
40
+ # "windows_msvc",
41
+ # "windows_x86_64_mingw_gcc",
42
+ # "windows_x86_64_msvc",
43
+ #
44
+ # "x86_64_clang",
45
+ # "x86_64_gcc_or_clang",
46
+ # "x86_64_gcc",
47
+ # "x86_64_mingw_gcc",
48
+ # "x86_64_msvc",
49
+ #
50
+ # "compiler_msvc",
51
+ # "compiler_clang",
52
+ # "compiler_regular_gcc",
53
+ # "compiler_mingw_gcc",
54
+ # "compiler_unknown",
55
+ # "compiler_gcc",
56
+ # "compiler_gcc_or_clang",
57
+ # ]
58
+ #]
59
+ #
60
+
61
+ [
62
+ emit_os_cpu_compiler_group(os, cpu, compiler)
63
+ for os in [
64
+ "macos",
65
+ None,
66
+ ]
67
+ for cpu in [
68
+ "x86_64",
69
+ "arm64",
70
+ None,
71
+ ]
72
+ for compiler in [
73
+ "clang",
74
+ None,
75
+ ]
76
+ ]
77
+
78
+ [
79
+ emit_os_cpu_compiler_group(os, cpu, compiler)
80
+ for os in [
81
+ "linux",
82
+ None,
83
+ ]
84
+ for cpu in [
85
+ "x86_64",
86
+ "arm64",
87
+ None,
88
+ ]
89
+ for compiler in [
90
+ "clang",
91
+ "gcc",
92
+ "gcc_or_clang",
93
+ None,
94
+ ]
95
+ ]
96
+
97
+ [
98
+ emit_os_cpu_compiler_group(os, cpu, compiler)
99
+ for os in [
100
+ "windows",
101
+ None,
102
+ ]
103
+ for cpu in [
104
+ "x86_64",
105
+ "arm64",
106
+ None,
107
+ ]
108
+ for compiler in [
109
+ "msvc",
110
+ "mingw_gcc",
111
+ None,
112
+ ]
113
+ ]
114
+
115
+ # Compiler selection
116
+ #
117
+ # :compiler_msvc
118
+ # :compiler_clang
119
+ # :compiler_regular_gcc
120
+ # :compiler_mingw_gcc
121
+ # :compiler_gcc
122
+ config_setting(
123
+ name = "compiler_msvc",
124
+ flag_values = {
125
+ "@bazel_tools//tools/cpp:compiler": "msvc-cl",
126
+ },
127
+ )
128
+
129
+ config_setting(
130
+ name = "compiler_clang",
131
+ flag_values = {
132
+ "@bazel_tools//tools/cpp:compiler": "clang",
133
+ },
134
+ )
135
+
136
+ config_setting(
137
+ name = "compiler_regular_gcc",
138
+ flag_values = {
139
+ "@bazel_tools//tools/cpp:compiler": "gcc",
140
+ },
141
+ )
142
+
143
+ config_setting(
144
+ name = "compiler_mingw_gcc",
145
+ flag_values = {
146
+ "@bazel_tools//tools/cpp:compiler": "mingw-gcc",
147
+ },
148
+ )
149
+
150
+ config_setting(
151
+ name = "compiler_unknown",
152
+ flag_values = {
153
+ "@bazel_tools//tools/cpp:compiler": "compiler",
154
+ },
155
+ )
156
+
157
+ selects.config_setting_group(
158
+ name = "compiler_gcc",
159
+ match_any = [
160
+ ":compiler_regular_gcc",
161
+ ":compiler_mingw_gcc",
162
+ # To workaround https://github.com/bazelbuild/bazel/issues/17794, assume
163
+ # any unknown compiler is GCC.
164
+ ":compiler_unknown",
165
+ ],
166
+ )
167
+
168
+ selects.config_setting_group(
169
+ name = "compiler_gcc_or_clang",
170
+ match_any = [
171
+ ":compiler_gcc",
172
+ ":compiler_clang",
173
+ ],
174
+ )
@@ -0,0 +1,105 @@
1
+ # Copyright 2022 The TensorStore Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ # NOTE: This is still very much a work in progress; It is not yet expected to
16
+ # build.
17
+
18
+ cmake_minimum_required(VERSION 3.24)
19
+ project(tensorstore LANGUAGES C CXX)
20
+
21
+ # Enable CMP0077 (option honors variables) for subprojects.
22
+ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
23
+
24
+ # Enable CMP0126 for subprojects to prevent `set(<var> CACHE)`
25
+ # overriding a prior `set(<var>)` call.
26
+ set(CMAKE_POLICY_DEFAULT_CMP0126 NEW)
27
+
28
+ # Do not add the current directory to build commands by default.
29
+ # This is defensive, as the setting may be inherited from parents,
30
+ # and it has been known to cause errors in Abseil CMake builds.
31
+ set(CMAKE_INCLUDE_CURRENT_DIR OFF)
32
+
33
+ # Set all outputs to a single /bin directory.
34
+ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
35
+
36
+ set(CMAKE_CXX_STANDARD 17)
37
+
38
+ if(PROJECT_IS_TOP_LEVEL)
39
+ include(CTest)
40
+ enable_testing()
41
+ else()
42
+ # Exclude targets from ALL when built as a sub-project.
43
+ set_directory_properties(PROPERTIES EXCLUDE_FROM_ALL TRUE)
44
+ endif()
45
+
46
+ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/tools/cmake)
47
+
48
+ ##
49
+ ## Using tensorstore targets
50
+ ##
51
+ ## all public tensorstore targets are
52
+ ## exported with the tensorstore:: prefix
53
+ ##
54
+ ## DO NOT rely on the internal targets outside of the prefix
55
+
56
+ ## Abseil requires PIC code; we generally use the same.
57
+ set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
58
+
59
+ find_package(Threads REQUIRED)
60
+
61
+ if(MSVC AND CMAKE_CXX_COMPILER_LAUNCHER MATCHES "sccache")
62
+ # sccache is incompatible with the /Zi option that CMake enables by default
63
+ #
64
+ # https://github.com/mozilla/sccache#usage
65
+ #
66
+ # Note that this unavoidably affects the entire build, not just this
67
+ # sub-project.
68
+ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
69
+ string(REPLACE "/Zi" "/Z7" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
70
+ string(REPLACE "/Zi" "/Z7" CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG}")
71
+ elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
72
+ string(REPLACE "/Zi" "/Z7" CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE}")
73
+ string(REPLACE "/Zi" "/Z7" CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE}")
74
+ elseif(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")
75
+ string(REPLACE "/Zi" "/Z7" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
76
+ string(REPLACE "/Zi" "/Z7" CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO}")
77
+ endif()
78
+ endif()
79
+
80
+ include(bazel_to_cmake)
81
+
82
+ bazel_to_cmake(
83
+ --cmake-project-name tensorstore
84
+ --bazel-repo-name tensorstore
85
+ "--include-package="
86
+ "--include-package=tensorstore/**"
87
+ "--exclude-package=tensorstore/examples/python/**"
88
+ "--exclude-package=third_party/local_proto_mirror/**"
89
+ --ignore-library "//third_party:python/python_configure.bzl"
90
+ --ignore-library "//docs:doctest.bzl"
91
+ --ignore-library "//bazel:non_compile.bzl"
92
+ --ignore-library "@com_google_protobuf//:protobuf.bzl"
93
+ --ignore-library "@rules_python//python:packaging.bzl"
94
+ --bazelrc .bazelrc
95
+ --module bazel_to_cmake.bzl_library.grpc_generate_cc
96
+ --module bazel_to_cmake.bzl_library.local_mirror
97
+ --module bazel_to_cmake.bzl_library.rules_nasm
98
+ --module bazel_to_cmake.bzl_library.third_party_http_archive
99
+ --module bazel_to_cmake.bzl_library.upb_proto_library
100
+ )
101
+
102
+ if(TENSORSTORE_DEBUG_DUMP_TARGETS)
103
+ include(TensorstoreDebugHelpers)
104
+ dump_cmake_targets(${CMAKE_CURRENT_SOURCE_DIR})
105
+ endif()
@@ -0,0 +1,28 @@
1
+ # How to Contribute
2
+
3
+ We'd love to accept your patches and contributions to this project. There are
4
+ just a few small guidelines you need to follow.
5
+
6
+ ## Contributor License Agreement
7
+
8
+ Contributions to this project must be accompanied by a Contributor License
9
+ Agreement. You (or your employer) retain the copyright to your contribution;
10
+ this simply gives us permission to use and redistribute your contributions as
11
+ part of the project. Head over to <https://cla.developers.google.com/> to see
12
+ your current agreements on file or to sign a new one.
13
+
14
+ You generally only need to submit a CLA once, so if you've already submitted one
15
+ (even if it was for a different project), you probably don't need to do it
16
+ again.
17
+
18
+ ## Code reviews
19
+
20
+ All submissions, including submissions by project members, require review. We
21
+ use GitHub pull requests for this purpose. Consult
22
+ [GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
23
+ information on using pull requests.
24
+
25
+ ## Community Guidelines
26
+
27
+ This project follows [Google's Open Source Community
28
+ Guidelines](https://opensource.google/conduct/).