ID
stringlengths
36
36
Language
stringclasses
1 value
Repository Name
stringclasses
13 values
File Name
stringlengths
2
44
File Path in Repository
stringlengths
11
111
File Path for Unit Test
stringlengths
16
116
Code
stringlengths
0
278k
Unit Test - (Ground Truth)
stringlengths
127
663k
Code Url
stringlengths
91
198
Test Code Url
stringlengths
96
203
Commit Hash
stringclasses
13 values
55be3496-37ca-4495-9404-30bbf91e9b67
cpp
tensorflow/tensorflow
comparison_util
third_party/xla/xla/comparison_util.cc
third_party/xla/xla/comparison_util_test.cc
#include "xla/comparison_util.h" #include <optional> #include <string> #include "absl/container/flat_hash_map.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "xla/primitive_util.h" #include "xla/util.h" #include "xla/xla_data.pb.h" #include "tsl/plat...
#include "xla/comparison_util.h" #include <cstdint> #include <limits> #include "xla/test.h" #include "xla/types.h" #include "xla/xla_data.pb.h" namespace xla { namespace { using ::testing::Eq; TEST(Comparison, FloatsDefaultToPartialOrder) { EXPECT_EQ( Comparison(Comparison::Direction::kGe, PrimitiveType::BF16)....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/comparison_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/comparison_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9b3032c4-cbe2-4b9a-85fc-77dc67256bd2
cpp
google/cel-cpp
equality_functions
runtime/standard/equality_functions.cc
runtime/standard/equality_functions_test.cc
#include "runtime/standard/equality_functions.h" #include <cstdint> #include <functional> #include <optional> #include <type_traits> #include <utility> #include "absl/functional/function_ref.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/time/ti...
#include "runtime/standard/equality_functions.h" #include <vector> #include "base/builtins.h" #include "base/function_descriptor.h" #include "base/kind.h" #include "internal/testing.h" #include "runtime/function_registry.h" #include "runtime/runtime_options.h" namespace cel { namespace { using ::testing::UnorderedEleme...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/standard/equality_functions.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/standard/equality_functions_test.cc
4552db5798fb0853b131b783d8875794334fae7f
2b7b518f-026f-4331-bdbc-8e050845acbb
cpp
google/tensorstore
json_binding
tensorstore/internal/json_binding/json_binding.h
tensorstore/internal/json_binding/json_binding_test.cc
#ifndef TENSORSTORE_INTERNAL_JSON_BINDING_JSON_H_ #define TENSORSTORE_INTERNAL_JSON_BINDING_JSON_H_ #include <functional> #include <limits> #include <map> #include <string> #include <string_view> #include <tuple> #include <type_traits> #include <utility> #include "absl/meta/type_traits.h" #include "absl/status/status.h...
#include "tensorstore/internal/json_binding/json_binding.h" #include <cstdint> #include <optional> #include <string> #include <type_traits> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/box.h" #in...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/json_binding.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/json_binding_test.cc
4f887a6430414cd6088e1743555015b10f116d50
54ed2f8c-feef-413a-849e-6f58a65a0f95
cpp
google/arolla
expr
arolla/expr/expr.cc
arolla/expr/expr_test.cc
#include "arolla/expr/expr.h" #include <algorithm> #include <cstddef> #include <initializer_list> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statu...
#include "arolla/expr/expr.h" #include <cstdint> #include <memory> #include <utility> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/status/status_matchers.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "a...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/expr.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/expr_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
84951f39-a11a-4836-802f-02491812829a
cpp
tensorflow/tensorflow
rgb_to_grayscale
tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.cc
tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale_test.cc
#include "tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" #include "tensorflow/lite/kernels/internal/compatibility.h" namespace ml_adj { namespace rgb_to_grayscale { namespace { using ::ml_adj::algo::Algo; using ::ml_adj::algo::InputPack; using...
#include "tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.h" #include <cstring> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/ml_adjacent/data/owning_vector_ref.h" #include "tensorflow/lite/experimental/ml_adjacent/lib.h" using ::ml_adj::algo::Algo; using ::ml_adj::dat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/ml_adjacent/algo/rgb_to_grayscale_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
38da609b-05a2-4452-af29-1e55ce366fdc
cpp
tensorflow/tensorflow
iterator_range
tensorflow/core/lib/gtl/iterator_range.h
third_party/xla/xla/tsl/lib/gtl/iterator_range_test.cc
#ifndef TENSORFLOW_CORE_LIB_GTL_ITERATOR_RANGE_H_ #define TENSORFLOW_CORE_LIB_GTL_ITERATOR_RANGE_H_ #include "xla/tsl/lib/gtl/iterator_range.h" namespace tensorflow { namespace gtl { using ::tsl::gtl::iterator_range; using ::tsl::gtl::make_range; } } #endif
#include "xla/tsl/lib/gtl/iterator_range.h" #include <vector> #include "tsl/platform/macros.h" #include "tsl/platform/test.h" #include "tsl/platform/types.h" namespace tsl { namespace gtl { namespace { TEST(IteratorRange, WholeVector) { std::vector<int> v = {2, 3, 5, 7, 11, 13}; iterator_range<std::vector<int>::ite...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/lib/gtl/iterator_range.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/lib/gtl/iterator_range_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8755924a-ced3-48b1-a66e-1a04454a738d
cpp
tensorflow/tensorflow
serial_device_batch_scheduler
tensorflow/core/kernels/batching_util/serial_device_batch_scheduler.h
tensorflow/core/kernels/batching_util/serial_device_batch_scheduler_test.cc
#ifndef TENSORFLOW_CORE_KERNELS_BATCHING_UTIL_SERIAL_DEVICE_BATCH_SCHEDULER_H_ #define TENSORFLOW_CORE_KERNELS_BATCHING_UTIL_SERIAL_DEVICE_BATCH_SCHEDULER_H_ #include <algorithm> #include <functional> #include <memory> #include <random> #include <unordered_map> #include <vector> #include "tensorflow/core/kernels/batchi...
#include "tensorflow/core/kernels/batching_util/serial_device_batch_scheduler.h" #include "tensorflow/core/kernels/batching_util/fake_clock_env.h" #include "tensorflow/core/lib/core/notification.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/macros.h" #include "tensorflow/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/batching_util/serial_device_batch_scheduler.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/batching_util/serial_device_batch_scheduler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ff8b0f41-e158-42d4-9735-cdca12d747b8
cpp
abseil/abseil-cpp
string_view
absl/strings/string_view.cc
absl/strings/string_view_test.cc
#include "absl/strings/string_view.h" #ifndef ABSL_USES_STD_STRING_VIEW #include <algorithm> #include <climits> #include <cstring> #include <ostream> #include "absl/base/nullability.h" namespace absl { ABSL_NAMESPACE_BEGIN namespace { absl::Nullable<const char*> memmatch(absl::Nullable<const char*> phaystack, ...
#include "absl/strings/string_view.h" #include <stdlib.h> #include <cstddef> #include <cstdlib> #include <cstring> #include <iomanip> #include <ios> #include <iterator> #include <limits> #include <map> #include <memory> #include <sstream> #include <string> #include <type_traits> #include <utility> #include "gtest/gtest...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/string_view.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/string_view_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
d2483bbb-3d3a-4291-b99e-8aba17f70f7e
cpp
google/cel-cpp
field_backed_list_impl
eval/public/containers/field_backed_list_impl.h
eval/public/containers/field_backed_list_impl_test.cc
#ifndef THIRD_PARTY_CEL_CPP_EVAL_PUBLIC_CONTAINERS_FIELD_BACKED_LIST_IMPL_H_ #define THIRD_PARTY_CEL_CPP_EVAL_PUBLIC_CONTAINERS_FIELD_BACKED_LIST_IMPL_H_ #include "eval/public/cel_value.h" #include "eval/public/containers/internal_field_backed_list_impl.h" #include "eval/public/structs/cel_proto_wrapper.h" namespace go...
#include "eval/public/containers/field_backed_list_impl.h" #include <memory> #include <string> #include "eval/testutil/test_message.pb.h" #include "internal/testing.h" #include "testutil/util.h" namespace google { namespace api { namespace expr { namespace runtime { namespace { using ::testing::Eq; using ::testing::Dou...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/containers/field_backed_list_impl.h
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/containers/field_backed_list_impl_test.cc
4552db5798fb0853b131b783d8875794334fae7f
f1b1e34e-ee3d-41fc-b951-2ce70275d5d5
cpp
google/libaddressinput
format_element
cpp/src/format_element.cc
cpp/test/format_element_test.cc
#include "format_element.h" #include <libaddressinput/address_field.h> #include <cassert> #include <ostream> #include <string> namespace i18n { namespace addressinput { FormatElement::FormatElement(AddressField field) : field_(field), literal_() {} FormatElement::FormatElement(const std::string& literal) : field_(C...
#include "format_element.h" #include <libaddressinput/address_field.h> #include <sstream> #include <gtest/gtest.h> namespace { using i18n::addressinput::FormatElement; using i18n::addressinput::SORTING_CODE; TEST(FormatElementTest, StreamFunctionNewline) { std::ostringstream oss; oss << FormatElement(); EXPECT_EQ...
https://github.com/google/libaddressinput/blob/2610f7b1043d6784ada41392fc9392d1ea09ea07/cpp/src/format_element.cc
https://github.com/google/libaddressinput/blob/2610f7b1043d6784ada41392fc9392d1ea09ea07/cpp/test/format_element_test.cc
2610f7b1043d6784ada41392fc9392d1ea09ea07
d5168485-2112-465c-ac4b-17cbb673ffaa
cpp
google/cel-cpp
internal_field_backed_map_impl
eval/public/containers/internal_field_backed_map_impl.cc
eval/public/containers/internal_field_backed_map_impl_test.cc
#include "eval/public/containers/internal_field_backed_map_impl.h" #include <limits> #include <memory> #include <string> #include <utility> #include "google/protobuf/descriptor.h" #include "google/protobuf/map_field.h" #include "google/protobuf/message.h" #include "absl/status/status.h" #include "absl/status/statusor.h...
#include "eval/public/containers/internal_field_backed_map_impl.h" #include <array> #include <limits> #include <memory> #include <string> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "eval/public/structs/cel_proto_wrapper.h" #include "eval/testutil/test_message.pb.h" #inc...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/containers/internal_field_backed_map_impl.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/containers/internal_field_backed_map_impl_test.cc
4552db5798fb0853b131b783d8875794334fae7f
b2c41507-2889-4121-a7a6-29ab6b433e18
cpp
google/arolla
lifting
arolla/qexpr/lifting.h
arolla/qexpr/lifting_test.cc
#ifndef AROLLA_QEXPR_LIFTING_H_ #define AROLLA_QEXPR_LIFTING_H_ #include <cstdint> #include <tuple> #include <type_traits> #include "absl/base/attributes.h" #include "arolla/util/meta.h" namespace arolla { template <class T> struct DoNotLiftTag { using type = T; }; template <class T> using DecayDoNotLiftTag = meta::s...
#include "arolla/qexpr/lifting.h" #include <cstddef> #include <memory> #include <string> #include <type_traits> #include "gtest/gtest.h" #include "arolla/memory/optional_value.h" #include "arolla/util/meta.h" namespace arolla { namespace { TEST(Lifting, DoNotLiftTag) { static_assert(std::is_same_v<int, DoNotLiftTag<i...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/qexpr/lifting.h
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/qexpr/lifting_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
13692b9c-e863-4fa0-8eed-e55cea52b26f
cpp
google/arolla
bytes
arolla/util/bytes.cc
arolla/util/bytes_test.cc
#include "arolla/util/bytes.h" #include <cstddef> #include <string> #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "arolla/util/repr.h" namespace arolla { ReprToken ReprTraits<Bytes>::operator()(const Bytes& value) const { constexpr size_t kBytesAbb...
#include "arolla/util/bytes.h" #include <string> #include <type_traits> #include <utility> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/strings/string_view.h" #include "arolla/util/repr.h" #include "arolla/util/testing/repr_token_eq.h" namespace arolla { namespace { using ::arolla::testing::ReprToke...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/bytes.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/bytes_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
6f7e1c3b-f30a-4c73-bbc3-a36012a5b579
cpp
tensorflow/tensorflow
gcs_dns_cache
third_party/xla/third_party/tsl/tsl/platform/cloud/gcs_dns_cache.cc
third_party/xla/third_party/tsl/tsl/platform/cloud/gcs_dns_cache_test.cc
#include "tsl/platform/cloud/gcs_dns_cache.h" #include <cstring> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tsl/platform/errors.h" #include "tsl/platform/retrying_utils.h" #include "tsl/platform/status.h" #ifndef _WIN32 #include <arpa/inet.h> #include <netdb.h> #include <netinet/in.h> #...
#include "tsl/platform/cloud/gcs_dns_cache.h" #include "tsl/platform/str_util.h" #include "tsl/platform/test.h" namespace tsl { class TestHttpRequest : public HttpRequest { public: void SetUri(const string& uri) override {} void SetRange(uint64 start, uint64 end) override {} void AddHeader(const string& name, co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/cloud/gcs_dns_cache.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/cloud/gcs_dns_cache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a3080d71-6a4e-44ac-b11e-7ca949bc2bb5
cpp
tensorflow/tensorflow
example_parser_configuration
tensorflow/core/example/example_parser_configuration.cc
tensorflow/core/example/example_parser_configuration_test.cc
#include "tensorflow/core/example/example_parser_configuration.h" #include <vector> #include "tensorflow/core/example/feature.pb.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/numeric_op.h" #include "tensorflow/core/framewor...
#include "tensorflow/core/example/example_parser_configuration.h" #include <memory> #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/example/example_parser_configuration.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/example/example_parser_configuration_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8a516fea-af24-401e-b978-de5e7f147671
cpp
tensorflow/tensorflow
tensor_dataset_op
tensorflow/core/kernels/data/tensor_dataset_op.cc
tensorflow/core/kernels/data/tensor_dataset_op_test.cc
#include "tensorflow/core/kernels/data/tensor_dataset_op.h" #include <string> #include <utility> #include "absl/status/status.h" #include "tensorflow/core/data/dataset_utils.h" #include "tensorflow/core/data/global_shuffle_utils.h" #include "tensorflow/core/data/name_utils.h" #include "tensorflow/core/data/split_utils....
#include "tensorflow/core/kernels/data/tensor_dataset_op.h" #include <string> #include <utility> #include "tensorflow/core/data/dataset_test_base.h" #include "tensorflow/core/data/dataset_utils.h" #include "tensorflow/core/data/serialization_utils.h" namespace tensorflow { namespace data { namespace { constexpr char kN...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/tensor_dataset_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/tensor_dataset_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
aad3ff49-0c47-43f8-9f0d-aa4acb4eee14
cpp
google/arolla
restricted_operator
arolla/expr/operators/restricted_operator.cc
arolla/expr/operators/restricted_operator_test.cc
#include "arolla/expr/operators/restricted_operator.h" #include <memory> #include <utility> #include "absl/status/statusor.h" #include "absl/types/span.h" #include "arolla/expr/expr.h" #include "arolla/expr/expr_attributes.h" #include "arolla/expr/expr_node.h" #include "arolla/expr/expr_operator.h" #include "arolla/exp...
#include "arolla/expr/operators/restricted_operator.h" #include <cstdint> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/status/status.h" #include "absl/status/status_matchers.h" #include "arolla/expr/eval/invoke.h" #include "arolla/expr/expr.h" #include "arolla/expr/operators/type_meta_eval_strategie...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/operators/restricted_operator.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/operators/restricted_operator_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
5e3dedee-df81-4a6a-9c4f-321c9ec535fd
cpp
tensorflow/tensorflow
abs
tensorflow/lite/experimental/shlo/ops/abs.cc
tensorflow/lite/delegates/xnnpack/abs_test.cc
#include "tensorflow/lite/experimental/shlo/ops/abs.h" #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/experimental/shlo/tensor.h...
#include <cstdint> #include <functional> #include <memory> #include <random> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/delegates/xnnpack/unary_elementwise_tester.h" #include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h" #include "tensorflow/lite/schema/schema...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/abs.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/abs_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5df7aab9-5757-4f4b-8261-a448a8554408
cpp
tensorflow/tensorflow
indexing_map
third_party/xla/xla/service/gpu/model/indexing_map.cc
third_party/xla/xla/service/gpu/model/indexing_map_test.cc
#include "xla/service/gpu/model/indexing_map.h" #include <algorithm> #include <cassert> #include <cstdint> #include <limits> #include <numeric> #include <optional> #include <ostream> #include <sstream> #include <string> #include <string_view> #include <tuple> #include <utility> #include <vector> #include "absl/base/opt...
#include "xla/service/gpu/model/indexing_map.h" #include <cstdint> #include <limits> #include <memory> #include <optional> #include <sstream> #include <tuple> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/hash/hash_testing.h" #include "absl/strings/string_view.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_map.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/indexing_map_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0a557562-a4da-4ac0-a621-6c54bbdd406d
cpp
tensorflow/tensorflow
all_reduce_blueconnect
third_party/xla/xla/service/gpu/transforms/all_reduce_blueconnect.cc
third_party/xla/xla/service/gpu/transforms/all_reduce_blueconnect_test.cc
#include "xla/service/gpu/transforms/all_reduce_blueconnect.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <optional> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/btree_map.h" #include "absl/container/flat_hash_set.h" #in...
#include "xla/service/gpu/transforms/all_reduce_blueconnect.h" #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/all_reduce_blueconnect.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/all_reduce_blueconnect_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7159b4fd-095b-4682-92bb-0b9ec2944fde
cpp
abseil/abseil-cpp
salted_seed_seq
absl/random/internal/salted_seed_seq.h
absl/random/internal/salted_seed_seq_test.cc
#ifndef ABSL_RANDOM_INTERNAL_SALTED_SEED_SEQ_H_ #define ABSL_RANDOM_INTERNAL_SALTED_SEED_SEQ_H_ #include <cstdint> #include <cstdlib> #include <initializer_list> #include <iterator> #include <memory> #include <type_traits> #include <utility> #include <vector> #include "absl/container/inlined_vector.h" #include "absl/me...
#include "absl/random/internal/salted_seed_seq.h" #include <iterator> #include <random> #include <utility> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" using absl::random_internal::GetSaltMaterial; using absl::random_internal::MakeSaltedSeedSeq; using absl::random_internal::SaltedSeedSeq; using t...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/salted_seed_seq.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/salted_seed_seq_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
d6039166-212e-4c5c-a02a-ee5b64913499
cpp
google/leveldb
memenv
helpers/memenv/memenv.cc
helpers/memenv/memenv_test.cc
#include "helpers/memenv/memenv.h" #include <cstring> #include <limits> #include <map> #include <string> #include <vector> #include "leveldb/env.h" #include "leveldb/status.h" #include "port/port.h" #include "port/thread_annotations.h" #include "util/mutexlock.h" namespace leveldb { namespace { class FileState { publi...
#include "helpers/memenv/memenv.h" #include <string> #include <vector> #include "gtest/gtest.h" #include "db/db_impl.h" #include "leveldb/db.h" #include "leveldb/env.h" #include "util/testutil.h" namespace leveldb { class MemEnvTest : public testing::Test { public: MemEnvTest() : env_(NewMemEnv(Env::Default())) {} ...
https://github.com/google/leveldb/blob/23e35d792b9154f922b8b575b12596a4d8664c65/helpers/memenv/memenv.cc
https://github.com/google/leveldb/blob/23e35d792b9154f922b8b575b12596a4d8664c65/helpers/memenv/memenv_test.cc
23e35d792b9154f922b8b575b12596a4d8664c65
e0bafeec-b8dc-4bfa-840f-87c8a06e09cc
cpp
tensorflow/tensorflow
collective_permute_valid_iteration_annotator
third_party/xla/xla/service/gpu/transforms/collective_permute_valid_iteration_annotator.cc
third_party/xla/xla/service/gpu/transforms/collective_permute_valid_iteration_annotator_test.cc
#include "xla/service/gpu/transforms/collective_permute_valid_iteration_annotator.h" #include "xla/literal_util.h" #include "xla/service/collective_ops_utils.h" #include "xla/service/pattern_matcher.h" #include "xla/service/while_loop_analysis.h" namespace xla { static const HloInstruction* NonConstantOperand(const Hlo...
#include "xla/service/gpu/transforms/collective_permute_valid_iteration_annotator.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/pass/hlo_pass_pipeline.h" #include "xla/service/collective_ops_utils.h" #include "xla/service/while_loop_trip_count_annotator.h" #incl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/collective_permute_valid_iteration_annotator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/collective_permute_valid_iteration_annotator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ad69ddc5-0993-4550-bcd1-c25e14d6bb5e
cpp
tensorflow/tensorflow
path_utils
tensorflow/core/data/service/snapshot/path_utils.cc
tensorflow/core/data/service/snapshot/path_utils_test.cc
#include "tensorflow/core/data/service/snapshot/path_utils.h" #include <cstdint> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/numbers.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_split....
#include "tensorflow/core/data/service/snapshot/path_utils.h" #include "tsl/platform/status_matchers.h" #include "tsl/platform/test.h" #include "tsl/protobuf/error_codes.pb.h" namespace tensorflow { namespace data { namespace { using ::testing::FieldsAre; using ::testing::HasSubstr; using ::testing::MatchesRegex; using...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/path_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/snapshot/path_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
86af0dfd-9e9d-4348-8772-56caee98f0d0
cpp
tensorflow/tensorflow
simple_tf_op
tensorflow/lite/kernels/shim/test_op/simple_tf_op.cc
tensorflow/lite/kernels/shim/test_op/simple_tf_op_test.cc
#include "tensorflow/lite/kernels/shim/test_op/simple_tf_op.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/lite/kernels/shim/tf_op_shim.h" namespace tflite { namespace shim { REGISTER_TF_OP_SHIM(SimpleOpKernel); REGISTER_KERNEL_BUILDER( Name(Sim...
#include <cstdint> #include <gtest/gtest.h> #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/shim/test_op/simple_tf_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/shim/test_op/simple_tf_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c8a63f1d-c176-4b51-8f7a-1bb28e6cba6d
cpp
tensorflow/tensorflow
permuter
tensorflow/core/common_runtime/permuter.cc
tensorflow/core/common_runtime/permuter_test.cc
#include "tensorflow/core/common_runtime/permuter.h" #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/collective_util.h" #include "tensorflow/core/common_runtime/copy_tensor.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_ru...
#include "tensorflow/core/common_runtime/permuter.h" #include <algorithm> #include "absl/memory/memory.h" #include "absl/types/span.h" #include "tensorflow/core/common_runtime/base_collective_executor.h" #include "tensorflow/core/common_runtime/collective_rma_local.h" #include "tensorflow/core/common_runtime/collective...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/permuter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/permuter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3426a9d7-9880-4064-a001-25e5ea338033
cpp
tensorflow/tensorflow
stderr_reporter
tensorflow/lite/stderr_reporter.cc
tensorflow/lite/stderr_reporter_test.cc
#include "tensorflow/lite/stderr_reporter.h" #include <stdarg.h> #include "tensorflow/lite/core/api/error_reporter.h" #include "tensorflow/lite/logger.h" #include "tensorflow/lite/minimal_logging.h" namespace tflite { int StderrReporter::Report(const char* format, va_list args) { logging_internal::MinimalLogger::LogF...
#include "tensorflow/lite/stderr_reporter.h" #include <gtest/gtest.h> #include "tensorflow/lite/core/api/error_reporter.h" namespace tflite { namespace { void CheckWritesToStderr(ErrorReporter *error_reporter) { #ifndef TF_LITE_STRIP_ERROR_STRINGS testing::internal::CaptureStderr(); #endif TF_LITE_REPORT_ERROR(erro...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/stderr_reporter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/stderr_reporter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5485af59-308f-45e1-9106-bff86bd14755
cpp
abseil/abseil-cpp
status_matchers
absl/status/internal/status_matchers.cc
absl/status/status_matchers_test.cc
#include "absl/status/internal/status_matchers.h" #include <ostream> #include <string> #include "gmock/gmock.h" #include "absl/base/config.h" #include "absl/status/status.h" namespace absl_testing { ABSL_NAMESPACE_BEGIN namespace status_internal { void StatusIsMatcherCommonImpl::DescribeTo(std::ostream* os) const { ...
#include "absl/status/status_matchers.h" #include "gmock/gmock.h" #include "gtest/gtest-spi.h" #include "gtest/gtest.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" namespace { using ::absl_testing::IsOk; using ::absl_testing::IsOkAndHolds; using ::absl_testing...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/status/internal/status_matchers.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/status/status_matchers_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
cabe3974-40bd-4f00-8029-9f686f21bb85
cpp
tensorflow/tensorflow
hlo_phi_graph
third_party/xla/xla/service/hlo_phi_graph.cc
third_party/xla/xla/service/hlo_phi_graph_test.cc
#include "xla/service/hlo_phi_graph.h" #include <queue> namespace xla { HloValue::Id PhiGraph::GetOptimizedId(const HloValue& value) { Node* node = value_id_to_node_[value.id()]; CHECK(!node->mark_as_dead); return node->value_id; } bool PhiGraph::InputsEqualTo(const HloValue& value, a...
#include "xla/service/hlo_phi_graph.h" #include "xla/literal_util.h" #include "tsl/platform/test.h" namespace xla { namespace { class PhiGraphTest : public ::testing::Test { protected: HloValue NewHloValue(bool is_phi) { static int64_t id = 0; return HloValue(id++, dummy_inst_.get(), {}, is_phi); } void ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_phi_graph.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_phi_graph_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1157f66a-b3ed-4eb8-96c5-4f7828a45e7f
cpp
tensorflow/tensorflow
variant_add_n
tensorflow/lite/kernels/variants/list_kernels/variant_add_n.cc
tensorflow/lite/kernels/variants/list_kernels/variant_add_n_test.cc
#include <algorithm> #include <cstring> #include <utility> #include <vector> #include "tensorflow/lite/array.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/cpu_backend_context.h" #include "tensorflow/lite/kernels/internal/optimized/optimized_op...
#include <optional> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/compatibility.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/kernels/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/variants/list_kernels/variant_add_n.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/variants/list_kernels/variant_add_n_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3501a4c3-1526-4991-a582-faa2a95b8622
cpp
tensorflow/tensorflow
perception_ops_utils
tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc
tensorflow/compiler/mlir/lite/utils/perception_ops_utils_test.cc
#include "tensorflow/compiler/mlir/lite/utils/perception_ops_utils.h" #include <string> #include "flatbuffers/base.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/OpDefinition.h" #include "mli...
#include "tensorflow/compiler/mlir/lite/utils/perception_ops_utils.h" #include <memory> #include <string> #include <vector> #include "mlir/Dialect/Arith/IR/Arith.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinAttributes.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/utils/perception_ops_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4f642d61-6d96-4e9c-995b-78264081631f
cpp
tensorflow/tensorflow
crc32c
third_party/xla/xla/tsl/lib/hash/crc32c.cc
third_party/xla/xla/tsl/lib/hash/crc32c_test.cc
#include "xla/tsl/lib/hash/crc32c.h" #include <stdint.h> #include "absl/strings/cord.h" #include "absl/strings/string_view.h" #include "tsl/platform/types.h" namespace tsl { namespace crc32c { #if defined(TF_CORD_SUPPORT) uint32 Extend(uint32 crc, const absl::Cord &cord) { for (absl::string_view fragment : cord.Chunk...
#include "xla/tsl/lib/hash/crc32c.h" #include <string> #include "absl/strings/cord.h" #include "tsl/platform/logging.h" #include "tsl/platform/test.h" #include "tsl/platform/test_benchmark.h" #include "tsl/platform/types.h" namespace tsl { namespace crc32c { TEST(CRC, StandardResults) { char buf[32]; memset(buf, 0,...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/lib/hash/crc32c.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/lib/hash/crc32c_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
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
f0a397fc-dd5d-4fcd-9a26-2967c72f8146
cpp
tensorflow/tensorflow
map_and_batch_fusion
tensorflow/core/grappler/optimizers/data/map_and_batch_fusion.cc
tensorflow/core/grappler/optimizers/data/map_and_batch_fusion_test.cc
#include "tensorflow/core/grappler/optimizers/data/map_and_batch_fusion.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/grappler/clusters/cluster.h" #include "tensorflow/core/grappler/grappler_...
#include "tensorflow/core/grappler/optimizers/data/map_and_batch_fusion.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/grappler/grappler_item.h" #include "tensorflow/core/grappler/optimizers/data/graph_utils.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/map_and_batch_fusion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/map_and_batch_fusion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
749cf212-4dad-46a0-ab63-46bc108d5073
cpp
tensorflow/tensorflow
quantized_reshape_op
tensorflow/core/kernels/quantized_reshape_op.cc
tensorflow/core/kernels/quantized_reshape_op_test.cc
#include <vector> #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/kernels/reshape_op.h" na...
#include <functional> #include <memory> #include <vector> #include "tensorflow/core/common_runtime/kernel_benchmark_testlib.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/quantized_reshape_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/quantized_reshape_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
228440bd-1351-4db5-9e28-9f82e36e1b7b
cpp
google/cel-cpp
struct
extensions/protobuf/internal/struct.cc
extensions/protobuf/internal/struct_test.cc
#include "extensions/protobuf/internal/struct.h" #include <string> #include <type_traits> #include <utility> #include "google/protobuf/struct.pb.h" #include "absl/base/nullability.h" #include "absl/base/optimization.h" #include "absl/functional/overload.h" #include "absl/log/absl_check.h" #include "absl/memory/memory.h...
#include "extensions/protobuf/internal/struct.h" #include <memory> #include "google/protobuf/struct.pb.h" #include "google/protobuf/descriptor.pb.h" #include "absl/log/absl_check.h" #include "absl/memory/memory.h" #include "common/json.h" #include "extensions/protobuf/internal/struct_lite.h" #include "internal/testing....
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/extensions/protobuf/internal/struct.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/extensions/protobuf/internal/struct_test.cc
4552db5798fb0853b131b783d8875794334fae7f
0b50e74e-6281-418c-afaa-2bc9ca84c7fd
cpp
google/quiche
quic_crypto_client_config
quiche/quic/core/crypto/quic_crypto_client_config.cc
quiche/quic/core/crypto/quic_crypto_client_config_test.cc
#include "quiche/quic/core/crypto/quic_crypto_client_config.h" #include <algorithm> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/base/macros.h" #include "absl/memory/memory.h" #include "absl/strings/match.h" #include "absl/strings/string_view.h" #include "openssl/ssl.h" #inclu...
#include "quiche/quic/core/crypto/quic_crypto_client_config.h" #include <string> #include <vector> #include "absl/strings/string_view.h" #include "quiche/quic/core/crypto/proof_verifier.h" #include "quiche/quic/core/quic_server_id.h" #include "quiche/quic/core/quic_types.h" #include "quiche/quic/core/quic_utils.h" #inc...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/crypto/quic_crypto_client_config.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/crypto/quic_crypto_client_config_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
6e92a8e9-0fdc-4b80-93d8-bd223b973557
cpp
tensorflow/tensorflow
gpu_cost_model_stats_collection
third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection.cc
third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection_test.cc
#include "xla/service/gpu/model/gpu_cost_model_stats_collection.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo...
#include "xla/service/gpu/model/gpu_cost_model_stats_collection.h" #include <stdint.h> #include <memory> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/backend_configs.pb.h" #include "xla/service/gpu/gpu_device_info_for_tests.h" #include "xla/service/gpu/model/gpu_hlo_cost_an...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/gpu_cost_model_stats_collection_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b3ef2df2-c7c5-4ea3-a7ab-56928ca266f3
cpp
google/tensorstore
dtype
tensorstore/driver/zarr/dtype.cc
tensorstore/driver/zarr/dtype_test.cc
#include "tensorstore/driver/zarr/dtype.h" #include <stddef.h> #include "absl/base/optimization.h" #include "tensorstore/data_type.h" #include "tensorstore/internal/json_binding/json_binding.h" #include "tensorstore/util/extents.h" #include "tensorstore/util/quote_string.h" #include "tensorstore/util/str_cat.h" namespa...
#include "tensorstore/driver/zarr/dtype.h" #include <stdint.h> #include <cstddef> #include <cstdint> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/data_type.h" #include "tensorstore/driver/zarr/met...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/driver/zarr/dtype.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/driver/zarr/dtype_test.cc
4f887a6430414cd6088e1743555015b10f116d50
c0ebcd67-aa31-4bde-8d1d-ac3a89a6019f
cpp
tensorflow/tensorflow
adaptive_shared_batch_scheduler
tensorflow/core/kernels/batching_util/adaptive_shared_batch_scheduler.h
tensorflow/core/kernels/batching_util/adaptive_shared_batch_scheduler_test.cc
#ifndef TENSORFLOW_CORE_KERNELS_BATCHING_UTIL_ADAPTIVE_SHARED_BATCH_SCHEDULER_H_ #define TENSORFLOW_CORE_KERNELS_BATCHING_UTIL_ADAPTIVE_SHARED_BATCH_SCHEDULER_H_ #include <algorithm> #include <atomic> #include <functional> #include <memory> #include <random> #include <unordered_map> #include <vector> #include "absl/typ...
#include "tensorflow/core/kernels/batching_util/adaptive_shared_batch_scheduler.h" #include "tensorflow/core/kernels/batching_util/fake_clock_env.h" #include "tensorflow/core/lib/core/notification.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/gtl/cleanup.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/batching_util/adaptive_shared_batch_scheduler.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/batching_util/adaptive_shared_batch_scheduler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a69130c5-914d-471f-85d3-3c9c8caa6645
cpp
google/tensorstore
open_mode
tensorstore/open_mode.cc
tensorstore/open_mode_test.cc
#include "tensorstore/open_mode.h" #include <ostream> #include "absl/status/status.h" namespace tensorstore { std::string_view to_string(ReadWriteMode mode) { switch (mode) { case ReadWriteMode::dynamic: return "dynamic"; case ReadWriteMode::read: return "read"; case ReadWriteMode::write: ...
#include "tensorstore/open_mode.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/util/str_cat.h" namespace { using ::tensorstore::OpenMode; using ::tensorstore::ReadWriteMode; using ::tensorstore::StrCat; static_assert(ReadWriteMode::read_write == (ReadWriteMode::read | ReadWrite...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/open_mode.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/open_mode_test.cc
4f887a6430414cd6088e1743555015b10f116d50
e27221c5-0b3b-45d4-8e65-4e62b0ab5c84
cpp
tensorflow/tensorflow
fuzzy_matcher
third_party/xla/xla/service/fuzzy_matcher.h
third_party/xla/xla/service/fuzzy_matcher_test.cc
#ifndef XLA_SERVICE_FUZZY_MATCHER_H_ #define XLA_SERVICE_FUZZY_MATCHER_H_ #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/pattern_matcher.h" namespace xla { namespace fm { template <typename Pattern> auto OptConvert(Pattern pattern) { auto shared = match::SharedSubpatt...
#include "xla/service/fuzzy_matcher.h" #include <gtest/gtest.h> #include "xla/service/pattern_matcher.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace xla { namespace { using FuzzyMatcherTest = HloTestBase; TEST_F(FuzzyMatcherTest, IgnoreConvert) { co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/fuzzy_matcher.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/fuzzy_matcher_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d7178847-5f31-485b-8ced-289d86dd036a
cpp
google/tensorstore
absl_time
tensorstore/serialization/absl_time.cc
tensorstore/internal/json_binding/absl_time_test.cc
#include "tensorstore/serialization/absl_time.h" #include <cstdint> #include <limits> #include "absl/time/time.h" #include "tensorstore/serialization/serialization.h" namespace tensorstore { namespace serialization { bool Serializer<absl::Duration>::Encode(EncodeSink& sink, const...
#include "tensorstore/internal/json_binding/absl_time.h" #include <memory> #include <utility> #include <gtest/gtest.h> #include "absl/time/civil_time.h" #include "absl/time/time.h" #include <nlohmann/json_fwd.hpp> #include "tensorstore/internal/json/json.h" #include "tensorstore/internal/json_binding/bindable.h" #inclu...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/serialization/absl_time.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/absl_time_test.cc
4f887a6430414cd6088e1743555015b10f116d50
4eeac038-fc93-4cc4-828c-47132cc75b65
cpp
tensorflow/tensorflow
collective_order
tensorflow/core/graph/collective_order.cc
tensorflow/core/graph/collective_order_test.cc
#include "tensorflow/core/graph/collective_order.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/core/graph/algorithm.h" namespace tensorflow { namespace { Status DiscoverDataDependencies( const Graph* graph, std::vector<Node*>* collective_nodes, std::...
#include "tensorflow/core/graph/collective_order.h" #include <gmock/gmock.h> #include "tensorflow/core/common_runtime/graph_def_builder_util.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/graph/graph_def_builder.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/collective_order.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/graph/collective_order_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4c6920cc-3aba-4b4e-867d-febd43cab405
cpp
tensorflow/tensorflow
llvm_compiler
third_party/xla/xla/service/llvm_compiler.cc
third_party/xla/xla/tests/llvm_compiler_test.cc
#include "xla/service/llvm_compiler.h" #include <memory> #include <utility> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_module_group.h" #include "xla/service/executable.h" #include "xla/service/stream_pool.h" #inclu...
#include "xla/service/llvm_compiler.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "llvm/IR/Module.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module_group.h" #include "xla/literal_util.h" #include "xla/serv...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/llvm_compiler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tests/llvm_compiler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
335f1012-0c74-4c51-87eb-9de4ab987744
cpp
google/cel-cpp
expr
base/ast_internal/expr.cc
base/ast_internal/expr_test.cc
#include "base/ast_internal/expr.h" #include <memory> #include <vector> #include "absl/base/no_destructor.h" #include "absl/functional/overload.h" #include "absl/types/variant.h" namespace cel::ast_internal { namespace { const Type& default_type() { static absl::NoDestructor<Type> type; return *type; } TypeKind Cop...
#include "base/ast_internal/expr.h" #include <memory> #include <string> #include <utility> #include "absl/types/variant.h" #include "common/expr.h" #include "internal/testing.h" namespace cel { namespace ast_internal { namespace { TEST(AstTest, ListTypeMutableConstruction) { ListType type; type.mutable_elem_type() ...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/base/ast_internal/expr.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/base/ast_internal/expr_test.cc
4552db5798fb0853b131b783d8875794334fae7f
51f65671-4b5c-44ae-919f-d1b236832132
cpp
google/arolla
generic_operator_overload_condition
arolla/expr/operator_loader/generic_operator_overload_condition.cc
arolla/expr/operator_loader/generic_operator_overload_condition_test.cc
#include "arolla/expr/operator_loader/generic_operator_overload_condition.h" #include <cstdint> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "arolla/...
#include "arolla/expr/operator_loader/generic_operator_overload_condition.h" #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/status/status.h" #include "absl/status/status_matchers.h" #include "absl/status/statusor.h" #include "arolla/expr/expr.h" #include "arolla/expr/expr_node.h" #in...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/operator_loader/generic_operator_overload_condition.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/operator_loader/generic_operator_overload_condition_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
d31ea08a-dfb2-4f54-8dcb-90625354d274
cpp
tensorflow/tensorflow
internal
tensorflow/lite/delegates/gpu/common/memory_management/internal.cc
tensorflow/lite/delegates/gpu/common/memory_management/internal_test.cc
#include "tensorflow/lite/delegates/gpu/common/memory_management/internal.h" #include <algorithm> #include <cstddef> #include <vector> #include "tensorflow/lite/delegates/gpu/common/memory_management/types.h" #include "tensorflow/lite/delegates/gpu/common/types.h" namespace tflite { namespace gpu { bool CompareBySize(c...
#include "tensorflow/lite/delegates/gpu/common/memory_management/internal.h" #include <cstddef> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/common/memory_management/types.h" namespace tflite { namespace gpu { namespace { using ::testing::ElementsAre; TEST(...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/memory_management/internal.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/memory_management/internal_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
91e75353-5a71-453d-bbaa-606e96f59b4f
cpp
tensorflow/tensorflow
cc_op_gen
tensorflow/cc/framework/cc_op_gen.cc
tensorflow/cc/framework/cc_op_gen_test.cc
#include "tensorflow/cc/framework/cc_op_gen.h" #include <memory> #include <unordered_map> #include <unordered_set> #include <vector> #include "absl/strings/escaping.h" #include "tensorflow/cc/framework/cc_op_gen_util.h" #include "tensorflow/core/framework/api_def.pb.h" #include "tensorflow/core/framework/attr_value.pb....
#include "tensorflow/cc/framework/cc_op_gen.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/op_gen_lib.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/pl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/cc/framework/cc_op_gen.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/cc/framework/cc_op_gen_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
04d8e833-ef24-4c6a-94a9-6f57be904037
cpp
google/arolla
ops_util
arolla/array/ops_util.h
arolla/array/ops_util_test.cc
#ifndef AROLLA_ARRAY_OPS_UTIL_H_ #define AROLLA_ARRAY_OPS_UTIL_H_ #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <tuple> #include <type_traits> #include <utility> #include "absl/log/check.h" #include "arolla/array/array.h" #include "arolla/array/id_filter.h" #include "arolla/den...
#include "arolla/array/ops_util.h" #include <cstdint> #include <optional> #include <string> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "arolla/array/array.h" #include "arolla/array/id_filter.h" #include "arolla/...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/array/ops_util.h
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/array/ops_util_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
436d8490-15c6-4601-8e7a-e454d6599354
cpp
tensorflow/tensorflow
xla_compiler_options_util
tensorflow/compiler/jit/xla_compiler_options_util.cc
tensorflow/compiler/jit/xla_compiler_options_util_test.cc
#include "tensorflow/compiler/jit/xla_compiler_options_util.h" #include "xla/pjrt/pjrt_client.h" #include "xla/tsl/framework/device_id_utils.h" #include "tensorflow/core/framework/function.h" namespace tensorflow { namespace { using XlaDeviceCompiler = DeviceCompiler<xla::LocalExecutable, xla::LocalClient>; using P...
#include "tensorflow/compiler/jit/xla_compiler_options_util.h" #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include <gtest/gtest.h> #include "tensorflow/compiler/jit/flags.h" #include "tensorflow/compiler/jit/pjrt_device_compiler_client.h" #include "tensorflow/compiler/j...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/xla_compiler_options_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/xla_compiler_options_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
42871c5d-e2a7-4409-b141-155d8cd6cb8c
cpp
tensorflow/tensorflow
batched_gather_scatter_normalizer
third_party/xla/xla/service/batched_gather_scatter_normalizer.cc
third_party/xla/xla/service/batched_gather_scatter_normalizer_test.cc
#include "xla/service/batched_gather_scatter_normalizer.h" #include <cstdint> #include <iterator> #include <vector> #include "absl/algorithm/container.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "absl/types/span.h" #inclu...
#include "xla/service/batched_gather_scatter_normalizer.h" #include <optional> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { class BatchedGatherScatterNormalizerTest : public HloTestBase {}; TEST_F(BatchedGatherScatterNormalizerTest, Norm...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/batched_gather_scatter_normalizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/batched_gather_scatter_normalizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6abba2e5-bea3-4193-8a00-66c00e7ee71b
cpp
tensorflow/tensorflow
subtract
tensorflow/lite/experimental/shlo/ops/subtract.cc
tensorflow/lite/experimental/shlo/ops/subtract_test.cc
#include "tensorflow/lite/experimental/shlo/ops/subtract.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lit...
#include "tensorflow/lite/experimental/shlo/ops/subtract.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/ops/binary_elementwise_test_util.h" #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tensorflow/lite/exp...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/subtract.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/subtract_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
439b36a0-6382-423f-8d8b-44e0b13c9471
cpp
google/cel-cpp
string_functions
runtime/standard/string_functions.cc
runtime/standard/string_functions_test.cc
#include "runtime/standard/string_functions.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/match.h" #include "absl/strings/string_view.h" #include "base/builtins.h" #include "base/function_adapter.h" #include "common/value.h" #include "common/value_manager.h" #include "inter...
#include "runtime/standard/string_functions.h" #include <vector> #include "base/builtins.h" #include "base/function_descriptor.h" #include "internal/testing.h" namespace cel { namespace { using ::testing::IsEmpty; using ::testing::UnorderedElementsAre; enum class CallStyle { kFree, kReceiver }; MATCHER_P3(MatchesDescri...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/standard/string_functions.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/standard/string_functions_test.cc
4552db5798fb0853b131b783d8875794334fae7f
e497c608-fa1c-48c5-bcd4-388e26ca95a6
cpp
abseil/abseil-cpp
str_join
absl/strings/str_join.h
absl/strings/str_join_test.cc
#ifndef ABSL_STRINGS_STR_JOIN_H_ #define ABSL_STRINGS_STR_JOIN_H_ #include <cstdio> #include <cstring> #include <initializer_list> #include <iterator> #include <string> #include <tuple> #include <type_traits> #include <utility> #include "absl/base/macros.h" #include "absl/strings/internal/str_join_internal.h" #include ...
#include "absl/strings/str_join.h" #include <cstddef> #include <cstdint> #include <cstdio> #include <functional> #include <initializer_list> #include <iterator> #include <map> #include <memory> #include <ostream> #include <string> #include <tuple> #include <utility> #include <vector> #include "gtest/gtest.h" #include "...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/str_join.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/str_join_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
f5f7b9eb-13c0-4e83-beba-fbe9edad6cf3
cpp
tensorflow/tensorflow
device_event_mgr
tensorflow/core/common_runtime/device/device_event_mgr.cc
tensorflow/core/common_runtime/device/device_event_mgr_test.cc
#include "tensorflow/core/common_runtime/device/device_event_mgr.h" #include <functional> #include <memory> #include <utility> #include "tensorflow/core/platform/stacktrace.h" #include "tensorflow/core/platform/stream_executor.h" #include "tensorflow/core/protobuf/config.pb.h" #include "tsl/platform/thread_annotations....
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #include "tensorflow/core/common_runtime/device/device_event_mgr.h" #include <atomic> #include "xla/stream_executor/gpu/gpu_init.h" #include "xla/tsl/framework/device_id.h" #include "tensorflow/core/common_runtime/dma_helper.h" #include "tensorflow/core/common_runtime/gpu/gpu_devi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device/device_event_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/device/device_event_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e2ab1c0d-c7b7-446e-9d85-8322e4227a2e
cpp
tensorflow/tensorflow
convert_tensor
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h" #include <cstdint> #include <limits> #include <optional> #include <string> #include <vector> #include "absl/base/casts.h" #include "absl/container/inlined_vector.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "llv...
#include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h" #include <cstring> #include <initializer_list> #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinTypes.h" #include "mlir/IR/Dialect.h" #include "mlir/IR/MLIRContext.h" #include "mlir/Support/LLVM.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/tensorflow/utils/convert_tensor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0a821a6c-44b2-46e5-928c-96e5c8548a77
cpp
tensorflow/tensorflow
import
tensorflow/lite/toco/tflite/import.cc
tensorflow/lite/toco/tflite/import_test.cc
#include "tensorflow/lite/toco/tflite/import.h" #include <memory> #include <string> #include "absl/log/check.h" #include "absl/log/log.h" #include "flatbuffers/verifier.h" #include "tensorflow/compiler/mlir/lite/schema/schema_utils.h" #include "tensorflow/lite/core/tools/verifier.h" #include "tensorflow/lite/schema/s...
#include "tensorflow/lite/toco/tflite/import.h" #include <initializer_list> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flatbuffer_builder.h" #include "tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.h" #include "tensorflow/lite/schema/schema_generated.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/tflite/import.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/tflite/import_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b204cf53-9ac5-4632-8b9c-991be7e258ce
cpp
tensorflow/tensorflow
tflite_settings_json_parser
tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.cc
tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser_test.cc
#include "tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.h" #include <string> #include "flatbuffers/idl.h" #include "tensorflow/lite/acceleration/configuration/configuration_fbs_contents-inl.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" #i...
#include "tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.h" #include <gtest/gtest.h> #include "flatbuffers/buffer.h" #include "tensorflow/lite/acceleration/configuration/configuration_generated.h" namespace { using tflite::TFLiteSettings; using tflite::delegates::utils::TfLit...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/utils/experimental/stable_delegate/tflite_settings_json_parser_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
570e99a0-b00f-43b7-841a-542291098e88
cpp
tensorflow/tensorflow
batch_matmul
tensorflow/lite/kernels/batch_matmul.cc
tensorflow/lite/kernels/batch_matmul_test.cc
#include "tensorflow/lite/kernels/internal/reference/batch_matmul.h" #include <stddef.h> #include <algorithm> #include <cstdint> #include <limits> #include "tensorflow/lite/core/c/builtin_op_data.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/cpu_backend_context.h" #include "tensorflow/...
#include <stddef.h> #include <stdint.h> #include <initializer_list> #include <limits> #include <map> #include <numeric> #include <type_traits> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/ke...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/batch_matmul.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/batch_matmul_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
31560376-54b1-4b76-9afc-50948117b640
cpp
tensorflow/tensorflow
devicedb
tensorflow/lite/experimental/acceleration/compatibility/devicedb.cc
tensorflow/lite/experimental/acceleration/compatibility/devicedb_test.cc
#include "tensorflow/lite/experimental/acceleration/compatibility/devicedb.h" #include <map> #include <string> #include <vector> #include "tensorflow/lite/experimental/acceleration/compatibility/database_generated.h" namespace tflite { namespace acceleration { namespace { std::vector<const DeviceDecisionTreeEdge*> Find...
#include "tensorflow/lite/experimental/acceleration/compatibility/devicedb.h" #include <memory> #include <string> #include <gtest/gtest.h> #include "flatbuffers/flatbuffers.h" #include "tensorflow/lite/experimental/acceleration/compatibility/devicedb-sample.h" #include "tensorflow/lite/experimental/acceleration/compa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/compatibility/devicedb.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/compatibility/devicedb_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
86b85201-3336-4062-a4b9-5007b589da3e
cpp
tensorflow/tensorflow
index_domain
third_party/xla/xla/python/ifrt/index_domain.cc
third_party/xla/xla/python/ifrt/index_domain_test.cc
#include "xla/python/ifrt/index_domain.h" #include <ostream> #include <string> #include "absl/strings/str_cat.h" namespace xla { namespace ifrt { std::string IndexDomain::DebugString() const { return absl::StrCat("IndexDomain(origin=", origin_.DebugString(), ",shape=", shape_.DebugString(), ")")...
#include "xla/python/ifrt/index_domain.h" #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/hash/hash_testing.h" #include "xla/python/ifrt/index.h" #include "xla/python/ifrt/shape.h" namespace xla { namespace ifrt { namespace { TEST(IndexDomainTest, Construction) { IndexDo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt/index_domain.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt/index_domain_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c26e3140-8b23-45b0-b07c-7702938d3de1
cpp
tensorflow/tensorflow
rewrite_dataset_op
tensorflow/core/kernels/data/rewrite_dataset_op.cc
tensorflow/core/kernels/data/rewrite_dataset_op_test.cc
#include "tensorflow/core/kernels/data/rewrite_dataset_op.h" #if !defined(IS_MOBILE_PLATFORM) #include <map> #include <string> #include "tensorflow/core/data/rewrite_utils.h" #include "tensorflow/core/protobuf/rewriter_config.pb.h" namespace tensorflow { namespace data { constexpr const char* const RewriteDatasetOp::k...
#include "tensorflow/core/kernels/data/rewrite_dataset_op.h" #include <utility> #include "tensorflow/core/data/dataset_test_base.h" namespace tensorflow { namespace data { namespace { constexpr char kNodeName[] = "rewrite_dataset"; constexpr char kReplicateOnSplit[] = "replicate_on_split"; class RewriteDatasetParams : ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/rewrite_dataset_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/rewrite_dataset_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f5e142f2-7a29-4a6e-950a-b8e0e50b01db
cpp
tensorflow/tensorflow
self_adjoint_eig
third_party/xla/xla/hlo/builder/lib/self_adjoint_eig.cc
third_party/xla/xla/hlo/builder/lib/self_adjoint_eig_test.cc
#include "xla/hlo/builder/lib/self_adjoint_eig.h" #include <memory> #include <string> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "xla/hlo/builder/lib/slicing.h" #include "xla/hlo/builder/xla_builder.h" #include "xla/primitive_util.h" #include "xla/shape.h" #include...
#include "xla/hlo/builder/lib/self_adjoint_eig.h" #include <algorithm> #include <numeric> #include <vector> #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "xla/array.h" #include "xla/array2d.h" #include "xla/array3d.h" #include "xla/error_spec.h" #include "xla/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/builder/lib/self_adjoint_eig.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/builder/lib/self_adjoint_eig_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
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
b1b7d91e-5a2a-4393-9417-f758eb6e6396
cpp
tensorflow/tensorflow
rematerializer
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc
#include "tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h" #include <algorithm> #include <map> #include <tuple> #include <utility> #include <vector> namespace mlir { namespace TFL { namespace { std::tuple<std::vector<int>::iterator, bool> Find(const int item, ...
#include "tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h" #include <algorithm> #include <array> #include <cstdlib> #include <initializer_list> #include <random> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> namespace mlir { namespace TFL { namespace { using ::testing::ElementsAr...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
715a0fe5-3ad4-439c-9e62-b63e79c3c1be
cpp
tensorflow/tensorflow
logical_id_thunk
third_party/xla/xla/backends/cpu/runtime/logical_id_thunk.cc
third_party/xla/xla/backends/cpu/runtime/logical_id_thunk_test.cc
#include "xla/backends/cpu/runtime/logical_id_thunk.h" #include <cstdint> #include <cstring> #include <memory> #include <utility> #include "absl/memory/memory.h" #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "xla/backends/cpu/runtime/thunk.h" #include "xla/runtime/buffer_use.h" #includ...
#include "xla/backends/cpu/runtime/logical_id_thunk.h" #include <cstdint> #include <limits> #include <string> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/backends/cpu/runtime/buffer_allocations.h" #include "xla/backends/cpu/runtime/thunk.h" #include "xla/executable_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/backends/cpu/runtime/logical_id_thunk.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/backends/cpu/runtime/logical_id_thunk_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4838c2d9-38ad-4e47-8b5e-fc837fc96c8d
cpp
tensorflow/tensorflow
op_requires
tensorflow/core/framework/op_requires.h
tensorflow/core/framework/op_requires_test.cc
#ifndef TENSORFLOW_CORE_FRAMEWORK_OP_REQUIRES_H_ #define TENSORFLOW_CORE_FRAMEWORK_OP_REQUIRES_H_ #include <utility> #include "tensorflow/core/platform/macros.h" namespace tensorflow { #define OP_REQUIRES(CTX, EXP, STATUS) \ do { \ if (!TF_PRE...
#include "tensorflow/core/framework/op_requires.h" #include <optional> #include <utility> #include "absl/status/status.h" #include "tensorflow/core/lib/gtl/cleanup.h" #include "tensorflow/core/platform/status_matchers.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { using ::tensorflow::t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_requires.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_requires_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0cade028-d640-4047-8bf8-abf849d918d7
cpp
tensorflow/tensorflow
grpc_service_impl
third_party/xla/xla/python/ifrt_proxy/server/grpc_service_impl.cc
third_party/xla/xla/python/ifrt_proxy/server/grpc_service_impl_test.cc
#include "xla/python/ifrt_proxy/server/grpc_service_impl.h" #include <atomic> #include <cstdint> #include <memory> #include <string> #include <utility> #include "absl/cleanup/cleanup.h" #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl...
#include "xla/python/ifrt_proxy/server/grpc_service_impl.h" #include <cstdint> #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/cord.h" #include "absl/strings/str_cat.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt_proxy/server/grpc_service_impl.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt_proxy/server/grpc_service_impl_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8260e578-71f7-49bc-94f4-3c2cd85c6dbc
cpp
google/tensorstore
async_write_array
tensorstore/internal/async_write_array.cc
tensorstore/internal/async_write_array_test.cc
#include "tensorstore/internal/async_write_array.h" #include <stddef.h> #include <algorithm> #include <cassert> #include <utility> #include "absl/base/optimization.h" #include "absl/functional/function_ref.h" #include "absl/status/status.h" #include "tensorstore/array.h" #include "tensorstore/box.h" #include "tensorsto...
#include "tensorstore/internal/async_write_array.h" #include <stddef.h> #include <stdint.h> #include <algorithm> #include <limits> #include <random> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorstore/array.h" #include "tensorstore...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/async_write_array.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/async_write_array_test.cc
4f887a6430414cd6088e1743555015b10f116d50
7c566eab-5a0b-48f5-8314-6b7a47a159d1
cpp
google/cel-cpp
optional_value
common/values/optional_value.cc
common/values/optional_value_test.cc
#include <string> #include <utility> #include "absl/base/no_destructor.h" #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "common/casting.h" #include "common/memory.h" #include "common/native_type.h" #include "common/value.h" #include "common/value_kind.h" nam...
#include <sstream> #include <utility> #include "absl/status/status.h" #include "absl/types/optional.h" #include "common/casting.h" #include "common/memory.h" #include "common/type.h" #include "common/value.h" #include "common/value_testing.h" #include "internal/testing.h" namespace cel { namespace { using ::absl_testin...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/optional_value.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/optional_value_test.cc
4552db5798fb0853b131b783d8875794334fae7f
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
96b1761e-033d-4e9d-a447-5c2336991e90
cpp
tensorflow/tensorflow
saved_tensor_slice_util
tensorflow/core/util/saved_tensor_slice_util.cc
tensorflow/core/util/saved_tensor_slice_util_test.cc
#include "tensorflow/core/util/saved_tensor_slice_util.h" #include <vector> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/strings/ordered_code.h" #include "tensorflow/core/lib/strings/str_util.h" namespace tensorflow { namespace checkpoint { const char kSavedTensorSlicesKey[] = ""; string E...
#include "tensorflow/core/util/saved_tensor_slice_util.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/protobuf.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace checkpoint { namespace { TEST(TensorSh...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/saved_tensor_slice_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/saved_tensor_slice_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ef2e10a4-b4e8-4a54-96cd-ad5096524559
cpp
tensorflow/tensorflow
ptrvec
third_party/xla/xla/hlo/ir/ptrvec.h
third_party/xla/xla/hlo/ir/ptrvec_test.cc
#ifndef XLA_HLO_IR_PTRVEC_H_ #define XLA_HLO_IR_PTRVEC_H_ #include <cstddef> #include <cstdint> #include <cstdlib> #include <limits> #include <type_traits> #include <vector> #include "absl/log/check.h" #include "tsl/platform/logging.h" namespace xla { template <typename T> class PtrVec { public: static_assert(std:...
#include "xla/hlo/ir/ptrvec.h" #include <cstdint> #include <initializer_list> #include <memory> #include <utility> #include <vector> #include "absl/strings/str_format.h" #include "absl/types/span.h" #include "tsl/platform/logging.h" #include "tsl/platform/test.h" #include "tsl/platform/test_benchmark.h" namespace xla {...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/ir/ptrvec.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/ir/ptrvec_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ef944928-2288-4478-a959-a120c27ef729
cpp
tensorflow/tensorflow
graph_def_splitter
tensorflow/tools/proto_splitter/cc/graph_def_splitter.cc
tensorflow/tools/proto_splitter/cc/graph_def_splitter_test.cc
#include "tensorflow/tools/proto_splitter/cc/graph_def_splitter.h" #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "...
#include "tensorflow/tools/proto_splitter/cc/graph_def_splitter.h" #include <cstdint> #include <memory> #include <string> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/cord.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framewo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/tools/proto_splitter/cc/graph_def_splitter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/tools/proto_splitter/cc/graph_def_splitter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4c23af1c-2ff4-49b9-9dfc-748298738328
cpp
tensorflow/tensorflow
substr_op
tensorflow/core/kernels/substr_op.cc
tensorflow/core/kernels/substr_op_test.cc
#include <cstddef> #include <cstdlib> #include <string> #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/bounds_check.h" #include "tensorflow/core/framework/kernel_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflo...
#include <string> #include "tensorflow/core/common_runtime/kernel_benchmark_testlib.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/substr_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/substr_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
662c17fd-2323-497a-ba1c-0d24992c1432
cpp
tensorflow/tensorflow
quantization_ops
tensorflow/compiler/tf2tensorrt/convert/ops/quantization_ops.cc
tensorflow/compiler/tf2tensorrt/convert/ops/quantization_ops_test.cc
#if GOOGLE_CUDA && GOOGLE_TENSORRT #include "tensorflow/compiler/tf2tensorrt/convert/ops/quantization_ops.h" #include "absl/strings/str_format.h" #include "tensorflow/cc/ops #include "tensorflow/compiler/tf2tensorrt/common/utils.h" #include "tensorflow/compiler/tf2tensorrt/convert/op_converter.h" #include "tensorflow/c...
#if GOOGLE_CUDA && GOOGLE_TENSORRT #include "tensorflow/compiler/tf2tensorrt/convert/ops/quantization_ops.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/framework/scope.h" #i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2tensorrt/convert/ops/quantization_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2tensorrt/convert/ops/quantization_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ef36b79c-43e5-4468-b0d3-2d13d55df0fe
cpp
tensorflow/tensorflow
negate
tensorflow/lite/experimental/shlo/ops/negate.cc
tensorflow/lite/experimental/shlo/ops/negate_test.cc
#include "tensorflow/lite/experimental/shlo/ops/negate.h" #include <functional> #include "absl/status/status.h" #include "tensorflow/lite/experimental/shlo/dispatch.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise.h" #include "tensorflow/lite/experimental/shlo/ops/util.h" #include "tensorflow/lite/e...
#include "tensorflow/lite/experimental/shlo/ops/negate.h" #include <functional> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/ops/test_util.h" #include "tensorflow/lite/experimental/shlo/ops/unary_elementwise_test_util.h" #include "tensorflow/lite/experi...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/negate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/ops/negate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
847a5dd2-48c1-4e5d-839a-ac7295ef96e3
cpp
abseil/abseil-cpp
traits
absl/random/internal/traits.h
absl/random/internal/traits_test.cc
#ifndef ABSL_RANDOM_INTERNAL_TRAITS_H_ #define ABSL_RANDOM_INTERNAL_TRAITS_H_ #include <cstdint> #include <limits> #include <type_traits> #include "absl/base/config.h" #include "absl/numeric/bits.h" #include "absl/numeric/int128.h" namespace absl { ABSL_NAMESPACE_BEGIN namespace random_internal { template <typename A, ...
#include "absl/random/internal/traits.h" #include <cstdint> #include <type_traits> #include "gtest/gtest.h" namespace { using absl::random_internal::is_widening_convertible; template <typename T> void CheckWideningConvertsToSelf() { static_assert(is_widening_convertible<T, T>::value, "Type is not conv...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/traits.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/traits_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
8dcaa8a0-e5c8-4330-b8cd-5a56f66cfb40
cpp
google/cel-cpp
time_functions
runtime/standard/time_functions.cc
runtime/standard/time_functions_test.cc
#include "runtime/standard/time_functions.h" #include <functional> #include <string> #include "absl/status/status.h" #include "absl/strings/match.h" #include "absl/strings/str_replace.h" #include "absl/strings/string_view.h" #include "base/builtins.h" #include "base/function_adapter.h" #include "common/value.h" #includ...
#include "runtime/standard/time_functions.h" #include <vector> #include "base/builtins.h" #include "base/function_descriptor.h" #include "internal/testing.h" namespace cel { namespace { using ::testing::UnorderedElementsAre; MATCHER_P3(MatchesOperatorDescriptor, name, expected_kind1, expected_kind2, "") { ...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/standard/time_functions.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/standard/time_functions_test.cc
4552db5798fb0853b131b783d8875794334fae7f
779e5c14-9a64-4b41-8d98-5656de7f3bb9
cpp
tensorflow/tensorflow
extract_outside_compilation_pass
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc
#include "tensorflow/compiler/jit/extract_outside_compilation_pass.h" #include "absl/container/flat_hash_map.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "tensorflow/compiler/jit/encapsulate_subgraphs_pass.h" #include "tensorflow/compiler/jit/encapsulate_util.h" #include "tensorflow/com...
#include "tensorflow/compiler/jit/extract_outside_compilation_pass.h" #include "absl/strings/match.h" #include "tensorflow/cc/framework/scope.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/cc/ops/functional_ops.h" #include "tensorflow/cc/ops/standard_ops.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/extract_outside_compilation_pass.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
35a86109-ab28-4382-a184-1d795c9d4f32
cpp
tensorflow/tensorflow
make_padding
tensorflow/lite/delegates/gpu/common/transformations/make_padding.cc
tensorflow/lite/delegates/gpu/common/transformations/make_padding_test.cc
#include "tensorflow/lite/delegates/gpu/common/transformations/make_padding.h" #include <any> #include <memory> #include <string> #include <vector> #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/delegates/gpu/common/model_transformer.h" #include "tensorflow...
#include "tensorflow/lite/delegates/gpu/common/transformations/make_padding.h" #include <any> #include <memory> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/types/any.h" #include "tensorflow/lite/delegates/gpu/common/model.h" #include "tensorflow/lite/deleg...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/make_padding.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/transformations/make_padding_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
df710905-4c94-4794-b5f8-5d19921229f4
cpp
google/arolla
unspecified_qtype
arolla/qtype/unspecified_qtype.cc
arolla/qtype/unspecified_qtype_test.cc
#include "arolla/qtype/unspecified_qtype.h" #include "absl/base/no_destructor.h" #include "absl/strings/string_view.h" #include "arolla/memory/frame.h" #include "arolla/qtype/qtype.h" #include "arolla/qtype/typed_value.h" #include "arolla/util/fingerprint.h" #include "arolla/util/repr.h" namespace arolla { namespace { ...
#include "arolla/qtype/unspecified_qtype.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "arolla/qtype/qtype.h" #include "arolla/qtype/typed_value.h" #include "arolla/util/testing/repr_token_eq.h" namespace arolla { namespace { using ::arolla::testing::ReprTokenEq; TEST(UnspecifiedQTypeTest, UnspecifiedQT...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/qtype/unspecified_qtype.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/qtype/unspecified_qtype_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
1728e1b9-6e09-4311-b043-433a6e8d79b4
cpp
google/cel-cpp
cel_proto_wrap_util
eval/public/structs/cel_proto_wrap_util.cc
eval/public/structs/cel_proto_wrap_util_test.cc
#include "eval/public/structs/cel_proto_wrap_util.h" #include <math.h> #include <cstdint> #include <limits> #include <memory> #include <string> #include <type_traits> #include <utility> #include <vector> #include "google/protobuf/any.pb.h" #include "google/protobuf/duration.pb.h" #include "google/protobuf/struct.pb.h" ...
#include "eval/public/structs/cel_proto_wrap_util.h" #include <cassert> #include <limits> #include <memory> #include <string> #include <utility> #include <vector> #include "google/protobuf/any.pb.h" #include "google/protobuf/duration.pb.h" #include "google/protobuf/empty.pb.h" #include "google/protobuf/struct.pb.h" #in...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/structs/cel_proto_wrap_util.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/structs/cel_proto_wrap_util_test.cc
4552db5798fb0853b131b783d8875794334fae7f
c8c785cb-0a1c-4856-9184-3546aad84b13
cpp
google/arolla
switch_index
arolla/util/switch_index.h
arolla/util/switch_index_test.cc
#ifndef AROLLA_UTIL_SWITCH_INDEX_H_ #define AROLLA_UTIL_SWITCH_INDEX_H_ #include <cassert> #include <type_traits> #include <utility> #include "absl/base/attributes.h" namespace arolla { #define CASE_1(k) \ case (k): \ return std::forward<Callback>(callback)(std::integral_constant<int, (k)>()) #define CASE_4...
#include "arolla/util/switch_index.h" #include <string> #include "gtest/gtest.h" namespace arolla::testing { namespace { template <int N> void test_switch_index() { for (int i = 0; i < N; ++i) { EXPECT_EQ(std::to_string(i), switch_index<N>(i, [i](auto arg) { constexpr int constexpr_i = arg(); ...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/switch_index.h
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/switch_index_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
2f2dd5f2-a8cd-4856-b362-5cee75f05ca3
cpp
tensorflow/tensorflow
message
tensorflow/lite/testing/message.cc
tensorflow/lite/testing/message_test.cc
#include "tensorflow/lite/testing/message.h" #include <stack> #include <string> #include "tensorflow/lite/testing/tokenize.h" namespace tflite { namespace testing { class MessageStack : public TokenProcessor { public: explicit MessageStack(Message* first_node) { nodes_.push(first_node); valid_ = true; } ...
#include "tensorflow/lite/testing/message.h" #include <map> #include <string> #include <gtest/gtest.h> namespace tflite { namespace testing { namespace { class TestMessage : public Message { public: TestMessage() {} explicit TestMessage(const std::string& text_to_parse) { std::stringstream ss(text_to_parse); ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/message.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/testing/message_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
75518bb5-a390-42b6-b985-bea3835768f4
cpp
google/cel-cpp
comprehension_slots
eval/eval/comprehension_slots.h
eval/eval/comprehension_slots_test.cc
#ifndef THIRD_PARTY_CEL_CPP_EVAL_EVAL_COMPREHENSION_SLOTS_H_ #define THIRD_PARTY_CEL_CPP_EVAL_EVAL_COMPREHENSION_SLOTS_H_ #include <cstddef> #include <utility> #include <vector> #include "absl/base/no_destructor.h" #include "absl/log/absl_check.h" #include "absl/types/optional.h" #include "common/value.h" #include "eva...
#include "eval/eval/comprehension_slots.h" #include "base/attribute.h" #include "base/type_provider.h" #include "common/memory.h" #include "common/type.h" #include "common/type_factory.h" #include "common/type_manager.h" #include "common/value.h" #include "common/value_manager.h" #include "common/values/legacy_value_ma...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/eval/comprehension_slots.h
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/eval/comprehension_slots_test.cc
4552db5798fb0853b131b783d8875794334fae7f
8b3d1a79-9e0e-4afa-b82c-826ddee12d52
cpp
tensorflow/tensorflow
xla_launch_util
tensorflow/compiler/jit/xla_launch_util.cc
tensorflow/compiler/jit/xla_launch_util_test.cc
#include "tensorflow/compiler/jit/xla_launch_util.h" #include <cstdint> #include <memory> #include <optional> #include <set> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/cleanup/cleanup.h" #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "ab...
#include "tensorflow/compiler/jit/xla_launch_util.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "tensorflow/compiler/jit/device_compiler.h" #include "tensorflow/compiler/jit/flags.h" #include "tensorflow/compiler/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/xla_launch_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/xla_launch_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
04214a7c-da83-4558-8b92-d0c7af9fc73b
cpp
google/arolla
batch_arithmetic
arolla/qexpr/operators/math/batch_arithmetic.h
arolla/qexpr/operators/math/batch_arithmetic_test.cc
#ifndef AROLLA_QEXPR_OPERATORS_MATH_BATCH_ARITHMETIC_H_ #define AROLLA_QEXPR_OPERATORS_MATH_BATCH_ARITHMETIC_H_ #include <type_traits> #include "absl/log/check.h" #include "absl/types/span.h" #include "Eigen/Core" namespace arolla { namespace batch_arithmetic_internal { template <typename T> using DynamicEigenVector = ...
#include "arolla/qexpr/operators/math/batch_arithmetic.h" #include <cstdint> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/types/span.h" namespace arolla { namespace { TEST(BatchArithmetic, BatchAdd) { std::vector<float> arg1{1., 3., 2.}; std::vector<float> arg2{3.5, 1.5, 2.}; ...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/qexpr/operators/math/batch_arithmetic.h
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/qexpr/operators/math/batch_arithmetic_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
64afe01c-f225-4810-a1ae-f62d116283b3
cpp
tensorflow/tensorflow
summary_db_writer
tensorflow/core/summary/summary_db_writer.cc
tensorflow/core/summary/summary_db_writer_test.cc
#include "tensorflow/core/summary/summary_db_writer.h" #include <deque> #include "tensorflow/core/summary/summary_converter.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/summ...
#include "tensorflow/core/summary/summary_db_writer.h" #include "tensorflow/core/summary/schema.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/summary_db_writer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/summary/summary_db_writer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2cf421c1-f469-45b8-8be7-7c73f872ea22
cpp
tensorflow/tensorflow
list_ops_util
tensorflow/lite/kernels/variants/list_ops_util.cc
tensorflow/lite/kernels/variants/list_ops_util_test.cc
#include "tensorflow/lite/kernels/variants/list_ops_util.h" #include "tensorflow/lite/array.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/variants/tensor_array.h" namespace tflite { namespace variants { IntArrayUniquePtr TensorAsShape(const Tf...
#include "tensorflow/lite/kernels/variants/list_ops_util.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/array.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/kernels/var...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/variants/list_ops_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/variants/list_ops_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ce3f61da-4768-4dc2-a05f-104fc015a518
cpp
tensorflow/tensorflow
comparators
third_party/xla/xla/hlo/builder/lib/comparators.cc
third_party/xla/xla/hlo/builder/lib/comparators_test.cc
#include "xla/hlo/builder/lib/comparators.h" #include <limits> #include <optional> #include <string> #include <vector> #include "absl/log/check.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include "xla/hlo/builder/xla_builder.h" #include "xla/hlo/builder/xla_computation.h" #include "xla/shape_util...
#include "xla/hlo/builder/lib/comparators.h" #include <cmath> #include <limits> #include <vector> #include "absl/container/inlined_vector.h" #include "absl/strings/string_view.h" #include "xla/hlo/builder/lib/constants.h" #include "xla/hlo/builder/xla_builder.h" #include "xla/hlo/builder/xla_computation.h" #include "xl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/builder/lib/comparators.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/builder/lib/comparators_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
026ad976-bcd8-45e2-a971-4ccda66bdadd
cpp
tensorflow/tensorflow
mkl_quantize_op
tensorflow/core/kernels/mkl/mkl_quantize_op.cc
tensorflow/core/kernels/mkl/mkl_quantize_op_test.cc
#ifdef INTEL_MKL #define EIGEN_USE_THREADS #include "dnnl.hpp" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/type_traits.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/graph/mkl_graph_util.h" #include "tensorflow...
#if defined(INTEL_MKL) #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/kernels/ops_testutil.h" #include "tensorflow/core/kernels/ops_util.h" #include "tensorflow/core/lib/core/status_test_ut...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/mkl/mkl_quantize_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/mkl/mkl_quantize_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d229d95d-83c7-4da2-964e-3b50e74751e5
cpp
tensorflow/tensorflow
canonicalize_all_gather_for_cse
third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse.cc
third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse_test.cc
#include "xla/service/spmd/canonicalize_all_gather_for_cse.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_casting_utils.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruct...
#include "xla/service/spmd/canonicalize_all_gather_for_cse.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/pass/hlo_pa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/spmd/canonicalize_all_gather_for_cse_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
541c6011-78dc-41c7-a579-b06864d5f305
cpp
tensorflow/tensorflow
bfloat16_type
tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.cc
tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc
#include "tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.h" #include "mlir/IR/BuiltinTypeInterfaces.h" #include "mlir/IR/BuiltinTypes.h" #include "mlir/IR/TypeUtilities.h" #include "mlir/IR/Types.h" #include "mlir/Support/LLVM.h" namespace mlir::quant::stablehlo { bool IsLargeFloatType(Ty...
#include "tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.h" #include <memory> #include <gtest/gtest.h> #include "mlir/IR/BuiltinTypes.h" #include "mlir/IR/MLIRContext.h" #include "tensorflow/compiler/mlir/register_common_dialects.h" namespace mlir::quant::stablehlo { namespace { std::unique_ptr...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/stablehlo/utils/bfloat16_type_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
eebdf9b7-6617-46ed-9659-7b074107777a
cpp
google/quiche
hpack_whole_entry_buffer
quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc
quiche/http2/hpack/decoder/hpack_whole_entry_buffer_test.cc
#include "quiche/http2/hpack/decoder/hpack_whole_entry_buffer.h" #include "absl/strings/str_cat.h" #include "quiche/common/platform/api/quiche_flag_utils.h" #include "quiche/common/platform/api/quiche_logging.h" #include "quiche/common/quiche_text_utils.h" namespace http2 { HpackWholeEntryBuffer::HpackWholeEntryBuffer(...
#include "quiche/http2/hpack/decoder/hpack_whole_entry_buffer.h" #include "quiche/common/platform/api/quiche_test.h" using ::testing::_; using ::testing::AllOf; using ::testing::InSequence; using ::testing::Property; using ::testing::StrictMock; namespace http2 { namespace test { namespace { constexpr size_t kMaxString...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/decoder/hpack_whole_entry_buffer.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/decoder/hpack_whole_entry_buffer_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
95152f6f-c076-41eb-920e-fe5928becd50
cpp
google/quiche
hpack_decoder_state
quiche/http2/hpack/decoder/hpack_decoder_state.cc
quiche/http2/hpack/decoder/hpack_decoder_state_test.cc
#include "quiche/http2/hpack/decoder/hpack_decoder_state.h" #include <string> #include <utility> #include "quiche/http2/http2_constants.h" #include "quiche/common/platform/api/quiche_logging.h" namespace http2 { namespace { std::string ExtractString(HpackDecoderStringBuffer* string_buffer) { if (string_buffer->IsBuff...
#include "quiche/http2/hpack/decoder/hpack_decoder_state.h" #include <utility> #include <vector> #include "absl/strings/string_view.h" #include "quiche/http2/hpack/http2_hpack_constants.h" #include "quiche/http2/http2_constants.h" #include "quiche/http2/test_tools/verify_macros.h" #include "quiche/common/platform/api/q...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/decoder/hpack_decoder_state.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/decoder/hpack_decoder_state_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
f69aa326-3804-4aaf-a389-a40eb316c0c6
cpp
tensorflow/tensorflow
decode_jpeg
tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg.cc
tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_test.cc
#include <algorithm> #include <cstddef> #include <memory> #include <vector> #include "flatbuffers/flexbuffers.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_register.h" #include "tensorflow/li...
#include <cstdint> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flexbuffers.h" #include "tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_register.h" #include "tensorflow/lite/experimental/acceleration/mini_benchmark/embedded_chessboar...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
188d98db-14ee-4116-be46-fa26ccb5f35a
cpp
tensorflow/tensorflow
summary_image_op
tensorflow/core/kernels/summary_image_op.cc
tensorflow/core/kernels/summary_image_op_test.cc
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/png/png_io.h" #include "tensorflow/core/platform/logging.h" namespace tensorflow { class SummaryImageOp : public OpKernel { public: typedef Eig...
#include <functional> #include <memory> #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/summary.pb.h" #include "tensorflow/core/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/summary_image_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/summary_image_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1d31f4c3-4a06-4301-8ccf-985a4a4f853b
cpp
google/quiche
tcp_cubic_sender_bytes
quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
quiche/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc
#include "quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.h" #include <algorithm> #include <cstdint> #include <string> #include "quiche/quic/core/congestion_control/prr_sender.h" #include "quiche/quic/core/congestion_control/rtt_stats.h" #include "quiche/quic/core/crypto/crypto_protocol.h" #include "quiche/q...
#include "quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.h" #include <algorithm> #include <cstdint> #include <memory> #include <utility> #include "quiche/quic/core/congestion_control/rtt_stats.h" #include "quiche/quic/core/congestion_control/send_algorithm_interface.h" #include "quiche/quic/core/crypto/cryp...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6