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.
- tensorstore-0.0.0/.bazelignore +15 -0
- tensorstore-0.0.0/.bazelrc +132 -0
- tensorstore-0.0.0/.bazelversion +1 -0
- tensorstore-0.0.0/.clang-format +3 -0
- tensorstore-0.0.0/.gitattributes +5 -0
- tensorstore-0.0.0/.github/workflows/build.yml +99 -0
- tensorstore-0.0.0/.github/workflows/docs.yml +66 -0
- tensorstore-0.0.0/.gitignore +23 -0
- tensorstore-0.0.0/.style.yapf +2 -0
- tensorstore-0.0.0/AUTHORS +7 -0
- tensorstore-0.0.0/BUILD.bazel +174 -0
- tensorstore-0.0.0/CMakeLists.txt +105 -0
- tensorstore-0.0.0/CONTRIBUTING.md +28 -0
- tensorstore-0.0.0/LICENSE +291 -0
- tensorstore-0.0.0/PKG-INFO +371 -0
- tensorstore-0.0.0/README.md +61 -0
- tensorstore-0.0.0/WORKSPACE +47 -0
- tensorstore-0.0.0/bazel/BUILD +26 -0
- tensorstore-0.0.0/bazel/cc_grpc_library.bzl +85 -0
- tensorstore-0.0.0/bazel/constants.bzl +18 -0
- tensorstore-0.0.0/bazel/local_mirror.bzl +87 -0
- tensorstore-0.0.0/bazel/non_compile.bzl +58 -0
- tensorstore-0.0.0/bazel/proxy_xds_build_system.bzl +95 -0
- tensorstore-0.0.0/bazel/pybind11.bzl +181 -0
- tensorstore-0.0.0/bazel/pybind11_cc_test.bzl +120 -0
- tensorstore-0.0.0/bazel/pytest.bzl +115 -0
- tensorstore-0.0.0/bazel/pytype.bzl +27 -0
- tensorstore-0.0.0/bazel/rules_nasm.bzl +100 -0
- tensorstore-0.0.0/bazel/tensorstore.bzl +55 -0
- tensorstore-0.0.0/bazel/utils.bzl +78 -0
- tensorstore-0.0.0/bazelisk.py +506 -0
- tensorstore-0.0.0/docs/BUILD +275 -0
- tensorstore-0.0.0/docs/build_docs.py +403 -0
- tensorstore-0.0.0/docs/chunk_layout_schema.yml +185 -0
- tensorstore-0.0.0/docs/codec_schema.yml +20 -0
- tensorstore-0.0.0/docs/conf.py +564 -0
- tensorstore-0.0.0/docs/conftest.py +37 -0
- tensorstore-0.0.0/docs/context.rst +17 -0
- tensorstore-0.0.0/docs/context_schema.yml +80 -0
- tensorstore-0.0.0/docs/cpp/api/index.rst +114 -0
- tensorstore-0.0.0/docs/cpp_api_include.cc +40 -0
- tensorstore-0.0.0/docs/defs.bzl +100 -0
- tensorstore-0.0.0/docs/doctest.bzl +107 -0
- tensorstore-0.0.0/docs/doctest_test.py +396 -0
- tensorstore-0.0.0/docs/docutils.conf +4 -0
- tensorstore-0.0.0/docs/environment.rst +151 -0
- tensorstore-0.0.0/docs/generate_cpp_api.py +178 -0
- tensorstore-0.0.0/docs/generate_logo.py +80 -0
- tensorstore-0.0.0/docs/index.rst +97 -0
- tensorstore-0.0.0/docs/index_domain_schema.yml +108 -0
- tensorstore-0.0.0/docs/index_space.rst +313 -0
- tensorstore-0.0.0/docs/index_transform_schema.yml +198 -0
- tensorstore-0.0.0/docs/installation.rst +423 -0
- tensorstore-0.0.0/docs/intersphinx_inv/dask.inv +0 -0
- tensorstore-0.0.0/docs/intersphinx_inv/numpy.inv +0 -0
- tensorstore-0.0.0/docs/intersphinx_inv/python3.inv +0 -0
- tensorstore-0.0.0/docs/intersphinx_inv/zarr-specs.inv +0 -0
- tensorstore-0.0.0/docs/intersphinx_inv/zarr-specs.txt +70 -0
- tensorstore-0.0.0/docs/intersphinx_inv/zarr.inv +0 -0
- tensorstore-0.0.0/docs/python/api/index.rst +50 -0
- tensorstore-0.0.0/docs/python/indexing.rst +1714 -0
- tensorstore-0.0.0/docs/python/tutorial.rst +259 -0
- tensorstore-0.0.0/docs/schema.rst +69 -0
- tensorstore-0.0.0/docs/schema_schema.yml +126 -0
- tensorstore-0.0.0/docs/spec.rst +9 -0
- tensorstore-0.0.0/docs/tensorstore_schema.yml +145 -0
- tensorstore-0.0.0/docs/tensorstore_sphinx_ext/BUILD +27 -0
- tensorstore-0.0.0/docs/tensorstore_sphinx_ext/__init__.py +0 -0
- tensorstore-0.0.0/docs/tensorstore_sphinx_ext/doctest.py +70 -0
- tensorstore-0.0.0/docs/tensorstore_sphinx_ext/json_pprint.py +135 -0
- tensorstore-0.0.0/docs/update_intersphinx_inventories.py +39 -0
- tensorstore-0.0.0/dprint.json +6 -0
- tensorstore-0.0.0/examples/BUILD +123 -0
- tensorstore-0.0.0/examples/compute_percentiles.cc +496 -0
- tensorstore-0.0.0/examples/create_array.cc +259 -0
- tensorstore-0.0.0/examples/data_type_invoker.h +103 -0
- tensorstore-0.0.0/examples/extract_slice.cc +280 -0
- tensorstore-0.0.0/examples/image_convolution.cc +309 -0
- tensorstore-0.0.0/examples/map_apply.cc +112 -0
- tensorstore-0.0.0/external.bzl +20 -0
- tensorstore-0.0.0/pyproject.toml +41 -0
- tensorstore-0.0.0/python/tensorstore/BUILD +1250 -0
- tensorstore-0.0.0/python/tensorstore/LICENSE +203 -0
- tensorstore-0.0.0/python/tensorstore/__init__.py +327 -0
- tensorstore-0.0.0/python/tensorstore/array_type_caster.cc +415 -0
- tensorstore-0.0.0/python/tensorstore/array_type_caster.h +253 -0
- tensorstore-0.0.0/python/tensorstore/batch.cc +171 -0
- tensorstore-0.0.0/python/tensorstore/batch.h +34 -0
- tensorstore-0.0.0/python/tensorstore/bazel_pytest_main.py +73 -0
- tensorstore-0.0.0/python/tensorstore/cast.cc +106 -0
- tensorstore-0.0.0/python/tensorstore/cc_test_driver.cc +41 -0
- tensorstore-0.0.0/python/tensorstore/cc_test_driver_main.py +39 -0
- tensorstore-0.0.0/python/tensorstore/chunk_layout.cc +681 -0
- tensorstore-0.0.0/python/tensorstore/chunk_layout.h +44 -0
- tensorstore-0.0.0/python/tensorstore/chunk_layout_keyword_arguments.h +576 -0
- tensorstore-0.0.0/python/tensorstore/context.cc +358 -0
- tensorstore-0.0.0/python/tensorstore/context.h +75 -0
- tensorstore-0.0.0/python/tensorstore/data_type.cc +346 -0
- tensorstore-0.0.0/python/tensorstore/data_type.h +207 -0
- tensorstore-0.0.0/python/tensorstore/define_heap_type.cc +30 -0
- tensorstore-0.0.0/python/tensorstore/define_heap_type.h +179 -0
- tensorstore-0.0.0/python/tensorstore/dim_expression.cc +1640 -0
- tensorstore-0.0.0/python/tensorstore/dim_expression.h +585 -0
- tensorstore-0.0.0/python/tensorstore/downsample.cc +125 -0
- tensorstore-0.0.0/python/tensorstore/downsample.h +45 -0
- tensorstore-0.0.0/python/tensorstore/experimental.cc +210 -0
- tensorstore-0.0.0/python/tensorstore/future.cc +1185 -0
- tensorstore-0.0.0/python/tensorstore/future.h +659 -0
- tensorstore-0.0.0/python/tensorstore/garbage_collection.cc +255 -0
- tensorstore-0.0.0/python/tensorstore/garbage_collection.h +424 -0
- tensorstore-0.0.0/python/tensorstore/gil_safe.cc +110 -0
- tensorstore-0.0.0/python/tensorstore/gil_safe.h +245 -0
- tensorstore-0.0.0/python/tensorstore/homogeneous_tuple.h +56 -0
- tensorstore-0.0.0/python/tensorstore/index.cc +116 -0
- tensorstore-0.0.0/python/tensorstore/index.h +142 -0
- tensorstore-0.0.0/python/tensorstore/index_space.cc +2946 -0
- tensorstore-0.0.0/python/tensorstore/index_space.h +518 -0
- tensorstore-0.0.0/python/tensorstore/index_test.cc +108 -0
- tensorstore-0.0.0/python/tensorstore/intrusive_ptr_holder.h +35 -0
- tensorstore-0.0.0/python/tensorstore/json_type_caster.cc +191 -0
- tensorstore-0.0.0/python/tensorstore/json_type_caster.h +69 -0
- tensorstore-0.0.0/python/tensorstore/keyword_arguments.h +193 -0
- tensorstore-0.0.0/python/tensorstore/keyword_arguments_test.cc +127 -0
- tensorstore-0.0.0/python/tensorstore/kvstore.cc +1797 -0
- tensorstore-0.0.0/python/tensorstore/kvstore.h +108 -0
- tensorstore-0.0.0/python/tensorstore/numpy.cc +31 -0
- tensorstore-0.0.0/python/tensorstore/numpy.h +89 -0
- tensorstore-0.0.0/python/tensorstore/numpy_indexing_spec.cc +260 -0
- tensorstore-0.0.0/python/tensorstore/numpy_indexing_spec.h +183 -0
- tensorstore-0.0.0/python/tensorstore/ocdbt.cc +204 -0
- tensorstore-0.0.0/python/tensorstore/python_imports.cc +59 -0
- tensorstore-0.0.0/python/tensorstore/python_imports.h +61 -0
- tensorstore-0.0.0/python/tensorstore/python_value_or_exception.cc +65 -0
- tensorstore-0.0.0/python/tensorstore/python_value_or_exception.h +143 -0
- tensorstore-0.0.0/python/tensorstore/result_type_caster.h +107 -0
- tensorstore-0.0.0/python/tensorstore/sequence_parameter.h +62 -0
- tensorstore-0.0.0/python/tensorstore/serialization.cc +551 -0
- tensorstore-0.0.0/python/tensorstore/serialization.h +335 -0
- tensorstore-0.0.0/python/tensorstore/shell.py +29 -0
- tensorstore-0.0.0/python/tensorstore/spec.cc +2086 -0
- tensorstore-0.0.0/python/tensorstore/spec.h +612 -0
- tensorstore-0.0.0/python/tensorstore/stack.cc +444 -0
- tensorstore-0.0.0/python/tensorstore/status.cc +273 -0
- tensorstore-0.0.0/python/tensorstore/status.h +113 -0
- tensorstore-0.0.0/python/tensorstore/subscript_method.h +124 -0
- tensorstore-0.0.0/python/tensorstore/tensorstore_class.cc +2905 -0
- tensorstore-0.0.0/python/tensorstore/tensorstore_class.h +203 -0
- tensorstore-0.0.0/python/tensorstore/tensorstore_module.cc +83 -0
- tensorstore-0.0.0/python/tensorstore/tensorstore_module_components.cc +72 -0
- tensorstore-0.0.0/python/tensorstore/tensorstore_module_components.h +53 -0
- tensorstore-0.0.0/python/tensorstore/tests/bfloat16_test.py +466 -0
- tensorstore-0.0.0/python/tensorstore/tests/chunk_layout_test.py +145 -0
- tensorstore-0.0.0/python/tensorstore/tests/conftest.py +62 -0
- tensorstore-0.0.0/python/tensorstore/tests/context_test.py +105 -0
- tensorstore-0.0.0/python/tensorstore/tests/custom_dtypes_test.py +130 -0
- tensorstore-0.0.0/python/tensorstore/tests/data_type_test.py +190 -0
- tensorstore-0.0.0/python/tensorstore/tests/dim_expression_test.py +1066 -0
- tensorstore-0.0.0/python/tensorstore/tests/dim_test.py +119 -0
- tensorstore-0.0.0/python/tensorstore/tests/downsample_test.py +53 -0
- tensorstore-0.0.0/python/tensorstore/tests/exit_test.py +77 -0
- tensorstore-0.0.0/python/tensorstore/tests/experimental_test.py +61 -0
- tensorstore-0.0.0/python/tensorstore/tests/future_test.py +216 -0
- tensorstore-0.0.0/python/tensorstore/tests/index_domain_test.py +241 -0
- tensorstore-0.0.0/python/tensorstore/tests/index_transform_test.py +173 -0
- tensorstore-0.0.0/python/tensorstore/tests/indexing_test.py +213 -0
- tensorstore-0.0.0/python/tensorstore/tests/int4_test.py +395 -0
- tensorstore-0.0.0/python/tensorstore/tests/kvstore_test.py +158 -0
- tensorstore-0.0.0/python/tensorstore/tests/spec_test.py +159 -0
- tensorstore-0.0.0/python/tensorstore/tests/stack_test.py +43 -0
- tensorstore-0.0.0/python/tensorstore/tests/tensorstore_test.py +612 -0
- tensorstore-0.0.0/python/tensorstore/tests/transaction_test.py +164 -0
- tensorstore-0.0.0/python/tensorstore/tests/virtual_chunked_test.py +270 -0
- tensorstore-0.0.0/python/tensorstore/time.cc +45 -0
- tensorstore-0.0.0/python/tensorstore/time.h +40 -0
- tensorstore-0.0.0/python/tensorstore/transaction.cc +348 -0
- tensorstore-0.0.0/python/tensorstore/transaction.h +50 -0
- tensorstore-0.0.0/python/tensorstore/type_name_override.h +93 -0
- tensorstore-0.0.0/python/tensorstore/typed_slice.h +76 -0
- tensorstore-0.0.0/python/tensorstore/unit.cc +324 -0
- tensorstore-0.0.0/python/tensorstore/unit.h +59 -0
- tensorstore-0.0.0/python/tensorstore/virtual_chunked.cc +559 -0
- tensorstore-0.0.0/python/tensorstore/write_futures.cc +202 -0
- tensorstore-0.0.0/python/tensorstore/write_futures.h +95 -0
- tensorstore-0.0.0/setup.cfg +4 -0
- tensorstore-0.0.0/setup.py +357 -0
- tensorstore-0.0.0/tensorstore/BUILD +1104 -0
- tensorstore-0.0.0/tensorstore/array.cc +377 -0
- tensorstore-0.0.0/tensorstore/array.h +2202 -0
- tensorstore-0.0.0/tensorstore/array_nc_test.cc +62 -0
- tensorstore-0.0.0/tensorstore/array_storage_statistics.cc +44 -0
- tensorstore-0.0.0/tensorstore/array_storage_statistics.h +142 -0
- tensorstore-0.0.0/tensorstore/array_test.cc +2042 -0
- tensorstore-0.0.0/tensorstore/array_testutil.cc +96 -0
- tensorstore-0.0.0/tensorstore/array_testutil.h +300 -0
- tensorstore-0.0.0/tensorstore/array_testutil_matches_array.inc +214 -0
- tensorstore-0.0.0/tensorstore/array_testutil_test.cc +183 -0
- tensorstore-0.0.0/tensorstore/batch.cc +103 -0
- tensorstore-0.0.0/tensorstore/batch.h +129 -0
- tensorstore-0.0.0/tensorstore/batch_impl.h +106 -0
- tensorstore-0.0.0/tensorstore/batch_test.cc +138 -0
- tensorstore-0.0.0/tensorstore/box.cc +84 -0
- tensorstore-0.0.0/tensorstore/box.h +964 -0
- tensorstore-0.0.0/tensorstore/box_test.cc +811 -0
- tensorstore-0.0.0/tensorstore/cast.h +109 -0
- tensorstore-0.0.0/tensorstore/chunk_layout.cc +2147 -0
- tensorstore-0.0.0/tensorstore/chunk_layout.h +1121 -0
- tensorstore-0.0.0/tensorstore/chunk_layout_test.cc +1867 -0
- tensorstore-0.0.0/tensorstore/codec_spec.cc +151 -0
- tensorstore-0.0.0/tensorstore/codec_spec.h +171 -0
- tensorstore-0.0.0/tensorstore/codec_spec_registry.h +82 -0
- tensorstore-0.0.0/tensorstore/codec_spec_test.cc +37 -0
- tensorstore-0.0.0/tensorstore/container_kind.h +39 -0
- tensorstore-0.0.0/tensorstore/context.cc +1285 -0
- tensorstore-0.0.0/tensorstore/context.h +737 -0
- tensorstore-0.0.0/tensorstore/context_impl.h +195 -0
- tensorstore-0.0.0/tensorstore/context_impl_base.h +667 -0
- tensorstore-0.0.0/tensorstore/context_resource_provider.h +212 -0
- tensorstore-0.0.0/tensorstore/context_test.cc +968 -0
- tensorstore-0.0.0/tensorstore/contiguous_layout.cc +139 -0
- tensorstore-0.0.0/tensorstore/contiguous_layout.h +246 -0
- tensorstore-0.0.0/tensorstore/contiguous_layout_test.cc +266 -0
- tensorstore-0.0.0/tensorstore/data_type.cc +665 -0
- tensorstore-0.0.0/tensorstore/data_type.h +1569 -0
- tensorstore-0.0.0/tensorstore/data_type_conversion.h +1932 -0
- tensorstore-0.0.0/tensorstore/data_type_conversion_test.cc +915 -0
- tensorstore-0.0.0/tensorstore/data_type_test.cc +583 -0
- tensorstore-0.0.0/tensorstore/downsample.h +111 -0
- tensorstore-0.0.0/tensorstore/downsample_method.cc +40 -0
- tensorstore-0.0.0/tensorstore/downsample_method.h +44 -0
- tensorstore-0.0.0/tensorstore/driver/BUILD +418 -0
- tensorstore-0.0.0/tensorstore/driver/array/BUILD +112 -0
- tensorstore-0.0.0/tensorstore/driver/array/array.cc +559 -0
- tensorstore-0.0.0/tensorstore/driver/array/array.h +125 -0
- tensorstore-0.0.0/tensorstore/driver/array/array_test.cc +768 -0
- tensorstore-0.0.0/tensorstore/driver/array/index.rst +13 -0
- tensorstore-0.0.0/tensorstore/driver/array/schema.yml +23 -0
- tensorstore-0.0.0/tensorstore/driver/cast/BUILD +101 -0
- tensorstore-0.0.0/tensorstore/driver/cast/cast.cc +487 -0
- tensorstore-0.0.0/tensorstore/driver/cast/cast.h +113 -0
- tensorstore-0.0.0/tensorstore/driver/cast/cast_test.cc +723 -0
- tensorstore-0.0.0/tensorstore/driver/cast/index.rst +19 -0
- tensorstore-0.0.0/tensorstore/driver/cast/schema.yml +20 -0
- tensorstore-0.0.0/tensorstore/driver/chunk.h +236 -0
- tensorstore-0.0.0/tensorstore/driver/chunk_cache_driver.h +157 -0
- tensorstore-0.0.0/tensorstore/driver/chunk_receiver_utils.h +70 -0
- tensorstore-0.0.0/tensorstore/driver/copy.cc +402 -0
- tensorstore-0.0.0/tensorstore/driver/copy.h +58 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/BUILD +310 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample.cc +1121 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample.h +33 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_array.cc +173 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_array.h +68 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_array_test.cc +410 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_benchmark_test.cc +100 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_method_json_binder.h +51 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_nditerable.cc +1358 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_nditerable.h +71 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_test.cc +892 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_util.cc +802 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_util.h +222 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/downsample_util_test.cc +567 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/grid_occupancy_map.cc +139 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/grid_occupancy_map.h +90 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/grid_occupancy_map_test.cc +95 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/index.rst +15 -0
- tensorstore-0.0.0/tensorstore/driver/downsample/schema.yml +116 -0
- tensorstore-0.0.0/tensorstore/driver/driver.cc +389 -0
- tensorstore-0.0.0/tensorstore/driver/driver.h +361 -0
- tensorstore-0.0.0/tensorstore/driver/driver_handle.h +171 -0
- tensorstore-0.0.0/tensorstore/driver/driver_spec.cc +380 -0
- tensorstore-0.0.0/tensorstore/driver/driver_spec.h +324 -0
- tensorstore-0.0.0/tensorstore/driver/driver_test.cc +89 -0
- tensorstore-0.0.0/tensorstore/driver/driver_testutil.cc +1458 -0
- tensorstore-0.0.0/tensorstore/driver/driver_testutil.h +383 -0
- tensorstore-0.0.0/tensorstore/driver/image/BUILD +97 -0
- tensorstore-0.0.0/tensorstore/driver/image/avif/BUILD +48 -0
- tensorstore-0.0.0/tensorstore/driver/image/avif/driver.cc +110 -0
- tensorstore-0.0.0/tensorstore/driver/image/avif/index.rst +15 -0
- tensorstore-0.0.0/tensorstore/driver/image/avif/schema.yml +46 -0
- tensorstore-0.0.0/tensorstore/driver/image/bmp/BUILD +44 -0
- tensorstore-0.0.0/tensorstore/driver/image/bmp/driver.cc +76 -0
- tensorstore-0.0.0/tensorstore/driver/image/bmp/index.rst +11 -0
- tensorstore-0.0.0/tensorstore/driver/image/bmp/schema.yml +36 -0
- tensorstore-0.0.0/tensorstore/driver/image/driver_impl.h +586 -0
- tensorstore-0.0.0/tensorstore/driver/image/driver_test.cc +387 -0
- tensorstore-0.0.0/tensorstore/driver/image/jpeg/BUILD +47 -0
- tensorstore-0.0.0/tensorstore/driver/image/jpeg/driver.cc +100 -0
- tensorstore-0.0.0/tensorstore/driver/image/jpeg/index.rst +10 -0
- tensorstore-0.0.0/tensorstore/driver/image/jpeg/schema.yml +41 -0
- tensorstore-0.0.0/tensorstore/driver/image/png/BUILD +46 -0
- tensorstore-0.0.0/tensorstore/driver/image/png/driver.cc +104 -0
- tensorstore-0.0.0/tensorstore/driver/image/png/index.rst +10 -0
- tensorstore-0.0.0/tensorstore/driver/image/png/schema.yml +41 -0
- tensorstore-0.0.0/tensorstore/driver/image/test_image.cc +16819 -0
- tensorstore-0.0.0/tensorstore/driver/image/test_image.h +35 -0
- tensorstore-0.0.0/tensorstore/driver/image/tiff/BUILD +46 -0
- tensorstore-0.0.0/tensorstore/driver/image/tiff/driver.cc +140 -0
- tensorstore-0.0.0/tensorstore/driver/image/tiff/index.rst +14 -0
- tensorstore-0.0.0/tensorstore/driver/image/tiff/schema.yml +41 -0
- tensorstore-0.0.0/tensorstore/driver/image/webp/BUILD +45 -0
- tensorstore-0.0.0/tensorstore/driver/image/webp/driver.cc +108 -0
- tensorstore-0.0.0/tensorstore/driver/image/webp/index.rst +13 -0
- tensorstore-0.0.0/tensorstore/driver/image/webp/schema.yml +46 -0
- tensorstore-0.0.0/tensorstore/driver/index.rst +43 -0
- tensorstore-0.0.0/tensorstore/driver/json/BUILD +134 -0
- tensorstore-0.0.0/tensorstore/driver/json/driver.cc +624 -0
- tensorstore-0.0.0/tensorstore/driver/json/driver_test.cc +460 -0
- tensorstore-0.0.0/tensorstore/driver/json/index.rst +20 -0
- tensorstore-0.0.0/tensorstore/driver/json/json_change_map.cc +166 -0
- tensorstore-0.0.0/tensorstore/driver/json/json_change_map.h +98 -0
- tensorstore-0.0.0/tensorstore/driver/json/json_change_map_test.cc +202 -0
- tensorstore-0.0.0/tensorstore/driver/json/schema.yml +88 -0
- tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver.cc +1502 -0
- tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver.h +955 -0
- tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver_impl.h +139 -0
- tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver_schema.yml +175 -0
- tensorstore-0.0.0/tensorstore/driver/kvs_backed_chunk_driver_test.cc +156 -0
- tensorstore-0.0.0/tensorstore/driver/n5/BUILD +419 -0
- tensorstore-0.0.0/tensorstore/driver/n5/blosc_compressor.cc +55 -0
- tensorstore-0.0.0/tensorstore/driver/n5/blosc_compressor_test.cc +175 -0
- tensorstore-0.0.0/tensorstore/driver/n5/bzip2_compressor.cc +46 -0
- tensorstore-0.0.0/tensorstore/driver/n5/bzip2_compressor_test.cc +106 -0
- tensorstore-0.0.0/tensorstore/driver/n5/compressor.cc +51 -0
- tensorstore-0.0.0/tensorstore/driver/n5/compressor.h +34 -0
- tensorstore-0.0.0/tensorstore/driver/n5/compressor_registry.h +36 -0
- tensorstore-0.0.0/tensorstore/driver/n5/driver.cc +492 -0
- tensorstore-0.0.0/tensorstore/driver/n5/driver_test.cc +1886 -0
- tensorstore-0.0.0/tensorstore/driver/n5/golden_file_test.cc +88 -0
- tensorstore-0.0.0/tensorstore/driver/n5/gzip_compressor.cc +57 -0
- tensorstore-0.0.0/tensorstore/driver/n5/gzip_compressor_test.cc +113 -0
- tensorstore-0.0.0/tensorstore/driver/n5/index.rst +307 -0
- tensorstore-0.0.0/tensorstore/driver/n5/metadata.cc +696 -0
- tensorstore-0.0.0/tensorstore/driver/n5/metadata.h +251 -0
- tensorstore-0.0.0/tensorstore/driver/n5/metadata_test.cc +345 -0
- tensorstore-0.0.0/tensorstore/driver/n5/schema.yml +250 -0
- tensorstore-0.0.0/tensorstore/driver/n5/storage_statistics_test.cc +30 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/0/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/0/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/1/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/1/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/blosc/attributes.json +18 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/0/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/0/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/1/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/1/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/bzip2/attributes.json +15 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/generate.py +47 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/0/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/0/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/1/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/1/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/gzip/attributes.json +16 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/0/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/0/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/1/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/1/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/raw/attributes.json +14 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/0/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/0/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/1/0 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/1/1 +0 -0
- tensorstore-0.0.0/tensorstore/driver/n5/testdata/xz/attributes.json +15 -0
- tensorstore-0.0.0/tensorstore/driver/n5/xz_compressor.cc +46 -0
- tensorstore-0.0.0/tensorstore/driver/n5/xz_compressor_test.cc +110 -0
- tensorstore-0.0.0/tensorstore/driver/n5/zstd_compressor.cc +52 -0
- tensorstore-0.0.0/tensorstore/driver/n5/zstd_compressor_test.cc +86 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/BUILD +283 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/chunk_encoding.cc +376 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/chunk_encoding.h +63 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/chunk_encoding_test.cc +183 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/driver.cc +962 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/driver_test.cc +3096 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/index.rst +640 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/metadata.cc +1649 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/metadata.h +409 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/metadata_test.cc +2143 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/schema.yml +225 -0
- tensorstore-0.0.0/tensorstore/driver/neuroglancer_precomputed/storage_statistics_test.cc +274 -0
- tensorstore-0.0.0/tensorstore/driver/read.cc +366 -0
- tensorstore-0.0.0/tensorstore/driver/read.h +101 -0
- tensorstore-0.0.0/tensorstore/driver/read_request.h +35 -0
- tensorstore-0.0.0/tensorstore/driver/registry.h +173 -0
- tensorstore-0.0.0/tensorstore/driver/stack/BUILD +151 -0
- tensorstore-0.0.0/tensorstore/driver/stack/driver.cc +1093 -0
- tensorstore-0.0.0/tensorstore/driver/stack/driver.h +110 -0
- tensorstore-0.0.0/tensorstore/driver/stack/driver_test.cc +1411 -0
- tensorstore-0.0.0/tensorstore/driver/stack/index.rst +135 -0
- tensorstore-0.0.0/tensorstore/driver/stack/integration_test.cc +410 -0
- tensorstore-0.0.0/tensorstore/driver/stack/schema.yml +44 -0
- tensorstore-0.0.0/tensorstore/driver/virtual_chunked/BUILD +100 -0
- tensorstore-0.0.0/tensorstore/driver/virtual_chunked/virtual_chunked.cc +761 -0
- tensorstore-0.0.0/tensorstore/driver/virtual_chunked/virtual_chunked_test.cc +585 -0
- tensorstore-0.0.0/tensorstore/driver/write.cc +335 -0
- tensorstore-0.0.0/tensorstore/driver/write.h +59 -0
- tensorstore-0.0.0/tensorstore/driver/write_request.h +33 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/BUILD +523 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/blosc_compressor.cc +67 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/blosc_compressor_test.cc +297 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/bzip2_compressor.cc +44 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/bzip2_compressor_test.cc +105 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/compressor.cc +48 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/compressor.h +34 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/compressor_registry.h +36 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/compressor_test.cc +64 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/driver.cc +534 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/driver_impl.h +186 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/driver_impl_test.cc +388 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/driver_test.cc +3463 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/dtype.cc +453 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/dtype.h +149 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/dtype_test.cc +381 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/index.rst +473 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/metadata.cc +657 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/metadata.h +269 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/metadata_test.cc +798 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/metadata_testutil.cc +84 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/metadata_testutil.h +48 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/schema.yml +303 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/spec.cc +568 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/spec.h +169 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/spec_test.cc +828 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/storage_statistics_test.cc +33 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/storage_statistics_test_util.cc +347 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/storage_statistics_test_util.h +77 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/zlib_compressor.cc +53 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/zlib_compressor_test.cc +92 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/zstd_compressor.cc +52 -0
- tensorstore-0.0.0/tensorstore/driver/zarr/zstd_compressor_test.cc +87 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/BUILD +329 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/chunk_cache.cc +498 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/chunk_cache.h +312 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/BUILD +417 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/blosc.cc +213 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/blosc.h +56 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/blosc_test.cc +225 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/bytes.cc +245 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/bytes.h +70 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/bytes_test.cc +103 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec.cc +188 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec.h +358 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_chain_spec.cc +537 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_chain_spec.h +224 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_chain_spec_test.cc +142 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_spec.cc +45 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_spec.h +341 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_test_util.cc +150 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/codec_test_util.h +65 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/crc32c.cc +114 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/crc32c.h +40 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/gzip.cc +116 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/gzip.h +48 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/gzip_test.cc +56 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/registry.h +106 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/sharding_indexed.cc +385 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/sharding_indexed.h +77 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/sharding_indexed_test.cc +234 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/transpose.cc +334 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/transpose.h +70 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/transpose_test.cc +153 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/zstd_codec.cc +138 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/zstd_codec.h +49 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/codec/zstd_test.cc +70 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/default_nan.h +86 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/driver.cc +630 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/driver_test.cc +1627 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/index.rst +343 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/metadata.cc +972 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/metadata.h +222 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/metadata_test.cc +621 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/name_configuration_json_binder.h +36 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/schema.yml +581 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/sharding_benchmark_test.cc +179 -0
- tensorstore-0.0.0/tensorstore/driver/zarr3/storage_statistics_test.cc +402 -0
- tensorstore-0.0.0/tensorstore/generate_data_type.py +238 -0
- tensorstore-0.0.0/tensorstore/generate_interval_slice_overloads.py +278 -0
- tensorstore-0.0.0/tensorstore/generate_make_array_overloads.py +253 -0
- tensorstore-0.0.0/tensorstore/generate_matches_array_overloads.py +121 -0
- tensorstore-0.0.0/tensorstore/index.h +77 -0
- tensorstore-0.0.0/tensorstore/index_interval.cc +624 -0
- tensorstore-0.0.0/tensorstore/index_interval.h +1166 -0
- tensorstore-0.0.0/tensorstore/index_interval_test.cc +1794 -0
- tensorstore-0.0.0/tensorstore/index_space/BUILD +1117 -0
- tensorstore-0.0.0/tensorstore/index_space/add_new_dims_op_test.cc +213 -0
- tensorstore-0.0.0/tensorstore/index_space/alignment.cc +173 -0
- tensorstore-0.0.0/tensorstore/index_space/alignment.h +213 -0
- tensorstore-0.0.0/tensorstore/index_space/alignment_test.cc +469 -0
- tensorstore-0.0.0/tensorstore/index_space/compose_transforms_test.cc +349 -0
- tensorstore-0.0.0/tensorstore/index_space/deep_copy_transform_rep_ptr_test.cc +167 -0
- tensorstore-0.0.0/tensorstore/index_space/diagonal_op_test.cc +350 -0
- tensorstore-0.0.0/tensorstore/index_space/dim_expression.h +2272 -0
- tensorstore-0.0.0/tensorstore/index_space/dim_expression_nc_test.cc +67 -0
- tensorstore-0.0.0/tensorstore/index_space/dim_expression_test.cc +540 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_identifier.cc +193 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_identifier.h +275 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_identifier_test.cc +312 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_index_buffer.h +38 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_permutation.cc +92 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_permutation.h +77 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_permutation_test.cc +98 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_selection_test.cc +439 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_units.cc +129 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_units.h +96 -0
- tensorstore-0.0.0/tensorstore/index_space/dimension_units_test.cc +177 -0
- tensorstore-0.0.0/tensorstore/index_space/get_output_range_test.cc +285 -0
- tensorstore-0.0.0/tensorstore/index_space/identity_transform_test.cc +225 -0
- tensorstore-0.0.0/tensorstore/index_space/index_array_slice_op_test.cc +743 -0
- tensorstore-0.0.0/tensorstore/index_space/index_domain.h +759 -0
- tensorstore-0.0.0/tensorstore/index_space/index_domain_builder.h +373 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform.cc +729 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform.h +1391 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform_builder.cc +208 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform_builder.h +908 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform_builder_test.cc +678 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform_test.cc +1174 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform_testutil.cc +314 -0
- tensorstore-0.0.0/tensorstore/index_space/index_transform_testutil.h +127 -0
- tensorstore-0.0.0/tensorstore/index_space/index_vector_or_scalar.cc +36 -0
- tensorstore-0.0.0/tensorstore/index_space/index_vector_or_scalar.h +127 -0
- tensorstore-0.0.0/tensorstore/index_space/index_vector_or_scalar_test.cc +92 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/add_new_dims_op.cc +157 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/add_new_dims_op.h +77 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/compose_transforms.cc +341 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/compose_transforms.h +52 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/deep_copy_transform_rep_ptr.h +103 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/diagonal_op.cc +199 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/diagonal_op.h +83 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/dim_expression_helper.h +262 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/dim_expression_testutil.h +322 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/dimension_selection.cc +197 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/dimension_selection.h +150 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/identity_transform.cc +119 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/identity_transform.h +78 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/index_array_slice_op.cc +389 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/index_array_slice_op.h +190 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/interval_slice_op.cc +262 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/interval_slice_op.h +245 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/inverse_transform.cc +130 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/inverse_transform.h +32 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/iterate.cc +465 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/iterate_impl.h +378 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/label_op.cc +65 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/label_op.h +94 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/mark_explicit_op.cc +63 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/mark_explicit_op.h +85 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/numpy_indexing_spec.cc +934 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/numpy_indexing_spec.h +287 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/propagate_bounds.cc +326 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/propagate_bounds.h +69 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/single_index_slice_op.cc +287 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/single_index_slice_op.h +100 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transform_array.cc +224 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transform_array.h +118 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transform_rep.cc +644 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transform_rep.h +674 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transform_rep_impl.h +92 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/translate_op.cc +126 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/translate_op.h +130 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/translate_output_dimensions.cc +45 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transpose.cc +277 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transpose.h +74 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transpose_op.cc +192 -0
- tensorstore-0.0.0/tensorstore/index_space/internal/transpose_op.h +237 -0
- tensorstore-0.0.0/tensorstore/index_space/interval_slice_op_test.cc +1113 -0
- tensorstore-0.0.0/tensorstore/index_space/inverse_transform_test.cc +392 -0
- tensorstore-0.0.0/tensorstore/index_space/iterate_benchmark_test.cc +195 -0
- tensorstore-0.0.0/tensorstore/index_space/iterate_nc_test.cc +37 -0
- tensorstore-0.0.0/tensorstore/index_space/iterate_test.cc +346 -0
- tensorstore-0.0.0/tensorstore/index_space/json.cc +619 -0
- tensorstore-0.0.0/tensorstore/index_space/json.h +386 -0
- tensorstore-0.0.0/tensorstore/index_space/json_test.cc +890 -0
- tensorstore-0.0.0/tensorstore/index_space/label_op_test.cc +96 -0
- tensorstore-0.0.0/tensorstore/index_space/mark_explicit_op_test.cc +296 -0
- tensorstore-0.0.0/tensorstore/index_space/move_to_op_test.cc +224 -0
- tensorstore-0.0.0/tensorstore/index_space/output_index_map.h +350 -0
- tensorstore-0.0.0/tensorstore/index_space/output_index_map_test.cc +309 -0
- tensorstore-0.0.0/tensorstore/index_space/output_index_method.cc +34 -0
- tensorstore-0.0.0/tensorstore/index_space/output_index_method.h +44 -0
- tensorstore-0.0.0/tensorstore/index_space/propagate_bounds_test.cc +702 -0
- tensorstore-0.0.0/tensorstore/index_space/propagate_input_domain_resize_to_output_test.cc +554 -0
- tensorstore-0.0.0/tensorstore/index_space/single_index_slice_op_test.cc +378 -0
- tensorstore-0.0.0/tensorstore/index_space/slice_by_box_test.cc +161 -0
- tensorstore-0.0.0/tensorstore/index_space/slice_by_index_domain_test.cc +346 -0
- tensorstore-0.0.0/tensorstore/index_space/transform_array_constraints.h +157 -0
- tensorstore-0.0.0/tensorstore/index_space/transform_array_constraints_test.cc +87 -0
- tensorstore-0.0.0/tensorstore/index_space/transform_array_test.cc +474 -0
- tensorstore-0.0.0/tensorstore/index_space/transform_broadcastable_array.cc +156 -0
- tensorstore-0.0.0/tensorstore/index_space/transform_broadcastable_array.h +67 -0
- tensorstore-0.0.0/tensorstore/index_space/transform_broadcastable_array_test.cc +283 -0
- tensorstore-0.0.0/tensorstore/index_space/transform_rep_test.cc +478 -0
- tensorstore-0.0.0/tensorstore/index_space/transformed_array.cc +293 -0
- tensorstore-0.0.0/tensorstore/index_space/transformed_array.h +998 -0
- tensorstore-0.0.0/tensorstore/index_space/transformed_array_test.cc +678 -0
- tensorstore-0.0.0/tensorstore/index_space/translate_op_test.cc +541 -0
- tensorstore-0.0.0/tensorstore/index_space/transpose_op_test.cc +193 -0
- tensorstore-0.0.0/tensorstore/index_space/transpose_test.cc +164 -0
- tensorstore-0.0.0/tensorstore/index_space/transpose_to_op_test.cc +111 -0
- tensorstore-0.0.0/tensorstore/index_space.h +166 -0
- tensorstore-0.0.0/tensorstore/internal/BUILD +1888 -0
- tensorstore-0.0.0/tensorstore/internal/arena.h +159 -0
- tensorstore-0.0.0/tensorstore/internal/arena_test.cc +101 -0
- tensorstore-0.0.0/tensorstore/internal/ascii_set.h +59 -0
- tensorstore-0.0.0/tensorstore/internal/async_write_array.cc +539 -0
- tensorstore-0.0.0/tensorstore/internal/async_write_array.h +412 -0
- tensorstore-0.0.0/tensorstore/internal/async_write_array_test.cc +825 -0
- tensorstore-0.0.0/tensorstore/internal/attributes.h +65 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/BUILD +255 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/README.md +104 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/kvstore_benchmark.cc +412 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/kvstore_duration.cc +212 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/metric_utils.cc +135 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/metric_utils.h +50 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/multi_genspec.cc +607 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/multi_read_benchmark.cc +344 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/multi_spec.cc +103 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/multi_spec.h +40 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/multi_write_benchmark.cc +415 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/ts_benchmark.cc +236 -0
- tensorstore-0.0.0/tensorstore/internal/benchmark/vector_flag.h +71 -0
- tensorstore-0.0.0/tensorstore/internal/box_difference.cc +157 -0
- tensorstore-0.0.0/tensorstore/internal/box_difference.h +65 -0
- tensorstore-0.0.0/tensorstore/internal/box_difference_test.cc +174 -0
- tensorstore-0.0.0/tensorstore/internal/cache/BUILD +479 -0
- tensorstore-0.0.0/tensorstore/internal/cache/aggregate_writeback_cache.h +99 -0
- tensorstore-0.0.0/tensorstore/internal/cache/async_cache.cc +797 -0
- tensorstore-0.0.0/tensorstore/internal/cache/async_cache.h +965 -0
- tensorstore-0.0.0/tensorstore/internal/cache/async_cache_test.cc +1165 -0
- tensorstore-0.0.0/tensorstore/internal/cache/async_initialized_cache_mixin.h +83 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache.cc +817 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache.h +411 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache_impl.h +403 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_limits.h +35 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_resource.cc +62 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_resource.h +34 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache_pool_resource_test.cc +55 -0
- tensorstore-0.0.0/tensorstore/internal/cache/cache_test.cc +1130 -0
- tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache.cc +684 -0
- tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache.h +264 -0
- tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache_benchmark_test.cc +386 -0
- tensorstore-0.0.0/tensorstore/internal/cache/chunk_cache_test.cc +2013 -0
- tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache.cc +52 -0
- tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache.h +468 -0
- tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache_test.cc +902 -0
- tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache_testutil.cc +735 -0
- tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_cache_testutil.h +232 -0
- tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_chunk_cache.cc +119 -0
- tensorstore-0.0.0/tensorstore/internal/cache/kvs_backed_chunk_cache.h +92 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/BUILD +32 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/absl_time.h +40 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/cache_key.h +126 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/cache_key_test.cc +78 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/fwd.h +27 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/std_optional.h +36 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/std_variant.h +36 -0
- tensorstore-0.0.0/tensorstore/internal/cache_key/std_vector.h +38 -0
- tensorstore-0.0.0/tensorstore/internal/chunk_grid_specification.cc +144 -0
- tensorstore-0.0.0/tensorstore/internal/chunk_grid_specification.h +196 -0
- tensorstore-0.0.0/tensorstore/internal/compare.h +76 -0
- tensorstore-0.0.0/tensorstore/internal/compression/BUILD +267 -0
- tensorstore-0.0.0/tensorstore/internal/compression/blosc.cc +197 -0
- tensorstore-0.0.0/tensorstore/internal/compression/blosc.h +151 -0
- tensorstore-0.0.0/tensorstore/internal/compression/blosc_compressor.cc +42 -0
- tensorstore-0.0.0/tensorstore/internal/compression/blosc_compressor.h +68 -0
- tensorstore-0.0.0/tensorstore/internal/compression/blosc_test.cc +216 -0
- tensorstore-0.0.0/tensorstore/internal/compression/bzip2_compressor.cc +45 -0
- tensorstore-0.0.0/tensorstore/internal/compression/bzip2_compressor.h +51 -0
- tensorstore-0.0.0/tensorstore/internal/compression/cord_stream_manager.h +93 -0
- tensorstore-0.0.0/tensorstore/internal/compression/json_specified_compressor.cc +63 -0
- tensorstore-0.0.0/tensorstore/internal/compression/json_specified_compressor.h +93 -0
- tensorstore-0.0.0/tensorstore/internal/compression/neuroglancer_compressed_segmentation.cc +425 -0
- tensorstore-0.0.0/tensorstore/internal/compression/neuroglancer_compressed_segmentation.h +196 -0
- tensorstore-0.0.0/tensorstore/internal/compression/neuroglancer_compressed_segmentation_test.cc +453 -0
- tensorstore-0.0.0/tensorstore/internal/compression/testdata/data.zip +0 -0
- tensorstore-0.0.0/tensorstore/internal/compression/xz_compressor.cc +53 -0
- tensorstore-0.0.0/tensorstore/internal/compression/xz_compressor.h +58 -0
- tensorstore-0.0.0/tensorstore/internal/compression/xz_compressor_test.cc +141 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zip_details.cc +743 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zip_details.h +230 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zip_details_test.cc +797 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zlib.cc +122 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zlib.h +62 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zlib_compressor.cc +49 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zlib_compressor.h +44 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zlib_test.cc +142 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zstd_compressor.cc +44 -0
- tensorstore-0.0.0/tensorstore/internal/compression/zstd_compressor.h +47 -0
- tensorstore-0.0.0/tensorstore/internal/concurrency_resource.cc +68 -0
- tensorstore-0.0.0/tensorstore/internal/concurrency_resource.h +64 -0
- tensorstore-0.0.0/tensorstore/internal/concurrency_resource_provider.h +64 -0
- tensorstore-0.0.0/tensorstore/internal/container/BUILD +153 -0
- tensorstore-0.0.0/tensorstore/internal/container/block_queue.h +287 -0
- tensorstore-0.0.0/tensorstore/internal/container/block_queue_test.cc +119 -0
- tensorstore-0.0.0/tensorstore/internal/container/circular_queue.h +197 -0
- tensorstore-0.0.0/tensorstore/internal/container/circular_queue_test.cc +155 -0
- tensorstore-0.0.0/tensorstore/internal/container/compressed_tuple.h +287 -0
- tensorstore-0.0.0/tensorstore/internal/container/compressed_tuple_test.cc +465 -0
- tensorstore-0.0.0/tensorstore/internal/container/hash_set_of_any.h +147 -0
- tensorstore-0.0.0/tensorstore/internal/container/hash_set_of_any_test.cc +59 -0
- tensorstore-0.0.0/tensorstore/internal/container/heterogeneous_container.h +77 -0
- tensorstore-0.0.0/tensorstore/internal/container/heterogeneous_container_test.cc +65 -0
- tensorstore-0.0.0/tensorstore/internal/container/intrusive_linked_list.h +89 -0
- tensorstore-0.0.0/tensorstore/internal/container/intrusive_linked_list_test.cc +73 -0
- tensorstore-0.0.0/tensorstore/internal/container/intrusive_red_black_tree.cc +535 -0
- tensorstore-0.0.0/tensorstore/internal/container/intrusive_red_black_tree.h +692 -0
- tensorstore-0.0.0/tensorstore/internal/container/intrusive_red_black_tree_test.cc +445 -0
- tensorstore-0.0.0/tensorstore/internal/container/item_traits.h +102 -0
- tensorstore-0.0.0/tensorstore/internal/container/single_producer_queue.h +273 -0
- tensorstore-0.0.0/tensorstore/internal/container/single_producer_queue_test.cc +128 -0
- tensorstore-0.0.0/tensorstore/internal/container_to_shared.h +41 -0
- tensorstore-0.0.0/tensorstore/internal/container_to_shared_test.cc +56 -0
- tensorstore-0.0.0/tensorstore/internal/context_binding.h +205 -0
- tensorstore-0.0.0/tensorstore/internal/context_binding_vector.h +55 -0
- tensorstore-0.0.0/tensorstore/internal/cord_util.cc +47 -0
- tensorstore-0.0.0/tensorstore/internal/cord_util.h +38 -0
- tensorstore-0.0.0/tensorstore/internal/data_copy_concurrency_resource.cc +46 -0
- tensorstore-0.0.0/tensorstore/internal/data_copy_concurrency_resource.h +32 -0
- tensorstore-0.0.0/tensorstore/internal/data_type_endian_conversion.cc +187 -0
- tensorstore-0.0.0/tensorstore/internal/data_type_endian_conversion.h +105 -0
- tensorstore-0.0.0/tensorstore/internal/data_type_endian_conversion_test.cc +324 -0
- tensorstore-0.0.0/tensorstore/internal/data_type_random_generator.cc +185 -0
- tensorstore-0.0.0/tensorstore/internal/data_type_random_generator.h +51 -0
- tensorstore-0.0.0/tensorstore/internal/decoded_matches.cc +72 -0
- tensorstore-0.0.0/tensorstore/internal/decoded_matches.h +48 -0
- tensorstore-0.0.0/tensorstore/internal/decoded_matches_test.cc +75 -0
- tensorstore-0.0.0/tensorstore/internal/digest/BUILD +25 -0
- tensorstore-0.0.0/tensorstore/internal/digest/sha256.cc +31 -0
- tensorstore-0.0.0/tensorstore/internal/digest/sha256.h +54 -0
- tensorstore-0.0.0/tensorstore/internal/digest/sha256_test.cc +50 -0
- tensorstore-0.0.0/tensorstore/internal/dimension_labels.cc +74 -0
- tensorstore-0.0.0/tensorstore/internal/dimension_labels.h +40 -0
- tensorstore-0.0.0/tensorstore/internal/dimension_labels_test.cc +49 -0
- tensorstore-0.0.0/tensorstore/internal/element_copy_function.h +52 -0
- tensorstore-0.0.0/tensorstore/internal/elementwise_function.h +747 -0
- tensorstore-0.0.0/tensorstore/internal/elementwise_function_test.cc +268 -0
- tensorstore-0.0.0/tensorstore/internal/endian_elementwise_conversion.h +462 -0
- tensorstore-0.0.0/tensorstore/internal/env.cc +99 -0
- tensorstore-0.0.0/tensorstore/internal/env.h +92 -0
- tensorstore-0.0.0/tensorstore/internal/env_test.cc +86 -0
- tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/BUILD +33 -0
- tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/estimate_heap_usage.h +144 -0
- tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/estimate_heap_usage_test.cc +132 -0
- tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/std_optional.h +39 -0
- tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/std_variant.h +41 -0
- tensorstore-0.0.0/tensorstore/internal/estimate_heap_usage/std_vector.h +43 -0
- tensorstore-0.0.0/tensorstore/internal/exception_macros.h +27 -0
- tensorstore-0.0.0/tensorstore/internal/file_io_concurrency_resource.cc +40 -0
- tensorstore-0.0.0/tensorstore/internal/file_io_concurrency_resource.h +30 -0
- tensorstore-0.0.0/tensorstore/internal/flat_cord_builder.h +109 -0
- tensorstore-0.0.0/tensorstore/internal/gdb_scripting.h +21 -0
- tensorstore-0.0.0/tensorstore/internal/global_initializer.h +50 -0
- tensorstore-0.0.0/tensorstore/internal/global_initializer_test.cc +36 -0
- tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges.cc +151 -0
- tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges.h +81 -0
- tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_base10.cc +77 -0
- tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_base10.h +75 -0
- tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_base10_test.cc +123 -0
- tensorstore-0.0.0/tensorstore/internal/grid_chunk_key_ranges_test.cc +267 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition.cc +527 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition.h +164 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition_impl.cc +1015 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition_impl.h +237 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition_impl_test.cc +618 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition_iterator.cc +233 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition_iterator.h +177 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition_iterator_test.cc +699 -0
- tensorstore-0.0.0/tensorstore/internal/grid_partition_test.cc +254 -0
- tensorstore-0.0.0/tensorstore/internal/grid_storage_statistics.cc +269 -0
- tensorstore-0.0.0/tensorstore/internal/grid_storage_statistics.h +107 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/BUILD +112 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/client_credentials.cc +60 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/client_credentials.h +79 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/client_credentials_test.cc +44 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/grpc_mock.h +161 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/peer_address.cc +41 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/peer_address.h +35 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/server_credentials.cc +59 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/server_credentials.h +79 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/server_credentials_test.cc +42 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/utils.cc +75 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/utils.h +36 -0
- tensorstore-0.0.0/tensorstore/internal/grpc/utils_test.cc +36 -0
- tensorstore-0.0.0/tensorstore/internal/half_gtest.h +32 -0
- tensorstore-0.0.0/tensorstore/internal/http/BUILD +268 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_factory.cc +237 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_factory.h +50 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_factory_hook.cc +169 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_handle.cc +48 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_handle.h +93 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_transport.cc +638 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_transport.h +60 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_transport_http2_test.cc +457 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_transport_test.cc +213 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_wrappers.cc +134 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_wrappers.h +65 -0
- tensorstore-0.0.0/tensorstore/internal/http/curl_wrappers_test.cc +72 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_header.cc +170 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_header.h +95 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_header_test.cc +137 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_request.cc +161 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_request.h +143 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_request_test.cc +145 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_response.cc +248 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_response.h +97 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_response_test.cc +88 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_transport.cc +111 -0
- tensorstore-0.0.0/tensorstore/internal/http/http_transport.h +111 -0
- tensorstore-0.0.0/tensorstore/internal/http/mock_http_transport.cc +105 -0
- tensorstore-0.0.0/tensorstore/internal/http/mock_http_transport.h +79 -0
- tensorstore-0.0.0/tensorstore/internal/http/transport_test_utils.cc +358 -0
- tensorstore-0.0.0/tensorstore/internal/http/transport_test_utils.h +84 -0
- tensorstore-0.0.0/tensorstore/internal/image/BUILD +362 -0
- tensorstore-0.0.0/tensorstore/internal/image/avif_common.cc +36 -0
- tensorstore-0.0.0/tensorstore/internal/image/avif_common.h +40 -0
- tensorstore-0.0.0/tensorstore/internal/image/avif_reader.cc +370 -0
- tensorstore-0.0.0/tensorstore/internal/image/avif_reader.h +87 -0
- tensorstore-0.0.0/tensorstore/internal/image/avif_test.cc +143 -0
- tensorstore-0.0.0/tensorstore/internal/image/avif_writer.cc +393 -0
- tensorstore-0.0.0/tensorstore/internal/image/avif_writer.h +105 -0
- tensorstore-0.0.0/tensorstore/internal/image/bmp_reader.cc +470 -0
- tensorstore-0.0.0/tensorstore/internal/image/bmp_reader.h +72 -0
- tensorstore-0.0.0/tensorstore/internal/image/bmp_test.cc +83 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_info.cc +45 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_info.h +51 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_reader.h +58 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_reader_test.cc +321 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_view.cc +36 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_view.h +73 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_writer.h +55 -0
- tensorstore-0.0.0/tensorstore/internal/image/image_writer_test.cc +310 -0
- tensorstore-0.0.0/tensorstore/internal/image/jpeg_common.cc +54 -0
- tensorstore-0.0.0/tensorstore/internal/image/jpeg_common.h +49 -0
- tensorstore-0.0.0/tensorstore/internal/image/jpeg_reader.cc +332 -0
- tensorstore-0.0.0/tensorstore/internal/image/jpeg_reader.h +64 -0
- tensorstore-0.0.0/tensorstore/internal/image/jpeg_test.cc +302 -0
- tensorstore-0.0.0/tensorstore/internal/image/jpeg_writer.cc +233 -0
- tensorstore-0.0.0/tensorstore/internal/image/jpeg_writer.h +75 -0
- tensorstore-0.0.0/tensorstore/internal/image/png_reader.cc +270 -0
- tensorstore-0.0.0/tensorstore/internal/image/png_reader.h +68 -0
- tensorstore-0.0.0/tensorstore/internal/image/png_test.cc +119 -0
- tensorstore-0.0.0/tensorstore/internal/image/png_writer.cc +238 -0
- tensorstore-0.0.0/tensorstore/internal/image/png_writer.h +78 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/1x1_405060ff.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_08b.avif +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_08b_cq1.avif +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_08b_grey.avif +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_10b_cq1.avif +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/avif/D75_12b_grey.avif +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/bmp/D75_08b.bmp +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/bmp/D75_08b_grey.bmp +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/image.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/jpeg/D75_08b.jpeg +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_01b.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_04b.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_08b.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_08b_grey.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_16b.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/png/D75_16b_grey.png +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_01b.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_3page.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_grey.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_lzw.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_scanline.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_tiled.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_08b_zip.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_16b.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/tiff/D75_16b_grey.tiff +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/webp/D75_08b.webp +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/testdata/webp/D75_08b_q90.webp +0 -0
- tensorstore-0.0.0/tensorstore/internal/image/tiff_common.cc +109 -0
- tensorstore-0.0.0/tensorstore/internal/image/tiff_common.h +34 -0
- tensorstore-0.0.0/tensorstore/internal/image/tiff_reader.cc +541 -0
- tensorstore-0.0.0/tensorstore/internal/image/tiff_reader.h +77 -0
- tensorstore-0.0.0/tensorstore/internal/image/tiff_test.cc +211 -0
- tensorstore-0.0.0/tensorstore/internal/image/tiff_writer.cc +267 -0
- tensorstore-0.0.0/tensorstore/internal/image/tiff_writer.h +71 -0
- tensorstore-0.0.0/tensorstore/internal/image/webp_reader.cc +193 -0
- tensorstore-0.0.0/tensorstore/internal/image/webp_reader.h +66 -0
- tensorstore-0.0.0/tensorstore/internal/image/webp_test.cc +114 -0
- tensorstore-0.0.0/tensorstore/internal/image/webp_writer.cc +147 -0
- tensorstore-0.0.0/tensorstore/internal/image/webp_writer.h +79 -0
- tensorstore-0.0.0/tensorstore/internal/integer_overflow.h +146 -0
- tensorstore-0.0.0/tensorstore/internal/integer_overflow_test.cc +179 -0
- tensorstore-0.0.0/tensorstore/internal/integer_range.h +70 -0
- tensorstore-0.0.0/tensorstore/internal/integer_sequence.h +171 -0
- tensorstore-0.0.0/tensorstore/internal/integer_types.h +82 -0
- tensorstore-0.0.0/tensorstore/internal/intrusive_ptr.h +544 -0
- tensorstore-0.0.0/tensorstore/internal/intrusive_ptr_test.cc +493 -0
- tensorstore-0.0.0/tensorstore/internal/irregular_grid.cc +96 -0
- tensorstore-0.0.0/tensorstore/internal/irregular_grid.h +88 -0
- tensorstore-0.0.0/tensorstore/internal/irregular_grid_test.cc +133 -0
- tensorstore-0.0.0/tensorstore/internal/json/BUILD +153 -0
- tensorstore-0.0.0/tensorstore/internal/json/array.cc +316 -0
- tensorstore-0.0.0/tensorstore/internal/json/array.h +103 -0
- tensorstore-0.0.0/tensorstore/internal/json/array_test.cc +263 -0
- tensorstore-0.0.0/tensorstore/internal/json/json.cc +91 -0
- tensorstore-0.0.0/tensorstore/internal/json/json.h +86 -0
- tensorstore-0.0.0/tensorstore/internal/json/json_test.cc +116 -0
- tensorstore-0.0.0/tensorstore/internal/json/pprint_python.cc +190 -0
- tensorstore-0.0.0/tensorstore/internal/json/pprint_python.h +69 -0
- tensorstore-0.0.0/tensorstore/internal/json/pprint_python_test.cc +103 -0
- tensorstore-0.0.0/tensorstore/internal/json/same.cc +101 -0
- tensorstore-0.0.0/tensorstore/internal/json/same.h +37 -0
- tensorstore-0.0.0/tensorstore/internal/json/same_test.cc +70 -0
- tensorstore-0.0.0/tensorstore/internal/json/value_as.cc +192 -0
- tensorstore-0.0.0/tensorstore/internal/json/value_as.h +199 -0
- tensorstore-0.0.0/tensorstore/internal/json/value_as_test.cc +587 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/BUILD +403 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/absl_time.h +85 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/absl_time_test.cc +55 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/array.h +90 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/array_test.cc +52 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/bindable.h +269 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/box.h +145 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/data_type.cc +91 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/data_type.h +45 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/data_type_test.cc +68 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/dimension_indexed.h +162 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/enum.h +136 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/enum_test.cc +123 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/gtest.h +200 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/json_binding.h +1033 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/json_binding_test.cc +419 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/optional_object.h +65 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/optional_object_test.cc +49 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/rational.h +99 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/rational_test.cc +75 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/raw_bytes_hex.cc +64 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/raw_bytes_hex.h +53 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/raw_bytes_hex_test.cc +61 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/staleness_bound.cc +62 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/staleness_bound.h +43 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/staleness_bound_test.cc +80 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_array.h +191 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_array_test.cc +70 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_optional.h +99 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_optional_test.cc +95 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_tuple.h +200 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_tuple_test.cc +68 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_variant.cc +35 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_variant.h +154 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/std_variant_test.cc +65 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/unit.cc +67 -0
- tensorstore-0.0.0/tensorstore/internal/json_binding/unit.h +54 -0
- tensorstore-0.0.0/tensorstore/internal/json_gtest.cc +149 -0
- tensorstore-0.0.0/tensorstore/internal/json_gtest.h +85 -0
- tensorstore-0.0.0/tensorstore/internal/json_gtest_test.cc +64 -0
- tensorstore-0.0.0/tensorstore/internal/json_metadata_matching.cc +39 -0
- tensorstore-0.0.0/tensorstore/internal/json_metadata_matching.h +52 -0
- tensorstore-0.0.0/tensorstore/internal/json_pointer.cc +327 -0
- tensorstore-0.0.0/tensorstore/internal/json_pointer.h +139 -0
- tensorstore-0.0.0/tensorstore/internal/json_pointer_test.cc +355 -0
- tensorstore-0.0.0/tensorstore/internal/json_registry.h +197 -0
- tensorstore-0.0.0/tensorstore/internal/json_registry_fwd.h +30 -0
- tensorstore-0.0.0/tensorstore/internal/json_registry_impl.cc +129 -0
- tensorstore-0.0.0/tensorstore/internal/json_registry_impl.h +140 -0
- tensorstore-0.0.0/tensorstore/internal/json_registry_test.cc +115 -0
- tensorstore-0.0.0/tensorstore/internal/lexicographical_grid_index_key.h +94 -0
- tensorstore-0.0.0/tensorstore/internal/lock_collection.cc +86 -0
- tensorstore-0.0.0/tensorstore/internal/lock_collection.h +131 -0
- tensorstore-0.0.0/tensorstore/internal/lock_collection_test.cc +262 -0
- tensorstore-0.0.0/tensorstore/internal/log/BUILD +31 -0
- tensorstore-0.0.0/tensorstore/internal/log/verbose_flag.cc +201 -0
- tensorstore-0.0.0/tensorstore/internal/log/verbose_flag.h +109 -0
- tensorstore-0.0.0/tensorstore/internal/log/verbose_flag_test.cc +74 -0
- tensorstore-0.0.0/tensorstore/internal/masked_array.cc +311 -0
- tensorstore-0.0.0/tensorstore/internal/masked_array.h +114 -0
- tensorstore-0.0.0/tensorstore/internal/masked_array_test.cc +831 -0
- tensorstore-0.0.0/tensorstore/internal/masked_array_testutil.cc +84 -0
- tensorstore-0.0.0/tensorstore/internal/masked_array_testutil.h +57 -0
- tensorstore-0.0.0/tensorstore/internal/memory.h +160 -0
- tensorstore-0.0.0/tensorstore/internal/meta.h +42 -0
- tensorstore-0.0.0/tensorstore/internal/meta_test.cc +37 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/BUILD +262 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/collect.cc +200 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/collect.h +74 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/collect_test.cc +173 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/counter.h +251 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/gauge.h +464 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/histogram.cc +64 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/histogram.h +322 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metadata.cc +89 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metadata.h +69 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metadata_test.cc +62 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metric_hook.h +31 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metric_impl.cc +30 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metric_impl.h +367 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metrics.proto +70 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metrics_benchmark_test.cc +85 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/metrics_test.cc +356 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/prometheus.cc +284 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/prometheus.h +66 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/prometheus_test.cc +112 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/protobuf.cc +161 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/protobuf.h +40 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/protobuf_test.cc +333 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/registry.cc +88 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/registry.h +125 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/registry_test.cc +53 -0
- tensorstore-0.0.0/tensorstore/internal/metrics/value.h +225 -0
- tensorstore-0.0.0/tensorstore/internal/multi_barrier.cc +61 -0
- tensorstore-0.0.0/tensorstore/internal/multi_barrier.h +72 -0
- tensorstore-0.0.0/tensorstore/internal/multi_barrier_test.cc +73 -0
- tensorstore-0.0.0/tensorstore/internal/multi_vector.h +331 -0
- tensorstore-0.0.0/tensorstore/internal/multi_vector_impl.h +124 -0
- tensorstore-0.0.0/tensorstore/internal/multi_vector_test.cc +291 -0
- tensorstore-0.0.0/tensorstore/internal/multi_vector_view.h +199 -0
- tensorstore-0.0.0/tensorstore/internal/multi_vector_view_test.cc +146 -0
- tensorstore-0.0.0/tensorstore/internal/mutex.h +145 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable.cc +45 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable.h +394 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_array.cc +276 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_array.h +41 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_array_test.cc +498 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_array_util.h +96 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_buffer_management.h +499 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_copy.cc +247 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_copy.h +226 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_copy_benchmark_test.cc +236 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_copy_test.cc +219 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_data_type_conversion.cc +144 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_data_type_conversion.h +53 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_data_type_conversion_test.cc +122 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_input_transform.cc +128 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_input_transform.h +56 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_input_transform_test.cc +136 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_output_transform.cc +107 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_output_transform.h +54 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_elementwise_output_transform_test.cc +100 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_transformed_array.cc +493 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_transformed_array.h +68 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_transformed_array_test.cc +745 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_util.cc +248 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_util.h +532 -0
- tensorstore-0.0.0/tensorstore/internal/nditerable_util_test.cc +301 -0
- tensorstore-0.0.0/tensorstore/internal/non_compile_bypass.h +23 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/BUILD +241 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/auth_provider.cc +31 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/auth_provider.h +45 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/bearer_token.h +34 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/fake_private_key.cc +60 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/fake_private_key.h +29 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/fixed_token_auth_provider.cc +32 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/fixed_token_auth_provider.h +45 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/fixed_token_auth_provider_test.cc +35 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/gce_auth_provider.cc +154 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/gce_auth_provider.h +79 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/gce_auth_provider_test.cc +135 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_provider.cc +252 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_provider.h +63 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_provider_test.cc +301 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_test_utils.cc +37 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_auth_test_utils.h +38 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_service_account_auth_provider.cc +96 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_service_account_auth_provider.h +64 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/google_service_account_auth_provider_test.cc +156 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/oauth2_auth_provider.cc +90 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/oauth2_auth_provider.h +60 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/oauth2_auth_provider_test.cc +140 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/oauth_utils.cc +285 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/oauth_utils.h +113 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/oauth_utils_test.cc +369 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/refreshable_auth_provider.cc +47 -0
- tensorstore-0.0.0/tensorstore/internal/oauth2/refreshable_auth_provider.h +80 -0
- tensorstore-0.0.0/tensorstore/internal/open_mode_spec.cc +152 -0
- tensorstore-0.0.0/tensorstore/internal/open_mode_spec.h +67 -0
- tensorstore-0.0.0/tensorstore/internal/os/BUILD +280 -0
- tensorstore-0.0.0/tensorstore/internal/os/cwd.cc +131 -0
- tensorstore-0.0.0/tensorstore/internal/os/cwd.h +35 -0
- tensorstore-0.0.0/tensorstore/internal/os/error_code.h +62 -0
- tensorstore-0.0.0/tensorstore/internal/os/error_code_posix.cc +287 -0
- tensorstore-0.0.0/tensorstore/internal/os/error_code_win.cc +153 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_lister.h +71 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_lister_posix.cc +237 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_lister_test.cc +235 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_lister_win.cc +270 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_lock.cc +175 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_lock.h +103 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_lock_test.cc +107 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_util.h +357 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_util_posix.cc +504 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_util_test.cc +199 -0
- tensorstore-0.0.0/tensorstore/internal/os/file_util_win.cc +630 -0
- tensorstore-0.0.0/tensorstore/internal/os/filesystem.cc +117 -0
- tensorstore-0.0.0/tensorstore/internal/os/filesystem.h +47 -0
- tensorstore-0.0.0/tensorstore/internal/os/get_bios_info.h +31 -0
- tensorstore-0.0.0/tensorstore/internal/os/get_bios_info_linux.cc +74 -0
- tensorstore-0.0.0/tensorstore/internal/os/get_bios_info_win.cc +75 -0
- tensorstore-0.0.0/tensorstore/internal/os/include_windows.h +60 -0
- tensorstore-0.0.0/tensorstore/internal/os/potentially_blocking_region.h +30 -0
- tensorstore-0.0.0/tensorstore/internal/os/subprocess.h +95 -0
- tensorstore-0.0.0/tensorstore/internal/os/subprocess_posix.cc +303 -0
- tensorstore-0.0.0/tensorstore/internal/os/subprocess_test.cc +182 -0
- tensorstore-0.0.0/tensorstore/internal/os/subprocess_win.cc +391 -0
- tensorstore-0.0.0/tensorstore/internal/os/unique_handle.h +68 -0
- tensorstore-0.0.0/tensorstore/internal/os/wstring.cc +95 -0
- tensorstore-0.0.0/tensorstore/internal/os/wstring.h +39 -0
- tensorstore-0.0.0/tensorstore/internal/parse_json_matches.cc +63 -0
- tensorstore-0.0.0/tensorstore/internal/parse_json_matches.h +43 -0
- tensorstore-0.0.0/tensorstore/internal/parse_json_matches_test.cc +60 -0
- tensorstore-0.0.0/tensorstore/internal/path.cc +179 -0
- tensorstore-0.0.0/tensorstore/internal/path.h +79 -0
- tensorstore-0.0.0/tensorstore/internal/path_test.cc +170 -0
- tensorstore-0.0.0/tensorstore/internal/poly/BUILD +44 -0
- tensorstore-0.0.0/tensorstore/internal/poly/poly.h +391 -0
- tensorstore-0.0.0/tensorstore/internal/poly/poly_impl.h +320 -0
- tensorstore-0.0.0/tensorstore/internal/poly/poly_test.cc +564 -0
- tensorstore-0.0.0/tensorstore/internal/poly/storage.cc +23 -0
- tensorstore-0.0.0/tensorstore/internal/poly/storage.h +342 -0
- tensorstore-0.0.0/tensorstore/internal/poly/storage_test.cc +163 -0
- tensorstore-0.0.0/tensorstore/internal/preprocessor/BUILD +40 -0
- tensorstore-0.0.0/tensorstore/internal/preprocessor/cat.h +27 -0
- tensorstore-0.0.0/tensorstore/internal/preprocessor/cat_test.cc +33 -0
- tensorstore-0.0.0/tensorstore/internal/preprocessor/defer.h +23 -0
- tensorstore-0.0.0/tensorstore/internal/preprocessor/expand.h +23 -0
- tensorstore-0.0.0/tensorstore/internal/preprocessor/stringify.h +21 -0
- tensorstore-0.0.0/tensorstore/internal/preprocessor/stringify_test.cc +31 -0
- tensorstore-0.0.0/tensorstore/internal/queue_testutil.h +90 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/BUILD +86 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/admission_queue.cc +83 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/admission_queue.h +70 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/admission_queue_test.cc +80 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/rate_limiter.cc +47 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/rate_limiter.h +74 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/rate_limiter_test.cc +77 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/scaling_rate_limiter.cc +112 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/scaling_rate_limiter.h +89 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/scaling_rate_limiter_test.cc +144 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/token_bucket_rate_limiter.cc +172 -0
- tensorstore-0.0.0/tensorstore/internal/rate_limiter/token_bucket_rate_limiter.h +88 -0
- tensorstore-0.0.0/tensorstore/internal/ref_counted_string.cc +61 -0
- tensorstore-0.0.0/tensorstore/internal/ref_counted_string.h +274 -0
- tensorstore-0.0.0/tensorstore/internal/ref_counted_string_test.cc +271 -0
- tensorstore-0.0.0/tensorstore/internal/regular_grid.h +70 -0
- tensorstore-0.0.0/tensorstore/internal/regular_grid_test.cc +61 -0
- tensorstore-0.0.0/tensorstore/internal/retries_context_resource.h +96 -0
- tensorstore-0.0.0/tensorstore/internal/retry.cc +46 -0
- tensorstore-0.0.0/tensorstore/internal/retry.h +40 -0
- tensorstore-0.0.0/tensorstore/internal/retry_test.cc +52 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/BUILD +181 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/array_endian_codec.cc +250 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/array_endian_codec.h +65 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/array_endian_codec_test.cc +327 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/delimited.cc +45 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/delimited.h +110 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/digest_suffixed_reader.h +159 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/digest_suffixed_test.cc +258 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/digest_suffixed_writer.h +57 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/find.cc +100 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/find.h +47 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/find_test.cc +95 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/json_input.cc +71 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/json_input.h +45 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/json_io_test.cc +46 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/json_output.cc +66 -0
- tensorstore-0.0.0/tensorstore/internal/riegeli/json_output.h +42 -0
- tensorstore-0.0.0/tensorstore/internal/source_location.h +91 -0
- tensorstore-0.0.0/tensorstore/internal/source_location_test.cc +39 -0
- tensorstore-0.0.0/tensorstore/internal/storage_statistics.cc +77 -0
- tensorstore-0.0.0/tensorstore/internal/storage_statistics.h +90 -0
- tensorstore-0.0.0/tensorstore/internal/string_like.h +87 -0
- tensorstore-0.0.0/tensorstore/internal/string_like_test.cc +59 -0
- tensorstore-0.0.0/tensorstore/internal/tagged_ptr.h +224 -0
- tensorstore-0.0.0/tensorstore/internal/tagged_ptr_test.cc +211 -0
- tensorstore-0.0.0/tensorstore/internal/testing/BUILD +74 -0
- tensorstore-0.0.0/tensorstore/internal/testing/concurrent.cc +49 -0
- tensorstore-0.0.0/tensorstore/internal/testing/concurrent.h +172 -0
- tensorstore-0.0.0/tensorstore/internal/testing/concurrent_test.cc +95 -0
- tensorstore-0.0.0/tensorstore/internal/testing/dynamic.cc +54 -0
- tensorstore-0.0.0/tensorstore/internal/testing/dynamic.h +35 -0
- tensorstore-0.0.0/tensorstore/internal/testing/random_seed.cc +42 -0
- tensorstore-0.0.0/tensorstore/internal/testing/random_seed.h +28 -0
- tensorstore-0.0.0/tensorstore/internal/testing/scoped_directory.cc +70 -0
- tensorstore-0.0.0/tensorstore/internal/testing/scoped_directory.h +55 -0
- tensorstore-0.0.0/tensorstore/internal/thread/BUILD +207 -0
- tensorstore-0.0.0/tensorstore/internal/thread/pool_impl.cc +249 -0
- tensorstore-0.0.0/tensorstore/internal/thread/pool_impl.h +93 -0
- tensorstore-0.0.0/tensorstore/internal/thread/pool_impl_test.cc +135 -0
- tensorstore-0.0.0/tensorstore/internal/thread/schedule_at.cc +314 -0
- tensorstore-0.0.0/tensorstore/internal/thread/schedule_at.h +35 -0
- tensorstore-0.0.0/tensorstore/internal/thread/schedule_at_test.cc +116 -0
- tensorstore-0.0.0/tensorstore/internal/thread/task.h +53 -0
- tensorstore-0.0.0/tensorstore/internal/thread/task_group_impl.cc +342 -0
- tensorstore-0.0.0/tensorstore/internal/thread/task_group_impl.h +103 -0
- tensorstore-0.0.0/tensorstore/internal/thread/task_provider.h +40 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread.cc +40 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread.h +105 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread_pool.cc +76 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread_pool.h +36 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_benchmark.cc +25 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_benchmark.inc +224 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_test.cc +26 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread_pool_test.inc +163 -0
- tensorstore-0.0.0/tensorstore/internal/thread/thread_test.cc +38 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/BUILD +47 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/logged_trace_span.cc +68 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/logged_trace_span.h +134 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/span_attribute.h +64 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/trace_context.h +41 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/trace_span.cc +15 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/trace_span.h +57 -0
- tensorstore-0.0.0/tensorstore/internal/tracing/trace_test.cc +86 -0
- tensorstore-0.0.0/tensorstore/internal/type_traits.h +412 -0
- tensorstore-0.0.0/tensorstore/internal/type_traits_test.cc +159 -0
- tensorstore-0.0.0/tensorstore/internal/unaligned_data_type_functions.cc +116 -0
- tensorstore-0.0.0/tensorstore/internal/unaligned_data_type_functions.h +115 -0
- tensorstore-0.0.0/tensorstore/internal/unique_with_intrusive_allocator.h +159 -0
- tensorstore-0.0.0/tensorstore/internal/unique_with_intrusive_allocator_test.cc +80 -0
- tensorstore-0.0.0/tensorstore/internal/unowned_to_shared.h +39 -0
- tensorstore-0.0.0/tensorstore/internal/uri_utils.cc +129 -0
- tensorstore-0.0.0/tensorstore/internal/uri_utils.h +127 -0
- tensorstore-0.0.0/tensorstore/internal/uri_utils_test.cc +208 -0
- tensorstore-0.0.0/tensorstore/internal/utf8.cc +105 -0
- tensorstore-0.0.0/tensorstore/internal/utf8.h +37 -0
- tensorstore-0.0.0/tensorstore/internal/utf8_test.cc +96 -0
- tensorstore-0.0.0/tensorstore/internal/void_wrapper.h +87 -0
- tensorstore-0.0.0/tensorstore/internal/void_wrapper_test.cc +112 -0
- tensorstore-0.0.0/tensorstore/json_serialization_options.h +131 -0
- tensorstore-0.0.0/tensorstore/json_serialization_options_base.h +45 -0
- tensorstore-0.0.0/tensorstore/kvstore/BUILD +419 -0
- tensorstore-0.0.0/tensorstore/kvstore/batch_util.h +398 -0
- tensorstore-0.0.0/tensorstore/kvstore/byte_range.cc +71 -0
- tensorstore-0.0.0/tensorstore/kvstore/byte_range.h +209 -0
- tensorstore-0.0.0/tensorstore/kvstore/byte_range_test.cc +186 -0
- tensorstore-0.0.0/tensorstore/kvstore/common_metrics.h +147 -0
- tensorstore-0.0.0/tensorstore/kvstore/copy.cc +134 -0
- tensorstore-0.0.0/tensorstore/kvstore/driver.h +397 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/BUILD +131 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/file_key_value_store.cc +949 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/file_key_value_store_test.cc +538 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/file_resource.cc +35 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/file_resource.h +139 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/index.rst +48 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/schema.yml +149 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/util.cc +63 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/util.h +36 -0
- tensorstore-0.0.0/tensorstore/kvstore/file/util_test.cc +62 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/BUILD +93 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_resource.cc +36 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_resource.h +68 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_testbench.cc +177 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/gcs_testbench.h +51 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/index.rst +82 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/schema.yml +152 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/validate.cc +164 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/validate.h +55 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs/validate_test.cc +79 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/BUILD +206 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/gcs_grpc.cc +1017 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/gcs_grpc_test.cc +659 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/gcs_grpc_testbench_test.cc +172 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/get_credentials.cc +45 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/get_credentials.h +37 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/mock_storage_service.h +83 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/state.cc +235 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/state.h +111 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/storage_stub_pool.cc +304 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/storage_stub_pool.h +74 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/use_directpath.cc +71 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_grpc/use_directpath.h +27 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/BUILD +199 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_key_value_store.cc +1306 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_key_value_store_test.cc +846 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_mock.cc +527 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_mock.h +136 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_resource.cc +153 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_resource.h +143 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/gcs_testbench_test.cc +154 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/object_metadata.cc +122 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/object_metadata.h +79 -0
- tensorstore-0.0.0/tensorstore/kvstore/gcs_http/object_metadata_test.cc +162 -0
- tensorstore-0.0.0/tensorstore/kvstore/generation.cc +164 -0
- tensorstore-0.0.0/tensorstore/kvstore/generation.h +416 -0
- tensorstore-0.0.0/tensorstore/kvstore/generation_test.cc +95 -0
- tensorstore-0.0.0/tensorstore/kvstore/generic_coalescing_batch_util.h +145 -0
- tensorstore-0.0.0/tensorstore/kvstore/http/BUILD +98 -0
- tensorstore-0.0.0/tensorstore/kvstore/http/byte_range_util.cc +78 -0
- tensorstore-0.0.0/tensorstore/kvstore/http/byte_range_util.h +40 -0
- tensorstore-0.0.0/tensorstore/kvstore/http/driver.cc +477 -0
- tensorstore-0.0.0/tensorstore/kvstore/http/driver_test.cc +539 -0
- tensorstore-0.0.0/tensorstore/kvstore/http/index.rst +51 -0
- tensorstore-0.0.0/tensorstore/kvstore/http/schema.yml +155 -0
- tensorstore-0.0.0/tensorstore/kvstore/index.rst +24 -0
- tensorstore-0.0.0/tensorstore/kvstore/key_range.cc +239 -0
- tensorstore-0.0.0/tensorstore/kvstore/key_range.h +199 -0
- tensorstore-0.0.0/tensorstore/kvstore/key_range_test.cc +261 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstack/BUILD +99 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstack/index.rst +14 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstack/key_range_map.h +144 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstack/key_range_map_test.cc +176 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstack/kvstack_key_value_store.cc +534 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstack/kvstack_test.cc +336 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstack/schema.yml +55 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstore.cc +458 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstore.h +298 -0
- tensorstore-0.0.0/tensorstore/kvstore/kvstore_test.cc +39 -0
- tensorstore-0.0.0/tensorstore/kvstore/live_kvstore_test.cc +130 -0
- tensorstore-0.0.0/tensorstore/kvstore/memory/BUILD +70 -0
- tensorstore-0.0.0/tensorstore/kvstore/memory/index.rst +15 -0
- tensorstore-0.0.0/tensorstore/kvstore/memory/memory_key_value_store.cc +543 -0
- tensorstore-0.0.0/tensorstore/kvstore/memory/memory_key_value_store.h +35 -0
- tensorstore-0.0.0/tensorstore/kvstore/memory/memory_key_value_store_test.cc +318 -0
- tensorstore-0.0.0/tensorstore/kvstore/memory/schema.yml +55 -0
- tensorstore-0.0.0/tensorstore/kvstore/mock_kvstore.cc +361 -0
- tensorstore-0.0.0/tensorstore/kvstore/mock_kvstore.h +168 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/BUILD +237 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/index.rst +67 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.cc +94 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.h +36 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3_test.cc +76 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.cc +1676 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.h +114 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded_test.cc +1902 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/schema.yml +113 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.cc +219 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.h +223 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.cc +222 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.h +89 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder_test.cc +97 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.cc +182 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.h +180 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder_test.cc +187 -0
- tensorstore-0.0.0/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_test.cc +359 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/BUILD +312 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/btree_writer.h +62 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/config.cc +258 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/config.h +130 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/debug_defines.h +27 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/BUILD +342 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_identifier.cc +55 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_identifier.h +74 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_write_mutation.cc +267 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_node_write_mutation.h +105 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_writer.cc +796 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/btree_writer.h +45 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator.h +107 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator.proto +65 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_commit_mutations.cc +877 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_get_manifest.cc +232 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_impl.cc +131 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_impl.h +176 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_server_test.cc +104 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_start.cc +83 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/cooperator_submit_mutation_batch.cc +378 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator.proto +62 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator_server.cc +247 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator_server.h +122 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/coordinator_server_test.cc +92 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/driver_test.cc +249 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/lease_cache_for_cooperator.cc +264 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/lease_cache_for_cooperator.h +113 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/rpc_security.cc +112 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/rpc_security.h +64 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/distributed/rpc_security_registry.h +45 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/driver.cc +448 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/driver.h +189 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/driver_test.cc +935 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/dump_main.cc +125 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/dump_util.cc +118 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/dump_util.h +52 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/flush_promise_test.cc +525 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/BUILD +167 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree.cc +433 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree.h +364 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_codec.h +263 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_node_encoder.cc +408 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_node_encoder.h +117 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/btree_test.cc +321 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/codec_util.cc +271 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/codec_util.h +164 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config.cc +89 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config.h +114 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config_codec.cc +108 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/config_codec.h +68 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id.cc +65 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id.h +89 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id_codec.cc +299 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id_codec.h +95 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/data_file_id_codec_test.cc +238 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/dump.cc +277 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/dump.h +68 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/dump_test.cc +327 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/indirect_data_reference.cc +125 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/indirect_data_reference.h +107 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/indirect_data_reference_codec.h +96 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/manifest.cc +278 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/manifest.h +141 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/manifest_test.cc +306 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/version_tree.cc +658 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/version_tree.h +394 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/format/version_tree_codec.h +207 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/index.rst +1091 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/BUILD +216 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/coalesce_kvstore.cc +460 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/coalesce_kvstore.h +38 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/coalesce_kvstore_test.cc +267 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_kvstore_driver.cc +94 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_kvstore_driver.h +37 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_writer.cc +205 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_writer.h +63 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/indirect_data_writer_test.cc +155 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/io_handle_impl.cc +499 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/io_handle_impl.h +63 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/manifest_cache.cc +843 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/manifest_cache.h +173 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/node_cache.cc +27 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io/node_cache.h +180 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io_handle.cc +125 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/io_handle.h +156 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/BUILD +276 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer.cc +408 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer.h +29 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer_commit_operation.cc +345 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/btree_writer_commit_operation.h +1034 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/create_new_manifest.cc +386 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/create_new_manifest.h +56 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list.cc +301 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list.h +46 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list_versions.cc +273 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/list_versions.h +49 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read.cc +297 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read.h +33 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read_version.cc +245 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/read_version.h +36 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/staged_mutations.cc +275 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/staged_mutations.h +159 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/storage_generation.cc +103 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/storage_generation.h +59 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/transactional_btree_writer.cc +436 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/transactional_btree_writer.h +51 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/write_nodes.cc +93 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/non_distributed/write_nodes.h +42 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/read_version_test.cc +270 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/schema.yml +181 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/test_util.cc +84 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/test_util.h +38 -0
- tensorstore-0.0.0/tensorstore/kvstore/ocdbt/zarr_test.cc +65 -0
- tensorstore-0.0.0/tensorstore/kvstore/operations.cc +234 -0
- tensorstore-0.0.0/tensorstore/kvstore/operations.h +369 -0
- tensorstore-0.0.0/tensorstore/kvstore/read_modify_write.h +198 -0
- tensorstore-0.0.0/tensorstore/kvstore/read_result.cc +50 -0
- tensorstore-0.0.0/tensorstore/kvstore/read_result.h +150 -0
- tensorstore-0.0.0/tensorstore/kvstore/registry.h +261 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/BUILD +378 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/aws_api_test.cc +22 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/aws_credentials_resource.cc +117 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/aws_credentials_resource.h +94 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/aws_credentials_resource_test.cc +119 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/BUILD +178 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/aws_credentials.h +63 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/default_credential_provider.cc +178 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/default_credential_provider.h +88 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/default_credential_provider_test.cc +198 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/ec2_credential_provider.cc +246 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/ec2_credential_provider.h +49 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/ec2_credential_provider_test.cc +179 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/environment_credential_provider.cc +62 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/environment_credential_provider.h +34 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/environment_credential_provider_test.cc +64 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/file_credential_provider.cc +150 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/file_credential_provider.h +53 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/file_credential_provider_test.cc +151 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/test_utils.cc +66 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/credentials/test_utils.h +40 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/index.rst +89 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/localstack_test.cc +369 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/moto_server.py +19 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_endpoint.cc +255 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_endpoint.h +85 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_endpoint_test.cc +130 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_key_value_store.cc +1308 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_key_value_store_test.cc +485 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_metadata.cc +293 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_metadata.h +70 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_metadata_test.cc +165 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_request_builder.cc +252 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_request_builder.h +141 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_request_builder_test.cc +357 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_resource.cc +151 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_resource.h +150 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/s3_uri_utils.h +56 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/schema.yml +184 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/validate.cc +89 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/validate.h +52 -0
- tensorstore-0.0.0/tensorstore/kvstore/s3/validate_test.cc +117 -0
- tensorstore-0.0.0/tensorstore/kvstore/schema.yml +38 -0
- tensorstore-0.0.0/tensorstore/kvstore/spec.cc +249 -0
- tensorstore-0.0.0/tensorstore/kvstore/spec.h +353 -0
- tensorstore-0.0.0/tensorstore/kvstore/supported_features.h +52 -0
- tensorstore-0.0.0/tensorstore/kvstore/test_matchers.h +146 -0
- tensorstore-0.0.0/tensorstore/kvstore/test_util.cc +1496 -0
- tensorstore-0.0.0/tensorstore/kvstore/test_util.h +177 -0
- tensorstore-0.0.0/tensorstore/kvstore/transaction.cc +1722 -0
- tensorstore-0.0.0/tensorstore/kvstore/transaction.h +774 -0
- tensorstore-0.0.0/tensorstore/kvstore/transaction_test.cc +228 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/BUILD +256 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/common.cc +46 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/common.h +58 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/common.proto +54 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/handler_template.h +109 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/index.rst +19 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore.proto +164 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server.cc +565 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server.h +97 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server_main.cc +77 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/kvstore_server_test.cc +220 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/mock_kvstore_service.h +50 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/schema.yml +29 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/tsgrpc.cc +494 -0
- tensorstore-0.0.0/tensorstore/kvstore/tsgrpc/tsgrpc_test.cc +370 -0
- tensorstore-0.0.0/tensorstore/kvstore/url_registry.cc +94 -0
- tensorstore-0.0.0/tensorstore/kvstore/url_registry.h +41 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/BUILD +209 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/index.rst +39 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/key.cc +206 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/key.h +108 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/key_test.cc +156 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/schema.yml +53 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/shard_format.cc +288 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/shard_format.h +190 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/shard_format_test.cc +154 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.cc +1381 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.h +81 -0
- tensorstore-0.0.0/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed_test.cc +1479 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/BUILD +153 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/index.rst +24 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/schema.yml +30 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/zip_dir_cache.cc +290 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/zip_dir_cache.h +120 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/zip_dir_cache_test.cc +198 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/zip_key_value_store.cc +411 -0
- tensorstore-0.0.0/tensorstore/kvstore/zip/zip_key_value_store_test.cc +206 -0
- tensorstore-0.0.0/tensorstore/make_array.inc +508 -0
- tensorstore-0.0.0/tensorstore/open.h +143 -0
- tensorstore-0.0.0/tensorstore/open_mode.cc +95 -0
- tensorstore-0.0.0/tensorstore/open_mode.h +234 -0
- tensorstore-0.0.0/tensorstore/open_mode_test.cc +88 -0
- tensorstore-0.0.0/tensorstore/open_options.h +225 -0
- tensorstore-0.0.0/tensorstore/progress.cc +63 -0
- tensorstore-0.0.0/tensorstore/progress.h +209 -0
- tensorstore-0.0.0/tensorstore/progress_test.cc +90 -0
- tensorstore-0.0.0/tensorstore/proto/BUILD +289 -0
- tensorstore-0.0.0/tensorstore/proto/array.cc +314 -0
- tensorstore-0.0.0/tensorstore/proto/array.h +52 -0
- tensorstore-0.0.0/tensorstore/proto/array.proto +35 -0
- tensorstore-0.0.0/tensorstore/proto/array_test.cc +268 -0
- tensorstore-0.0.0/tensorstore/proto/encode_time.cc +101 -0
- tensorstore-0.0.0/tensorstore/proto/encode_time.h +42 -0
- tensorstore-0.0.0/tensorstore/proto/encode_time_test.cc +74 -0
- tensorstore-0.0.0/tensorstore/proto/index_transform.cc +296 -0
- tensorstore-0.0.0/tensorstore/proto/index_transform.h +60 -0
- tensorstore-0.0.0/tensorstore/proto/index_transform.proto +92 -0
- tensorstore-0.0.0/tensorstore/proto/index_transform_test.cc +591 -0
- tensorstore-0.0.0/tensorstore/proto/parse_text_proto_or_die.h +67 -0
- tensorstore-0.0.0/tensorstore/proto/proto_binder.cc +99 -0
- tensorstore-0.0.0/tensorstore/proto/proto_binder.h +85 -0
- tensorstore-0.0.0/tensorstore/proto/proto_binder_test.cc +88 -0
- tensorstore-0.0.0/tensorstore/proto/proto_util.cc +118 -0
- tensorstore-0.0.0/tensorstore/proto/proto_util.h +40 -0
- tensorstore-0.0.0/tensorstore/proto/proto_util_test.cc +63 -0
- tensorstore-0.0.0/tensorstore/proto/protobuf_matchers.cc +407 -0
- tensorstore-0.0.0/tensorstore/proto/protobuf_matchers.h +1125 -0
- tensorstore-0.0.0/tensorstore/proto/schema.cc +283 -0
- tensorstore-0.0.0/tensorstore/proto/schema.h +39 -0
- tensorstore-0.0.0/tensorstore/proto/schema.proto +68 -0
- tensorstore-0.0.0/tensorstore/proto/schema_test.cc +172 -0
- tensorstore-0.0.0/tensorstore/rank.cc +34 -0
- tensorstore-0.0.0/tensorstore/rank.h +421 -0
- tensorstore-0.0.0/tensorstore/rank_test.cc +140 -0
- tensorstore-0.0.0/tensorstore/read_write_options.h +248 -0
- tensorstore-0.0.0/tensorstore/resize_options.cc +58 -0
- tensorstore-0.0.0/tensorstore/resize_options.h +195 -0
- tensorstore-0.0.0/tensorstore/resize_options_test.cc +55 -0
- tensorstore-0.0.0/tensorstore/schema.cc +613 -0
- tensorstore-0.0.0/tensorstore/schema.h +371 -0
- tensorstore-0.0.0/tensorstore/schema_test.cc +820 -0
- tensorstore-0.0.0/tensorstore/serialization/BUILD +276 -0
- tensorstore-0.0.0/tensorstore/serialization/absl_time.cc +73 -0
- tensorstore-0.0.0/tensorstore/serialization/absl_time.h +25 -0
- tensorstore-0.0.0/tensorstore/serialization/absl_time_test.cc +50 -0
- tensorstore-0.0.0/tensorstore/serialization/batch.cc +75 -0
- tensorstore-0.0.0/tensorstore/serialization/batch.h +150 -0
- tensorstore-0.0.0/tensorstore/serialization/function.cc +80 -0
- tensorstore-0.0.0/tensorstore/serialization/function.h +447 -0
- tensorstore-0.0.0/tensorstore/serialization/function_test.cc +89 -0
- tensorstore-0.0.0/tensorstore/serialization/fwd.h +86 -0
- tensorstore-0.0.0/tensorstore/serialization/json.cc +37 -0
- tensorstore-0.0.0/tensorstore/serialization/json.h +24 -0
- tensorstore-0.0.0/tensorstore/serialization/json_bindable.h +50 -0
- tensorstore-0.0.0/tensorstore/serialization/json_test.cc +44 -0
- tensorstore-0.0.0/tensorstore/serialization/protobuf.cc +49 -0
- tensorstore-0.0.0/tensorstore/serialization/protobuf.h +42 -0
- tensorstore-0.0.0/tensorstore/serialization/registry.cc +62 -0
- tensorstore-0.0.0/tensorstore/serialization/registry.h +167 -0
- tensorstore-0.0.0/tensorstore/serialization/registry_test.cc +78 -0
- tensorstore-0.0.0/tensorstore/serialization/result.h +50 -0
- tensorstore-0.0.0/tensorstore/serialization/result_test.cc +37 -0
- tensorstore-0.0.0/tensorstore/serialization/serialization.cc +63 -0
- tensorstore-0.0.0/tensorstore/serialization/serialization.h +840 -0
- tensorstore-0.0.0/tensorstore/serialization/serialization_test.cc +166 -0
- tensorstore-0.0.0/tensorstore/serialization/span.h +69 -0
- tensorstore-0.0.0/tensorstore/serialization/span_test.cc +51 -0
- tensorstore-0.0.0/tensorstore/serialization/status.cc +85 -0
- tensorstore-0.0.0/tensorstore/serialization/status.h +36 -0
- tensorstore-0.0.0/tensorstore/serialization/status_test.cc +41 -0
- tensorstore-0.0.0/tensorstore/serialization/std_array.h +25 -0
- tensorstore-0.0.0/tensorstore/serialization/std_complex.h +25 -0
- tensorstore-0.0.0/tensorstore/serialization/std_map.h +39 -0
- tensorstore-0.0.0/tensorstore/serialization/std_optional.h +32 -0
- tensorstore-0.0.0/tensorstore/serialization/std_pair.h +25 -0
- tensorstore-0.0.0/tensorstore/serialization/std_set.h +36 -0
- tensorstore-0.0.0/tensorstore/serialization/std_tuple.h +25 -0
- tensorstore-0.0.0/tensorstore/serialization/std_variant.h +63 -0
- tensorstore-0.0.0/tensorstore/serialization/std_vector.h +32 -0
- tensorstore-0.0.0/tensorstore/serialization/test_util.h +72 -0
- tensorstore-0.0.0/tensorstore/spec.cc +192 -0
- tensorstore-0.0.0/tensorstore/spec.h +246 -0
- tensorstore-0.0.0/tensorstore/spec_impl.h +41 -0
- tensorstore-0.0.0/tensorstore/spec_test.cc +405 -0
- tensorstore-0.0.0/tensorstore/stack.h +138 -0
- tensorstore-0.0.0/tensorstore/staleness_bound.h +243 -0
- tensorstore-0.0.0/tensorstore/static_cast.cc +29 -0
- tensorstore-0.0.0/tensorstore/static_cast.h +289 -0
- tensorstore-0.0.0/tensorstore/static_cast_test.cc +214 -0
- tensorstore-0.0.0/tensorstore/strided_layout.cc +191 -0
- tensorstore-0.0.0/tensorstore/strided_layout.h +1091 -0
- tensorstore-0.0.0/tensorstore/strided_layout_test.cc +1190 -0
- tensorstore-0.0.0/tensorstore/tensorstore.cc +63 -0
- tensorstore-0.0.0/tensorstore/tensorstore.h +1045 -0
- tensorstore-0.0.0/tensorstore/tensorstore_impl.h +207 -0
- tensorstore-0.0.0/tensorstore/tensorstore_serialization_test.cc +151 -0
- tensorstore-0.0.0/tensorstore/transaction.cc +648 -0
- tensorstore-0.0.0/tensorstore/transaction.h +344 -0
- tensorstore-0.0.0/tensorstore/transaction_impl.h +961 -0
- tensorstore-0.0.0/tensorstore/transaction_test.cc +747 -0
- tensorstore-0.0.0/tensorstore/tscli/BUILD +90 -0
- tensorstore-0.0.0/tensorstore/tscli/args.cc +239 -0
- tensorstore-0.0.0/tensorstore/tscli/args.h +65 -0
- tensorstore-0.0.0/tensorstore/tscli/args_test.cc +37 -0
- tensorstore-0.0.0/tensorstore/tscli/cli.h +37 -0
- tensorstore-0.0.0/tensorstore/tscli/kvstore_copy.cc +145 -0
- tensorstore-0.0.0/tensorstore/tscli/kvstore_list.cc +222 -0
- tensorstore-0.0.0/tensorstore/tscli/main.cc +161 -0
- tensorstore-0.0.0/tensorstore/tscli/ts_print_spec.cc +101 -0
- tensorstore-0.0.0/tensorstore/tscli/ts_print_stats.cc +339 -0
- tensorstore-0.0.0/tensorstore/tscli/ts_search.cc +190 -0
- tensorstore-0.0.0/tensorstore/update_generated_source_code.py +81 -0
- tensorstore-0.0.0/tensorstore/util/BUILD +790 -0
- tensorstore-0.0.0/tensorstore/util/apply_members/BUILD +27 -0
- tensorstore-0.0.0/tensorstore/util/apply_members/apply_members.h +150 -0
- tensorstore-0.0.0/tensorstore/util/apply_members/apply_members_test.cc +94 -0
- tensorstore-0.0.0/tensorstore/util/apply_members/std_array.h +51 -0
- tensorstore-0.0.0/tensorstore/util/apply_members/std_complex.h +48 -0
- tensorstore-0.0.0/tensorstore/util/apply_members/std_pair.h +34 -0
- tensorstore-0.0.0/tensorstore/util/apply_members/std_tuple.h +36 -0
- tensorstore-0.0.0/tensorstore/util/bfloat16.h +904 -0
- tensorstore-0.0.0/tensorstore/util/bfloat16_test.cc +506 -0
- tensorstore-0.0.0/tensorstore/util/bit_span.h +224 -0
- tensorstore-0.0.0/tensorstore/util/bit_span_test.cc +183 -0
- tensorstore-0.0.0/tensorstore/util/bit_vec.h +226 -0
- tensorstore-0.0.0/tensorstore/util/bit_vec_impl.cc +55 -0
- tensorstore-0.0.0/tensorstore/util/bit_vec_impl.h +131 -0
- tensorstore-0.0.0/tensorstore/util/bit_vec_test.cc +416 -0
- tensorstore-0.0.0/tensorstore/util/byte_strided_pointer.h +217 -0
- tensorstore-0.0.0/tensorstore/util/byte_strided_pointer_test.cc +165 -0
- tensorstore-0.0.0/tensorstore/util/constant_bit_vector.h +52 -0
- tensorstore-0.0.0/tensorstore/util/constant_bit_vector_test.cc +57 -0
- tensorstore-0.0.0/tensorstore/util/constant_vector.cc +27 -0
- tensorstore-0.0.0/tensorstore/util/constant_vector.h +123 -0
- tensorstore-0.0.0/tensorstore/util/constant_vector_test.cc +77 -0
- tensorstore-0.0.0/tensorstore/util/dimension_set.h +30 -0
- tensorstore-0.0.0/tensorstore/util/division.h +172 -0
- tensorstore-0.0.0/tensorstore/util/division_test.cc +50 -0
- tensorstore-0.0.0/tensorstore/util/element_pointer.cc +31 -0
- tensorstore-0.0.0/tensorstore/util/element_pointer.h +557 -0
- tensorstore-0.0.0/tensorstore/util/element_pointer_test.cc +472 -0
- tensorstore-0.0.0/tensorstore/util/element_traits.h +125 -0
- tensorstore-0.0.0/tensorstore/util/element_traits_test.cc +64 -0
- tensorstore-0.0.0/tensorstore/util/endian.h +135 -0
- tensorstore-0.0.0/tensorstore/util/execution/BUILD +258 -0
- tensorstore-0.0.0/tensorstore/util/execution/any_receiver.h +112 -0
- tensorstore-0.0.0/tensorstore/util/execution/any_receiver_test.cc +159 -0
- tensorstore-0.0.0/tensorstore/util/execution/any_sender.h +86 -0
- tensorstore-0.0.0/tensorstore/util/execution/any_sender_test.cc +200 -0
- tensorstore-0.0.0/tensorstore/util/execution/collecting_sender.h +87 -0
- tensorstore-0.0.0/tensorstore/util/execution/collecting_sender_test.cc +92 -0
- tensorstore-0.0.0/tensorstore/util/execution/execution.h +124 -0
- tensorstore-0.0.0/tensorstore/util/execution/flow_sender_operation_state.h +84 -0
- tensorstore-0.0.0/tensorstore/util/execution/future_collecting_receiver.h +63 -0
- tensorstore-0.0.0/tensorstore/util/execution/future_collecting_receiver_test.cc +51 -0
- tensorstore-0.0.0/tensorstore/util/execution/future_sender.h +141 -0
- tensorstore-0.0.0/tensorstore/util/execution/future_sender_test.cc +193 -0
- tensorstore-0.0.0/tensorstore/util/execution/result_sender.h +117 -0
- tensorstore-0.0.0/tensorstore/util/execution/result_sender_test.cc +86 -0
- tensorstore-0.0.0/tensorstore/util/execution/sender.h +204 -0
- tensorstore-0.0.0/tensorstore/util/execution/sender_test.cc +147 -0
- tensorstore-0.0.0/tensorstore/util/execution/sender_testutil.h +117 -0
- tensorstore-0.0.0/tensorstore/util/execution/sender_util.h +94 -0
- tensorstore-0.0.0/tensorstore/util/execution/sender_util_test.cc +146 -0
- tensorstore-0.0.0/tensorstore/util/execution/sync_flow_sender.h +105 -0
- tensorstore-0.0.0/tensorstore/util/execution/sync_flow_sender_test.cc +90 -0
- tensorstore-0.0.0/tensorstore/util/executor.h +129 -0
- tensorstore-0.0.0/tensorstore/util/executor_test.cc +77 -0
- tensorstore-0.0.0/tensorstore/util/extents.h +178 -0
- tensorstore-0.0.0/tensorstore/util/extents_test.cc +121 -0
- tensorstore-0.0.0/tensorstore/util/float8.h +1348 -0
- tensorstore-0.0.0/tensorstore/util/float8_test.cc +755 -0
- tensorstore-0.0.0/tensorstore/util/future.cc +602 -0
- tensorstore-0.0.0/tensorstore/util/future.h +1463 -0
- tensorstore-0.0.0/tensorstore/util/future_impl.h +1613 -0
- tensorstore-0.0.0/tensorstore/util/future_test.cc +1898 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/BUILD +46 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/fwd.h +106 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/garbage_collection.h +252 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/json.h +23 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/protobuf.h +35 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/std_array.h +26 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/std_map.h +39 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/std_optional.h +34 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/std_pair.h +25 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/std_set.h +37 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/std_tuple.h +25 -0
- tensorstore-0.0.0/tensorstore/util/garbage_collection/std_vector.h +32 -0
- tensorstore-0.0.0/tensorstore/util/int4.h +398 -0
- tensorstore-0.0.0/tensorstore/util/int4_test.cc +207 -0
- tensorstore-0.0.0/tensorstore/util/internal/iterate.h +125 -0
- tensorstore-0.0.0/tensorstore/util/internal/iterate_impl.h +291 -0
- tensorstore-0.0.0/tensorstore/util/iterate.cc +213 -0
- tensorstore-0.0.0/tensorstore/util/iterate.h +285 -0
- tensorstore-0.0.0/tensorstore/util/iterate_over_index_range.h +209 -0
- tensorstore-0.0.0/tensorstore/util/iterate_over_index_range_test.cc +148 -0
- tensorstore-0.0.0/tensorstore/util/iterate_test.cc +593 -0
- tensorstore-0.0.0/tensorstore/util/json_absl_flag.h +86 -0
- tensorstore-0.0.0/tensorstore/util/json_absl_flag_test.cc +48 -0
- tensorstore-0.0.0/tensorstore/util/maybe_hard_constraint.h +113 -0
- tensorstore-0.0.0/tensorstore/util/option.h +65 -0
- tensorstore-0.0.0/tensorstore/util/quote_string.cc +31 -0
- tensorstore-0.0.0/tensorstore/util/quote_string.h +33 -0
- tensorstore-0.0.0/tensorstore/util/quote_string_test.cc +31 -0
- tensorstore-0.0.0/tensorstore/util/rational.h +618 -0
- tensorstore-0.0.0/tensorstore/util/rational_test.cc +386 -0
- tensorstore-0.0.0/tensorstore/util/result.h +924 -0
- tensorstore-0.0.0/tensorstore/util/result_impl.h +292 -0
- tensorstore-0.0.0/tensorstore/util/result_nc_test.cc +83 -0
- tensorstore-0.0.0/tensorstore/util/result_test.cc +1232 -0
- tensorstore-0.0.0/tensorstore/util/small_bit_set.h +645 -0
- tensorstore-0.0.0/tensorstore/util/small_bit_set_test.cc +316 -0
- tensorstore-0.0.0/tensorstore/util/span.h +545 -0
- tensorstore-0.0.0/tensorstore/util/span_json.h +34 -0
- tensorstore-0.0.0/tensorstore/util/span_json_test.cc +31 -0
- tensorstore-0.0.0/tensorstore/util/span_test.cc +654 -0
- tensorstore-0.0.0/tensorstore/util/status.cc +115 -0
- tensorstore-0.0.0/tensorstore/util/status.h +200 -0
- tensorstore-0.0.0/tensorstore/util/status_test.cc +134 -0
- tensorstore-0.0.0/tensorstore/util/status_testutil.cc +68 -0
- tensorstore-0.0.0/tensorstore/util/status_testutil.h +345 -0
- tensorstore-0.0.0/tensorstore/util/status_testutil_test.cc +180 -0
- tensorstore-0.0.0/tensorstore/util/stop_token.h +196 -0
- tensorstore-0.0.0/tensorstore/util/stop_token_impl.cc +157 -0
- tensorstore-0.0.0/tensorstore/util/stop_token_impl.h +99 -0
- tensorstore-0.0.0/tensorstore/util/stop_token_test.cc +224 -0
- tensorstore-0.0.0/tensorstore/util/str_cat.h +179 -0
- tensorstore-0.0.0/tensorstore/util/str_cat_test.cc +100 -0
- tensorstore-0.0.0/tensorstore/util/unit.cc +64 -0
- tensorstore-0.0.0/tensorstore/util/unit.h +133 -0
- tensorstore-0.0.0/tensorstore/util/unit_test.cc +120 -0
- tensorstore-0.0.0/tensorstore/util/utf8_string.cc +36 -0
- tensorstore-0.0.0/tensorstore/util/utf8_string.h +71 -0
- tensorstore-0.0.0/tensorstore/util/utf8_string_test.cc +42 -0
- tensorstore-0.0.0/tensorstore/virtual_chunked.h +679 -0
- tensorstore-0.0.0/third_party/BUILD +21 -0
- tensorstore-0.0.0/third_party/aws_c_auth/aws_c_auth.BUILD.bazel +23 -0
- tensorstore-0.0.0/third_party/aws_c_auth/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_cal/aws_c_cal.BUILD.bazel +66 -0
- tensorstore-0.0.0/third_party/aws_c_cal/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_common/aws_c_common.BUILD.bazel +249 -0
- tensorstore-0.0.0/third_party/aws_c_common/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_compression/aws_c_compression.BUILD.bazel +22 -0
- tensorstore-0.0.0/third_party/aws_c_compression/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_event_stream/aws_c_event_stream.BUILD.bazel +26 -0
- tensorstore-0.0.0/third_party/aws_c_event_stream/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_http/aws_c_http.BUILD.bazel +26 -0
- tensorstore-0.0.0/third_party/aws_c_http/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_io/aws_c_io.BUILD.bazel +105 -0
- tensorstore-0.0.0/third_party/aws_c_io/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_mqtt/aws_c_mqtt.BUILD.bazel +24 -0
- tensorstore-0.0.0/third_party/aws_c_mqtt/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_s3/aws_c_s3.BUILD.bazel +24 -0
- tensorstore-0.0.0/third_party/aws_c_s3/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_c_sdkutils/aws_c_sdkutils.BUILD.bazel +22 -0
- tensorstore-0.0.0/third_party/aws_c_sdkutils/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_checksums/aws_checksums.BUILD.bazel +69 -0
- tensorstore-0.0.0/third_party/aws_checksums/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/aws_crt_cpp/aws_crt_cpp.BUILD.bazel +46 -0
- tensorstore-0.0.0/third_party/aws_crt_cpp/workspace.bzl +36 -0
- tensorstore-0.0.0/third_party/aws_s2n_tls/aws_s2n_tls.BUILD.bazel +25 -0
- tensorstore-0.0.0/third_party/aws_s2n_tls/workspace.bzl +35 -0
- tensorstore-0.0.0/third_party/bazel_features/workspace.bzl +29 -0
- tensorstore-0.0.0/third_party/bazel_skylib/workspace.bzl +29 -0
- tensorstore-0.0.0/third_party/blake3/blake3.BUILD.bazel +58 -0
- tensorstore-0.0.0/third_party/blake3/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/blake3/workspace.bzl +37 -0
- tensorstore-0.0.0/third_party/build_bazel_apple_support/workspace.bzl +28 -0
- tensorstore-0.0.0/third_party/cel_spec/workspace.bzl +60 -0
- tensorstore-0.0.0/third_party/com_github_cares_cares/cares.BUILD.bazel +259 -0
- tensorstore-0.0.0/third_party/com_github_cares_cares/config/darwin.h +480 -0
- tensorstore-0.0.0/third_party/com_github_cares_cares/config/linux.h +487 -0
- tensorstore-0.0.0/third_party/com_github_cares_cares/config/windows.h +480 -0
- tensorstore-0.0.0/third_party/com_github_cares_cares/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/com_github_cares_cares/workspace.bzl +40 -0
- tensorstore-0.0.0/third_party/com_github_cncf_udpa/cmake_extra.BUILD.bazel +43 -0
- tensorstore-0.0.0/third_party/com_github_cncf_udpa/workspace.bzl +63 -0
- tensorstore-0.0.0/third_party/com_github_grpc_grpc/patches/update_build_system.diff +147 -0
- tensorstore-0.0.0/third_party/com_github_grpc_grpc/workspace.bzl +132 -0
- tensorstore-0.0.0/third_party/com_github_nlohmann_json/system.BUILD.bazel +4 -0
- tensorstore-0.0.0/third_party/com_github_nlohmann_json/workspace.bzl +37 -0
- tensorstore-0.0.0/third_party/com_github_pybind_pybind11/pybind11.BUILD.bazel +14 -0
- tensorstore-0.0.0/third_party/com_github_pybind_pybind11/system.BUILD.bazel +9 -0
- tensorstore-0.0.0/third_party/com_github_pybind_pybind11/workspace.bzl +37 -0
- tensorstore-0.0.0/third_party/com_google_absl/workspace.bzl +133 -0
- tensorstore-0.0.0/third_party/com_google_benchmark/patches/fix_mingw.diff +27 -0
- tensorstore-0.0.0/third_party/com_google_benchmark/workspace.bzl +37 -0
- tensorstore-0.0.0/third_party/com_google_boringssl/patches/no-Werror.diff +12 -0
- tensorstore-0.0.0/third_party/com_google_boringssl/system.BUILD.bazel +16 -0
- tensorstore-0.0.0/third_party/com_google_boringssl/workspace.bzl +55 -0
- tensorstore-0.0.0/third_party/com_google_brotli/patches/fix_ror.diff +34 -0
- tensorstore-0.0.0/third_party/com_google_brotli/system.BUILD.bazel +11 -0
- tensorstore-0.0.0/third_party/com_google_brotli/workspace.bzl +40 -0
- tensorstore-0.0.0/third_party/com_google_googleapis/workspace.bzl +43 -0
- tensorstore-0.0.0/third_party/com_google_googletest/workspace.bzl +45 -0
- tensorstore-0.0.0/third_party/com_google_libyuv/libyuv.BUILD.bazel +47 -0
- tensorstore-0.0.0/third_party/com_google_libyuv/workspace.bzl +38 -0
- tensorstore-0.0.0/third_party/com_google_protobuf/cmake_extra.BUILD.bazel +59 -0
- tensorstore-0.0.0/third_party/com_google_protobuf/patches/remove_rules_python_dependency.diff +42 -0
- tensorstore-0.0.0/third_party/com_google_protobuf/workspace.bzl +161 -0
- tensorstore-0.0.0/third_party/com_google_protobuf_utf8_range/workspace.bzl +37 -0
- tensorstore-0.0.0/third_party/com_google_re2/re2.BUILD.bazel +81 -0
- tensorstore-0.0.0/third_party/com_google_re2/workspace.bzl +40 -0
- tensorstore-0.0.0/third_party/com_google_riegeli/patches/absl-crc32c.diff +38 -0
- tensorstore-0.0.0/third_party/com_google_riegeli/workspace.bzl +54 -0
- tensorstore-0.0.0/third_party/com_google_snappy/snappy.BUILD.bazel +137 -0
- tensorstore-0.0.0/third_party/com_google_snappy/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/com_google_snappy/workspace.bzl +39 -0
- tensorstore-0.0.0/third_party/com_google_storagetestbench/storagetestbench.BUILD.bazel +48 -0
- tensorstore-0.0.0/third_party/com_google_storagetestbench/workspace.bzl +32 -0
- tensorstore-0.0.0/third_party/envoy_api/cmake_extra.BUILD.bazel +70 -0
- tensorstore-0.0.0/third_party/envoy_api/workspace.bzl +84 -0
- tensorstore-0.0.0/third_party/jpeg/jpeg.BUILD.bazel +594 -0
- tensorstore-0.0.0/third_party/jpeg/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/jpeg/workspace.bzl +44 -0
- tensorstore-0.0.0/third_party/libtiff/libtiff.BUILD.bazel +252 -0
- tensorstore-0.0.0/third_party/libtiff/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/libtiff/workspace.bzl +39 -0
- tensorstore-0.0.0/third_party/libwebp/libwebp.BUILD.bazel +116 -0
- tensorstore-0.0.0/third_party/libwebp/system.BUILD.bazel +9 -0
- tensorstore-0.0.0/third_party/libwebp/workspace.bzl +44 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/bazel/pgv_proto_library.bzl +20 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/go/def.bzl +8 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/imports.bzl +156 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/lpm.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/resource/v1/lpm.BUILD.bazel +29 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/resource/v1/resource.proto +32 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/trace/v1/lpm.BUILD.bazel +53 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/trace/v1/trace.proto +426 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/opencensus/proto/trace/v1/trace_config.proto +76 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/proto/compiler.bzl +4 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/proto/def.bzl +10 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/validate/lpm.BUILD.bazel +34 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/src/validate/validate.proto +863 -0
- tensorstore-0.0.0/third_party/local_proto_mirror/workspace.bzl +76 -0
- tensorstore-0.0.0/third_party/nasm/nasm.BUILD.bazel +309 -0
- tensorstore-0.0.0/third_party/nasm/system.BUILD.bazel +4 -0
- tensorstore-0.0.0/third_party/nasm/workspace.bzl +30 -0
- tensorstore-0.0.0/third_party/net_sourceforge_half/half.BUILD.bazel +10 -0
- tensorstore-0.0.0/third_party/net_sourceforge_half/patches/detail_raise.patch +157 -0
- tensorstore-0.0.0/third_party/net_sourceforge_half/workspace.bzl +41 -0
- tensorstore-0.0.0/third_party/net_zlib/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/net_zlib/workspace.bzl +46 -0
- tensorstore-0.0.0/third_party/net_zlib/zlib.BUILD.bazel +161 -0
- tensorstore-0.0.0/third_party/net_zstd/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/net_zstd/workspace.bzl +43 -0
- tensorstore-0.0.0/third_party/net_zstd/zstd.BUILD.bazel +72 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/aom_config.asm.template +90 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/aom_config.h.template +94 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/aom_version.h.template +19 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/arm64/aom_dsp_rtcd.h +5167 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/arm64/aom_scale_rtcd.h +105 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/arm64/av1_rtcd.h +751 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/ppc/aom_dsp_rtcd.h +8731 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/ppc/aom_scale_rtcd.h +149 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/ppc/av1_rtcd.h +1013 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64/aom_dsp_rtcd.h +6966 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64/aom_scale_rtcd.h +103 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64/av1_rtcd.h +1021 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64_avx2/aom_dsp_rtcd.h +7986 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64_avx2/aom_scale_rtcd.h +103 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/generated_configs/x86_64_avx2/av1_rtcd.h +1220 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/libaom.BUILD.bazel +604 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/patches/fix-3395.diff +26 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/post_update.py +111 -0
- tensorstore-0.0.0/third_party/org_aomedia_aom/workspace.bzl +48 -0
- tensorstore-0.0.0/third_party/org_aomedia_avif/libavif.BUILD.bazel +64 -0
- tensorstore-0.0.0/third_party/org_aomedia_avif/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/org_aomedia_avif/workspace.bzl +43 -0
- tensorstore-0.0.0/third_party/org_blosc_cblosc/cblosc.BUILD.bazel +194 -0
- tensorstore-0.0.0/third_party/org_blosc_cblosc/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/org_blosc_cblosc/workspace.bzl +36 -0
- tensorstore-0.0.0/third_party/org_lz4/lz4.BUILD.bazel +46 -0
- tensorstore-0.0.0/third_party/org_lz4/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/org_lz4/workspace.bzl +39 -0
- tensorstore-0.0.0/third_party/org_nghttp2/nghttp2.BUILD.bazel +215 -0
- tensorstore-0.0.0/third_party/org_nghttp2/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/org_nghttp2/workspace.bzl +40 -0
- tensorstore-0.0.0/third_party/org_sourceware_bzip2/bzip2.BUILD.bazel +21 -0
- tensorstore-0.0.0/third_party/org_sourceware_bzip2/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/org_sourceware_bzip2/workspace.bzl +38 -0
- tensorstore-0.0.0/third_party/org_tukaani_xz/system.BUILD.bazel +11 -0
- tensorstore-0.0.0/third_party/org_tukaani_xz/workspace.bzl +36 -0
- tensorstore-0.0.0/third_party/org_tukaani_xz/xz.BUILD.bazel +621 -0
- tensorstore-0.0.0/third_party/org_videolan_dav1d/dav1d.BUILD.bazel +398 -0
- tensorstore-0.0.0/third_party/org_videolan_dav1d/workspace.bzl +41 -0
- tensorstore-0.0.0/third_party/platforms/workspace.bzl +28 -0
- tensorstore-0.0.0/third_party/png/png.BUILD.bazel +101 -0
- tensorstore-0.0.0/third_party/png/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/png/workspace.bzl +42 -0
- tensorstore-0.0.0/third_party/pypa/README.md +12 -0
- tensorstore-0.0.0/third_party/pypa/build_requirements.txt +7 -0
- tensorstore-0.0.0/third_party/pypa/build_requirements_frozen.txt +83 -0
- tensorstore-0.0.0/third_party/pypa/cibuildwheel_requirements.txt +2 -0
- tensorstore-0.0.0/third_party/pypa/cibuildwheel_requirements_frozen.txt +93 -0
- tensorstore-0.0.0/third_party/pypa/cpp_test_requirements.txt +14 -0
- tensorstore-0.0.0/third_party/pypa/cpp_test_requirements_frozen.txt +1157 -0
- tensorstore-0.0.0/third_party/pypa/docs_requirements.txt +10 -0
- tensorstore-0.0.0/third_party/pypa/docs_requirements_frozen.txt +658 -0
- tensorstore-0.0.0/third_party/pypa/doctest_requirements.txt +2 -0
- tensorstore-0.0.0/third_party/pypa/doctest_requirements_frozen.txt +45 -0
- tensorstore-0.0.0/third_party/pypa/examples_requirements.txt +2 -0
- tensorstore-0.0.0/third_party/pypa/examples_requirements_frozen.txt +60 -0
- tensorstore-0.0.0/third_party/pypa/generate_workspace.py +317 -0
- tensorstore-0.0.0/third_party/pypa/generate_workspace.sh +21 -0
- tensorstore-0.0.0/third_party/pypa/postinstall_fix.py +88 -0
- tensorstore-0.0.0/third_party/pypa/python_test_requirements.txt +6 -0
- tensorstore-0.0.0/third_party/pypa/python_test_requirements_frozen.txt +149 -0
- tensorstore-0.0.0/third_party/pypa/shell_requirements.txt +3 -0
- tensorstore-0.0.0/third_party/pypa/shell_requirements_frozen.txt +79 -0
- tensorstore-0.0.0/third_party/pypa/wheel_requirements.txt +3 -0
- tensorstore-0.0.0/third_party/pypa/wheel_requirements_frozen.txt +53 -0
- tensorstore-0.0.0/third_party/pypa/workspace.bzl +3163 -0
- tensorstore-0.0.0/third_party/python/BUILD.tpl +61 -0
- tensorstore-0.0.0/third_party/python/python_configure.bzl +347 -0
- tensorstore-0.0.0/third_party/repo.bzl +294 -0
- tensorstore-0.0.0/third_party/rules_cc/workspace.bzl +32 -0
- tensorstore-0.0.0/third_party/rules_license/workspace.bzl +29 -0
- tensorstore-0.0.0/third_party/rules_pkg/workspace.bzl +29 -0
- tensorstore-0.0.0/third_party/rules_proto/workspace.bzl +29 -0
- tensorstore-0.0.0/third_party/se_curl/curl.BUILD.bazel +449 -0
- tensorstore-0.0.0/third_party/se_curl/patches/13210.diff +15 -0
- tensorstore-0.0.0/third_party/se_curl/system.BUILD.bazel +6 -0
- tensorstore-0.0.0/third_party/se_curl/workspace.bzl +37 -0
- tensorstore-0.0.0/third_party/third_party.bzl +128 -0
- tensorstore-0.0.0/third_party/tinyxml2/system.BUILD.bazel +5 -0
- tensorstore-0.0.0/third_party/tinyxml2/tinyxml2.BUILD.bazel +10 -0
- tensorstore-0.0.0/third_party/tinyxml2/workspace.bzl +37 -0
- tensorstore-0.0.0/third_party/toolchains_llvm/workspace.bzl +29 -0
- tensorstore-0.0.0/third_party/update_third_party_bzl.py +42 -0
- tensorstore-0.0.0/third_party/update_versions.py +707 -0
- tensorstore-0.0.0/tools/bazel_platforms/BUILD.bazel +10 -0
- tensorstore-0.0.0/tools/bazel_platforms/platform_mappings +26 -0
- tensorstore-0.0.0/tools/ci/cibuildwheel.py +266 -0
- tensorstore-0.0.0/tools/ci/cibuildwheel_linux_cache_setup.sh +41 -0
- tensorstore-0.0.0/tools/ci/configure_bazel_remote_cache.py +68 -0
- tensorstore-0.0.0/tools/cmake/BUILD +178 -0
- tensorstore-0.0.0/tools/cmake/FindAVIF.cmake +92 -0
- tensorstore-0.0.0/tools/cmake/FindBlosc.cmake +450 -0
- tensorstore-0.0.0/tools/cmake/FindBrotli.cmake +135 -0
- tensorstore-0.0.0/tools/cmake/FindLZ4.cmake +40 -0
- tensorstore-0.0.0/tools/cmake/FindNGHTTP2.cmake +20 -0
- tensorstore-0.0.0/tools/cmake/FindSnappy.cmake +22 -0
- tensorstore-0.0.0/tools/cmake/FindWebP.cmake +167 -0
- tensorstore-0.0.0/tools/cmake/FindZstd.cmake +72 -0
- tensorstore-0.0.0/tools/cmake/TensorstoreDebugHelpers.cmake +131 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/__init__.py +13 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/__init__.py +13 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/bazel_skylib.py +409 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/bazel_tools_repo_utils.py +28 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/default.py +21 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/expand_template.py +52 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/grpc_generate_cc.py +198 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/helpers.py +147 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/local_mirror.py +181 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/rules_cc.py +37 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/rules_nasm.py +251 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/rules_proto.py +43 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/third_party_http_archive.py +655 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/bzl_library/upb_proto_library.py +394 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_builder.py +104 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_provider.py +133 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_repository.py +178 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_repository_test.py +90 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/cmake_target.py +44 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_alias.py +45 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_cc.py +529 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_cc_test.py +197 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/emit_filegroup.py +123 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/evaluation.py +909 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/golden_test.py +365 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/main.py +331 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_aspect.py +82 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_aspect_proto.py +449 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules.py +226 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_alias.py +111 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_cc.py +297 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_cc_proto.py +201 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_config.py +107 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_genrule.py +264 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_platform.py +161 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/native_rules_proto.py +223 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/package.py +95 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/platforms.py +178 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/provider_util.py +97 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/__init__.py +13 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/aspect.py +65 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_build_file.py +101 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_glob.py +114 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_glob_test.py +46 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_globals.py +136 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_globals_test.py +134 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_target.py +190 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_target_test.py +152 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/bazel_workspace_file.py +149 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/common_providers.py +140 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/depset.py +61 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/depset_test.py +27 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/dict_polyfill.py +87 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/ignored.py +35 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/ignored_test.py +23 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/invocation_context.py +225 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/label.py +104 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/provider.py +125 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/provider_test.py +65 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/rule.py +413 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/rule_test.py +135 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/select.py +114 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/select_test.py +65 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/struct.py +81 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/struct_test.py +38 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/starlark/toolchain.py +63 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/BUILD.bazel +62 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/WORKSPACE.bazel +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/config.json +13 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/golden/_bindir/config.h +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/bazel_skylib/golden/_srcdir/build_rules.cmake +34 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/BUILD.bazel +27 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/WORKSPACE.bazel +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/b.cc +3 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/config.json +19 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/golden/_srcdir/build_rules.cmake +220 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/BUILD.bazel +80 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/child/a.cc +3 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/child/a.h +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/cc_includes/parent/child/a.inc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/BUILD.bazel +32 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/WORKSPACE.bazel +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/a.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/c.proto +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/config.json +5 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/grpc_generate_cc/golden/_srcdir/build_rules.cmake +236 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/BUILD.bazel +10 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/WORKSPACE.bazel +49 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/a.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/config.json +8 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/BUILD.bazel +20 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/CMakeLists.txt +25 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/b.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_bindir/_local_mirror/lpm-src/b.h +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_srcdir/_find_pkg_redirects_/lpm-config.cmake +3 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/local_mirror/golden/_srcdir/build_rules.cmake +18 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/.bazelrc +9 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/BUILD.bazel +117 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/WORKSPACE.bazel +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/a.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/b.cc +0 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/b.h +0 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/c.proto +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/config.json +30 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/golden/_srcdir/build_rules.cmake +383 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/subdir/BUILD.bazel +49 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/subdir/x.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/subdir/z.proto +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/x.h +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/native_rules/y.h +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/BUILD.bazel +31 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/WORKSPACE.bazel +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/a.asm +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/a.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/a.h +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/config.json +5 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/golden/_srcdir/build_rules.cmake +33 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_nasm/include/b.inc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/BUILD.bazel +70 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/WORKSPACE.bazel +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/a.proto +2 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/b.proto +2 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/c.proto +2 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/config.json +35 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/d.proto +2 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/golden/_srcdir/build_rules.cmake +1214 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/src/subdir/y.proto +2 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/rules_proto/x.proto +2 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/BUILD.bazel +9 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/WORKSPACE.bazel +22 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/a.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/config.json +5 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_bindir/third_party/CMakeLists.txt +3 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_bindir/third_party/half-proxy-CMakeLists.txt +36 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_srcdir/_find_pkg_redirects_/half-extra.cmake +3 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_srcdir/_find_pkg_redirects_/whole-config.cmake +3 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/golden/_srcdir/build_rules.cmake +24 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/third_party_http_archive/half.BUILD.bazel +10 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/BUILD.bazel +69 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/WORKSPACE.bazel +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/a.proto +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/b.proto +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/c.proto +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/config.json +14 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/golden/_srcdir/build_rules.cmake +276 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/testdata/upb_proto_library/x.cc +1 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/util.py +236 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/util_test.py +106 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/variable_substitution.py +369 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/variable_substitution_test.py +280 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake/workspace.py +325 -0
- tensorstore-0.0.0/tools/cmake/bazel_to_cmake.cmake +91 -0
- 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,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,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/).
|