ID
stringlengths
36
36
Language
stringclasses
1 value
Repository Name
stringclasses
13 values
File Name
stringlengths
2
48
File Path in Repository
stringlengths
11
111
File Path for Unit Test
stringlengths
13
116
Code
stringlengths
0
278k
Unit Test - (Ground Truth)
stringlengths
78
663k
Code Url
stringlengths
91
198
Test Code Url
stringlengths
93
203
Commit Hash
stringclasses
13 values
02d4b049-ec00-4653-bf8f-7bb9bd5e4cf6
cpp
google/tensorstore
http_request
tensorstore/internal/http/http_request.cc
tensorstore/internal/http/http_request_test.cc
#include "tensorstore/internal/http/http_request.h" #include <cassert> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/functional/function_ref.h" #include "absl/strings/ascii.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #inclu...
#include "tensorstore/internal/http/http_request.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/time/clock.h" #include "absl/time/time.h" #include "tensorstore/kvstore/byte_range.h" namespace { using ::tensorstore::OptionalByteRangeRequest; using ::tensorstore::internal_http::HttpRequestBuilder; us...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_request.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_request_test.cc
4f887a6430414cd6088e1743555015b10f116d50
e88c2c63-3fd1-4c20-8428-dd2ab61e3679
cpp
google/tensorstore
http_header
tensorstore/internal/http/http_header.cc
tensorstore/internal/http/http_header_test.cc
#include "tensorstore/internal/http/http_header.h" #include <stddef.h> #include <iterator> #include <optional> #include <string> #include <string_view> #include <tuple> #include <utility> #include "absl/container/btree_map.h" #include "absl/status/status.h" #include "absl/strings/ascii.h" #include "absl/strings/numbers...
#include "tensorstore/internal/http/http_header.h" #include <stddef.h> #include <optional> #include <string> #include <tuple> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/btree_map.h" #include "absl/status/status.h" #include "tensorstore/util/status_testutil.h" namespace { using ::tensorst...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_header.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_header_test.cc
4f887a6430414cd6088e1743555015b10f116d50
321c5dd0-c284-4e83-8f76-cc62c4ee08b6
cpp
google/tensorstore
http_response
tensorstore/internal/http/http_response.cc
tensorstore/internal/http/http_response_test.cc
#include "tensorstore/internal/http/http_response.h" #include <stddef.h> #include <stdint.h> #include <limits> #include <optional> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_format.h" #include "re2/re2.h" #include "tensorstore/internal/...
#include "tensorstore/internal/http/http_response.h" #include <set> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "tensorstore/util/status_testutil.h" namespace { using ::tensorstore::IsOkAndHolds; using ::tensorst...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_response.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_response_test.cc
4f887a6430414cd6088e1743555015b10f116d50
2bd5b8cb-2a69-4e2d-8ee5-48abd5be59bf
cpp
google/tensorstore
curl_wrappers
tensorstore/internal/http/curl_wrappers.cc
tensorstore/internal/http/curl_wrappers_test.cc
#include "tensorstore/internal/http/curl_wrappers.h" #include <string> #include <string_view> #include "absl/status/status.h" #include "absl/strings/cord.h" #include <curl/curl.h> #include "tensorstore/internal/source_location.h" #include "tensorstore/util/status.h" #include "tensorstore/util/str_cat.h" namespace tenso...
#include "tensorstore/internal/http/curl_wrappers.h" #include <gtest/gtest.h> namespace { using ::tensorstore::internal_http::CurlCodeToStatus; using ::tensorstore::internal_http::CurlMCodeToStatus; TEST(CurlFactoryTest, CurlCodeToStatus) { struct { CURLcode curl; absl::StatusCode expected; } expected_codes...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/curl_wrappers.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/curl_wrappers_test.cc
4f887a6430414cd6088e1743555015b10f116d50
28bbb614-9b57-4c27-aa28-be37452264de
cpp
google/tensorstore
curl_transport
tensorstore/internal/http/curl_transport.cc
tensorstore/internal/http/curl_transport_test.cc
#include "tensorstore/internal/http/curl_transport.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <atomic> #include <cassert> #include <cerrno> #include <cstdio> #include <cstdlib> #include <limits> #include <memory> #include <optional> #include <string> #include <string_view> #include <utilit...
#ifdef _WIN32 #undef UNICODE #define WIN32_LEAN_AND_MEAN #endif #include "tensorstore/internal/http/curl_transport.h" #include <optional> #include <string> #include <string_view> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" #include "absl/strings/cord...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/curl_transport.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/curl_transport_test.cc
4f887a6430414cd6088e1743555015b10f116d50
3ba84d55-f639-42ee-a830-911c1b3bb133
cpp
google/tensorstore
zlib
tensorstore/internal/compression/zlib.cc
tensorstore/internal/compression/zlib_test.cc
#include "tensorstore/internal/compression/zlib.h" #include "absl/base/optimization.h" #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "tensorstore/internal/compression/cord_stream_manager.h" #include <zlib.h> namespace tensorstore { namespace zlib { namespace { struct InflateOp { static int...
#include "tensorstore/internal/compression/zlib.h" #include <cstddef> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/cord_test_helpers.h" #include "tensorstore/util/status_testutil.h" namespace {...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/compression/zlib.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/compression/zlib_test.cc
4f887a6430414cd6088e1743555015b10f116d50
75a7738d-254a-4171-9083-e75edd0bb8bc
cpp
google/tensorstore
neuroglancer_compressed_segmentation
tensorstore/internal/compression/neuroglancer_compressed_segmentation.cc
tensorstore/internal/compression/neuroglancer_compressed_segmentation_test.cc
#include "tensorstore/internal/compression/neuroglancer_compressed_segmentation.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cassert> #include <string> #include <string_view> #include <vector> #include "absl/base/internal/endian.h" #include "absl/container/flat_hash_map.h" namespace tensors...
#include "tensorstore/internal/compression/neuroglancer_compressed_segmentation.h" #include <cstddef> #include <cstdint> #include <string> #include <string_view> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/random/random.h" namespace { using ::tensorstore::neuroglancer_compressed_s...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/compression/neuroglancer_compressed_segmentation.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/compression/neuroglancer_compressed_segmentation_test.cc
4f887a6430414cd6088e1743555015b10f116d50
66a0bc89-4701-4131-b068-d96673fd7351
cpp
google/tensorstore
zip_details
tensorstore/internal/compression/zip_details.cc
tensorstore/internal/compression/zip_details_test.cc
#include "tensorstore/internal/compression/zip_details.h" #include <stdint.h> #include <algorithm> #include <cassert> #include <ctime> #include <ios> #include <limits> #include <memory> #include <string_view> #include <utility> #include <variant> #include "absl/base/attributes.h" #include "absl/log/absl_log.h" #include...
#include "tensorstore/internal/compression/zip_details.h" #include <stddef.h> #include <stdint.h> #include <string> #include <string_view> #include <utility> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/flags/flag.h" #include "absl/log/absl_check.h" #include "abs...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/compression/zip_details.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/compression/zip_details_test.cc
4f887a6430414cd6088e1743555015b10f116d50
31510ab2-ecd4-4755-b6bd-8f4bd89138d6
cpp
google/tensorstore
raw_bytes_hex
tensorstore/internal/json_binding/raw_bytes_hex.cc
tensorstore/internal/json_binding/raw_bytes_hex_test.cc
#include "tensorstore/internal/json_binding/raw_bytes_hex.h" #include <string_view> #include "absl/status/status.h" #include "absl/strings/escaping.h" #include "absl/strings/str_format.h" namespace tensorstore { namespace internal_json_binding { namespace { bool IsHexString(std::string_view s) { for (char c : s) { ...
#include "tensorstore/internal/json_binding/raw_bytes_hex.h" #include <string> #include <tuple> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include <nlohmann/json_fwd.hpp> #include "tensorstore/internal/json_binding/gtest.h" #include "tensorstore/internal/json_binding/json_binding.h" #include ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/raw_bytes_hex.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/raw_bytes_hex_test.cc
4f887a6430414cd6088e1743555015b10f116d50
ca4f7ed1-b2c4-4390-98ec-f748a7ec5ee4
cpp
google/tensorstore
staleness_bound
tensorstore/internal/json_binding/staleness_bound.cc
tensorstore/internal/json_binding/staleness_bound_test.cc
#include "tensorstore/internal/json_binding/staleness_bound.h" #include "absl/status/status.h" #include "absl/time/time.h" #include <nlohmann/json.hpp> #include "tensorstore/internal/json/value_as.h" #include "tensorstore/internal/json_binding/bindable.h" #include "tensorstore/internal/json_binding/json_binding.h" name...
#include "tensorstore/internal/json_binding/staleness_bound.h" #include <memory> #include <type_traits> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/time/time.h" #include <nlohmann/json.hpp> #include "tensorstore/internal/json_binding/bindable.h" #include "tensorstore/internal/jso...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/staleness_bound.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/staleness_bound_test.cc
4f887a6430414cd6088e1743555015b10f116d50
5d214a45-f9ca-4faa-9496-7df736893bdf
cpp
google/tensorstore
std_variant
tensorstore/internal/json_binding/std_variant.cc
tensorstore/internal/json_binding/std_variant_test.cc
#include <stddef.h> #include <string> #include "absl/status/status.h" #include "tensorstore/util/span.h" namespace tensorstore { namespace internal_json_binding { absl::Status GetVariantErrorStatus(span<const absl::Status> status_values) { std::string error = "No matching value binder: "; for (size_t i = 0; i < sta...
#include "tensorstore/internal/json_binding/std_variant.h" #include <string> #include <type_traits> #include <utility> #include <variant> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/internal/json_binding/bindable.h" #include "tensorstore/internal/json_bind...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/std_variant.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/std_variant_test.cc
4f887a6430414cd6088e1743555015b10f116d50
09263936-949c-419b-9c6c-b6f3f0944461
cpp
google/tensorstore
array_endian_codec
tensorstore/internal/riegeli/array_endian_codec.cc
tensorstore/internal/riegeli/array_endian_codec_test.cc
#include "tensorstore/internal/riegeli/array_endian_codec.h" #include <stddef.h> #include <stdint.h> #include <cassert> #include <memory> #include <string_view> #include <utility> #include "absl/meta/type_traits.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "riegeli/base/chain.h" #include "...
#include "tensorstore/internal/riegeli/array_endian_codec.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include "absl/strings/cord_test_helpers.h" #include "riegeli/bytes/cord_reader.h" #include "riegeli/bytes/cord_writer.h" #include "riegeli/bytes/string_reader.h" #include "riege...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/riegeli/array_endian_codec.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/riegeli/array_endian_codec_test.cc
4f887a6430414cd6088e1743555015b10f116d50
8a5a62c4-9b13-49de-ba2d-2ae94814a8b0
cpp
google/tensorstore
find
tensorstore/internal/riegeli/find.cc
tensorstore/internal/riegeli/find_test.cc
#include "tensorstore/internal/riegeli/find.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cstring> #include <optional> #include <string_view> #include "riegeli/bytes/reader.h" namespace tensorstore { namespace internal { bool StartsWith(riegeli::Reader &reader, std::string_view needle) { r...
#include "tensorstore/internal/riegeli/find.h" #include <stddef.h> #include <string_view> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "riegeli/bytes/string_reader.h" namespace { using ::tensorstore::internal::FindFirst; using ::tensorstore::internal::FindLast; using ::tensorstore::internal::StartsWith; s...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/riegeli/find.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/riegeli/find_test.cc
4f887a6430414cd6088e1743555015b10f116d50
f0985b7a-a24b-4d9e-9677-12ff0a6d68d6
cpp
google/tensorstore
verbose_flag
tensorstore/internal/log/verbose_flag.cc
tensorstore/internal/log/verbose_flag_test.cc
#include "tensorstore/internal/log/verbose_flag.h" #include <stddef.h> #include <atomic> #include <cassert> #include <string> #include <string_view> #include <type_traits> #include <utility> #include "absl/base/attributes.h" #include "absl/base/const_init.h" #include "absl/base/no_destructor.h" #include "absl/base/opti...
#include "tensorstore/internal/log/verbose_flag.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/base/attributes.h" using ::tensorstore::internal_log::UpdateVerboseLogging; using ::tensorstore::internal_log::VerboseFlag; #define TENSORSTORE_VERBOSE_FLAG(X) \ ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/log/verbose_flag.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/log/verbose_flag_test.cc
4f887a6430414cd6088e1743555015b10f116d50
4c8b14a4-a2fa-45f8-ab69-619597b9724e
cpp
google/tensorstore
admission_queue
tensorstore/internal/rate_limiter/admission_queue.cc
tensorstore/internal/rate_limiter/admission_queue_test.cc
#include "tensorstore/internal/rate_limiter/admission_queue.h" #include <stddef.h> #include <cassert> #include <limits> #include "absl/synchronization/mutex.h" #include "tensorstore/internal/container/intrusive_linked_list.h" #include "tensorstore/internal/rate_limiter/rate_limiter.h" namespace tensorstore { namespace ...
#include "tensorstore/internal/rate_limiter/admission_queue.h" #include <stddef.h> #include <atomic> #include <utility> #include <gtest/gtest.h> #include "tensorstore/internal/intrusive_ptr.h" #include "tensorstore/internal/rate_limiter/rate_limiter.h" #include "tensorstore/util/executor.h" namespace { using ::tensorst...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/rate_limiter/admission_queue.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/rate_limiter/admission_queue_test.cc
4f887a6430414cd6088e1743555015b10f116d50
f3ea2835-ae58-4400-aa72-323aa7b250ca
cpp
google/tensorstore
scaling_rate_limiter
tensorstore/internal/rate_limiter/scaling_rate_limiter.cc
tensorstore/internal/rate_limiter/scaling_rate_limiter_test.cc
#include "tensorstore/internal/rate_limiter/scaling_rate_limiter.h" #include <algorithm> #include <cassert> #include <cmath> #include <functional> #include <limits> #include <utility> #include "absl/log/absl_check.h" #include "absl/time/time.h" #include "tensorstore/internal/rate_limiter/token_bucket_rate_limiter.h" na...
#include "tensorstore/internal/rate_limiter/scaling_rate_limiter.h" #include <stddef.h> #include <atomic> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/time/clock.h" #include "absl/time/time.h" #include "tensorstore/internal/intrusive_ptr.h" #include "tensorstore/internal/rate_limi...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/rate_limiter/scaling_rate_limiter.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/rate_limiter/scaling_rate_limiter_test.cc
4f887a6430414cd6088e1743555015b10f116d50
b9679af0-338e-4468-b3c2-67b768a45f76
cpp
google/tensorstore
schedule_at
tensorstore/internal/thread/schedule_at.cc
tensorstore/internal/thread/schedule_at_test.cc
#include "tensorstore/internal/thread/schedule_at.h" #include <stdint.h> #include <algorithm> #include <atomic> #include <iterator> #include <memory> #include <utility> #include "absl/base/attributes.h" #include "absl/base/no_destructor.h" #include "absl/base/optimization.h" #include "absl/base/thread_annotations.h" #i...
#include "tensorstore/internal/thread/schedule_at.h" #include <memory> #include <thread> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/synchronization/notification.h" #include "absl/time/clock.h" #include "absl/time/time.h" #include "tensorstore/util/stop_token.h" namespace { using ::tensorstore::S...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/schedule_at.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/schedule_at_test.cc
4f887a6430414cd6088e1743555015b10f116d50
295b54a4-a0b7-4604-a9ef-4a8f545a5f55
cpp
google/tensorstore
thread_pool
tensorstore/internal/thread/thread_pool.cc
tensorstore/internal/thread/thread_pool_test.cc
#include "tensorstore/internal/thread/thread_pool.h" #include <stddef.h> #include <cassert> #include <limits> #include <memory> #include <thread> #include <utility> #include "absl/base/no_destructor.h" #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" #include "tensorstore/internal/intrusive_ptr.h" #inc...
#include "tensorstore/internal/thread/thread_pool.h" #include <string> #include "absl/flags/commandlineflag.h" #include "absl/flags/reflection.h" void SetupThreadPoolTestEnv() { } #include "tensorstore/internal/thread/thread_pool_test.inc"
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/thread_pool.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/thread_pool_test.cc
4f887a6430414cd6088e1743555015b10f116d50
de90b948-f9da-4f2f-a393-343a2fe93719
cpp
google/tensorstore
pool_impl
tensorstore/internal/thread/pool_impl.cc
tensorstore/internal/thread/pool_impl_test.cc
#include "tensorstore/internal/thread/pool_impl.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cassert> #include <utility> #include "absl/base/attributes.h" #include "absl/base/thread_annotations.h" #include "absl/log/absl_log.h" #include "absl/synchronization/mutex.h" #include "absl/time/clo...
#include "tensorstore/internal/thread/pool_impl.h" #include <stddef.h> #include <stdint.h> #include <cassert> #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/base/thread_annotations.h" #include "absl/synchronization/blocking_counter.h" #include "absl/synchronization/mutex....
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/pool_impl.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/pool_impl_test.cc
4f887a6430414cd6088e1743555015b10f116d50
4006e144-3709-4d64-8719-d31365871b0e
cpp
google/tensorstore
thread
tensorstore/internal/thread/thread.cc
tensorstore/internal/thread/thread_test.cc
#if defined(__linux__) || defined(__APPLE__) #include <pthread.h> #endif #include <thread> #include <type_traits> namespace tensorstore { namespace internal { void TrySetCurrentThreadName(const char* name) { if (name == nullptr) return; #if defined(__linux__) pthread_setname_np(pthread_self(), name); #endif #if d...
#include "tensorstore/internal/thread/thread.h" #include <gtest/gtest.h> namespace { TEST(ThreadTest, Basic) { tensorstore::internal::Thread my_thread; int x = 0; tensorstore::internal::Thread::Id id[2]; my_thread = tensorstore::internal::Thread({}, [&x, &id]() { x = 1; id[1] = tensorstore::internal::Th...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/thread.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/thread/thread_test.cc
4f887a6430414cd6088e1743555015b10f116d50
4e94c2d6-5c4b-4866-8f55-4f6af0728204
cpp
google/tensorstore
storage
tensorstore/internal/poly/storage.cc
tensorstore/internal/poly/storage_test.cc
#include "tensorstore/internal/poly/storage.h" namespace tensorstore { namespace internal_poly_storage { constexpr VTableBase NullVTable::vtable; } }
#include "tensorstore/internal/poly/storage.h" #include <gtest/gtest.h> namespace { using ::tensorstore::internal_poly_storage::ActualInlineSize; using ::tensorstore::internal_poly_storage::GetVTableBase; using ::tensorstore::internal_poly_storage::HeapStorageOps; using ::tensorstore::internal_poly_storage::InlineStora...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/poly/storage.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/poly/storage_test.cc
4f887a6430414cd6088e1743555015b10f116d50
da7108be-91df-4133-aa86-1e9506bd2dda
cpp
google/tensorstore
key_range
tensorstore/kvstore/key_range.cc
tensorstore/kvstore/key_range_test.cc
#include "tensorstore/kvstore/key_range.h" #include <algorithm> #include <cstddef> #include <ostream> #include <string> #include <string_view> #include <utility> #include "absl/strings/match.h" #include "absl/types/compare.h" #include "tensorstore/internal/compare.h" #include "tensorstore/util/quote_string.h" namespace...
#include "tensorstore/kvstore/key_range.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/compare.h" #include "tensorstore/util/str_cat.h" namespace { using ::tensorstore::KeyRange; TEST(KeyRangeTest, Comparison) { KeyRange r1("a", "b"); EXPECT_EQ("a", r1.inclusive_min); ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/key_range.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/key_range_test.cc
4f887a6430414cd6088e1743555015b10f116d50
29b5e76f-177d-4976-9b2a-49a08a665656
cpp
google/tensorstore
byte_range
tensorstore/kvstore/byte_range.cc
tensorstore/kvstore/byte_range_test.cc
#include "tensorstore/kvstore/byte_range.h" #include <cassert> #include <optional> #include <ostream> #include <string> #include "absl/status/status.h" #include "tensorstore/serialization/serialization.h" #include "tensorstore/serialization/std_optional.h" #include "tensorstore/util/result.h" #include "tensorstore/util...
#include "tensorstore/kvstore/byte_range.h" #include <optional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorstore/serialization/serialization.h" #include "tensorstore/serialization/test_util.h" #include "tensorstore/util/status_testutil.h" #include...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/byte_range.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/byte_range_test.cc
4f887a6430414cd6088e1743555015b10f116d50
a182fb05-afd0-428d-a2cb-989b5f45682f
cpp
google/tensorstore
generation
tensorstore/kvstore/generation.cc
tensorstore/kvstore/generation_test.cc
#include "tensorstore/kvstore/generation.h" #include <stddef.h> #include <stdint.h> #include <cstring> #include <ostream> #include <string_view> #include <utility> #include "absl/time/time.h" #include "tensorstore/serialization/absl_time.h" #include "tensorstore/serialization/serialization.h" #include "tensorstore/util...
#include "tensorstore/kvstore/generation.h" #include <gtest/gtest.h> #include "tensorstore/serialization/serialization.h" #include "tensorstore/serialization/test_util.h" namespace { using ::tensorstore::StorageGeneration; using ::tensorstore::TimestampedStorageGeneration; using ::tensorstore::serialization::TestSerial...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/generation.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/generation_test.cc
4f887a6430414cd6088e1743555015b10f116d50
81f8af8a-489b-4b14-9049-bb797e3be1da
cpp
google/tensorstore
aws_credentials_resource
tensorstore/kvstore/s3/aws_credentials_resource.cc
tensorstore/kvstore/s3/aws_credentials_resource_test.cc
#include "tensorstore/kvstore/s3/aws_credentials_resource.h" #include <stddef.h> #include <cassert> #include <memory> #include <optional> #include <type_traits> #include <utility> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/context.h" #include "tensorstore/context_resource_provide...
#include "tensorstore/kvstore/s3/aws_credentials_resource.h" #include <optional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json_fwd.hpp> #include <nlohmann/json.hpp> #include "tensorstore/context.h" #include "tensorstore/util/status_testutil.h...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/aws_credentials_resource.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/aws_credentials_resource_test.cc
4f887a6430414cd6088e1743555015b10f116d50
6b142648-b737-4464-859c-a7183799af5a
cpp
google/tensorstore
s3_request_builder
tensorstore/kvstore/s3/s3_request_builder.cc
tensorstore/kvstore/s3/s3_request_builder_test.cc
#ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #endif #include "tensorstore/kvstore/s3/s3_request_builder.h" #include <stddef.h> #include <algorithm> #include <cassert> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/base/attributes.h" #include "absl/log/absl_check.h" #include "a...
#include "tensorstore/kvstore/s3/s3_request_builder.h" #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/time/civil_time.h" #include "absl/time/time.h" #include "tensorstore/internal/http/http_reque...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_request_builder.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_request_builder_test.cc
4f887a6430414cd6088e1743555015b10f116d50
a8ed8874-de57-43b2-817a-53cedca9fb8e
cpp
google/tensorstore
validate
tensorstore/kvstore/gcs/validate.cc
tensorstore/kvstore/gcs/validate_test.cc
#include "tensorstore/kvstore/gcs/validate.h" #include <iterator> #include <string> #include <string_view> #include "absl/status/status.h" #include "absl/strings/ascii.h" #include "absl/strings/cord.h" #include "absl/strings/match.h" #include "absl/strings/str_format.h" #include "absl/strings/str_split.h" #include <nlo...
#include "tensorstore/kvstore/gcs/validate.h" #include <gtest/gtest.h> namespace { using ::tensorstore::internal_storage_gcs::IsValidBucketName; using ::tensorstore::internal_storage_gcs::IsValidObjectName; TEST(ValidateTest, IsValidBucketName) { EXPECT_TRUE(IsValidBucketName("foo")); EXPECT_TRUE(IsValidBucketName(...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs/validate.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs/validate_test.cc
4f887a6430414cd6088e1743555015b10f116d50
0df8f891-2efd-4dd7-ba09-7e8edd2d97e0
cpp
google/tensorstore
s3_key_value_store
tensorstore/kvstore/s3/s3_key_value_store.cc
tensorstore/kvstore/s3/s3_key_value_store_test.cc
#include <stddef.h> #include <stdint.h> #include <atomic> #include <cassert> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <variant> #include "absl/base/attributes.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/cord.h...
#include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/match.h" #include "tensorstore/context.h" #include "tensorstore/internal/http/curl_transport.h" #include "...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_key_value_store.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_key_value_store_test.cc
4f887a6430414cd6088e1743555015b10f116d50
b2e3dc4c-9f53-49f1-8f40-d936b4c2f102
cpp
google/tensorstore
s3_metadata
tensorstore/kvstore/s3/s3_metadata.cc
tensorstore/kvstore/s3/s3_metadata_test.cc
#include "tensorstore/kvstore/s3/s3_metadata.h" #include <stddef.h> #include <stdint.h> #include <cassert> #include <initializer_list> #include <optional> #include <string> #include <string_view> #include <utility> #include "absl/base/no_destructor.h" #include "absl/container/btree_map.h" #include "absl/container/flat_...
#include "tensorstore/kvstore/s3/s3_metadata.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/time/time.h" #include "tensorstore/internal/http/http_response.h" #include "tensorstore/util/status_testutil.h" #include "tinyxml2.h" namespace ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_metadata.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_metadata_test.cc
4f887a6430414cd6088e1743555015b10f116d50
f63c0329-0154-4e2c-bcda-f6fe9aac6a03
cpp
google/tensorstore
s3_endpoint
tensorstore/kvstore/s3/s3_endpoint.cc
tensorstore/kvstore/s3/s3_endpoint_test.cc
#include "tensorstore/kvstore/s3/s3_endpoint.h" #include <cassert> #include <memory> #include <string> #include <string_view> #include <utility> #include <variant> #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "absl/strings/match.h" #include "absl/strings/str_format.h" #include "tensorstore/...
#include "tensorstore/kvstore/s3/s3_endpoint.h" #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "tensorstore/internal/http/http_response.h" #include "tensorstore/intern...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_endpoint.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/s3_endpoint_test.cc
4f887a6430414cd6088e1743555015b10f116d50
b9fa1a4d-c983-4a54-ac81-e55fce5a564f
cpp
google/tensorstore
default_credential_provider
tensorstore/kvstore/s3/credentials/default_credential_provider.cc
tensorstore/kvstore/s3/credentials/default_credential_provider_test.cc
#include "tensorstore/kvstore/s3/credentials/default_credential_provider.h" #include <algorithm> #include <memory> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/base/attributes.h" #include "absl/base/no_destructor.h" #include "absl/functional/function_ref.h" #include "absl...
#include "tensorstore/kvstore/s3/credentials/default_credential_provider.h" #include <fstream> #include <memory> #include <string> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/strings/cord.h" #include "absl/time/clock.h" #include "absl/time/time.h" #include "tensorstore/internal/env...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/default_credential_provider.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/default_credential_provider_test.cc
4f887a6430414cd6088e1743555015b10f116d50
a3f54d00-50ef-4c35-82d3-1ecbc16f183e
cpp
google/tensorstore
environment_credential_provider
tensorstore/kvstore/s3/credentials/environment_credential_provider.cc
tensorstore/kvstore/s3/credentials/environment_credential_provider_test.cc
#include "tensorstore/kvstore/s3/credentials/environment_credential_provider.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/time/time.h" #include "tensorstore/internal/env.h" #include "tensorstore/kvstore/s3/credentials/aws_credentials.h" #include "ten...
#include "tensorstore/kvstore/s3/credentials/environment_credential_provider.h" #include <gtest/gtest.h> #include "tensorstore/internal/env.h" #include "tensorstore/util/status_testutil.h" namespace { using ::tensorstore::internal::SetEnv; using ::tensorstore::internal::UnsetEnv; using ::tensorstore::internal_kvstore_s...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/environment_credential_provider.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/environment_credential_provider_test.cc
4f887a6430414cd6088e1743555015b10f116d50
17337708-4d38-49da-ac30-9296214bfc5a
cpp
google/tensorstore
file_credential_provider
tensorstore/kvstore/s3/credentials/file_credential_provider.cc
tensorstore/kvstore/s3/credentials/file_credential_provider_test.cc
#include "tensorstore/kvstore/s3/credentials/file_credential_provider.h" #include <optional> #include <string> #include <string_view> #include <utility> #include "absl/base/attributes.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/ascii.h" #include "absl/strings/str_format.h" #...
#include "tensorstore/kvstore/s3/credentials/file_credential_provider.h" #include <fstream> #include <memory> #include <string> #include <gtest/gtest.h> #include "absl/time/time.h" #include "tensorstore/internal/env.h" #include "tensorstore/internal/path.h" #include "tensorstore/internal/testing/scoped_directory.h" #in...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/file_credential_provider.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/file_credential_provider_test.cc
4f887a6430414cd6088e1743555015b10f116d50
a7970c6c-3eda-4e9f-9136-c7919de2cdd1
cpp
google/tensorstore
ec2_credential_provider
tensorstore/kvstore/s3/credentials/ec2_credential_provider.cc
tensorstore/kvstore/s3/credentials/ec2_credential_provider_test.cc
#include "tensorstore/kvstore/s3/credentials/ec2_credential_provider.h" #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/flags/flag.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_cat.h" #include "absl/strings/s...
#include "tensorstore/kvstore/s3/credentials/ec2_credential_provider.h" #include <memory> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/time/clock.h" #include ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/ec2_credential_provider.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/s3/credentials/ec2_credential_provider_test.cc
4f887a6430414cd6088e1743555015b10f116d50
07d7b812-5975-4ca6-ad06-b484fe868faf
cpp
google/tensorstore
gcs_key_value_store
tensorstore/kvstore/gcs_http/gcs_key_value_store.cc
tensorstore/kvstore/gcs_http/gcs_key_value_store_test.cc
#include <stddef.h> #include <stdint.h> #include <atomic> #include <cassert> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/base/attributes.h" #include "absl/base/thread_annotations.h" #include "absl/flags/flag.h" #include "absl/log/abs...
#include <stddef.h> #include <algorithm> #include <atomic> #include <memory> #include <string> #include <string_view> #include <tuple> #include <type_traits> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "ab...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_http/gcs_key_value_store.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_http/gcs_key_value_store_test.cc
4f887a6430414cd6088e1743555015b10f116d50
12e48cfe-031f-436c-9713-e2ad67992e60
cpp
google/tensorstore
object_metadata
tensorstore/kvstore/gcs_http/object_metadata.cc
tensorstore/kvstore/gcs_http/object_metadata_test.cc
#include "tensorstore/kvstore/gcs_http/object_metadata.h" #include <stdint.h> #include <optional> #include <string> #include <string_view> #include <utility> #include "absl/container/btree_map.h" #include "absl/status/status.h" #include "absl/strings/numbers.h" #include "absl/strings/str_split.h" #include "absl/time/ti...
#include "tensorstore/kvstore/gcs_http/object_metadata.h" #include <string> #include <gtest/gtest.h> #include "absl/time/time.h" #include "tensorstore/util/result.h" namespace { using ::tensorstore::internal_kvstore_gcs_http::ParseObjectMetadata; const char kObjectMetadata[] = R"""({ "acl": [{ "kind": "st...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_http/object_metadata.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_http/object_metadata_test.cc
4f887a6430414cd6088e1743555015b10f116d50
fe75d615-573a-4be2-9609-b996505d1261
cpp
google/tensorstore
memory_key_value_store
tensorstore/kvstore/memory/memory_key_value_store.cc
tensorstore/kvstore/memory/memory_key_value_store_test.cc
#include "tensorstore/kvstore/memory/memory_key_value_store.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <atomic> #include <cassert> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/cont...
#include "tensorstore/kvstore/memory/memory_key_value_store.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/cord.h" #include <nlohmann/json.hpp> #include "tensorstore/context.h" #include "tensorstore/internal/cache_key/cache_key.h" #include "...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/memory/memory_key_value_store.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/memory/memory_key_value_store_test.cc
4f887a6430414cd6088e1743555015b10f116d50
b2be1087-b57b-4417-9ce3-1d4c196ea137
cpp
google/tensorstore
file_key_value_store
tensorstore/kvstore/file/file_key_value_store.cc
tensorstore/kvstore/file/file_key_value_store_test.cc
#include <stddef.h> #include <stdint.h> #include <atomic> #include <cassert> #include <optional> #include <string> #include <string_view> #include <tuple> #include <type_traits> #include <utility> #include "absl/base/attributes.h" #include "absl/functional/function_ref.h" #include "absl/log/absl_check.h" #include "...
#include <errno.h> #include <stddef.h> #include <cstring> #include <fstream> #include <string> #include <type_traits> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/synchronization/notification.h" #include <nlohmann/json....
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/file/file_key_value_store.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/file/file_key_value_store_test.cc
4f887a6430414cd6088e1743555015b10f116d50
850ceba7-2580-4f7f-8fe5-1dbc2dc1582c
cpp
google/tensorstore
util
tensorstore/kvstore/file/util.cc
tensorstore/kvstore/file/util_test.cc
#include "tensorstore/kvstore/file/util.h" #include <stddef.h> #include <string_view> #include "absl/strings/match.h" #include "absl/strings/str_split.h" #include "tensorstore/kvstore/key_range.h" namespace tensorstore { namespace internal_file_util { bool IsKeyValid(std::string_view key, std::string_view lock_suffix) ...
#include "tensorstore/kvstore/file/util.h" #include <string_view> #include <gtest/gtest.h> #include "tensorstore/kvstore/key_range.h" namespace { using ::tensorstore::KeyRange; using ::tensorstore::internal_file_util::IsKeyValid; using ::tensorstore::internal_file_util::LongestDirectoryPrefix; TEST(IsKeyValid, Basic) {...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/file/util.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/file/util_test.cc
4f887a6430414cd6088e1743555015b10f116d50
ecb453fe-d729-4840-a504-6bf8700709b8
cpp
google/tensorstore
kvstore_server
tensorstore/kvstore/tsgrpc/kvstore_server.cc
tensorstore/kvstore/tsgrpc/kvstore_server_test.cc
#include "tensorstore/kvstore/tsgrpc/kvstore_server.h" #include <stddef.h> #include <atomic> #include <cassert> #include <cstdint> #include <memory> #include <optional> #include <string> #include <type_traits> #include <utility> #include <vector> #include "absl/base/attributes.h" #include "absl/base/thread_annotations....
#include "tensorstore/kvstore/tsgrpc/kvstore_server.h" #include <string> #include <type_traits> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include "absl/strings/str_format.h" #include "absl/synchronization/notification.h" #include <nlohmann/json.hpp> #include "te...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/tsgrpc/kvstore_server.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/tsgrpc/kvstore_server_test.cc
4f887a6430414cd6088e1743555015b10f116d50
6e37f9e9-a68a-4e08-8899-9c880461c192
cpp
google/tensorstore
tsgrpc
tensorstore/kvstore/tsgrpc/tsgrpc.cc
tensorstore/kvstore/tsgrpc/tsgrpc_test.cc
#include <stdint.h> #include <atomic> #include <memory> #include <optional> #include <string> #include <utility> #include "absl/base/attributes.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/time/clock.h" #include "absl/time/time.h" #include "grpcpp/chann...
#include <optional> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include "absl/synchronization/notification.h" #include "absl/time/time.h" #include "grpcpp/grpcpp.h" #include "grpcpp/support/status.h" #include "grpcpp/support/sync_stream.h" ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/tsgrpc/tsgrpc.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/tsgrpc/tsgrpc_test.cc
4f887a6430414cd6088e1743555015b10f116d50
8e4c68dd-bf7a-461f-8359-b00cdc6e5b6d
cpp
google/tensorstore
gcs_grpc
tensorstore/kvstore/gcs_grpc/gcs_grpc.cc
tensorstore/kvstore/gcs_grpc/gcs_grpc_test.cc
#include <stddef.h> #include <stdint.h> #include <algorithm> #include <cassert> #include <functional> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include "absl/base/attributes.h" #include "absl/base/thread_annotations.h" #include "absl/crc/crc32c.h" #include "absl/...
#include <stddef.h> #include <cstring> #include <optional> #include <string> #include <type_traits> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_format.h" #i...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_grpc/gcs_grpc.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_grpc/gcs_grpc_test.cc
4f887a6430414cd6088e1743555015b10f116d50
dc8ace3e-4756-4385-8a98-8b67b7737979
cpp
google/tensorstore
zip_dir_cache
tensorstore/kvstore/zip/zip_dir_cache.cc
tensorstore/kvstore/zip/zip_dir_cache_test.cc
#include "tensorstore/kvstore/zip/zip_dir_cache.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cassert> #include <memory> #include <string> #include <tuple> #include <utility> #include <variant> #include <vector> #include "absl/base/attributes.h" #include "absl/log/absl_log.h" #include "absl/...
#include "tensorstore/kvstore/zip/zip_dir_cache.h" #include <memory> #include <string> #include <string_view> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/flags/flag.h" #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/ti...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zip/zip_dir_cache.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zip/zip_dir_cache_test.cc
4f887a6430414cd6088e1743555015b10f116d50
d5e0aae3-f28b-414d-a342-b691170f8ef7
cpp
google/tensorstore
zip_key_value_store
tensorstore/kvstore/zip/zip_key_value_store.cc
tensorstore/kvstore/zip/zip_key_value_store_test.cc
#include <stddef.h> #include <algorithm> #include <cassert> #include <memory> #include <string> #include <string_view> #include <utility> #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_format.h" #include "riegeli/bytes/cord_reader.h" #include "te...
#include <string> #include <string_view> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/flags/flag.h" #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/synchronization/notification.h" #include <nlohmann/json.hpp> #include "...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zip/zip_key_value_store.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zip/zip_key_value_store_test.cc
4f887a6430414cd6088e1743555015b10f116d50
95e40c78-e8f4-43ff-9fff-211c5845b9a2
cpp
google/tensorstore
shard_format
tensorstore/kvstore/zarr3_sharding_indexed/shard_format.cc
tensorstore/kvstore/zarr3_sharding_indexed/shard_format_test.cc
#include "tensorstore/kvstore/zarr3_sharding_indexed/shard_format.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cassert> #include <limits> #include <optional> #include <utility> #include <vector> #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "absl/strings/cord.h" ...
#include "tensorstore/kvstore/zarr3_sharding_indexed/shard_format.h" #include <optional> #include <string_view> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/cord.h" #include <nlohmann/json.hpp> #include "tensorstore/driver/zarr3/codec/codec_c...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zarr3_sharding_indexed/shard_format.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zarr3_sharding_indexed/shard_format_test.cc
4f887a6430414cd6088e1743555015b10f116d50
61928d7e-efb0-4f2c-8acc-2f59f7b04420
cpp
google/tensorstore
key
tensorstore/kvstore/zarr3_sharding_indexed/key.cc
tensorstore/kvstore/zarr3_sharding_indexed/key_test.cc
#include "tensorstore/kvstore/zarr3_sharding_indexed/key.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cassert> #include <cstring> #include <optional> #include <string> #include <string_view> #include <utility> #include "absl/base/internal/endian.h" #include "absl/status/status.h" #include "...
#include "tensorstore/kvstore/zarr3_sharding_indexed/key.h" #include <optional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index.h" #include "tensorstore/kvstore/key_range.h" namespace { using ::tensorstore::Index; using ::tensorstore::KeyRange; using ::tensorstore::zarr3_...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zarr3_sharding_indexed/key.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zarr3_sharding_indexed/key_test.cc
4f887a6430414cd6088e1743555015b10f116d50
e0018a36-efb1-402e-a04d-3986a28f728c
cpp
google/tensorstore
zarr3_sharding_indexed
tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.cc
tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed_test.cc
#include "tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.h" #include <stddef.h> #include <stdint.h> #include <cassert> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/base/optimization.h" #include "absl/status/status.h...
#include "tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.h" #include <stddef.h> #include <stdint.h> #include <functional> #include <initializer_list> #include <map> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gt...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/zarr3_sharding_indexed/zarr3_sharding_indexed_test.cc
4f887a6430414cd6088e1743555015b10f116d50
cd683c63-0679-46b1-95e4-b2624b9ce00a
cpp
google/tensorstore
uint64_sharded
tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.cc
tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_test.cc
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.h" #include <algorithm> #include "absl/base/optimization.h" #include "absl/strings/str_format.h" #include "tensorstore/internal/integer_overflow.h" #include "tensorstore/internal/json_binding/enum.h" #include "tensorstore/internal/json_binding/jso...
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/internal/json_gtest.h" #include "tensorstore/util/status.h" #include "tensorstore/util/status_testutil.h" #include "tensorstore/util/str_cat.h" namespace { using ::tensorst...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_test.cc
4f887a6430414cd6088e1743555015b10f116d50
6ac94486-7e5d-4dfb-9030-e1765d91f8e5
cpp
google/tensorstore
uint64_sharded_encoder
tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.cc
tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder_test.cc
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.h" #include <stddef.h> #include <stdint.h> #include <optional> #include <string> #include <utility> #include "absl/base/internal/endian.h" #include "absl/functional/function_ref.h" #include "absl/status/status.h" #include "absl/strings/cor...
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.h" #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/internal/compression/zlib.h" #include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.h" #include "tensorstore/u...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_encoder_test.cc
4f887a6430414cd6088e1743555015b10f116d50
9973afe3-dec3-41d3-a3be-739f6757b498
cpp
google/tensorstore
uint64_sharded_decoder
tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.cc
tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder_test.cc
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.h" #include <stddef.h> #include <stdint.h> #include <optional> #include <string_view> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/base/internal/endian.h" #include "absl/status/status.h" #includ...
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/internal/compression/zlib.h" #include "tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded.h" #include "tensorstore/kvstore/neuroglancer_uint64_sharded/u...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/uint64_sharded_decoder_test.cc
4f887a6430414cd6088e1743555015b10f116d50
25ce80e0-cfc7-41c8-8494-1706993cefd2
cpp
google/tensorstore
neuroglancer_uint64_sharded
tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.cc
tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded_test.cc
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <cassert> #include <cstring> #include <limits> #include <memory> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector...
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.h" #include <stddef.h> #include <stdint.h> #include <functional> #include <initializer_list> #include <map> #include <memory> #include <string> #include <string_view> #include <utility> #include <vector> #include <gmock/gmock.h> #incl...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/neuroglancer_uint64_sharded_test.cc
4f887a6430414cd6088e1743555015b10f116d50
84a69cff-dda7-4779-a36a-8b037048acc0
cpp
google/tensorstore
murmurhash3
tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.cc
tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3_test.cc
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.h" #include <cstdint> namespace tensorstore { namespace neuroglancer_uint64_sharded { namespace { constexpr uint32_t MurmurHash3_x86_128Mix(uint32_t h) { h ^= h >> 16; h *= 0x85ebca6b; h ^= h >> 13; h *= 0xc2b2ae35; h ^= h >> 16; return h...
#include "tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.h" #include <cstdint> #include <gmock/gmock.h> #include <gtest/gtest.h> namespace { using ::tensorstore::neuroglancer_uint64_sharded::MurmurHash3_x86_128Hash64Bits; TEST(MurmurHash3Test, Basic) { uint32_t h[4]; h[0] = h[1] = h[2] = h[3] = 0; Mu...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/neuroglancer_uint64_sharded/murmurhash3_test.cc
4f887a6430414cd6088e1743555015b10f116d50
8367ff2e-15a0-4c35-9cf2-3c250ad2a825
cpp
google/tensorstore
coordinator_server
tensorstore/kvstore/ocdbt/distributed/coordinator_server.cc
tensorstore/kvstore/ocdbt/distributed/coordinator_server_test.cc
#include "tensorstore/kvstore/ocdbt/distributed/coordinator_server.h" #include <stddef.h> #include <stdint.h> #include <functional> #include <iterator> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/base/attributes.h" #include "absl/base/thread_annotations.h" #include "absl/cont...
#include "tensorstore/kvstore/ocdbt/distributed/coordinator_server.h" #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/absl_log.h" #include "absl/time/clock.h" #include "absl/time/time.h" #include "grpcpp/create_channel.h" #i...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/distributed/coordinator_server.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/distributed/coordinator_server_test.cc
4f887a6430414cd6088e1743555015b10f116d50
d2e0d6b4-ac57-4181-aa0e-9c667da975dc
cpp
google/tensorstore
coalesce_kvstore
tensorstore/kvstore/ocdbt/io/coalesce_kvstore.cc
tensorstore/kvstore/ocdbt/io/coalesce_kvstore_test.cc
#include "tensorstore/kvstore/ocdbt/io/coalesce_kvstore.h" #include <stddef.h> #include <algorithm> #include <cassert> #include <cstring> #include <limits> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/base/attributes.h" #include "absl/base/thread_annotations...
#include "tensorstore/kvstore/ocdbt/io/coalesce_kvstore.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include "absl/time/time.h" #include "tensorstore/internal/thread/thread_pool.h" #include "tensorstore/kvstore/kvstore.h" #include "tensorstore/kvstore/mock_kvstore.h" #include "te...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/io/coalesce_kvstore.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/io/coalesce_kvstore_test.cc
4f887a6430414cd6088e1743555015b10f116d50
750c58e8-c353-449d-8065-8f1bc4edfbe2
cpp
google/tensorstore
indirect_data_writer
tensorstore/kvstore/ocdbt/io/indirect_data_writer.cc
tensorstore/kvstore/ocdbt/io/indirect_data_writer_test.cc
#include "tensorstore/kvstore/ocdbt/io/indirect_data_writer.h" #include <stddef.h> #include <cassert> #include <string> #include <utility> #include "absl/base/attributes.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/synchronization/mutex.h" #include "ten...
#include "tensorstore/kvstore/ocdbt/io/indirect_data_writer.h" #include <algorithm> #include <cstring> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include "tensorstore/internal/flat_cord_builder.h" #include "tensorstore/kvstore...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/io/indirect_data_writer.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/io/indirect_data_writer_test.cc
4f887a6430414cd6088e1743555015b10f116d50
f41746de-0a2d-465c-afe8-d44b6c3c4991
cpp
google/tensorstore
read_version
tensorstore/kvstore/ocdbt/non_distributed/read_version.cc
tensorstore/kvstore/ocdbt/read_version_test.cc
#include "tensorstore/kvstore/ocdbt/non_distributed/read_version.h" #include <cassert> #include <memory> #include <utility> #include <variant> #include "absl/base/attributes.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/str_format.h" #include "absl/time/time.h" #include "tenso...
#include "tensorstore/kvstore/ocdbt/non_distributed/read_version.h" #include <stddef.h> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_format.h" #include <nlohmann/json.hpp> #include "tensorstore/kvstore/kvstore.h" #include "tensorstore/kvstore/ocdbt/driver.h" #include "tensorstore/kvstore...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/non_distributed/read_version.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/read_version_test.cc
4f887a6430414cd6088e1743555015b10f116d50
189ba346-65b2-4a18-9e26-4f064de7f3b7
cpp
google/tensorstore
dump
tensorstore/kvstore/ocdbt/format/dump.cc
tensorstore/kvstore/ocdbt/format/dump_test.cc
#include "tensorstore/kvstore/ocdbt/format/dump.h" #include <map> #include <string> #include <string_view> #include <type_traits> #include <utility> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/escaping.h" #include <nlohmann/json.hpp> #include "re2/re2.h" #include "tensorstore/i...
#include "tensorstore/kvstore/ocdbt/format/dump.h" #include <string_view> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include <nlohmann/json.hpp> #include "tensorstore/internal/json_gtest.h" #include "tensorstore/kvstore/ocdbt/format/btree.h" #include "tensorstore...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/dump.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/dump_test.cc
4f887a6430414cd6088e1743555015b10f116d50
618654a3-d58e-4f05-82a9-934801a00f6f
cpp
google/tensorstore
data_file_id_codec
tensorstore/kvstore/ocdbt/format/data_file_id_codec.cc
tensorstore/kvstore/ocdbt/format/data_file_id_codec_test.cc
#include "tensorstore/kvstore/ocdbt/format/data_file_id_codec.h" #include <algorithm> #include <string_view> #include <vector> #include "absl/container/flat_hash_map.h" #include "riegeli/bytes/reader.h" #include "riegeli/bytes/writer.h" #include "riegeli/varint/varint_reading.h" #include "riegeli/varint/varint_writing....
#include "tensorstore/kvstore/ocdbt/format/data_file_id_codec.h" #include <string> #include <string_view> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include "riegeli/bytes/cord_reader.h" #include "riegeli/bytes/cord_writer.h" #include "riegeli/varint/varint_writing.h" #include "te...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/data_file_id_codec.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/data_file_id_codec_test.cc
4f887a6430414cd6088e1743555015b10f116d50
753e4b82-adbd-4336-a554-86e584815eb5
cpp
google/tensorstore
btree
tensorstore/kvstore/ocdbt/format/btree.cc
tensorstore/kvstore/ocdbt/format/btree_test.cc
#include "tensorstore/kvstore/ocdbt/format/btree.h" #include <algorithm> #include <cassert> #include <cstring> #include <limits> #include <memory> #include <ostream> #include <string> #include <string_view> #include <variant> #include <vector> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "abs...
#include "tensorstore/kvstore/ocdbt/format/btree.h" #include <stddef.h> #include <algorithm> #include <string> #include <string_view> #include <type_traits> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "abs...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/btree.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/btree_test.cc
4f887a6430414cd6088e1743555015b10f116d50
804e3b77-9552-4354-8330-c9484f9ebfcd
cpp
google/tensorstore
manifest
tensorstore/kvstore/ocdbt/format/manifest.cc
tensorstore/kvstore/ocdbt/format/manifest_test.cc
#include "tensorstore/kvstore/ocdbt/format/manifest.h" #include <cassert> #include <ostream> #include <string> #include <string_view> #include <vector> #include "absl/functional/function_ref.h" #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_format.h" #include "riegeli/bytes/re...
#include "tensorstore/kvstore/ocdbt/format/manifest.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_format.h" #include "tensorstore/kvstore/ocdbt/format/btree.h" #include "tensorstore/kvstore/ocdbt/format/config.h" #include "tensorstore/kvstore/ocdbt/format/indirect_data_reference.h" #in...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/manifest.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/ocdbt/format/manifest_test.cc
4f887a6430414cd6088e1743555015b10f116d50
bd4944f1-a2be-4199-8289-233b06c073b9
cpp
google/tensorstore
gcs_testbench
tensorstore/kvstore/gcs/gcs_testbench.cc
tensorstore/kvstore/gcs_http/gcs_testbench_test.cc
#include "tensorstore/kvstore/gcs/gcs_testbench.h" #include <memory> #include <optional> #include <string> #include <utility> #include "absl/flags/flag.h" #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/numbers.h" #include "absl/strings/str_format.h...
#include "tensorstore/kvstore/gcs/gcs_testbench.h" #include <stddef.h> #include <cstring> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/base/call_once.h" #include "absl/base/no_destructor.h" #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" #include "absl/strings/cord.h" #inc...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs/gcs_testbench.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_http/gcs_testbench_test.cc
4f887a6430414cd6088e1743555015b10f116d50
dd9bc663-fd0f-418e-9cc8-144ac62321b0
cpp
google/tensorstore
index_vector_or_scalar
tensorstore/index_space/index_vector_or_scalar.cc
tensorstore/index_space/index_vector_or_scalar_test.cc
#include "tensorstore/index_space/index_vector_or_scalar.h" #include <system_error> #include "absl/status/status.h" #include "tensorstore/util/status.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_index_space { absl::Status CheckIndexVectorSize(IndexVectorOrScalarView indices, ...
#include "tensorstore/index_space/index_vector_or_scalar.h" #include <cstdint> #include <system_error> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index.h" #include "tensorstore/util/span.h" #include "tensorstore/util/status.h" #include "tensorstore/util/status_testutil.h...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/index_vector_or_scalar.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/index_vector_or_scalar_test.cc
4f887a6430414cd6088e1743555015b10f116d50
08971125-e01f-4a75-81b3-81a1c6420689
cpp
google/tensorstore
index_transform_builder
tensorstore/index_space/index_transform_builder.cc
tensorstore/index_space/index_transform_builder_test.cc
#include "tensorstore/index_space/index_transform_builder.h" #include "absl/base/optimization.h" #include "absl/status/status.h" #include "tensorstore/index.h" #include "tensorstore/index_space/internal/transform_rep_impl.h" #include "tensorstore/internal/dimension_labels.h" #include "tensorstore/internal/integer_overf...
#include "tensorstore/index_space/index_transform_builder.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/array.h" #include "tensorstore/box.h" #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/util/dimension_set.h" #include "tensorstore/util/sp...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/index_transform_builder.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/index_transform_builder_test.cc
4f887a6430414cd6088e1743555015b10f116d50
7dc63e63-9db6-4acf-bf59-96ebbb710399
cpp
google/tensorstore
transform_broadcastable_array
tensorstore/index_space/transform_broadcastable_array.cc
tensorstore/index_space/transform_broadcastable_array_test.cc
#include "tensorstore/index_space/transform_broadcastable_array.h" #include "absl/status/status.h" #include "tensorstore/array.h" #include "tensorstore/box.h" #include "tensorstore/index_interval.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/transformed_array.h" #include "ten...
#include "tensorstore/index_space/transform_broadcastable_array.h" #include <stddef.h> #include <random> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorstore/array.h" #include "tensorstore/index.h" #include "tensorstore/index_space/index_domain.h" #in...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/transform_broadcastable_array.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/transform_broadcastable_array_test.cc
4f887a6430414cd6088e1743555015b10f116d50
e27303bd-5458-4010-86a5-e3c07c076a7b
cpp
google/tensorstore
dimension_identifier
tensorstore/index_space/dimension_identifier.cc
tensorstore/index_space/dimension_identifier_test.cc
#include "tensorstore/index_space/dimension_identifier.h" #include <cassert> #include <ostream> #include <string> #include <system_error> #include <variant> #include "absl/status/status.h" #include "absl/strings/str_join.h" #include "tensorstore/index.h" #include "tensorstore/index_space/dimension_index_buffer.h" #in...
#include "tensorstore/index_space/dimension_identifier.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index.h" #include "tensorstore/util/status.h" #include "tensorstore/util/status_testutil.h" #include "tensorstore/util/str_cat.h" namespace { using ::tensorstore::DimensionIdentifier; using ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/dimension_identifier.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/dimension_identifier_test.cc
4f887a6430414cd6088e1743555015b10f116d50
ac2af6eb-d6da-4cea-91cc-9358932ac908
cpp
google/tensorstore
transformed_array
tensorstore/index_space/transformed_array.cc
tensorstore/index_space/transformed_array_test.cc
#include "tensorstore/index_space/transformed_array.h" #include <stddef.h> #include <algorithm> #include <array> #include <cassert> #include <string> #include <utility> #include "absl/status/status.h" #include "tensorstore/box.h" #include "tensorstore/data_type.h" #include "tensorstore/data_type_conversion.h" #include ...
#include "tensorstore/index_space/transformed_array.h" #include <stddef.h> #include <stdint.h> #include <random> #include <type_traits> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorstore/array.h" #include "tensorstore/array_testut...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/transformed_array.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/transformed_array_test.cc
4f887a6430414cd6088e1743555015b10f116d50
efe8eb53-2350-4abc-aafc-adeb5a15e0e5
cpp
google/tensorstore
dimension_units
tensorstore/index_space/dimension_units.cc
tensorstore/index_space/dimension_units_test.cc
#include "tensorstore/index_space/dimension_units.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/util/quote_string.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { Result<DimensionUnitsVector> TransformInputDimensionUnits( IndexTransformView<> transform, DimensionUnits...
#include "tensorstore/index_space/dimension_units.h" #include <stddef.h> #include <iterator> #include <optional> #include <random> #include <string> #include <string_view> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/random/bit_gen_ref.h" #include "absl/random/random.h" #include "absl/status/status....
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/dimension_units.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/dimension_units_test.cc
4f887a6430414cd6088e1743555015b10f116d50
03256495-5ec0-4ac6-9ce5-6a277dd98fb7
cpp
google/tensorstore
dimension_permutation
tensorstore/index_space/dimension_permutation.cc
tensorstore/index_space/dimension_permutation_test.cc
#include "tensorstore/index_space/dimension_permutation.h" #include <algorithm> #include <numeric> #include "tensorstore/contiguous_layout.h" #include "tensorstore/index.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/strided_layout.h" #include "tensorstore/util/dimension_set.h" #include "...
#include "tensorstore/index_space/dimension_permutation.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index.h" #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/util/span.h" #include "tensorstore/...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/dimension_permutation.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/dimension_permutation_test.cc
4f887a6430414cd6088e1743555015b10f116d50
10851145-94d4-4428-b846-ace1c1731762
cpp
google/tensorstore
alignment
tensorstore/index_space/alignment.cc
tensorstore/index_space/alignment_test.cc
#include "tensorstore/index_space/alignment.h" #include <algorithm> #include <numeric> #include "absl/status/status.h" #include "tensorstore/index_space/internal/transform_rep.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { absl::Status AlignDimensionsTo(IndexDomainView<> source, ...
#include "tensorstore/index_space/alignment.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/util/status.h" #include "tens...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/alignment.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/alignment_test.cc
4f887a6430414cd6088e1743555015b10f116d50
458c05c5-40e1-494f-bb6d-f746c1850d3f
cpp
google/tensorstore
identity_transform
tensorstore/index_space/internal/identity_transform.cc
tensorstore/index_space/identity_transform_test.cc
#include "tensorstore/index_space/internal/identity_transform.h" namespace tensorstore { namespace internal_index_space { void SetToIdentityTransform(span<OutputIndexMap> maps) { for (DimensionIndex i = 0; i < maps.size(); ++i) { auto& map = maps[i]; map.SetSingleInputDimension(i); map.offset() = 0; m...
#include <type_traits> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/array.h" #include "tensorstore/box.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/util/span.h" #include "tensorstore/util/status.h" #...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/identity_transform.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/identity_transform_test.cc
4f887a6430414cd6088e1743555015b10f116d50
7c56682b-83cb-4b2e-b235-8488d234e334
cpp
google/tensorstore
transpose_op
tensorstore/index_space/internal/transpose_op.cc
tensorstore/index_space/transpose_op_test.cc
#include "tensorstore/index_space/internal/transpose_op.h" #include <cassert> #include <numeric> #include "absl/status/status.h" #include "tensorstore/index_space/dimension_identifier.h" #include "tensorstore/index_space/dimension_permutation.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" #include "tensorstore/util/status.h" namespace { using ::tensorstore::Dims; using ::ten...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/transpose_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/transpose_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
31b38434-5c80-41ae-9aa3-f9777e02235e
cpp
google/tensorstore
dimension_selection
tensorstore/index_space/internal/dimension_selection.cc
tensorstore/index_space/dimension_selection_test.cc
#include "tensorstore/index_space/internal/dimension_selection.h" #include <numeric> #include "absl/status/status.h" #include "absl/strings/str_join.h" #include "tensorstore/index_space/dimension_identifier.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_index_space { absl::Status Ch...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" #include "tensorstore/util/st...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/dimension_selection.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/dimension_selection_test.cc
4f887a6430414cd6088e1743555015b10f116d50
e623c8f3-9336-4f63-a160-ff9b2d0ae2db
cpp
google/tensorstore
label_op
tensorstore/index_space/internal/label_op.cc
tensorstore/index_space/label_op_test.cc
#include "tensorstore/index_space/internal/label_op.h" #include <stddef.h> #include <string> #include <string_view> #include <utility> #include "absl/status/status.h" #include "tensorstore/container_kind.h" #include "tensorstore/index.h" #include "tensorstore/index_space/dimension_index_buffer.h" #include "tensorstore/...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" #include "tensorstore/util/status.h" namespace { using ::tensorstore::DimensionIndex; u...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/label_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/label_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
fc22fcd4-0c88-46a4-b421-8053fcf0fff6
cpp
google/tensorstore
compose_transforms
tensorstore/index_space/internal/compose_transforms.cc
tensorstore/index_space/compose_transforms_test.cc
#include "tensorstore/index_space/internal/compose_transforms.h" #include <cassert> #include <sstream> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_replace.h" #include "tensorstore/box.h" #include "tensorstore/container_kind.h" #include "...
#include "tensorstore/index_space/internal/compose_transforms.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/array.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/util/status.h" #include "tensorstore/u...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/compose_transforms.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/compose_transforms_test.cc
4f887a6430414cd6088e1743555015b10f116d50
d28dc637-0d34-4545-8a45-35b6ed5a752c
cpp
google/tensorstore
propagate_bounds
tensorstore/index_space/internal/propagate_bounds.cc
tensorstore/index_space/propagate_bounds_test.cc
#include "tensorstore/index_space/internal/propagate_bounds.h" #include <algorithm> #include <cassert> #include <sstream> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/strings/cord.h" #include "absl/strings/str_replace.h" #include "tensorstore/box.h" #include "tensorstore/index.h" ...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorstore/index.h" #include "tensorstore/index_interval.h" #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/index_transform_builde...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/propagate_bounds.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/propagate_bounds_test.cc
4f887a6430414cd6088e1743555015b10f116d50
a8dce167-0d38-46a8-a3e5-9d04905364a8
cpp
google/tensorstore
mark_explicit_op
tensorstore/index_space/internal/mark_explicit_op.cc
tensorstore/index_space/mark_explicit_op_test.cc
#include "tensorstore/index_space/internal/mark_explicit_op.h" #include "absl/status/status.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_index_space { Result<IndexTransform<>> ApplyChangeImplicitState( IndexTransform<> transform, DimensionIndexBuffer* dimensions, bool implicit...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/array.h" #include "tensorstore/index.h" #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/int...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/mark_explicit_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/mark_explicit_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
1ee891c3-4dbe-4905-bfd8-607c15821558
cpp
google/tensorstore
inverse_transform
tensorstore/index_space/internal/inverse_transform.cc
tensorstore/index_space/inverse_transform_test.cc
#include "tensorstore/index_space/internal/inverse_transform.h" #include "tensorstore/util/result.h" #include "tensorstore/util/status.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_index_space { Result<TransformRep::Ptr<>> InverseTransform(TransformRep* transform) { if (!transfor...
#include <cstddef> #include <limits> #include <random> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorstore/index.h" #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/index_t...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/inverse_transform.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/inverse_transform_test.cc
4f887a6430414cd6088e1743555015b10f116d50
6a2fe14c-ebdc-42e6-b9c5-437c37204503
cpp
google/tensorstore
transform_rep
tensorstore/index_space/internal/transform_rep.cc
tensorstore/index_space/transform_rep_test.cc
#include "tensorstore/index_space/internal/transform_rep.h" #include <memory> #include <new> #include <utility> #include "absl/base/optimization.h" #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/internal/transform_r...
#include "tensorstore/index_space/internal/transform_rep.h" #include <cstddef> #include <limits> #include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/base/macros.h" #include "absl/status/status.h" #include "tensorstore/array.h" #include "tensorstore/container_kind.h" #in...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/transform_rep.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/transform_rep_test.cc
4f887a6430414cd6088e1743555015b10f116d50
866239b7-d9d3-4781-9af5-36f32ea4978f
cpp
google/tensorstore
diagonal_op
tensorstore/index_space/internal/diagonal_op.cc
tensorstore/index_space/diagonal_op_test.cc
#include "tensorstore/index_space/internal/diagonal_op.h" #include <algorithm> namespace tensorstore { namespace internal_index_space { namespace { template <typename R> void ShiftRangeForwardByOne(R range) { for (DimensionIndex i = range.size() - 1; i > 0; --i) { range[i] = range[i - 1]; } } void ExtractDiagon...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" namespace { using ::tensorstore::Dims; using ::tensorstore::Index; using ::tensorstore:...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/diagonal_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/diagonal_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
58fd0fed-e6ea-4f5d-b2d5-9570483b8c99
cpp
google/tensorstore
single_index_slice_op
tensorstore/index_space/internal/single_index_slice_op.cc
tensorstore/index_space/single_index_slice_op_test.cc
#include "tensorstore/index_space/internal/single_index_slice_op.h" #include "absl/status/status.h" #include "tensorstore/index_space/internal/transform_rep_impl.h" #include "tensorstore/internal/integer_overflow.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_index_space { namespace...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" #include "tensorstore/util/st...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/single_index_slice_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/single_index_slice_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
c6f622d4-32e5-476d-a55e-af17aa112a86
cpp
google/tensorstore
index_array_slice_op
tensorstore/index_space/internal/index_array_slice_op.cc
tensorstore/index_space/index_array_slice_op_test.cc
#include "tensorstore/index_space/internal/index_array_slice_op.h" #include <algorithm> #include <numeric> #include "tensorstore/index_space/dimension_identifier.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_index_space { namespace { bool BroadcastSizes(Index source, Index* result)...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" #include "tensorstore/util/status.h" namespace { using ::tensorstore::AllDims; using ::...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/index_array_slice_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/index_array_slice_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
f8ba3194-ffe1-415c-af89-f97e6987e7a8
cpp
google/tensorstore
transform_array
tensorstore/index_space/internal/transform_array.cc
tensorstore/index_space/transform_array_test.cc
#include "tensorstore/index_space/internal/transform_array.h" #include "absl/status/status.h" #include "tensorstore/index_space/internal/iterate_impl.h" #include "tensorstore/index_space/internal/propagate_bounds.h" #include "tensorstore/index_space/internal/transform_rep_impl.h" namespace tensorstore { namespace inter...
#include "tensorstore/index_space/internal/transform_array.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/transform_rep.h" #include "tensorstore/util/status....
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/transform_array.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/transform_array_test.cc
4f887a6430414cd6088e1743555015b10f116d50
19ac5ec1-6718-4849-b3c2-d2aff780b06c
cpp
google/tensorstore
translate_op
tensorstore/index_space/internal/translate_op.cc
tensorstore/index_space/translate_op_test.cc
#include "tensorstore/index_space/internal/translate_op.h" #include <algorithm> #include "absl/status/status.h" #include "tensorstore/internal/integer_overflow.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_index_space { namespace { absl::Status TranslateOutputOffsetsUsingInputOffse...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_domain_builder.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" #include "tensorstore/util/st...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/translate_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/translate_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
4de049ec-a935-430b-bf68-3d954c1ba46f
cpp
google/tensorstore
interval_slice_op
tensorstore/index_space/internal/interval_slice_op.cc
tensorstore/index_space/interval_slice_op_test.cc
#include "tensorstore/index_space/internal/interval_slice_op.h" #include <algorithm> #include "absl/status/status.h" #include "tensorstore/index_space/internal/transform_rep_impl.h" #include "tensorstore/internal/integer_overflow.h" #include "tensorstore/util/division.h" #include "tensorstore/util/span.h" #include "ten...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/box.h" #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" #include "tensorstore/util/status.h" namespace { using ::t...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/interval_slice_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/interval_slice_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
d8944e80-26e6-4dc5-8df1-c051bf2b5ecb
cpp
google/tensorstore
add_new_dims_op
tensorstore/index_space/internal/add_new_dims_op.cc
tensorstore/index_space/add_new_dims_op_test.cc
#include "tensorstore/index_space/internal/add_new_dims_op.h" #include <cassert> #include <utility> #include "tensorstore/index.h" #include "tensorstore/index_interval.h" #include "tensorstore/index_space/dimension_index_buffer.h" #include "tensorstore/index_space/index_transform.h" #include "tensorstore/index_space/in...
#include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/index_space/dim_expression.h" #include "tensorstore/index_space/index_transform_builder.h" #include "tensorstore/index_space/internal/dim_expression_testutil.h" namespace { using ::tensorstore::Dims; using ::tensorstore::Index; using ::tensorstore:...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/internal/add_new_dims_op.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/index_space/add_new_dims_op_test.cc
4f887a6430414cd6088e1743555015b10f116d50
9cffab4a-af17-4482-957f-442c9956958a
cpp
google/tensorstore
keyword_arguments
python/tensorstore/keyword_arguments.h
python/tensorstore/keyword_arguments_test.cc
#ifndef PYTHON_TENSORSTORE_KEYWORD_ARGUMENTS_H_ #define PYTHON_TENSORSTORE_KEYWORD_ARGUMENTS_H_ #include <pybind11/pybind11.h> #include <string_view> #include "absl/strings/ascii.h" #include "absl/strings/str_split.h" #include "python/tensorstore/status.h" #include "python/tensorstore/type_name_override.h" #include "te...
#include <pybind11/pybind11.h> #include "python/tensorstore/keyword_arguments.h" #include "tensorstore/util/str_cat.h" namespace tensorstore { namespace internal_python { namespace { namespace py = ::pybind11; struct MyOptions { int a = 42; std::string b; }; struct MyArgA { using type = int; constexpr static co...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/python/tensorstore/keyword_arguments.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/python/tensorstore/keyword_arguments_test.cc
4f887a6430414cd6088e1743555015b10f116d50
34ccf62e-4ef7-427f-ac2d-6abf3f4c45d8
cpp
google/tensorstore
data_type_conversion
tensorstore/data_type_conversion.h
tensorstore/data_type_conversion_test.cc
#ifndef TENSORSTORE_DATA_TYPE_CONVERSION_H_ #define TENSORSTORE_DATA_TYPE_CONVERSION_H_ #include <array> #include <complex> #include <limits> #include <type_traits> #include "tensorstore/data_type.h" #include "tensorstore/internal/elementwise_function.h" #include "tensorstore/util/result.h" namespace tensorstore { temp...
#include "tensorstore/data_type_conversion.h" #include <type_traits> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/data_type.h" #include "tensorstore/index.h" #include "tensorstore/internal/element_copy_function.h"...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/data_type_conversion.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/data_type_conversion_test.cc
4f887a6430414cd6088e1743555015b10f116d50
bd4ce84d-8c2b-4f27-a3b4-90b861b3d323
cpp
google/tensorstore
constant_bit_vector
tensorstore/util/constant_bit_vector.h
tensorstore/util/constant_bit_vector_test.cc
#ifndef TENSORSTORE_UTIL_CONSTANT_BIT_VECTOR_H_ #define TENSORSTORE_UTIL_CONSTANT_BIT_VECTOR_H_ #include <cstddef> #include <type_traits> #include "tensorstore/util/bit_span.h" #include "tensorstore/util/constant_vector.h" namespace tensorstore { template <typename Block, bool value, std::ptrdiff_t Length> constexpr Bi...
#include "tensorstore/util/constant_bit_vector.h" #include <cstdint> #include <type_traits> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/util/bit_span.h" namespace { using ::tensorstore::BitSpan; using ::tensorstore::GetConstantBitVector; TEST(GetConstantBitVectorTest, Stati...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/constant_bit_vector.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/constant_bit_vector_test.cc
4f887a6430414cd6088e1743555015b10f116d50
5aa739c9-6249-4747-abc4-3b74415156d6
cpp
google/tensorstore
bit_vec
tensorstore/util/bit_vec.h
tensorstore/util/bit_vec_test.cc
#ifndef TENSORSTORE_UTIL_BIT_VEC_H_ #define TENSORSTORE_UTIL_BIT_VEC_H_ #include <algorithm> #include <cassert> #include <cstddef> #include <cstring> #include <type_traits> #include "absl/base/attributes.h" #include "tensorstore/util/bit_span.h" #include "tensorstore/util/bit_vec_impl.h" #include "tensorstore/util/sm...
#include "tensorstore/util/bit_vec.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <type_traits> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/util/bit_span.h" #include "tensorstore/util/str_cat.h" namespace { using ::tensorstore::Bit...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/bit_vec.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/bit_vec_test.cc
4f887a6430414cd6088e1743555015b10f116d50
812071a9-cc21-46f8-accc-2f96d4671015
cpp
google/tensorstore
small_bit_set
tensorstore/util/small_bit_set.h
tensorstore/util/small_bit_set_test.cc
#ifndef TENSORSTORE_UTIL_SMALL_BIT_SET_H_ #define TENSORSTORE_UTIL_SMALL_BIT_SET_H_ #include <stddef.h> #include <cassert> #include <iterator> #include <ostream> #include <type_traits> #include "absl/base/attributes.h" #include "absl/numeric/bits.h" #include "tensorstore/internal/integer_types.h" namespace tensorstore ...
#include "tensorstore/util/small_bit_set.h" #include <stdint.h> #include <type_traits> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/util/str_cat.h" namespace { using ::tensorstore::BitIterator; using ::tensorstore::BitRef; using BitSet = ::tensorstore::SmallBitSet<32>; stati...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/small_bit_set.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/small_bit_set_test.cc
4f887a6430414cd6088e1743555015b10f116d50
7ea580bf-fc22-4f02-84c7-1813a00b67ee
cpp
google/tensorstore
rational
tensorstore/internal/json_binding/rational.h
tensorstore/internal/json_binding/rational_test.cc
#ifndef TENSORSTORE_INTERNAL_JSON_BINDING_RATIONAL_H_ #define TENSORSTORE_INTERNAL_JSON_BINDING_RATIONAL_H_ #include <stddef.h> #include <string> #include <string_view> #include <type_traits> #include "absl/status/status.h" #include "absl/strings/numbers.h" #include "absl/strings/str_format.h" #include <nlohmann/json_f...
#include "tensorstore/internal/json_binding/rational.h" #include <memory> #include <utility> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json_fwd.hpp> #include "tensorstore/index.h" #include "tensorstore/internal/json_binding/gtest.h" #include "tensorstore/internal/json_gtest.h" #include...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/rational.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/rational_test.cc
4f887a6430414cd6088e1743555015b10f116d50
b9327b78-625c-4f69-a147-65f529cff80c
cpp
google/tensorstore
span_json
tensorstore/util/span_json.h
tensorstore/util/span_json_test.cc
#ifndef TENSORSTORE_UTIL_SPAN_JSON_H_ #define TENSORSTORE_UTIL_SPAN_JSON_H_ #include <cstddef> #include <nlohmann/json.hpp> #include "tensorstore/util/span.h" namespace tensorstore { template <typename T, ptrdiff_t Extent> void to_json(::nlohmann::json& out, tensorstore::span<T, Extent> s) { out = ::nl...
#include "tensorstore/util/span_json.h" #include <gtest/gtest.h> #include <nlohmann/json.hpp> #include "tensorstore/internal/json_gtest.h" #include "tensorstore/util/span.h" namespace { using ::tensorstore::span; TEST(SpanJsonTest, Basic) { EXPECT_EQ(::nlohmann::json({1, 2, 3}), ::nlohmann::json(span<cons...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/span_json.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/span_json_test.cc
4f887a6430414cd6088e1743555015b10f116d50
1cafbf81-77c4-417f-a640-ffaa19edce43
cpp
google/tensorstore
element_traits
tensorstore/util/element_traits.h
tensorstore/util/element_traits_test.cc
#ifndef TENSORSTORE_UTIL_ELEMENT_TRAITS_H_ #define TENSORSTORE_UTIL_ELEMENT_TRAITS_H_ #include <type_traits> namespace tensorstore { template <typename Source, typename Dest> constexpr inline bool IsElementTypeImplicitlyConvertible = (std::is_const_v<Source> <= std::is_const_v<Dest>)&& (std::is_same_v<const S...
#include "tensorstore/util/element_traits.h" #include <type_traits> namespace { using ::tensorstore::AreElementTypesCompatible; using ::tensorstore::IsElementTypeImplicitlyConvertible; using ::tensorstore::IsElementTypeOnlyExplicitlyConvertible; static_assert(IsElementTypeImplicitlyConvertible<int, int>); static_assert...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/element_traits.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/element_traits_test.cc
4f887a6430414cd6088e1743555015b10f116d50
b33caddb-e189-4706-ad85-019b3a5d26d2
cpp
google/tensorstore
iterate_over_index_range
tensorstore/util/iterate_over_index_range.h
tensorstore/util/iterate_over_index_range_test.cc
#ifndef TENSORSTORE_UTIL_ITERATE_OVER_INDEX_RANGE_H_ #define TENSORSTORE_UTIL_ITERATE_OVER_INDEX_RANGE_H_ #include <cassert> #include <type_traits> #include "tensorstore/box.h" #include "tensorstore/contiguous_layout.h" #include "tensorstore/index.h" #include "tensorstore/internal/void_wrapper.h" #include "tensorstore/...
#include "tensorstore/util/iterate_over_index_range.h" #include <vector> #include <gtest/gtest.h> #include "tensorstore/box.h" #include "tensorstore/contiguous_layout.h" #include "tensorstore/index.h" #include "tensorstore/util/span.h" namespace { using ::tensorstore::ContiguousLayoutOrder; using ::tensorstore::Index; ...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/iterate_over_index_range.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/iterate_over_index_range_test.cc
4f887a6430414cd6088e1743555015b10f116d50
d35cffbe-967b-4c8d-96bd-dc614f18ca06
cpp
google/tensorstore
float8
tensorstore/util/float8.h
tensorstore/util/float8_test.cc
#ifndef TENSORSTORE_UTIL_FLOAT8_H_ #define TENSORSTORE_UTIL_FLOAT8_H_ #include <algorithm> #include <cmath> #include <cstddef> #include <cstdint> #include <limits> #include <ostream> #include <type_traits> #include <utility> #include "absl/base/casts.h" #include <half.hpp> #include <nlohmann/json_fwd.hpp> #include "ten...
#include "tensorstore/util/float8.h" #include <cmath> #include <cstdint> #include <limits> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/base/casts.h" #include "absl/strings/str_cat.h" #include <half.hpp> #include "tensorstore/util/bfloat16.h" namespace tensorstor...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/float8.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/float8_test.cc
4f887a6430414cd6088e1743555015b10f116d50
43526799-73a2-492f-aa82-ab1df36fdb29
cpp
google/tensorstore
result
tensorstore/serialization/result.h
tensorstore/serialization/result_test.cc
#ifndef TENSORSTORE_SERIALIZATION_RESULT_H_ #define TENSORSTORE_SERIALIZATION_RESULT_H_ #include "tensorstore/serialization/serialization.h" #include "tensorstore/serialization/status.h" #include "tensorstore/util/result.h" namespace tensorstore { namespace serialization { template <typename T> struct Serializer<Result...
#include "tensorstore/serialization/result.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/serialization/serialization.h" #include "tensorstore/serialization/test_util.h" #include "tensorstore/util/result.h" namespace { using ::tensorstore::serialization::TestSerializationRoundTrip; TEST(Resu...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/serialization/result.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/serialization/result_test.cc
4f887a6430414cd6088e1743555015b10f116d50
18f87e2e-9b1a-444a-9ef9-eca87df828f3
cpp
google/tensorstore
stop_token
tensorstore/util/stop_token.h
tensorstore/util/stop_token_test.cc
#ifndef TENSORSTORE_UTIL_STOP_TOKEN_H_ #define TENSORSTORE_UTIL_STOP_TOKEN_H_ #include <atomic> #include <cstddef> #include <type_traits> #include <utility> #include "absl/base/attributes.h" #include "tensorstore/internal/intrusive_ptr.h" #include "tensorstore/util/stop_token_impl.h" namespace tensorstore { class StopS...
#include "tensorstore/util/stop_token.h" #include <functional> #include <optional> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/internal/testing/concurrent.h" namespace { TEST(StopTokenTest, Invariants) { tensorstore::StopSource source; EXPECT_TRUE(source.stop_possible(...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/stop_token.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/stop_token_test.cc
4f887a6430414cd6088e1743555015b10f116d50
ac09648e-4986-4aff-bf5f-113cdfb15936
cpp
google/tensorstore
int4
tensorstore/util/int4.h
tensorstore/util/int4_test.cc
#ifndef TENSORSTORE_UTIL_INT4_H_ #define TENSORSTORE_UTIL_INT4_H_ #include <cmath> #include <cstdint> #include <limits> #include <type_traits> #include <nlohmann/json_fwd.hpp> namespace tensorstore { class Int4Padded; } namespace std { template <> struct numeric_limits<::tensorstore::Int4Padded>; } namespace tensor...
#include "tensorstore/util/int4.h" #include <cmath> #include <cstdint> #include <cstring> #include <limits> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/base/casts.h" #include <nlohmann/json_fwd.hpp> #include "tensorstore/internal/json_gtest.h" namespace { using Int4 = tensorstore...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/int4.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/int4_test.cc
4f887a6430414cd6088e1743555015b10f116d50
286832a6-e242-4090-a201-48cb5d2db23c
cpp
google/tensorstore
json_absl_flag
tensorstore/util/json_absl_flag.h
tensorstore/util/json_absl_flag_test.cc
#ifndef TENSORSTORE_UTIL_JSON_ABSL_FLAG_H_ #define TENSORSTORE_UTIL_JSON_ABSL_FLAG_H_ #include <string> #include <string_view> #include <type_traits> #include "absl/flags/marshalling.h" #include "absl/status/status.h" #include "absl/strings/str_format.h" #include <nlohmann/json.hpp> #include "tensorstore/internal/json_...
#include "tensorstore/util/json_absl_flag.h" #include <cstdint> #include <string> #include <gtest/gtest.h> #include "tensorstore/internal/json_binding/json_binding.h" #include "tensorstore/kvstore/spec.h" namespace { TEST(JsonAbslFlag, IntFlag) { tensorstore::JsonAbslFlag<int64_t> flag = {}; std::string default_val...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/json_absl_flag.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/json_absl_flag_test.cc
4f887a6430414cd6088e1743555015b10f116d50
24bb0006-b05f-484b-99d7-4f82b5dc15ee
cpp
google/tensorstore
executor
tensorstore/util/executor.h
tensorstore/util/executor_test.cc
#ifndef TENSORSTORE_UTIL_EXECUTOR_H_ #define TENSORSTORE_UTIL_EXECUTOR_H_ #include <functional> #include <type_traits> #include <utility> #include "absl/base/attributes.h" #include "absl/functional/any_invocable.h" #include "absl/meta/type_traits.h" #include "tensorstore/internal/poly/poly.h" #include "tensorstore/inte...
#include "tensorstore/util/executor.h" #include <functional> #include <memory> #include <gtest/gtest.h> namespace { using ::tensorstore::Executor; using ::tensorstore::InlineExecutor; using ::tensorstore::WithExecutor; TEST(InlineExecutorTest, Basic) { Executor executor = InlineExecutor{}; bool invoked = false; e...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/executor.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/executor_test.cc
4f887a6430414cd6088e1743555015b10f116d50