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
a3c2a240-90d4-4864-80a2-208148d1b716
cpp
tensorflow/tensorflow
horizontal_loop_fusion
third_party/xla/xla/service/gpu/transforms/horizontal_loop_fusion.cc
third_party/xla/xla/service/gpu/transforms/horizontal_loop_fusion_test.cc
#include "xla/service/gpu/transforms/horizontal_loop_fusion.h" #include <algorithm> #include <cstddef> #include <cstdint> #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" #in...
#include "xla/service/gpu/transforms/horizontal_loop_fusion.h" #include <cstdint> #include <optional> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/log/log.h" #include "xla/error_spec.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/horizontal_loop_fusion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/horizontal_loop_fusion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e9360b62-e10d-4dc4-b8bd-f135d545de17
cpp
tensorflow/tensorflow
tfprof_advisor
tensorflow/core/profiler/internal/advisor/tfprof_advisor.h
tensorflow/core/profiler/internal/advisor/tfprof_advisor_test.cc
#ifndef TENSORFLOW_CORE_PROFILER_INTERNAL_ADVISOR_TFPROF_ADVISOR_H_ #define TENSORFLOW_CORE_PROFILER_INTERNAL_ADVISOR_TFPROF_ADVISOR_H_ #include <vector> #include "absl/strings/str_format.h" #include "tensorflow/core/profiler/internal/advisor/accelerator_utilization_checker.h" #include "tensorflow/core/profiler/interna...
#include "tensorflow/core/profiler/internal/advisor/tfprof_advisor.h" #include <map> #include <memory> #include <vector> #include "absl/strings/match.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/step_stats.pb.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/advisor/tfprof_advisor.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/internal/advisor/tfprof_advisor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
98b84864-4604-4f7e-9c73-6891124d7ebb
cpp
google/cel-cpp
time
internal/time.cc
internal/time_test.cc
#include "internal/time.h" #include <cstdint> #include <string> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/time/time.h" #include "internal/status_macros.h" namespace cel::internal { namespace { std::string RawFormatTimestamp(absl::Time timestamp...
#include "internal/time.h" #include <string> #include "google/protobuf/util/time_util.h" #include "absl/status/status.h" #include "absl/time/time.h" #include "internal/testing.h" namespace cel::internal { namespace { using ::absl_testing::StatusIs; TEST(MaxDuration, ProtoEquiv) { EXPECT_EQ(MaxDuration(), ...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/internal/time.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/internal/time_test.cc
4552db5798fb0853b131b783d8875794334fae7f
255b3361-bf35-4cb8-8d6d-b19ad06cd67a
cpp
google/quiche
tun_device_controller
quiche/quic/qbone/bonnet/tun_device_controller.cc
quiche/quic/qbone/bonnet/tun_device_controller_test.cc
#include "quiche/quic/qbone/bonnet/tun_device_controller.h" #include <linux/rtnetlink.h> #include <utility> #include <vector> #include "absl/flags/flag.h" #include "absl/time/clock.h" #include "quiche/quic/platform/api/quic_logging.h" #include "quiche/quic/qbone/qbone_constants.h" #include "quiche/common/quiche_callbac...
#include "quiche/quic/qbone/bonnet/tun_device_controller.h" #include <linux/if_addr.h> #include <linux/rtnetlink.h> #include <string> #include <vector> #include "absl/strings/string_view.h" #include "quiche/quic/platform/api/quic_test.h" #include "quiche/quic/qbone/platform/mock_netlink.h" #include "quiche/quic/qbone/q...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/qbone/bonnet/tun_device_controller.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/qbone/bonnet/tun_device_controller_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
dfb8b94c-5fdf-4d12-a88c-7babeb7d3253
cpp
abseil/abseil-cpp
charset
absl/strings/charset.h
absl/strings/charset_test.cc
#ifndef ABSL_STRINGS_CHARSET_H_ #define ABSL_STRINGS_CHARSET_H_ #include <cstddef> #include <cstdint> #include <cstring> #include "absl/base/macros.h" #include "absl/base/port.h" #include "absl/strings/string_view.h" namespace absl { class CharSet { public: constexpr CharSet() : m_() {} constexpr explicit CharSet(...
#include "absl/strings/charset.h" #include <stdio.h> #include <stdlib.h> #include <string> #include <vector> #include "gtest/gtest.h" #include "absl/strings/ascii.h" #include "absl/strings/string_view.h" namespace { constexpr absl::CharSet everything_map = ~absl::CharSet(); constexpr absl::CharSet nothing_map = absl::C...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/charset.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/charset_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
afbf6f4d-13ff-4467-a905-6b6f60822eb7
cpp
abseil/abseil-cpp
cord_rep_btree_navigator
absl/strings/internal/cord_rep_btree_navigator.cc
absl/strings/internal/cord_rep_btree_navigator_test.cc
#include "absl/strings/internal/cord_rep_btree_navigator.h" #include <cassert> #include "absl/strings/internal/cord_data_edge.h" #include "absl/strings/internal/cord_internal.h" #include "absl/strings/internal/cord_rep_btree.h" namespace absl { ABSL_NAMESPACE_BEGIN namespace cord_internal { using ReadResult = CordRepBt...
#include "absl/strings/internal/cord_rep_btree_navigator.h" #include <string> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/base/internal/raw_logging.h" #include "absl/strings/internal/cord_internal.h" #include "absl/strings/internal/cord_rep_btree.h" #...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/internal/cord_rep_btree_navigator.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/internal/cord_rep_btree_navigator_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
8ba9fb26-5b1e-47d3-8a9e-005dcae536cb
cpp
tensorflow/tensorflow
executable
third_party/xla/xla/service/executable.cc
tensorflow/core/tfrt/mlrt/bytecode/executable_test.cc
#include "xla/service/executable.h" #include <memory> #include "absl/status/status.h" #include "absl/strings/str_format.h" #include "xla/debug_options_flags.h" #include "xla/service/dump.h" #include "xla/service/hlo_graph_dumper.h" #include "xla/service/maybe_owning_device_memory.h" #include "xla/status_macros.h" #incl...
#include "tensorflow/core/tfrt/mlrt/bytecode/executable.h" #include <cstring> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/tfrt/mlrt/bytecode/bytecode.h" namespace mlrt { namespace bc { namespace { TEST(ExecutableTest, Executable) { bc::Buffer buffer; bc::Allocator a...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/executable.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/bytecode/executable_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
550b3692-2d88-4054-bf6c-3b1158ebeda3
cpp
tensorflow/tensorflow
filter_dataset_op
tensorflow/core/kernels/data/filter_dataset_op.cc
tensorflow/core/kernels/data/filter_dataset_op_test.cc
#include "tensorflow/core/kernels/data/filter_dataset_op.h" #include <memory> #include <utility> #include <vector> #include "tensorflow/core/common_runtime/function.h" #include "tensorflow/core/common_runtime/input_colocation_exemption_registry.h" #include "tensorflow/core/data/dataset_utils.h" #include "tensorflow/cor...
#include "tensorflow/core/kernels/data/filter_dataset_op.h" #include "tensorflow/core/data/dataset_test_base.h" namespace tensorflow { namespace data { namespace { constexpr char kNodeName[] = "filter_dataset"; class FilterDatasetParams : public DatasetParams { public: template <typename T> FilterDatasetParams(T i...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/filter_dataset_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/filter_dataset_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bd4ce84d-8c2b-4f27-a3b4-90b861b3d323
cpp
google/tensorstore
constant_bit_vector
tensorstore/util/constant_bit_vector.h
tensorstore/util/constant_bit_vector_test.cc
#ifndef TENSORSTORE_UTIL_CONSTANT_BIT_VECTOR_H_ #define TENSORSTORE_UTIL_CONSTANT_BIT_VECTOR_H_ #include <cstddef> #include <type_traits> #include "tensorstore/util/bit_span.h" #include "tensorstore/util/constant_vector.h" namespace tensorstore { template <typename Block, bool value, std::ptrdiff_t Length> constexpr Bi...
#include "tensorstore/util/constant_bit_vector.h" #include <cstdint> #include <type_traits> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/util/bit_span.h" namespace { using ::tensorstore::BitSpan; using ::tensorstore::GetConstantBitVector; TEST(GetConstantBitVectorTest, Stati...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/constant_bit_vector.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/util/constant_bit_vector_test.cc
4f887a6430414cd6088e1743555015b10f116d50
c7a66d7d-dadc-40c4-8d3c-c32222c567aa
cpp
tensorflow/tensorflow
xla_debug_info_manager
third_party/xla/xla/service/xla_debug_info_manager.cc
third_party/xla/xla/service/xla_debug_info_manager_test.cc
#include "xla/service/xla_debug_info_manager.h" #include <memory> #include <string> #include <utility> #include <vector> #include "absl/log/check.h" #include "absl/synchronization/mutex.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/hlo.pb.h" #include "xla/service/hlo_proto_util.h" namespace xla { void Xla...
#include "xla/service/xla_debug_info_manager.h" #include <memory> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/container/flat_hash_set.h" #include "absl/synchronization/mutex.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/service/hlo.pb.h" #include "xla/serv...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/xla_debug_info_manager.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/xla_debug_info_manager_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fd3e1b7e-aead-499d-bda0-cf8d606beb95
cpp
tensorflow/tensorflow
guarantee_const_op
tensorflow/core/kernels/guarantee_const_op.cc
tensorflow/core/kernels/guarantee_const_op_test.cc
#include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/lib/core/errors.h" namespace tensorflow { namespace { class GuaranteeConstOp : public OpKernel { public: explicit GuaranteeConstOp(OpKernelConstruction* ctx) : OpKernel(ctx) {} void Compute(OpKernelContext* ctx) override { const DataTyp...
#include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/kernels/ops_testutil.h" #include "tensorfl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/guarantee_const_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/guarantee_const_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6d7c5496-6c39-4052-b4be-06ee7b55571d
cpp
google/cel-cpp
matchers
eval/public/testing/matchers.cc
eval/public/testing/matchers_test.cc
#include "eval/public/testing/matchers.h" #include <ostream> #include <utility> #include "google/protobuf/message.h" #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/strings/string_view.h" #include "eval/public/set_util.h" #include "internal/casts.h" namespace google::api::expr::runtime { void PrintTo(c...
#include "eval/public/testing/matchers.h" #include "absl/status/status.h" #include "absl/time/time.h" #include "eval/public/containers/container_backed_list_impl.h" #include "eval/public/structs/cel_proto_wrapper.h" #include "eval/testutil/test_message.pb.h" #include "internal/testing.h" #include "testutil/util.h" name...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/testing/matchers.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/testing/matchers_test.cc
4552db5798fb0853b131b783d8875794334fae7f
686813ec-b120-46dd-8c6e-b174ae9ae39a
cpp
tensorflow/tensorflow
op_converter_registry
tensorflow/compiler/tf2tensorrt/convert/op_converter_registry.cc
tensorflow/compiler/tf2tensorrt/convert/op_converter_registry_test.cc
#include "tensorflow/compiler/tf2tensorrt/convert/op_converter_registry.h" #include <set> #include <string> #include <utility> #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/...
#if GOOGLE_CUDA && GOOGLE_TENSORRT #include "tensorflow/compiler/tf2tensorrt/convert/op_converter_registry.h" #include <gtest/gtest.h> #include "tensorflow/compiler/tf2tensorrt/convert/op_converter.h" namespace tensorflow { namespace tensorrt { namespace convert { TEST(TestOpConverterRegistry, TestOpConverterRegistry) ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2tensorrt/convert/op_converter_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2tensorrt/convert/op_converter_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
21b3659f-bb74-437c-825a-b25b1a5f2f54
cpp
google/arolla
operator_repr_functions
arolla/expr/operator_repr_functions.cc
arolla/expr/operator_repr_functions_test.cc
#include "arolla/expr/operator_repr_functions.h" #include <cstddef> #include <cstdint> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/strings/str_cat.h" #include "ab...
#include "arolla/expr/operator_repr_functions.h" #include <memory> #include <optional> #include <string> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/container/flat_hash_map.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "arolla/expr/expr.h" #include "arolla/e...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/operator_repr_functions.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/operator_repr_functions_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
0e5b51f5-887b-4bbd-86cf-cea50fe6fd3e
cpp
tensorflow/tensorflow
pjrt_future
third_party/xla/xla/pjrt/pjrt_future.cc
third_party/xla/xla/pjrt/pjrt_future_test.cc
#include "xla/pjrt/pjrt_future.h" #include <atomic> #include <cstdint> #include <memory> #include <utility> #include "absl/base/thread_annotations.h" #include "absl/status/status.h" #include "absl/synchronization/mutex.h" #include "absl/types/span.h" #include "tsl/platform/logging.h" namespace xla { namespace { struct ...
#include "xla/pjrt/pjrt_future.h" #include <cstdint> #include <memory> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "tsl/platform/test.h" namespace xla { TEST(PjRtFutureTest, StatelessFuture) { auto promise = PjRtFuture<>::CreatePromise(); PjRtFutur...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/pjrt/pjrt_future.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/pjrt/pjrt_future_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8377d019-df08-42d2-95d1-41c6f8d85eb8
cpp
google/tensorstore
global_initializer
tensorstore/internal/global_initializer.h
tensorstore/internal/global_initializer_test.cc
#ifndef TENSORSTORE_INTERNAL_GLOBAL_INITIALIZER_H_ #define TENSORSTORE_INTERNAL_GLOBAL_INITIALIZER_H_ #include "tensorstore/internal/preprocessor/cat.h" #define TENSORSTORE_GLOBAL_INITIALIZER \ namespace { \ const struct TENSORSTORE_PP_C...
#include "tensorstore/internal/global_initializer.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> namespace { std::vector<int> vec; TENSORSTORE_GLOBAL_INITIALIZER { vec.push_back(1); } TENSORSTORE_GLOBAL_INITIALIZER { vec.push_back(2); } TENSORSTORE_GLOBAL_INITIALIZER { vec.push_back(3); } TEST(G...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/global_initializer.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/global_initializer_test.cc
4f887a6430414cd6088e1743555015b10f116d50
6475b107-a6ce-4c24-b567-5dba680f88ba
cpp
google/libphonenumber
phonenumbermatch
cpp/src/phonenumbers/phonenumbermatch.cc
cpp/test/phonenumbers/phonenumbermatch_test.cc
#include "phonenumbers/phonenumbermatch.h" #include <string> #include "phonenumbers/phonenumber.h" #include "phonenumbers/phonenumber.pb.h" #include "phonenumbers/stringutil.h" namespace i18n { namespace phonenumbers { PhoneNumberMatch::PhoneNumberMatch(int start, const string& raw_st...
#include "phonenumbers/phonenumber.h" #include "phonenumbers/phonenumbermatch.h" #include <gtest/gtest.h> #include "phonenumbers/phonenumber.pb.h" namespace i18n { namespace phonenumbers { TEST(PhoneNumberMatch, TestGetterMethods) { PhoneNumber number; const int start_index = 10; const string raw_phone_number("1 ...
https://github.com/google/libphonenumber/blob/9aa9aaa39ad8098aef56071d2df4f6f8d251c98b/cpp/src/phonenumbers/phonenumbermatch.cc
https://github.com/google/libphonenumber/blob/9aa9aaa39ad8098aef56071d2df4f6f8d251c98b/cpp/test/phonenumbers/phonenumbermatch_test.cc
9aa9aaa39ad8098aef56071d2df4f6f8d251c98b
539747d9-ddc4-43ed-b586-0406c8dbf82e
cpp
google/tensorstore
context
tensorstore/context.cc
tensorstore/context_test.cc
#include "tensorstore/context.h" #include <stddef.h> #include <algorithm> #include <cassert> #include <memory> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/base/no_destructor.h" #include "absl/base/thread_annotations.h" #include "absl/log/absl_check.h" #include "absl/log/...
#include "tensorstore/context.h" #include <cstddef> #include <cstdint> #include <optional> #include <string> #include <tuple> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/context_impl.h" #include "tensorstore/conte...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/context.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/context_test.cc
4f887a6430414cd6088e1743555015b10f116d50
4ada8775-bd63-45fb-95ee-e5da7caaac97
cpp
tensorflow/tensorflow
span
tensorflow/core/tfrt/mlrt/bytecode/span.h
tensorflow/core/tfrt/mlrt/bytecode/span_test.cc
#ifndef TENSORFLOW_CORE_TFRT_MLRT_BYTECODE_SPAN_H_ #define TENSORFLOW_CORE_TFRT_MLRT_BYTECODE_SPAN_H_ #include <cstdint> #include <vector> #include "tensorflow/core/tfrt/mlrt/bytecode/bytecode.h" namespace mlrt { namespace bc { template <typename T> class Span { public: using value_type = T; using iterator = ReadI...
#include "tensorflow/core/tfrt/mlrt/bytecode/span.h" #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/tfrt/mlrt/bytecode/bytecode.h" namespace mlrt { namespace bc { namespace { TEST(SpanTest, SpanOfTrivial) { Buffer buffer; Allocator alloc(&buffer); auto ctor = New<Vec...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/bytecode/span.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/mlrt/bytecode/span_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c6506a74-564b-4421-9121-be913bba8ef3
cpp
tensorflow/tensorflow
dfs_hlo_visitor_with_default
third_party/xla/xla/hlo/ir/dfs_hlo_visitor_with_default.h
third_party/xla/xla/service/dfs_hlo_visitor_with_default_test.cc
#ifndef XLA_HLO_IR_DFS_HLO_VISITOR_WITH_DEFAULT_H_ #define XLA_HLO_IR_DFS_HLO_VISITOR_WITH_DEFAULT_H_ #include <memory> #include <utility> #include "absl/base/optimization.h" #include "absl/log/log.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/dfs_hlo_visitor.h" #includ...
#include "xla/hlo/ir/dfs_hlo_visitor_with_default.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_opcode.h" #include "xla/service/hlo_runner.h" #include "xla/shape_util.h" #include "xla/test.h" #include "xla/test_helpers.h" #...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/ir/dfs_hlo_visitor_with_default.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dfs_hlo_visitor_with_default_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ac9dcc13-70b4-4bb8-b8e3-89f9de54e3a5
cpp
tensorflow/tensorflow
nccl_manager
tensorflow/core/nccl/nccl_manager.cc
tensorflow/core/nccl/nccl_manager_test.cc
#include "tensorflow/core/nccl/nccl_manager.h" #include <utility> #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #include "absl/base/call_once.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/lib/core/refcount.h" #include "tensorflow/core/lib/core/threadpool.h" #include "tensorflow/core/platform/blocki...
#include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM #include <algorithm> #include <random> #include <vector> #include "tensorflow/core/common_runtime/device_factory.h" #include "tensorflow/core/common_runtime/gpu/gpu_device.h" #include "tensorflow/core/framework...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/nccl/nccl_manager.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/nccl/nccl_manager_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
02979f14-d915-4bdb-9b1d-3ff75a0e9139
cpp
tensorflow/tensorflow
stablehlo_op_quant_spec
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc
#include "tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.h" #include <memory> #include "absl/status/statusor.h" #include "llvm/Support/Casting.h" #include "llvm/Support/Debug.h" #include "llvm/Support/raw_ostream.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/IR/BuiltinAttrib...
#include "tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.h" #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/OwningOpRef.h" #include "ml...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8515d29c-d1da-488d-9277-faa53268774a
cpp
tensorflow/tensorflow
dialect
tensorflow/core/ir/types/dialect.cc
tensorflow/core/ir/types/dialect_test.cc
#include "tensorflow/core/ir/types/dialect.h" #include <cstdint> #include <optional> #include <string> #include "absl/strings/escaping.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/TypeSwitch.h" #include "llvm/Support/ErrorHandling.h" #include "l...
#include "tensorflow/core/ir/types/dialect.h" #include <cstdint> #include <limits> #include <gmock/gmock.h> #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinAttributes.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/Operation.h" #include "mlir/Parser/Parser.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/types/dialect.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ir/types/dialect_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9bda38a9-493d-4316-85e9-9599ccb99c9a
cpp
tensorflow/tensorflow
dynamic_padder
third_party/xla/xla/service/dynamic_padder.cc
third_party/xla/xla/service/dynamic_padder_test.cc
#include "xla/service/dynamic_padder.h" #include <cstdint> #include <functional> #include <iterator> #include <set> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/functional/function_ref.h" #include "absl/log/check.h" #include "absl/lo...
#include "xla/service/dynamic_padder.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include "absl/log/check.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_replace.h" #include "absl/types/span.h" #include "xla/error...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_padder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/dynamic_padder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2b3d12ac-68d3-49d6-91a9-b5472a2b113e
cpp
google/cel-cpp
duration_value
common/values/duration_value.cc
common/values/duration_value_test.cc
#include <cstddef> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/cord.h" #include "absl/strings/string_view.h" #include "absl/time/time.h" #include "common/any.h" #include "common/casting.h" #include "common/json.h" #include "common/value.h...
#include <sstream> #include "absl/strings/cord.h" #include "absl/time/time.h" #include "absl/types/optional.h" #include "common/any.h" #include "common/casting.h" #include "common/json.h" #include "common/native_type.h" #include "common/value.h" #include "common/value_testing.h" #include "internal/testing.h" namespace ...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/duration_value.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/duration_value_test.cc
4552db5798fb0853b131b783d8875794334fae7f
58149a92-130e-465a-897d-2bb9af5d8f4b
cpp
google/quiche
quic_endpoint
quiche/quic/test_tools/simulator/quic_endpoint.cc
quiche/quic/test_tools/simulator/quic_endpoint_test.cc
#include "quiche/quic/test_tools/simulator/quic_endpoint.h" #include <algorithm> #include <memory> #include <string> #include <utility> #include "quiche/quic/core/crypto/crypto_handshake_message.h" #include "quiche/quic/core/crypto/crypto_protocol.h" #include "quiche/quic/core/quic_data_writer.h" #include "quiche/quic/...
#include "quiche/quic/test_tools/simulator/quic_endpoint.h" #include <memory> #include <utility> #include "quiche/quic/platform/api/quic_flags.h" #include "quiche/quic/platform/api/quic_test.h" #include "quiche/quic/test_tools/quic_connection_peer.h" #include "quiche/quic/test_tools/quic_test_utils.h" #include "quiche/...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/test_tools/simulator/quic_endpoint.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/test_tools/simulator/quic_endpoint_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
23a79605-f8d1-470f-b2fc-6fc4ba7ce262
cpp
tensorflow/tensorflow
hlo_dfs_reachability
third_party/xla/xla/hlo/ir/hlo_dfs_reachability.cc
third_party/xla/xla/service/hlo_dfs_reachability_test.cc
#include "xla/hlo/ir/hlo_dfs_reachability.h" #include <cstddef> #include <memory> #include <vector> #include "absl/algorithm/container.h" #include "llvm/ADT/BitVector.h" #include "llvm/ADT/SmallVector.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" namespace xla { bool HloDfsReachabil...
#include "xla/hlo/ir/hlo_dfs_reachability.h" #include <cstddef> #include <memory> #include <string> #include <string_view> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/literal_util.h" #include "xla/service/computation_placer.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/ir/hlo_dfs_reachability.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_dfs_reachability_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d3540fdf-f66a-4c00-8171-5490a9676f89
cpp
google/cel-cpp
activation
eval/public/activation.cc
eval/public/activation_test.cc
#include "eval/public/activation.h" #include <algorithm> #include <memory> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "eval/public/cel_function.h" namespace google { namespace api { namespace expr { namespace runtime { absl::optional<CelValue> Act...
#include "eval/public/activation.h" #include <memory> #include <string> #include <utility> #include "eval/eval/attribute_trail.h" #include "eval/eval/ident_step.h" #include "eval/public/cel_attribute.h" #include "eval/public/cel_function.h" #include "extensions/protobuf/memory_manager.h" #include "internal/status_macro...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/activation.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/activation_test.cc
4552db5798fb0853b131b783d8875794334fae7f
db986006-b216-4ed1-9076-c2e7bc628ce6
cpp
tensorflow/tensorflow
bitwise_xor
tensorflow/lite/kernels/bitwise_xor.cc
tensorflow/lite/kernels/bitwise_xor_test.cc
#include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/reference/binary_function.h" #include "tensorflow/lite/kernels/internal/tensor_ctypes.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { namespace ops { namespace bui...
#include <cstdint> #include <initializer_list> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace { using ::testing::ElementsAreArray; class BitwiseXorOpModel : public Single...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/bitwise_xor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/bitwise_xor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea