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
1f41e247-d429-4883-ac69-1d498174b3ed
cpp
tensorflow/tensorflow
quantized_instance_norm
tensorflow/core/kernels/quantized_instance_norm.cc
tensorflow/core/kernels/quantized_instance_norm_test.cc
#define EIGEN_USE_THREADS #if defined(__ARM_NEON__) || defined(__ARM_NEON) #define USE_NEON #include <arm_neon.h> #endif #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/numeric_op.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #i...
#define EIGEN_USE_THREADS #include <vector> #include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/core/framework/tensor_testutil.h" namespace tensorflow { namespace ops { namespace { void ReferenceImpl(const quint8* inp, float inp_min, float inp_max, ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/quantized_instance_norm.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/quantized_instance_norm_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1f3c6aef-7f7d-42a7-8cfa-9656e271f9f0
cpp
tensorflow/tensorflow
remote_mgr
tensorflow/core/distributed_runtime/eager/remote_mgr.cc
tensorflow/core/distributed_runtime/eager/remote_mgr_test.cc
#include "tensorflow/core/distributed_runtime/eager/remote_mgr.h" #include <memory> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/distributed_runtime/eager/remote_tensor_handle.h" #include "tensorflow/c...
#include "tensorflow/core/distributed_runtime/eager/remote_mgr.h" #include <memory> #include <utility> #include <vector> #include "tensorflow/core/common_runtime/eager/tensor_handle.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platfo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/eager/remote_mgr.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/eager/remote_mgr_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
548583df-a9ce-42fe-a3f2-1f92da313ff7
cpp
tensorflow/tensorflow
conditional_simplifier
third_party/xla/xla/service/conditional_simplifier.cc
third_party/xla/xla/service/conditional_simplifier_test.cc
#include "xla/service/conditional_simplifier.h" #include <iterator> #include <set> #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/statusor.h" #include "absl/strings/str...
#include "xla/service/conditional_simplifier.h" #include <string> #include <utility> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/literal_util.h" #include "xla/shape_util.h" #include "xla/test.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/conditional_simplifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/conditional_simplifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1511abd5-098d-46f7-9426-d0179c2675d1
cpp
tensorflow/tensorflow
scatter_nd_op
tensorflow/compiler/tf2xla/kernels/scatter_nd_op.cc
tensorflow/core/kernels/scatter_nd_op_test.cc
#include <functional> #include "absl/status/status.h" #include "tensorflow/compiler/tf2xla/lib/scatter.h" #include "tensorflow/compiler/tf2xla/xla_helpers.h" #include "tensorflow/compiler/tf2xla/xla_op_kernel.h" #include "tensorflow/compiler/tf2xla/xla_op_registry.h" #include "xla/hlo/builder/xla_builder.h" #include "x...
#include <cstdint> #include <functional> #include <memory> #include <vector> #include "absl/status/status.h" #include "absl/strings/match.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framewo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2xla/kernels/scatter_nd_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/scatter_nd_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9a9fecee-89c4-40d9-9f46-bb6d41b7c402
cpp
google/arolla
executable_builder
arolla/expr/eval/executable_builder.cc
arolla/expr/eval/executable_builder_test.cc
#include "arolla/expr/eval/executable_builder.h" #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/log/check.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #inc...
#include "arolla/expr/eval/executable_builder.h" #include <cstdint> #include <memory> #include <utility> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/status/status.h" #include "absl/status/status_matchers.h" #include "arolla/expr/eval/test_utils.h" #include "arolla/memory/frame.h" #include "arolla/m...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/eval/executable_builder.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/eval/executable_builder_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
ef42979d-a408-4ce0-8289-0539d58d3676
cpp
tensorflow/tensorflow
tflite_op_wrapper
tensorflow/lite/kernels/shim/tflite_op_wrapper.h
tensorflow/lite/kernels/shim/tflite_op_wrapper_test.cc
#ifndef TENSORFLOW_LITE_KERNELS_SHIM_TFLITE_OP_WRAPPER_H_ #define TENSORFLOW_LITE_KERNELS_SHIM_TFLITE_OP_WRAPPER_H_ #include <cstdint> #include <memory> #include <string> #include <tuple> #include <utility> #include <variant> #include <vector> #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/kernels/shim...
#include "tensorflow/lite/kernels/shim/tflite_op_wrapper.h" #include <cstddef> #include <cstdint> #include <memory> #include <string> #include <utility> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/shim/tflite_op_wrapper.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/shim/tflite_op_wrapper_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
510f194a-8b26-442d-b84f-a1e12abb3685
cpp
tensorflow/tensorflow
map_parallelization
tensorflow/core/grappler/optimizers/data/map_parallelization.cc
tensorflow/core/grappler/optimizers/data/map_parallelization_test.cc
#include "tensorflow/core/grappler/optimizers/data/map_parallelization.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/model.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/grappler/clusters/cluster.h" #include "tensorflow/core/grappler/grappler_item.h" #...
#include "tensorflow/core/grappler/optimizers/data/map_parallelization.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/grappler/grappler_item.h" #include "tensorflow/core/gr...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/map_parallelization.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/map_parallelization_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3ebbc352-a229-49cf-9041-6f9176427a0c
cpp
google/cel-cpp
bool_type
common/types/bool_type.h
common/types/bool_type_test.cc
#ifndef THIRD_PARTY_CEL_CPP_COMMON_TYPES_BOOL_TYPE_H_ #define THIRD_PARTY_CEL_CPP_COMMON_TYPES_BOOL_TYPE_H_ #include <ostream> #include <string> #include <utility> #include "absl/strings/string_view.h" #include "common/type_kind.h" namespace cel { class Type; class TypeParameters; class BoolType final { public: stat...
#include <sstream> #include "absl/hash/hash.h" #include "common/type.h" #include "internal/testing.h" namespace cel { namespace { TEST(BoolType, Kind) { EXPECT_EQ(BoolType().kind(), BoolType::kKind); EXPECT_EQ(Type(BoolType()).kind(), BoolType::kKind); } TEST(BoolType, Name) { EXPECT_EQ(BoolType().name(), BoolTyp...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/types/bool_type.h
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/types/bool_type_test.cc
4552db5798fb0853b131b783d8875794334fae7f
069a3ccd-321a-4f16-867b-1bd9d0c811d6
cpp
tensorflow/tensorflow
rename_op
tensorflow/tools/graph_transforms/rename_op.cc
tensorflow/tools/graph_transforms/rename_op_test.cc
#include "tensorflow/core/common_runtime/constant_folding.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/graph/subgraph.h" #include "tensorflow/core/platform/init_main.h" #include "tensorflow/core/public/session.h" #include "ten...
#include "tensorflow/cc/ops/const_op.h" #include "tensorflow/cc/ops/image_ops.h" #include "tensorflow/cc/ops/nn_ops.h" #include "tensorflow/cc/ops/sendrecv_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/tools/graph_transforms/rename_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/tools/graph_transforms/rename_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
887c6150-e4d7-406b-8f4d-849ff0d7cb86
cpp
tensorflow/tensorflow
nnapi_delegate
tensorflow/lite/delegates/nnapi/nnapi_delegate.cc
tensorflow/lite/delegates/nnapi/nnapi_delegate_test.cc
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h" #include <algorithm> #include <cinttypes> #include <cstdarg> #include <cstddef> #include <cstdint> #include <cstdio> #include <cstring> #include <functional> #include <initializer_list> #include <iostream> #include <iterator> #include <limits> #include <map> #...
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h" #include <sys/mman.h> #include <algorithm> #include <functional> #include <initializer_list> #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/check.h" #include "tensorflow/lite/context_util.h" #include "tensorflow/lite/cor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/nnapi_delegate.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/nnapi/nnapi_delegate_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ee3c1432-be08-420c-8fd2-095a457add68
cpp
google/cel-cpp
names
internal/names.cc
internal/names_test.cc
#include "internal/names.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "internal/lexis.h" namespace cel::internal { bool IsValidRelativeName(absl::string_view name) { if (name.empty()) { return false; } for (const auto& id : absl::StrSplit(name, '.')) { if (!LexisIs...
#include "internal/names.h" #include "internal/testing.h" namespace cel::internal { namespace { struct NamesTestCase final { absl::string_view text; bool ok; }; using IsValidRelativeNameTest = testing::TestWithParam<NamesTestCase>; TEST_P(IsValidRelativeNameTest, Compliance) { const NamesTestCase& test_case = Get...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/internal/names.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/internal/names_test.cc
4552db5798fb0853b131b783d8875794334fae7f
15e3231c-49f1-4370-965b-db6587959c9c
cpp
tensorflow/tensorflow
fingerprinting_utils
tensorflow/cc/saved_model/fingerprinting_utils.cc
tensorflow/cc/saved_model/fingerprinting_utils_test.cc
#include "tensorflow/cc/saved_model/fingerprinting_utils.h" #include <algorithm> #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include ...
#include "tensorflow/cc/saved_model/fingerprinting_utils.h" #include <cstdint> #include <string> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "xla/tsl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/cc/saved_model/fingerprinting_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/cc/saved_model/fingerprinting_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b6914a15-6630-4a43-882b-2ed081ace8fd
cpp
google/quiche
window_update_payload_decoder
quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc
quiche/http2/decoder/payload_decoders/window_update_payload_decoder_test.cc
#include "quiche/http2/decoder/payload_decoders/window_update_payload_decoder.h" #include "quiche/http2/decoder/decode_buffer.h" #include "quiche/http2/decoder/decode_http2_structures.h" #include "quiche/http2/decoder/http2_frame_decoder_listener.h" #include "quiche/http2/http2_constants.h" #include "quiche/http2/http2...
#include "quiche/http2/decoder/payload_decoders/window_update_payload_decoder.h" #include <stddef.h> #include "quiche/http2/decoder/http2_frame_decoder_listener.h" #include "quiche/http2/http2_constants.h" #include "quiche/http2/test_tools/frame_parts.h" #include "quiche/http2/test_tools/frame_parts_collector.h" #inclu...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/decoder/payload_decoders/window_update_payload_decoder.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/decoder/payload_decoders/window_update_payload_decoder_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
4cea8920-dc74-417f-9f7e-44a4c6a5967c
cpp
tensorflow/tensorflow
validator_runner_impl
tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner_impl.cc
tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner_impl_test.cc
#include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner_impl.h" #include <iostream> #include <memory> #include <ostream> #include <string> #include <thread> #include <utility> #include <vector> #include "absl/strings/match.h" #include "absl/strings/numbers.h" #include "absl/strings/str_joi...
#include "tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner_impl.h" #include <iostream> #include <memory> #include <string> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/time/time.h" #include "flatbuffers/flatbuffer_builder.h" #include "t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner_impl.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/mini_benchmark/validator_runner_impl_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e7903eb4-9985-4b6c-b0e5-c2348dbcc8ef
cpp
tensorflow/tensorflow
remote_device
tensorflow/core/distributed_runtime/remote_device.cc
tensorflow/core/distributed_runtime/remote_device_test.cc
#include "tensorflow/core/distributed_runtime/remote_device.h" #include <stdlib.h> #include <vector> #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/common_runtime/process_util.h" #include "tensorflow/core/common_runtime/renamed_device.h" #include "tensorflow/core/distributed_runtime/worker...
#include "tensorflow/core/distributed_runtime/remote_device.h" #include "tensorflow/core/common_runtime/device.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_channel.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_testlib.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_worker_cache.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/remote_device.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/distributed_runtime/remote_device_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f1ff1941-455f-40bb-b02a-d14a5a2cd4cb
cpp
tensorflow/tensorflow
scoped_allocator_optimizer
tensorflow/core/grappler/optimizers/scoped_allocator_optimizer.cc
tensorflow/core/grappler/optimizers/scoped_allocator_optimizer_test.cc
#include "tensorflow/core/grappler/optimizers/scoped_allocator_optimizer.h" #include "tensorflow/core/common_runtime/scoped_allocator.h" #include "tensorflow/core/common_runtime/scoped_allocator_mgr.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tens...
#include "tensorflow/core/grappler/optimizers/scoped_allocator_optimizer.h" #include <unordered_set> #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/framew...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/scoped_allocator_optimizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/scoped_allocator_optimizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
81a66a6c-8535-493f-811b-5d2d96798c77
cpp
tensorflow/tensorflow
bfloat16
tensorflow/core/framework/bfloat16.cc
tensorflow/core/framework/bfloat16_test.cc
#include "tensorflow/core/framework/bfloat16.h" #include "Eigen/Core" namespace tensorflow { void RoundFloatToBFloat16(const float* src, bfloat16* dst, int64_t size) { Eigen::Map<const Eigen::ArrayXf> src_eigen(src, size); Eigen::Map<Eigen::Array<bfloat16, Eigen::Dynamic, 1>> dst_eigen(dst, size); dst_eigen = s...
#include "tensorflow/core/framework/bfloat16.h" #include "absl/base/casts.h" #include "tensorflow/core/framework/numeric_types.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { namespace { TEST(Bfloat16Test, Conversion) { float a[100]; for (int...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/bfloat16.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/bfloat16_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d7563ad5-4d68-4de2-a7be-a79d148bcbfa
cpp
google/tsl
integral_types
tsl/platform/default/integral_types.h
tsl/platform/integral_types_test.cc
#ifndef TENSORFLOW_TSL_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_ #define TENSORFLOW_TSL_PLATFORM_DEFAULT_INTEGRAL_TYPES_H_ #include <cstdint> namespace tsl { typedef signed char int8; typedef short int16; typedef int int32; typedef ::std::int64_t int64; typedef unsigned char uint8; typedef unsigned short uint16; typedef unsig...
#include "tsl/platform/test.h" #include "tsl/platform/types.h" namespace tsl { namespace { TEST(IntegralTypes, Basic) { EXPECT_EQ(1, sizeof(int8)); EXPECT_EQ(2, sizeof(int16)); EXPECT_EQ(4, sizeof(int32)); EXPECT_EQ(8, sizeof(int64_t)); EXPECT_EQ(1, sizeof(uint8)); EXPECT_EQ(2, sizeof(uint16)); EXPECT_EQ(...
https://github.com/google/tsl/blob/6d708fdcdd4f40537b7fa273371215a6fa3d4423/tsl/platform/default/integral_types.h
https://github.com/google/tsl/blob/6d708fdcdd4f40537b7fa273371215a6fa3d4423/tsl/platform/integral_types_test.cc
6d708fdcdd4f40537b7fa273371215a6fa3d4423
64710183-ea4a-40de-abc1-7e74867a301d
cpp
google/libaddressinput
language
cpp/src/language.cc
cpp/test/language_test.cc
#include "language.h" #include <algorithm> #include <cctype> #include <string> #include <vector> #include "rule.h" #include "util/string_split.h" namespace i18n { namespace addressinput { Language::Language(const std::string& language_tag) : tag(language_tag), base(...
#include "language.h" #include <string> #include <gtest/gtest.h> namespace { using i18n::addressinput::Language; struct LanguageTestCase { LanguageTestCase(const std::string& input_language_tag, const std::string& expected_language_tag, const std::string& expected_base_language, ...
https://github.com/google/libaddressinput/blob/2610f7b1043d6784ada41392fc9392d1ea09ea07/cpp/src/language.cc
https://github.com/google/libaddressinput/blob/2610f7b1043d6784ada41392fc9392d1ea09ea07/cpp/test/language_test.cc
2610f7b1043d6784ada41392fc9392d1ea09ea07
e4cffad6-7c59-4630-b97b-acf78e9c302a
cpp
tensorflow/tensorflow
stablehlo_multiply
tensorflow/lite/kernels/stablehlo_multiply.cc
tensorflow/lite/kernels/stablehlo_multiply_test.cc
#include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/stablehlo_elementwise.h" namespace tflite::ops::builtin { TfLiteRegistration* Register_STABLEHLO_MULTIPLY() { static TfLiteRegistration r = {nullptr, nullptr, ElementwisePrepare, ElementwiseEval<ComputationTy...
#include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/core/subgraph.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace { class MultiplyOpModel ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/stablehlo_multiply.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/stablehlo_multiply_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2cc773d3-be6d-4d81-99e4-e20270add2d0
cpp
tensorflow/tensorflow
common_subgraph_elimination
tensorflow/core/grappler/optimizers/common_subgraph_elimination.cc
tensorflow/core/grappler/optimizers/common_subgraph_elimination_test.cc
#include "tensorflow/core/grappler/optimizers/common_subgraph_elimination.h" #include <set> #include <string> #include <unordered_set> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/attr_value_util.h" #include ...
#include "tensorflow/core/grappler/optimizers/common_subgraph_elimination.h" #include "absl/strings/str_cat.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/math_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framewo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/common_subgraph_elimination.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/common_subgraph_elimination_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3cb8cdf4-cddc-43a3-bd8c-aee1ea0653d4
cpp
tensorflow/tensorflow
op_gen_lib
tensorflow/core/framework/op_gen_lib.cc
tensorflow/core/framework/op_gen_lib_test.cc
#include "tensorflow/core/framework/op_gen_lib.h" #include <algorithm> #include <vector> #include "absl/strings/escaping.h" #include "tensorflow/core/framework/attr_value.pb.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/lib/strings/str_util.h" #i...
#include "tensorflow/core/framework/op_gen_lib.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/error_codes.pb.h" namespace tensorflow { namespace { constexpr char kTestOpList[] = R"(op { name: "testop" input_arg { name: "arg_a" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_gen_lib.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/framework/op_gen_lib_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
901d41c8-873e-4d38-b328-5d78ce6e163b
cpp
tensorflow/tensorflow
dtype
third_party/xla/xla/python/ifrt/dtype.cc
third_party/xla/xla/python/ifrt/dtype_test.cc
#include "xla/python/ifrt/dtype.h" #include <optional> #include <ostream> #include <string> #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "xla/python/ifrt/dtype.pb.h" namespace xla { namespace ifrt { std::optional<int> DType::byte_size() const { switch (kind_) { case kS2: case k...
#include "xla/python/ifrt/dtype.h" #include <optional> #include <tuple> #include <vector> #include <gtest/gtest.h> #include "xla/python/ifrt/dtype.pb.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace xla { namespace ifrt { namespace { TEST(DTypeTest, FromToFromProto) { for (int i = 0; i <...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt/dtype.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt/dtype_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b06baea6-f014-46e5-b82a-6472409090f8
cpp
tensorflow/tensorflow
cross_trainer_cache
tensorflow/core/data/service/cross_trainer_cache.h
tensorflow/core/data/service/cross_trainer_cache_test.cc
#ifndef TENSORFLOW_CORE_DATA_SERVICE_CROSS_TRAINER_CACHE_H_ #define TENSORFLOW_CORE_DATA_SERVICE_CROSS_TRAINER_CACHE_H_ #include <cstddef> #include <deque> #include <functional> #include <limits> #include <memory> #include <string> #include <utility> #include "absl/container/flat_hash_map.h" #include "tensorflow/core/d...
#include "tensorflow/core/data/service/cross_trainer_cache.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/memory/memory.h" #include "absl/strings/str_cat.h" #include "absl/time/time.h" #include "tensorflow/core/fram...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/cross_trainer_cache.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/cross_trainer_cache_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
18bfc23a-196f-4d42-a64d-c968866588d8
cpp
google/cel-cpp
int_value
common/values/int_value.cc
common/values/int_value_test.cc
#include <cstddef> #include <cstdint> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/cord.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "common/any.h" #include "common/casting.h" #include "common/json.h"...
#include <cstdint> #include <sstream> #include "absl/hash/hash.h" #include "absl/strings/cord.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/te...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/int_value.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/int_value_test.cc
4552db5798fb0853b131b783d8875794334fae7f
3718fbeb-f057-4522-8c2c-1f4e4ab2e411
cpp
tensorflow/tensorflow
work_sharder
tensorflow/core/util/work_sharder.cc
tensorflow/core/util/work_sharder_test.cc
#include "tensorflow/core/util/work_sharder.h" #include <algorithm> #include <functional> #include "xla/tsl/util/env_var.h" #include "tensorflow/core/platform/blocking_counter.h" #include "tensorflow/core/platform/logging.h" #include "tsl/profiler/lib/traceme.h" namespace tensorflow { namespace { bool UseEigenParallelF...
#include "tensorflow/core/util/work_sharder.h" #include <algorithm> #include <atomic> #include <functional> #include <vector> #include "tensorflow/core/lib/core/threadpool.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/test.h" #include "te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/work_sharder.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/work_sharder_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4d1025af-be87-4f2f-be05-74e276e9db38
cpp
google/quiche
print_elements
quiche/common/print_elements.h
quiche/common/print_elements_test.cc
#ifndef QUICHE_COMMON_PRINT_ELEMENTS_H_ #define QUICHE_COMMON_PRINT_ELEMENTS_H_ #include <ostream> #include <sstream> #include <string> #include "quiche/common/platform/api/quiche_export.h" namespace quiche { template <typename T> QUICHE_NO_EXPORT inline std::string PrintElements(const T& container) { std::stringstre...
#include "quiche/common/print_elements.h" #include <deque> #include <list> #include <string> #include <vector> #include "absl/strings/string_view.h" #include "quiche/quic/core/quic_error_codes.h" #include "quiche/common/platform/api/quiche_test.h" using quic::QuicIetfTransportErrorCodes; namespace quiche { namespace te...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/print_elements.h
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/print_elements_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
5b701727-1be1-444f-9d6e-3f418b5d3490
cpp
abseil/abseil-cpp
flags
absl/log/flags.cc
absl/log/flags_test.cc
#include "absl/log/internal/flags.h" #include <stddef.h> #include <algorithm> #include <cstdlib> #include <string> #include "absl/base/attributes.h" #include "absl/base/config.h" #include "absl/base/log_severity.h" #include "absl/flags/flag.h" #include "absl/flags/marshalling.h" #include "absl/log/globals.h" #include "...
#include "absl/log/internal/flags.h" #include <string> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/base/attributes.h" #include "absl/base/log_severity.h" #include "absl/flags/flag.h" #include "absl/flags/reflection.h" #include "absl/log/globals.h" #include "absl/log/internal/test_helpers.h" #includ...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/log/flags.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/log/flags_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
27394261-aac9-4dc4-be63-5a2f30536a7e
cpp
abseil/abseil-cpp
distributions
absl/random/distributions.h
absl/random/distributions_test.cc
#ifndef ABSL_RANDOM_DISTRIBUTIONS_H_ #define ABSL_RANDOM_DISTRIBUTIONS_H_ #include <limits> #include <type_traits> #include "absl/base/config.h" #include "absl/base/internal/inline_variable.h" #include "absl/meta/type_traits.h" #include "absl/random/bernoulli_distribution.h" #include "absl/random/beta_distribution.h" #...
#include "absl/random/distributions.h" #include <cfloat> #include <cmath> #include <cstdint> #include <limits> #include <type_traits> #include <utility> #include <vector> #include "gtest/gtest.h" #include "absl/meta/type_traits.h" #include "absl/numeric/int128.h" #include "absl/random/internal/distribution_test_util.h"...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/distributions.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/distributions_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
8048927d-21bf-46dd-b380-1c7f05f9afa0
cpp
google/quiche
qpack_decoder_stream_receiver
quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc
quiche/quic/core/qpack/qpack_decoder_stream_receiver_test.cc
#include "quiche/quic/core/qpack/qpack_decoder_stream_receiver.h" #include "absl/strings/string_view.h" #include "quiche/http2/decoder/decode_buffer.h" #include "quiche/http2/decoder/decode_status.h" #include "quiche/quic/core/qpack/qpack_instructions.h" namespace quic { QpackDecoderStreamReceiver::QpackDecoderStreamRe...
#include "quiche/quic/core/qpack/qpack_decoder_stream_receiver.h" #include <string> #include "absl/strings/escaping.h" #include "absl/strings/string_view.h" #include "quiche/quic/platform/api/quic_test.h" using testing::Eq; using testing::StrictMock; namespace quic { namespace test { namespace { class MockDelegate : pu...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/qpack/qpack_decoder_stream_receiver.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/qpack/qpack_decoder_stream_receiver_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
106e29d3-9c69-48ae-b424-79984c7aed25
cpp
tensorflow/tensorflow
basic_batch_scheduler
tensorflow/core/kernels/batching_util/basic_batch_scheduler.h
tensorflow/core/kernels/batching_util/basic_batch_scheduler_test.cc
#ifndef TENSORFLOW_CORE_KERNELS_BATCHING_UTIL_BASIC_BATCH_SCHEDULER_H_ #define TENSORFLOW_CORE_KERNELS_BATCHING_UTIL_BASIC_BATCH_SCHEDULER_H_ #include <stddef.h> #include <cstddef> #include <functional> #include <memory> #include <string> #include "tensorflow/core/kernels/batching_util/shared_batch_scheduler.h" namespa...
#include "tensorflow/core/kernels/batching_util/basic_batch_scheduler.h" #include <utility> #include "tensorflow/core/kernels/batching_util/batch_scheduler.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/macros.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/batching_util/basic_batch_scheduler.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/batching_util/basic_batch_scheduler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d372ca5e-0ee3-4c33-b46f-25c5dac29903
cpp
tensorflow/tensorflow
rocm_kernel
third_party/xla/xla/stream_executor/rocm/rocm_kernel.cc
third_party/xla/xla/stream_executor/rocm/rocm_kernel_test.cc
#include "xla/stream_executor/rocm/rocm_kernel.h" #include <cstddef> #include <cstdint> #include "absl/log/log.h" #include "absl/status/statusor.h" #include "xla/stream_executor/gpu/gpu_driver.h" #include "xla/stream_executor/launch_dim.h" namespace stream_executor { namespace gpu { absl::StatusOr<int32_t> RocmKernel::...
#include "xla/stream_executor/rocm/rocm_kernel.h" #include <gtest/gtest.h> #include "rocm/include/hip/hip_runtime.h" #include "xla/stream_executor/gpu/gpu_executor.h" #include "xla/stream_executor/gpu/gpu_test_kernels.h" #include "xla/stream_executor/launch_dim.h" #include "xla/stream_executor/platform.h" #include "xla...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/rocm/rocm_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0e3d9076-7c79-4ee2-b5df-2a986817bca7
cpp
tensorflow/tensorflow
disable_prefetch_legacy_autotune
tensorflow/core/grappler/optimizers/data/disable_prefetch_legacy_autotune.cc
tensorflow/core/grappler/optimizers/data/disable_prefetch_legacy_autotune_test.cc
#include "tensorflow/core/grappler/optimizers/data/disable_prefetch_legacy_autotune.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/grappler/clusters/cluster.h" #include "tensorflow/core/grappler/grappler_item.h" #include "tensorflow/core/grappler/mutable_graph_view.h" #include "tensorfl...
#include "tensorflow/core/grappler/optimizers/data/disable_prefetch_legacy_autotune.h" #include "tensorflow/core/framework/attr_value_util.h" #include "tensorflow/core/framework/function_testlib.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/grappler/grappler_item.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/disable_prefetch_legacy_autotune.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/data/disable_prefetch_legacy_autotune_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7aa386ba-d412-45b1-a72a-31fec0ee84bf
cpp
google/quiche
quic_packet_number
quiche/quic/core/quic_packet_number.cc
quiche/quic/core/quic_packet_number_test.cc
#include "quiche/quic/core/quic_packet_number.h" #include <algorithm> #include <limits> #include <ostream> #include <string> #include "absl/strings/str_cat.h" namespace quic { void QuicPacketNumber::Clear() { packet_number_ = UninitializedPacketNumber(); } void QuicPacketNumber::UpdateMax(QuicPacketNumber new_value) { ...
#include "quiche/quic/core/quic_packet_number.h" #include "quiche/quic/platform/api/quic_flags.h" #include "quiche/quic/platform/api/quic_test.h" namespace quic { namespace test { namespace { TEST(QuicPacketNumberTest, BasicTest) { QuicPacketNumber num; EXPECT_FALSE(num.IsInitialized()); QuicPacketNumber num2(10)...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_packet_number.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_packet_number_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
4e6fafa5-5d2d-4a50-9c2d-5cb980bc6d2e
cpp
tensorflow/tensorflow
runtime
tensorflow/lite/delegates/gpu/gl/runtime.cc
tensorflow/core/tfrt/runtime/runtime_test.cc
#include "tensorflow/lite/delegates/gpu/gl/runtime.h" #include <algorithm> #include <cstdint> #include <functional> #include <memory> #include <utility> #include <variant> #include <vector> #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #inc...
#include "tensorflow/core/tfrt/runtime/runtime.h" #include <gtest/gtest.h> namespace tensorflow { namespace tfrt_stub { namespace { TEST(RuntimeTest, GlobalRuntimeWorks) { EXPECT_EQ(GetGlobalRuntime(), nullptr); SetGlobalRuntime(Runtime::Create(4)); EXPECT_NE(GetGlobalRuntime(), nullptr); EXPECT_EQ(GetGlobalRun...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/runtime.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/runtime_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dcc6598e-7586-4f85-ac2b-7dd32be7be0e
cpp
google/quiche
http_frames
quiche/quic/core/http/http_frames.h
quiche/quic/core/http/http_frames_test.cc
#ifndef QUICHE_QUIC_CORE_HTTP_HTTP_FRAMES_H_ #define QUICHE_QUIC_CORE_HTTP_HTTP_FRAMES_H_ #include <algorithm> #include <cstdint> #include <map> #include <ostream> #include <sstream> #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "quiche/http2/...
#include "quiche/quic/core/http/http_frames.h" #include <sstream> #include "quiche/quic/core/http/http_constants.h" #include "quiche/quic/platform/api/quic_test.h" namespace quic { namespace test { TEST(HttpFramesTest, SettingsFrame) { SettingsFrame a; EXPECT_TRUE(a == a); EXPECT_EQ("", a.ToString()); SettingsF...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/http/http_frames.h
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/http/http_frames_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
42ba027f-473e-4e70-a1e2-6fa80dbda591
cpp
tensorflow/tensorflow
cpu_instruction_fusion
third_party/xla/xla/service/cpu/cpu_instruction_fusion.cc
third_party/xla/xla/service/cpu/cpu_instruction_fusion_test.cc
#include "xla/service/cpu/cpu_instruction_fusion.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/fusion_node_indexing_evaluation.h" #include "xla/service/instruction_fusion.h" #include "xla/service/llvm_ir/fused_ir_emitter.h" namespace xla { namespace cpu { namespace { bool CanBeLoopFused(const HloInstructi...
#include "xla/service/cpu/cpu_instruction_fusion.h" #include <algorithm> #include <memory> #include <set> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_instruction_fusion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/cpu/cpu_instruction_fusion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e71d581e-3184-4873-831f-aba1c7d47594
cpp
tensorflow/tensorflow
hlo_rematerialization_test_utils
third_party/xla/xla/service/hlo_rematerialization_test_utils.h
third_party/xla/xla/service/hlo_rematerialization_test_utils_test.cc
#ifndef XLA_SERVICE_HLO_REMATERIALIZATION_TEST_UTILS_H_ #define XLA_SERVICE_HLO_REMATERIALIZATION_TEST_UTILS_H_ #include <cstdint> #include <memory> #include <string> #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...
#include "xla/service/hlo_rematerialization_test_utils.h" #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" namespace xla { namespace { using ::testing::UnorderedElementsAre; class HloRematerializationTes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_rematerialization_test_utils.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_rematerialization_test_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bd13b244-2252-4f7c-8e58-0f8f18afb81d
cpp
tensorflow/tensorflow
work_queue_interface
tensorflow/core/tfrt/runtime/work_queue_interface.cc
tensorflow/core/tfrt/runtime/work_queue_interface_test.cc
#include "tensorflow/core/tfrt/runtime/work_queue_interface.h" #include <memory> #include <optional> #include <string> #include <utility> #include "tfrt/host_context/execution_context.h" namespace tensorflow { namespace tfrt_stub { namespace { class DefaultWorkQueueWrapper : public WorkQueueInterface { public: exp...
#include "tensorflow/core/tfrt/runtime/work_queue_interface.h" #include <thread> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/tfrt/utils/thread_pool.h" #include "tfrt/cpp_tests/test_util.h" #include "tfrt/host_con...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/work_queue_interface.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/runtime/work_queue_interface_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3c6f7a0c-58b2-4b13-a19e-66849e246b7a
cpp
google/arolla
edge
arolla/dense_array/edge.cc
arolla/dense_array/edge_test.cc
#include "arolla/dense_array/edge.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <utility> #include <vector> #include "absl/base/optimization.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...
#include "arolla/dense_array/edge.h" #include <cstdint> #include <optional> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/status/status.h" #include "absl/status/status_matchers.h" #include "absl/types/span.h" #include "arolla/dense_array/dense_array.h" #include "arolla/memory/buffer.h" #include "arol...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/dense_array/edge.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/dense_array/edge_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
bc07f90e-c5ca-4425-9d00-f2c2cd42fb47
cpp
tensorflow/tensorflow
tmpl_tflite_op
tensorflow/lite/kernels/shim/test_op/tmpl_tflite_op.cc
tensorflow/lite/kernels/shim/test_op/tmpl_tflite_op_test.cc
#include "tensorflow/lite/kernels/shim/test_op/tmpl_tflite_op.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/kernels/shim/op_kernel.h" #include "tensorflow/lite/kernels/shim/test_op/tmpl_op.h" #include "tensorflow/lite/kernels/shim/tflite_op_shim.h" #include "tensorflow/lite/kernels/shim/tflite_op_w...
#include "tensorflow/lite/kernels/shim/test_op/tmpl_tflite_op.h" #include <cstdint> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flexbuffers.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/shim/test_op/tmpl_tflite_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/shim/test_op/tmpl_tflite_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c1b32f96-8037-495e-84ce-029851f2e85d
cpp
google/quiche
quiche_stack_trace
quiche/common/platform/api/quiche_stack_trace.h
quiche/common/platform/api/quiche_stack_trace_test.cc
#ifndef QUICHE_COMMON_PLATFORM_API_QUICHE_STACK_TRACE_H_ #define QUICHE_COMMON_PLATFORM_API_QUICHE_STACK_TRACE_H_ #include <string> #include <vector> #include "absl/types/span.h" #include "quiche_platform_impl/quiche_stack_trace_impl.h" namespace quiche { inline std::vector<void*> CurrentStackTrace() { return Current...
#include "quiche/common/platform/api/quiche_stack_trace.h" #include <cstdint> #include <string> #include "absl/base/attributes.h" #include "absl/base/optimization.h" #include "absl/strings/str_cat.h" #include "quiche/common/platform/api/quiche_test.h" namespace quiche { namespace test { namespace { bool ShouldRunTest()...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/platform/api/quiche_stack_trace.h
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/platform/api/quiche_stack_trace_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
a18745e0-7850-49be-a0f1-f376124d5507
cpp
google/quiche
quic_spdy_stream_body_manager
quiche/quic/core/http/quic_spdy_stream_body_manager.cc
quiche/quic/core/http/quic_spdy_stream_body_manager_test.cc
#include "quiche/quic/core/http/quic_spdy_stream_body_manager.h" #include <algorithm> #include "absl/strings/string_view.h" #include "quiche/quic/platform/api/quic_logging.h" namespace quic { QuicSpdyStreamBodyManager::QuicSpdyStreamBodyManager() : total_body_bytes_received_(0) {} size_t QuicSpdyStreamBodyManager::...
#include "quiche/quic/core/http/quic_spdy_stream_body_manager.h" #include <algorithm> #include <numeric> #include <string> #include <vector> #include "absl/base/macros.h" #include "absl/strings/string_view.h" #include "quiche/quic/platform/api/quic_expect_bug.h" #include "quiche/quic/platform/api/quic_logging.h" #inclu...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/http/quic_spdy_stream_body_manager.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/http/quic_spdy_stream_body_manager_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
b0342d3b-45bb-49f1-8468-d8b5280b1d89
cpp
tensorflow/tensorflow
rfft2d
tensorflow/lite/kernels/rfft2d.cc
tensorflow/lite/kernels/rfft2d_test.cc
#include <math.h> #include <stddef.h> #include <stdint.h> #include <string.h> #include <algorithm> #include <complex> #include "third_party/fft2d/fft2d.h" #include "ruy/profiler/instrumentation.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/tensor.h" #include "tensorflow/lite...
#include <stdint.h> #include <complex> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace ops { namespace builtin { namespace { using std::complex; using ::testing::ElementsAreArray; class Rfft2dOpMo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/rfft2d.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/rfft2d_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
411d864e-9c80-468d-8190-fd508633bd99
cpp
tensorflow/tensorflow
quantization_utils
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/quantization_utils_test.cc
#include "tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h" #include <algorithm> #include <cmath> #include <cstdint> #include <cstdlib> #include <functional> #include <iterator> #include <limits> #include <memory> #include <numeric> #include <string> #include <vector> #include "llvm/AD...
#include "tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/quantization_utils.h" #include <algorithm> #include <cstdint> #include <cstdlib> #include <iostream> #include <memory> #include <string> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/lite/quantization/lite/toco_legacy/quantization_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
425d073d-3f27-40e9-99b6-df84309bd750
cpp
google/tensorstore
data_type
tensorstore/internal/json_binding/data_type.cc
tensorstore/internal/json_binding/data_type_test.cc
#include "tensorstore/internal/json_binding/data_type.h" #include <string> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/data_type.h" #include "tensorstore/internal/json/json.h" #include "tensorstore/internal/json_binding/bindable.h" #include "tensorstore/internal/json_binding/json_...
#include "tensorstore/internal/json_binding/data_type.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include <nlohmann/json.hpp> #include "tensorstore/data_type.h" #include "tensorstore/internal/json_binding/bindable.h" #include "tensorstore/internal/json_binding/gtest.h" #include...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/data_type.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/json_binding/data_type_test.cc
4f887a6430414cd6088e1743555015b10f116d50
3aee648e-9f7e-4188-b1ab-86279bc91b57
cpp
tensorflow/tensorflow
register_common_dialects
tensorflow/compiler/mlir/register_common_dialects.cc
tensorflow/compiler/mlir/register_common_dialects_test.cc
#include "tensorflow/compiler/mlir/register_common_dialects.h" #include "mlir/Dialect/Quant/IR/Quant.h" #include "mlir/Dialect/Shape/IR/Shape.h" #include "mlir/Dialect/Tensor/IR/Tensor.h" #include "mlir/Dialect/Tosa/IR/TosaOps.h" #include "mlir/InitAllDialects.h" #include "mlir/InitAllExtensions.h" #include...
#include "tensorflow/compiler/mlir/register_common_dialects.h" #include <gtest/gtest.h> #include "mlir/IR/DialectRegistry.h" namespace mlir { namespace { TEST(RegisterCommonDialectsTest, DoesntCrash) { mlir::DialectRegistry registry; mlir::RegisterCommonToolingDialects(registry); EXPECT_FALSE(registry.getDialec...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/register_common_dialects.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/register_common_dialects_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b0f85722-0479-4365-86f1-257131d04adf
cpp
tensorflow/tensorflow
deadness_analysis
tensorflow/compiler/jit/deadness_analysis.cc
tensorflow/compiler/jit/deadness_analysis_test.cc
#include "tensorflow/compiler/jit/deadness_analysis.h" #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_join.h" #include "absl/strings/string_view.h" #include "tensorflow/compiler/jit/deadness_analysis_internal.h" #inclu...
#include "tensorflow/compiler/jit/deadness_analysis.h" #include "tensorflow/cc/framework/ops.h" #include "tensorflow/cc/ops/array_ops.h" #include "tensorflow/cc/ops/control_flow_ops_internal.h" #include "tensorflow/cc/ops/function_ops.h" #include "tensorflow/cc/ops/sendrecv_ops.h" #include "tensorflow/cc/ops/standard_o...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/deadness_analysis.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/deadness_analysis_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f88f8392-47f6-4a36-91b7-14325d137a41
cpp
tensorflow/tensorflow
repeat_dataset_op
tensorflow/core/kernels/data/repeat_dataset_op.cc
tensorflow/core/kernels/data/repeat_dataset_op_test.cc
#include "tensorflow/core/kernels/data/repeat_dataset_op.h" #include <cstdint> #include <cstdlib> #include <functional> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #includ...
#include "tensorflow/core/kernels/data/repeat_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/repeat_dataset_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/repeat_dataset_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bd8402fb-b272-4b3d-8727-5a2fb5c803c3
cpp
tensorflow/tensorflow
stablehlo_and
tensorflow/lite/kernels/stablehlo_and.cc
tensorflow/lite/kernels/stablehlo_and_test.cc
#include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/stablehlo_elementwise.h" namespace tflite::ops::builtin { TfLiteRegistration* Register_STABLEHLO_AND() { static TfLiteRegistration r = {nullptr, nullptr, ElementwisePrepare, ElementwiseEval<ComputationType::k...
#include <cstdint> #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/core/subgraph.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/stablehlo_and.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/stablehlo_and_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0dfe0675-3405-4e60-9aaa-06befc7c3acc
cpp
tensorflow/tensorflow
interpreter_utils
tensorflow/lite/delegates/gpu/common/testing/interpreter_utils.cc
tensorflow/lite/delegates/interpreter_utils_test.cc
#include "tensorflow/lite/delegates/gpu/common/testing/interpreter_utils.h" #include <cstring> #include <memory> #include <string> #include <vector> #include "tensorflow/lite/core/api/op_resolver.h" #include "tensorflow/lite/core/interpreter_builder.h" #include "tensorflow/lite/core/kernels/register.h" #include "tensor...
#include "tensorflow/lite/delegates/interpreter_utils.h" #include <string.h> #include <memory> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/delegate_test_util.h" #include "tensorflow/lite/interpreter.h" namespace tflite { namespace delegates { using test_utils::SimpleDelegate; using te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/common/testing/interpreter_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/interpreter_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ecbc942e-789a-4c27-8270-279e04a643e2
cpp
tensorflow/tensorflow
bcast
tensorflow/core/util/bcast.cc
tensorflow/core/util/bcast_test.cc
#include "tensorflow/core/util/bcast.h" #include "tensorflow/core/platform/logging.h" namespace tensorflow { BCast::Vec BCast::FromShape(const TensorShape& shape) { const int N = shape.dims(); BCastList::Vec ret(N); for (int i = 0; i < N; ++i) { ret[i] = shape.dim_size(i); } return ret; } TensorShape BCas...
#include "tensorflow/core/util/bcast.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/lib/strings/strcat.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { namespace { string BCast(const tensorflow::BCast::Vec& x, const...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/bcast.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/bcast_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
2dc24273-ac8a-4cd0-ae3e-f318b528f463
cpp
tensorflow/tensorflow
mkl_fused_batch_norm_op
tensorflow/core/kernels/mkl/mkl_fused_batch_norm_op.cc
tensorflow/core/kernels/mkl/mkl_fused_batch_norm_op_test.cc
#ifdef INTEL_MKL #include "unsupported/Eigen/CXX11/Tensor" #include "dnnl.hpp" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_types.h" #include "tensorflow/core/kernels/fuse...
#ifdef INTEL_MKL #include "tensorflow/cc/ops/const_op.h" #include "tensorflow/cc/ops/image_ops.h" #include "tensorflow/cc/ops/nn_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/common_runtime/kernel_benchmark_testlib.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/mkl/mkl_fused_batch_norm_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/mkl/mkl_fused_batch_norm_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
04c6a655-18ac-47eb-9c89-76edaa0f0a6f
cpp
abseil/abseil-cpp
optional
absl/types/internal/optional.h
absl/types/optional_test.cc
#ifndef ABSL_TYPES_INTERNAL_OPTIONAL_H_ #define ABSL_TYPES_INTERNAL_OPTIONAL_H_ #include <functional> #include <new> #include <type_traits> #include <utility> #include "absl/base/internal/inline_variable.h" #include "absl/memory/memory.h" #include "absl/meta/type_traits.h" #include "absl/utility/utility.h" namespace ab...
#include "absl/types/optional.h" #if !defined(ABSL_USES_STD_OPTIONAL) #include <string> #include <type_traits> #include <utility> #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/log/log.h" #include "absl/meta/type_traits.h" #include "absl/strings/string_view.h" #if defined(__cplusplus) && __cplusp...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/types/internal/optional.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/types/optional_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
bdecb66a-e4c2-4a63-858d-085c8dc2db48
cpp
google/quiche
quiche_callbacks
quiche/common/quiche_callbacks.h
quiche/common/quiche_callbacks_test.cc
#ifndef QUICHE_COMMON_QUICHE_CALLBACKS_H_ #define QUICHE_COMMON_QUICHE_CALLBACKS_H_ #include <type_traits> #include "absl/functional/any_invocable.h" #include "absl/functional/function_ref.h" #include "quiche/common/platform/api/quiche_export.h" namespace quiche { namespace callbacks_internal { template <class Sig> cla...
#include "quiche/common/quiche_callbacks.h" #include <memory> #include <utility> #include <vector> #include "quiche/common/platform/api/quiche_test.h" namespace quiche { namespace { void Apply(const std::vector<int>& container, UnretainedCallback<void(int)> function) { for (int n : container) { functio...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/quiche_callbacks.h
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/quiche_callbacks_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
3cff052a-121d-4eb7-af05-2568e0a596f9
cpp
tensorflow/tensorflow
tfrt_op_kernel
tensorflow/core/runtime_fallback/kernel/tfrt_op_kernel.cc
tensorflow/core/runtime_fallback/kernel/tfrt_op_kernel_test.cc
#include "tensorflow/core/runtime_fallback/kernel/tfrt_op_kernel.h" #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/strings/str_split.h" #include "absl/strings/strip.h" #include "llvm/Support/raw_ostream.h" #include "tensorflow/core/framework/tensor.h" #includ...
#include "tensorflow/core/runtime_fallback/kernel/tfrt_op_kernel.h" #include <memory> #include <string> #include <vector> #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/lib/core/error_codes.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h"...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/runtime_fallback/kernel/tfrt_op_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/runtime_fallback/kernel/tfrt_op_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
665bfea1-89ee-49d0-99c1-042637e13beb
cpp
tensorflow/tensorflow
outfeed_receiver
third_party/xla/xla/python/outfeed_receiver.cc
third_party/xla/xla/python/outfeed_receiver_test.cc
#include "xla/python/outfeed_receiver.h" #include <sys/types.h> #include <cstdint> #include <memory> #include <optional> #include <queue> #include <string> #include <utility> #include <vector> #include "absl/base/thread_annotations.h" #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "a...
#include "xla/python/outfeed_receiver.h" #include <memory> #include <optional> #include <vector> #include "absl/status/status.h" #include "absl/synchronization/mutex.h" #include "xla/client/client_library.h" #include "xla/client/executable_build_options.h" #include "xla/client/xla_builder.h" #include "xla/pjrt/cpu/cpu_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/outfeed_receiver.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/outfeed_receiver_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6c806b30-785a-4e6a-bc6a-047845ca3876
cpp
tensorflow/tensorflow
device_util
tensorflow/compiler/jit/device_util.cc
tensorflow/compiler/jit/device_util_test.cc
#include "tensorflow/compiler/jit/device_util.h" #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "xla/status_macros.h" namespace tensorflow { namespace jit { void DeviceSet::Insert(DeviceId device_id) { int word_index = device_id.id() / kWordSize; int bit_index = device_id.i...
#include "tensorflow/compiler/jit/device_util.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { Status PickDeviceHelper(bool allow_mixing_unknown_and_cpu, absl::Span<const absl::string_view> device_names, ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/device_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/device_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d2386078-ce90-43a2-9dde-276049b32c97
cpp
google/quiche
push_promise_payload_decoder
quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc
quiche/http2/decoder/payload_decoders/push_promise_payload_decoder_test.cc
#include "quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.h" #include <stddef.h> #include <ostream> #include "absl/base/macros.h" #include "quiche/http2/decoder/decode_buffer.h" #include "quiche/http2/decoder/http2_frame_decoder_listener.h" #include "quiche/http2/http2_constants.h" #include "quiche/h...
#include "quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.h" #include <stddef.h> #include <string> #include "quiche/http2/decoder/http2_frame_decoder_listener.h" #include "quiche/http2/http2_constants.h" #include "quiche/http2/test_tools/frame_parts.h" #include "quiche/http2/test_tools/frame_parts_co...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/decoder/payload_decoders/push_promise_payload_decoder_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
95881b06-48de-4930-9377-92d811d54452
cpp
abseil/abseil-cpp
substitute
absl/strings/substitute.cc
absl/strings/substitute_test.cc
#include "absl/strings/substitute.h" #include <algorithm> #include <cassert> #include <cstddef> #include <cstdint> #include <limits> #include <string> #include "absl/base/config.h" #include "absl/base/internal/raw_logging.h" #include "absl/base/nullability.h" #include "absl/strings/ascii.h" #include "absl/strings/escap...
#include "absl/strings/substitute.h" #include <cstdint> #include <cstring> #include <string> #include <vector> #include "gtest/gtest.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" namespace { struct MyStruct { template <typename Sink> friend void AbslStringify(Sink& sink, const MyStruct&...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/substitute.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/substitute_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
744b13d6-0162-45d3-85b9-beec62d260a6
cpp
tensorflow/tensorflow
copy_fusion
third_party/xla/xla/service/gpu/transforms/copy_fusion.cc
third_party/xla/xla/service/gpu/transforms/copy_fusion_test.cc
#include "xla/service/gpu/transforms/copy_fusion.h" #include <cstdint> #include <queue> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service...
#include "xla/service/gpu/transforms/copy_fusion.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/pattern_matcher.h" #include "xla/service/pattern_matcher_gmock.h" #include "xla/tests/hlo_test_base.h" namespace xla { nam...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/copy_fusion.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/copy_fusion_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8e55df92-c213-4cd5-876f-69f4af4f9644
cpp
google/tsl
str_util
tsl/platform/str_util.cc
tsl/platform/str_util_test.cc
#include "tsl/platform/str_util.h" #include <cctype> #include <cstdint> #include <string> #include "absl/strings/ascii.h" #include "tsl/platform/logging.h" #include "tsl/platform/stringpiece.h" namespace tsl { namespace str_util { size_t RemoveLeadingWhitespace(absl::string_view* text) { absl::string_view new_text = ...
#include "tsl/platform/str_util.h" #include <vector> #include "tsl/platform/test.h" namespace tsl { TEST(CEscape, Basic) { EXPECT_EQ(absl::CEscape("hello"), "hello"); EXPECT_EQ(absl::CEscape("hello\n"), "hello\\n"); EXPECT_EQ(absl::CEscape("hello\r"), "hello\\r"); EXPECT_EQ(absl::CEscape("\t\r\"'"), "\\t\\r\\\"...
https://github.com/google/tsl/blob/6d708fdcdd4f40537b7fa273371215a6fa3d4423/tsl/platform/str_util.cc
https://github.com/google/tsl/blob/6d708fdcdd4f40537b7fa273371215a6fa3d4423/tsl/platform/str_util_test.cc
6d708fdcdd4f40537b7fa273371215a6fa3d4423
a7e207fa-a826-4269-ba9a-fa266b94b2de
cpp
tensorflow/tensorflow
custom_kernel_fusion_autotuner
third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.cc
third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner_test.cc
#include "xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.h" #include <cstdint> #include <memory> #include <optional> #include <tuple> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/stri...
#include "xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.h" #include <memory> #include <string> #include <utility> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/pass/hlo_pass_pipeline.h" #include "xla/service/gpu/autotuning/autotuner_util.h" #include "xla/tests/hlo_test_base.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/autotuning/custom_kernel_fusion_autotuner_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3cc7cc66-874f-47a7-a4f0-c1960ee89b92
cpp
tensorflow/tensorflow
transitive_fanin
tensorflow/core/grappler/utils/transitive_fanin.cc
tensorflow/core/grappler/utils/transitive_fanin_test.cc
#include "tensorflow/core/grappler/utils/transitive_fanin.h" #include <queue> #include <vector> #include "tensorflow/core/framework/node_def_util.h" #include "tensorflow/core/grappler/utils.h" #include "tensorflow/core/platform/errors.h" namespace tensorflow { namespace grappler { Status ComputeTransitiveFanin( con...
#include "tensorflow/core/grappler/utils/transitive_fanin.h" #include <vector> #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/grappler/utils.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/utils/transitive_fanin.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/utils/transitive_fanin_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
17ebd479-a5a2-4872-9fc6-00ddd8f99eb1
cpp
google/arolla
algorithms
arolla/util/algorithms.cc
arolla/util/algorithms_test.cc
#include "arolla/util/algorithms.h" #include <array> #include <cstdint> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" namespace arolla { namespace { using ::testing::ElementsAre; using ::testing::Eq; TEST(Algorithms, ExponentialLowerBound) { std::vector<int> v{2, 4, 5, 6}; auto i1 = exp_lower_...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/algorithms.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/algorithms_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
d5aedaf9-d758-4aa4-98f7-1f005b8f5a21
cpp
google/quiche
priority_write_scheduler
quiche/http2/core/priority_write_scheduler.h
quiche/http2/core/priority_write_scheduler_test.cc
#ifndef QUICHE_HTTP2_CORE_PRIORITY_WRITE_SCHEDULER_H_ #define QUICHE_HTTP2_CORE_PRIORITY_WRITE_SCHEDULER_H_ #include <algorithm> #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #...
#include "quiche/http2/core/priority_write_scheduler.h" #include "quiche/http2/core/spdy_protocol.h" #include "quiche/http2/test_tools/spdy_test_utils.h" #include "quiche/common/platform/api/quiche_expect_bug.h" #include "quiche/common/platform/api/quiche_test.h" namespace http2 { namespace test { using ::spdy::SpdyPri...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/core/priority_write_scheduler.h
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/core/priority_write_scheduler_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
889988ce-fdc3-4f01-8bf7-b5a597041eae
cpp
tensorflow/tensorflow
mlir_dump
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
#include "tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h" #include <cstdint> #include <cstdlib> #include <memory> #include <string> #include <utility> #include "absl/log/log.h" #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/string...
#include "tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.h" #include <memory> #include <string> #include <vector> #include "absl/cleanup/cleanup.h" #include "absl/strings/string_view.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/LogicalResult.h" #include "mlir/Dialect/Func/IR/FuncOps.h...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7cb8f19e-77cd-4976-a55e-25bc52421108
cpp
google/cel-cpp
parsed_map_field_value
common/values/parsed_map_field_value.cc
common/values/parsed_map_field_value_test.cc
#include "common/values/parsed_map_field_value.h" #include <cstddef> #include <memory> #include <string> #include <utility> #include "absl/base/nullability.h" #include "absl/base/optimization.h" #include "absl/log/absl_check.h" #include "absl/log/die_if_null.h" #include "absl/status/status.h" #include "absl/status/stat...
#include "absl/base/nullability.h" #include "absl/log/die_if_null.h" #include "absl/status/status.h" #include "absl/status/status_matchers.h" #include "absl/status/statusor.h" #include "absl/strings/cord.h" #include "absl/types/optional.h" #include "common/allocator.h" #include "common/memory.h" #include "common/type.h...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/parsed_map_field_value.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/parsed_map_field_value_test.cc
4552db5798fb0853b131b783d8875794334fae7f
457e74e8-b51e-4693-99c9-01e8f9492e91
cpp
tensorflow/tensorflow
composite_tensor_variant
tensorflow/core/kernels/composite_tensor_variant.cc
tensorflow/core/kernels/composite_tensor_variant_test.cc
#include "tensorflow/core/kernels/composite_tensor_variant.h" #include "tensorflow/core/framework/variant_op_registry.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/protobuf/composite_tensor_variant.pb.h" #include "tensorflow/core/protobuf/struct.pb.h" namespace tensorflow { constexpr const c...
#include "tensorflow/core/kernels/composite_tensor_variant.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/framework/variant.h" #include "tensorflow/core/framework/variant_encode_decode.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/protobuf/composite_tensor_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/composite_tensor_variant.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/composite_tensor_variant_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b145ff1e-2b2e-43d8-9b7d-e505ea1f4c60
cpp
tensorflow/tensorflow
xla_platform_info
tensorflow/compiler/jit/xla_platform_info.cc
tensorflow/compiler/jit/xla_platform_info_test.cc
#include "tensorflow/compiler/jit/xla_platform_info.h" #include <memory> #include <optional> #include <set> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/status/status.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "ten...
#include "tensorflow/compiler/jit/xla_platform_info.h" #include <memory> #include <vector> #include <gtest/gtest.h> #include "tensorflow/compiler/jit/flags.h" #include "tensorflow/compiler/jit/test_util.h" #include "xla/pjrt/tfrt_cpu_pjrt_client.h" #include "tensorflow/core/framework/device_base.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/xla_platform_info.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/jit/xla_platform_info_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
61b557ea-0031-4b41-95a5-59c75cafefa9
cpp
google/tsl
stacktrace
tsl/platform/windows/stacktrace.cc
tsl/platform/stacktrace_test.cc
#include "tsl/platform/windows/stacktrace.h" #include <windows.h> #include <dbghelp.h> #include <string> #include "tsl/platform/mutex.h" #pragma comment(lib, "dbghelp.lib") namespace tsl { static bool SymbolsAreAvailableInit() { SymSetOptions(SYMOPT_UNDNAME | SYMOPT_DEFERRED_LOADS); return SymInitialize(GetCurren...
#include "tsl/platform/stacktrace.h" #include <string> #include "tsl/platform/logging.h" #include "tsl/platform/test.h" namespace tsl { namespace { #if defined(TF_HAS_STACKTRACE) TEST(StacktraceTest, StacktraceWorks) { std::string stacktrace = CurrentStackTrace(); LOG(INFO) << "CurrentStackTrace():\n" << stacktrace...
https://github.com/google/tsl/blob/6d708fdcdd4f40537b7fa273371215a6fa3d4423/tsl/platform/windows/stacktrace.cc
https://github.com/google/tsl/blob/6d708fdcdd4f40537b7fa273371215a6fa3d4423/tsl/platform/stacktrace_test.cc
6d708fdcdd4f40537b7fa273371215a6fa3d4423
513dcbb4-fb4b-4c9a-9804-aae7b9470e23
cpp
google/cel-cpp
regex_precompilation
runtime/regex_precompilation.cc
runtime/regex_precompilation_test.cc
#include "runtime/regex_precompilation.h" #include "absl/base/macros.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "common/native_type.h" #include "eval/compiler/regex_precompilation_optimization.h" #include "internal/casts.h" #include "internal/status_macros.h" #include "runtime/interna...
#include "runtime/regex_precompilation.h" #include <string> #include <utility> #include <vector> #include "google/api/expr/v1alpha1/syntax.pb.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/match.h" #include "base/function_adapter.h" #include "common/value.h" #include "extens...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/regex_precompilation.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/runtime/regex_precompilation_test.cc
4552db5798fb0853b131b783d8875794334fae7f
a820520b-9e83-4f87-bd88-7914067953c6
cpp
google/quiche
oblivious_http_client
quiche/oblivious_http/oblivious_http_client.cc
quiche/oblivious_http/oblivious_http_client_test.cc
#include "quiche/oblivious_http/oblivious_http_client.h" #include <stddef.h> #include <stdint.h> #include <memory> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "quiche/common/quiche...
#include "quiche/oblivious_http/oblivious_http_client.h" #include <stdint.h> #include <memory> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/escaping.h" #include "absl/strings/string_view.h" #include "quiche/common/platform/api/quiche_test....
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/oblivious_http/oblivious_http_client.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/oblivious_http/oblivious_http_client_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
2007a2bf-7f3f-423a-b1e9-e55eef2b0485
cpp
google/quiche
hpack_varint_encoder
quiche/http2/hpack/varint/hpack_varint_encoder.cc
quiche/http2/hpack/varint/hpack_varint_encoder_test.cc
#include "quiche/http2/hpack/varint/hpack_varint_encoder.h" #include <limits> #include <string> #include "quiche/common/platform/api/quiche_logging.h" namespace http2 { void HpackVarintEncoder::Encode(uint8_t high_bits, uint8_t prefix_length, uint64_t varint, std::string* output) { QUI...
#include "quiche/http2/hpack/varint/hpack_varint_encoder.h" #include <cstddef> #include <string> #include "absl/base/macros.h" #include "absl/strings/escaping.h" #include "quiche/common/platform/api/quiche_test.h" namespace http2 { namespace test { namespace { struct { uint8_t high_bits; uint8_t prefix_length; ui...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/varint/hpack_varint_encoder.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/varint/hpack_varint_encoder_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
131efe9b-b444-418c-9737-d0c1475dd8de
cpp
tensorflow/tensorflow
pjrt_attribute_map_util
third_party/xla/xla/python/pjrt_ifrt/pjrt_attribute_map_util.cc
third_party/xla/xla/python/pjrt_ifrt/pjrt_attribute_map_util_test.cc
#include "xla/python/pjrt_ifrt/pjrt_attribute_map_util.h" #include <cstdint> #include <string> #include <type_traits> #include <utility> #include <variant> #include <vector> #include "absl/container/flat_hash_map.h" #include "xla/pjrt/pjrt_common.h" #include "xla/python/ifrt/attribute_map.h" namespace xla { namespace i...
#include "xla/python/pjrt_ifrt/pjrt_attribute_map_util.h" #include <cstdint> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "xla/pjrt/pjrt_common.h" #include "xla/python/ifrt/attribute_map.h" namespace xla { namespace ifrt { namespace { TEST(PjRtAttribute...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/pjrt_ifrt/pjrt_attribute_map_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/pjrt_ifrt/pjrt_attribute_map_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6a8cc5b4-5166-4312-8960-1ad8d88de028
cpp
google/arolla
refcount
arolla/util/refcount.h
arolla/util/refcount_test.cc
#ifndef AROLLA_UTIL_REFCOUNT_H_ #define AROLLA_UTIL_REFCOUNT_H_ #include <atomic> #include <cstdint> namespace arolla { class Refcount { public: constexpr Refcount() noexcept : count_{1} {} void increment() noexcept { count_.fetch_add(1, std::memory_order_relaxed); } [[nodiscard]] bool decrement() noexcept { ...
#include "arolla/util/refcount.h" #include "gtest/gtest.h" namespace arolla { namespace { TEST(RefcountTest, Decrement) { { Refcount refcount; EXPECT_FALSE(refcount.decrement()); } { Refcount refcount; EXPECT_FALSE(refcount.skewed_decrement()); } } TEST(RefcountTest, IncrementDecrement) { cons...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/refcount.h
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/refcount_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
c592c6a0-9729-40a5-b62b-7619780bc1a4
cpp
abseil/abseil-cpp
leak_check
absl/debugging/leak_check.cc
absl/debugging/leak_check_test.cc
#include "absl/debugging/leak_check.h" #include "absl/base/attributes.h" #include "absl/base/config.h" #if defined(ABSL_HAVE_LEAK_SANITIZER) #include <sanitizer/lsan_interface.h> #if ABSL_HAVE_ATTRIBUTE_WEAK extern "C" ABSL_ATTRIBUTE_WEAK int __lsan_is_turned_off(); #endif namespace absl { ABSL_NAMESPACE_BEGIN bool Hav...
#include <string> #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/debugging/leak_check.h" #include "absl/log/log.h" namespace { TEST(LeakCheckTest, IgnoreLeakSuppressesLeakedMemoryErrors) { if (!absl::LeakCheckerIsActive()) { GTEST_SKIP() << "LeakChecker is not active"; } auto foo = absl...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/debugging/leak_check.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/debugging/leak_check_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
7681854c-90d0-4abf-9fa0-5e36c5c9fe1f
cpp
google/cel-cpp
activation_bind_helper
eval/public/activation_bind_helper.cc
eval/public/activation_bind_helper_test.cc
#include "eval/public/activation_bind_helper.h" #include "absl/status/status.h" #include "eval/public/containers/field_access.h" #include "eval/public/containers/field_backed_list_impl.h" #include "eval/public/containers/field_backed_map_impl.h" namespace google { namespace api { namespace expr { namespace runtime { na...
#include "eval/public/activation_bind_helper.h" #include "absl/status/status.h" #include "eval/public/activation.h" #include "eval/testutil/test_message.pb.h" #include "internal/status_macros.h" #include "internal/testing.h" #include "testutil/util.h" namespace google { namespace api { namespace expr { namespace runtim...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/activation_bind_helper.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/activation_bind_helper_test.cc
4552db5798fb0853b131b783d8875794334fae7f
ecb37921-f9b0-4f3c-870b-c6cfd0c1c1f1
cpp
tensorflow/tensorflow
remapper
tensorflow/core/grappler/optimizers/remapper.cc
tensorflow/core/grappler/optimizers/remapper_test.cc
#include "tensorflow/core/grappler/optimizers/remapper.h" #include <algorithm> #include <cstdlib> #include <map> #include <set> #include <string> #include <unordered_set> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorfl...
#include "tensorflow/core/grappler/optimizers/remapper.h" #include "tensorflow/cc/ops/nn_ops_internal.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/co...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/remapper.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/optimizers/remapper_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dc782095-8db1-4f12-bb84-d81e11395814
cpp
tensorflow/tensorflow
parse_annotation
third_party/xla/xla/tsl/profiler/utils/parse_annotation.cc
third_party/xla/xla/tsl/profiler/utils/parse_annotation_test.cc
#include "xla/tsl/profiler/utils/parse_annotation.h" #include <stack> #include <string> #include <utility> #include <vector> #include "absl/strings/ascii.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" namespace tsl { namespace profiler { namespace { std::vector<absl::string_view> SplitName...
#include "xla/tsl/profiler/utils/parse_annotation.h" #include <vector> #include "absl/strings/string_view.h" #include "tsl/platform/test.h" namespace tsl { namespace profiler { namespace { TEST(ParseAnnotationStackTest, EmptyAnnotationStackTest) { std::vector<Annotation> annotations = ParseAnnotationStack(""); ASSE...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/profiler/utils/parse_annotation.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/profiler/utils/parse_annotation_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
43da607d-bf25-4e1f-836a-cb8c6ddb47bb
cpp
tensorflow/tensorflow
symbolic_tiled_hlo_instruction
third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction.cc
third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction_test.cc
#include "xla/service/gpu/model/symbolic_tiled_hlo_instruction.h" #include <cstdint> #include <sstream> #include <string> #include "absl/types/span.h" #include "llvm/ADT/SmallVector.h" #include "xla/service/gpu/model/affine_map_evaluator.h" #include "xla/service/gpu/model/symbolic_tile.h" namespace xla { namespace gpu ...
#include "xla/service/gpu/model/symbolic_tiled_hlo_instruction.h" #include <cstdint> #include <optional> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "mlir/IR/MLIRContext.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/service/gpu/hlo_traversal.h" #include "xla/service/gpu/model...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/model/symbolic_tiled_hlo_instruction_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bd4944f1-a2be-4199-8289-233b06c073b9
cpp
google/tensorstore
gcs_testbench
tensorstore/kvstore/gcs/gcs_testbench.cc
tensorstore/kvstore/gcs_http/gcs_testbench_test.cc
#include "tensorstore/kvstore/gcs/gcs_testbench.h" #include <memory> #include <optional> #include <string> #include <utility> #include "absl/flags/flag.h" #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" #include "absl/status/status.h" #include "absl/strings/numbers.h" #include "absl/strings/str_format.h...
#include "tensorstore/kvstore/gcs/gcs_testbench.h" #include <stddef.h> #include <cstring> #include <string> #include <vector> #include <gtest/gtest.h> #include "absl/base/call_once.h" #include "absl/base/no_destructor.h" #include "absl/log/absl_check.h" #include "absl/log/absl_log.h" #include "absl/strings/cord.h" #inc...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs/gcs_testbench.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/kvstore/gcs_http/gcs_testbench_test.cc
4f887a6430414cd6088e1743555015b10f116d50
e8e2de40-a21c-4b51-aef3-3f6259a0dd1a
cpp
google/quiche
quic_generic_session
quiche/quic/core/quic_generic_session.cc
quiche/quic/core/quic_generic_session_test.cc
#include "quiche/quic/core/quic_generic_session.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include "absl/strings/string_view.h" #include "quiche/quic/core/http/web_transport_stream_adapter.h" #include "quiche/quic/core/quic_crypto_client_stream.h" #include "quiche/...
#include "quiche/quic/core/quic_generic_session.h" #include <cstddef> #include <cstring> #include <memory> #include <optional> #include <string> #include <vector> #include "absl/strings/string_view.h" #include "quiche/quic/core/crypto/quic_compressed_certs_cache.h" #include "quiche/quic/core/crypto/quic_crypto_client_c...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_generic_session.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_generic_session_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
e0e8be79-3ac2-41fa-9213-6eda04617265
cpp
tensorflow/tensorflow
file_util
tensorflow/lite/delegates/xnnpack/file_util.cc
tensorflow/lite/delegates/xnnpack/file_util_test.cc
#include "tensorflow/lite/delegates/xnnpack/file_util.h" #include <fcntl.h> #if defined(_MSC_VER) #include <io.h> #define F_OK 0 #else #include <unistd.h> #endif #if defined(__linux__) || defined(__ANDROID__) #ifndef TFLITE_XNNPACK_IN_MEMORY_FILE_ENABLED #include <sys/syscall.h> #ifdef SYS_memfd_create #define TFLITE...
#include "tensorflow/lite/delegates/xnnpack/file_util.h" #include <fcntl.h> #include <string> #include <type_traits> #include <utility> #include <gtest/gtest.h> namespace tflite::xnnpack { namespace { TEST(FileDescriptorTest, DefaultConstructedIsInvalid) { FileDescriptor fd; EXPECT_FALSE(fd.IsValid()); } TEST(FileD...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/file_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/file_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
239cfaaf-48f0-4bbb-8672-546770e99723
cpp
tensorflow/tensorflow
thread_safe_buffer
tensorflow/core/data/service/thread_safe_buffer.h
tensorflow/core/data/service/thread_safe_buffer_test.cc
#ifndef TENSORFLOW_CORE_DATA_SERVICE_THREAD_SAFE_BUFFER_H_ #define TENSORFLOW_CORE_DATA_SERVICE_THREAD_SAFE_BUFFER_H_ #include <deque> #include <utility> #include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/mutex.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platfo...
#include "tensorflow/core/data/service/thread_safe_buffer.h" #include <memory> #include <tuple> #include <vector> #include "absl/strings/str_cat.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/thread_safe_buffer.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/data/service/thread_safe_buffer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
4f18d1c7-9e2a-451b-b785-37047394c51e
cpp
tensorflow/tensorflow
inputstream_interface
third_party/xla/xla/tsl/lib/io/inputstream_interface.cc
third_party/xla/xla/tsl/lib/io/inputstream_interface_test.cc
#include "xla/tsl/lib/io/inputstream_interface.h" #include "tsl/platform/errors.h" namespace tsl { namespace io { static constexpr int64_t kMaxSkipSize = 8 * 1024 * 1024; absl::Status InputStreamInterface::SkipNBytes(int64_t bytes_to_skip) { if (bytes_to_skip < 0) { return errors::InvalidArgument("Can't skip a ne...
#include "xla/tsl/lib/io/inputstream_interface.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tsl/platform/errors.h" #include "tsl/platform/test.h" namespace tsl { namespace io { namespace { class TestStringStream : public InputStreamInterface { public: explicit TestStringStream(const string& content) :...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/lib/io/inputstream_interface.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/lib/io/inputstream_interface_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ee933ba6-047b-4c1a-ac4f-ae4936556cca
cpp
google/quiche
quic_write_blocked_list
quiche/quic/core/quic_write_blocked_list.cc
quiche/quic/core/quic_write_blocked_list_test.cc
#include "quiche/quic/core/quic_write_blocked_list.h" #include <algorithm> #include "quiche/quic/platform/api/quic_flag_utils.h" #include "quiche/quic/platform/api/quic_flags.h" namespace quic { QuicWriteBlockedList::QuicWriteBlockedList() : last_priority_popped_(0), respect_incremental_( GetQuicRel...
#include "quiche/quic/core/quic_write_blocked_list.h" #include <optional> #include <tuple> #include "quiche/quic/platform/api/quic_test.h" #include "quiche/quic/test_tools/quic_test_utils.h" #include "quiche/common/platform/api/quiche_expect_bug.h" using spdy::kV3HighestPriority; using spdy::kV3LowestPriority; namespac...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_write_blocked_list.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_write_blocked_list_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
5a602f40-4697-4fe5-b527-76ff68a9646e
cpp
google/quiche
web_transport_priority_scheduler
quiche/web_transport/web_transport_priority_scheduler.cc
quiche/web_transport/web_transport_priority_scheduler_test.cc
#include "quiche/web_transport/web_transport_priority_scheduler.h" #include <optional> #include <utility> #include "absl/cleanup/cleanup.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "quiche/common/quiche_status_utils.h" #include "quiche/web_transport/web_transport.h" namespace webtransp...
#include "quiche/web_transport/web_transport_priority_scheduler.h" #include <optional> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/types/span.h" #include "quiche/common/platform/api/quiche_test.h" #include "quiche/common/test_tools/quiche_test_utils.h" #include "qu...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/web_transport/web_transport_priority_scheduler.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/web_transport/web_transport_priority_scheduler_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
90e26224-4975-4dca-8430-82008ab8aee2
cpp
google/libphonenumber
area_code_map
cpp/src/phonenumbers/geocoding/area_code_map.cc
cpp/test/phonenumbers/geocoding/area_code_map_test.cc
#include "phonenumbers/geocoding/area_code_map.h" #include <cstddef> #include "phonenumbers/geocoding/default_map_storage.h" #include "phonenumbers/phonenumber.pb.h" #include "phonenumbers/phonenumberutil.h" #include "phonenumbers/stringutil.h" namespace i18n { namespace phonenumbers { AreaCodeMap::AreaCodeMap() : ph...
#include "phonenumbers/geocoding/area_code_map.h" #include <cstddef> #include <vector> #include <gtest/gtest.h> #include "phonenumbers/geocoding/geocoding_data.h" #include "phonenumbers/phonenumber.pb.h" namespace i18n { namespace phonenumbers { namespace { void MakeCodeMap(const PrefixDescriptions* descriptions, ...
https://github.com/google/libphonenumber/blob/9aa9aaa39ad8098aef56071d2df4f6f8d251c98b/cpp/src/phonenumbers/geocoding/area_code_map.cc
https://github.com/google/libphonenumber/blob/9aa9aaa39ad8098aef56071d2df4f6f8d251c98b/cpp/test/phonenumbers/geocoding/area_code_map_test.cc
9aa9aaa39ad8098aef56071d2df4f6f8d251c98b
4c628d76-0061-41ef-ac7a-3ab387fdc529
cpp
tensorflow/tensorflow
benchmark_tflite_model
tensorflow/lite/tools/benchmark/benchmark_tflite_model.cc
tensorflow/lite/tools/benchmark/benchmark_tflite_model_test.cc
#include "tensorflow/lite/tools/benchmark/benchmark_tflite_model.h" #include <algorithm> #include <cstdarg> #include <cstdint> #include <cstdlib> #include <cstring> #include <fstream> #include <functional> #include <iostream> #include <memory> #include <random> #include <sstream> #include <string> #include <string_view...
#include "tensorflow/lite/tools/benchmark/benchmark_tflite_model.h" #include <fcntl.h> #include <sys/stat.h> #include <string> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/tools/benchmark/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/benchmark_tflite_model.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/benchmark/benchmark_tflite_model_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ab55e1df-78ae-42c3-b2c8-909a704646da
cpp
google/quiche
goaway_payload_decoder
quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc
quiche/http2/decoder/payload_decoders/goaway_payload_decoder_test.cc
#include "quiche/http2/decoder/payload_decoders/goaway_payload_decoder.h" #include <stddef.h> #include <ostream> #include "absl/base/macros.h" #include "quiche/http2/decoder/decode_buffer.h" #include "quiche/http2/decoder/http2_frame_decoder_listener.h" #include "quiche/http2/http2_constants.h" #include "quiche/http2/h...
#include "quiche/http2/decoder/payload_decoders/goaway_payload_decoder.h" #include <stddef.h> #include <string> #include "quiche/http2/decoder/http2_frame_decoder_listener.h" #include "quiche/http2/http2_constants.h" #include "quiche/http2/test_tools/frame_parts.h" #include "quiche/http2/test_tools/frame_parts_collecto...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/decoder/payload_decoders/goaway_payload_decoder.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/decoder/payload_decoders/goaway_payload_decoder_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
25ccb5a1-cdaa-4877-a165-ec2b78f26bea
cpp
tensorflow/tensorflow
hlo_extractor
third_party/xla/xla/tools/hlo_extractor.cc
third_party/xla/xla/tools/hlo_extractor_test.cc
#include "xla/tools/hlo_extractor.h" #ifndef _WIN32 #include <unistd.h> #endif #include <cstdint> #include <deque> #include <memory> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "absl/status/status.h" #inclu...
#include "xla/tools/hlo_extractor.h" #include <memory> #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/hlo/utils/hlo_matchers.h" #include "xla/tests/hlo_test_base.h" #include "tsl/platform/statusor.h" namespace ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tools/hlo_extractor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tools/hlo_extractor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
089abd1e-d29d-43a7-89fe-1428446e1f3b
cpp
tensorflow/tensorflow
densify
tensorflow/lite/kernels/densify.cc
tensorflow/lite/kernels/densify_test.cc
#include "tensorflow/lite/kernels/internal/reference/densify.h" #include <stddef.h> #include <cstdint> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/tensor_ctypes.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { namespace ops { namespace builtin { namespace ...
#include <cstdint> #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/types.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_g...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/densify.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/densify_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
7244c624-0159-4253-9a5a-0c37c152e4d2
cpp
tensorflow/tensorflow
fusion_wrapper
third_party/xla/xla/service/gpu/transforms/fusion_wrapper.cc
third_party/xla/xla/service/gpu/transforms/fusion_wrapper_test.cc
#include "xla/service/gpu/transforms/fusion_wrapper.h" #include <functional> #include "absl/container/flat_hash_set.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hl...
#include "xla/service/gpu/transforms/fusion_wrapper.h" #include <optional> #include <gtest/gtest.h> #include "xla/tests/hlo_test_base.h" namespace xla { namespace gpu { namespace { class FusionWrapperTest : public HloTestBase {}; TEST_F(FusionWrapperTest, ConvolutionWorks) { RunAndFilecheckHloRewrite(R"(HloModule Tes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/fusion_wrapper.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/fusion_wrapper_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5f08271a-5063-4bbc-afe0-338a7720baa9
cpp
tensorflow/tensorflow
accuracy_utils
tensorflow/examples/speech_commands/accuracy_utils.cc
tensorflow/examples/speech_commands/accuracy_utils_test.cc
#include "tensorflow/examples/speech_commands/accuracy_utils.h" #include <fstream> #include <iomanip> #include <unordered_set> #include "absl/log/log.h" #include "absl/status/status.h" #include "tensorflow/core/lib/strings/str_util.h" #include "tensorflow/core/platform/errors.h" #include "tensorflow/core/platform/numbe...
#include "tensorflow/examples/speech_commands/accuracy_utils.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/path.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" namespace tensorflow { TEST(AccuracyU...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/examples/speech_commands/accuracy_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/examples/speech_commands/accuracy_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d5d262aa-e339-407f-8095-0640e0dd0715
cpp
tensorflow/tensorflow
offset_counter_helper
tensorflow/python/framework/offset_counter_helper.cc
tensorflow/python/framework/offset_counter_helper_test.cc
#include "tensorflow/python/framework/offset_counter_helper.h" #include <cstdint> #include <fstream> #include <string> #include "absl/strings/string_view.h" #include "tsl/platform/errors.h" #include "tsl/platform/regexp.h" #include "tsl/platform/strcat.h" namespace tensorflow { absl::Status FindOpRegistationFromFile(ab...
#include "tensorflow/python/framework/offset_counter_helper.h" #include <string> #include "absl/strings/str_format.h" #include "xla/tsl/lib/core/status_test_util.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/python/framework/op_reg_offset.pb.h" namespace te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/python/framework/offset_counter_helper.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/python/framework/offset_counter_helper_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6a0d1eee-2a26-44cb-8754-0448e35469d2
cpp
tensorflow/tensorflow
requantization_range_op
tensorflow/core/kernels/requantization_range_op.cc
tensorflow/core/kernels/requantization_range_op_test.cc
#define EIGEN_USE_THREADS #include <math.h> #include "unsupported/Eigen/CXX11/Tensor" #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/kernels/quantizatio...
#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/tensor.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tenso...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/requantization_range_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/requantization_range_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1d2091bf-92ce-4eb9-be25-2a47e7d5068d
cpp
abseil/abseil-cpp
charconv
absl/strings/charconv.cc
absl/strings/charconv_test.cc
#include "absl/strings/charconv.h" #include <algorithm> #include <cassert> #include <cstddef> #include <cstdint> #include <limits> #include <system_error> #include "absl/base/casts.h" #include "absl/base/config.h" #include "absl/base/nullability.h" #include "absl/numeric/bits.h" #include "absl/numeric/int128.h" #incl...
#include "absl/strings/charconv.h" #include <cfloat> #include <cmath> #include <cstdlib> #include <functional> #include <limits> #include <string> #include <system_error> #include "gtest/gtest.h" #include "absl/strings/internal/pow10_helper.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #in...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/charconv.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/charconv_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
ea7c33c9-5fe6-4f44-bea3-c27959c14017
cpp
google/arolla
lambda_expr_operator
arolla/expr/lambda_expr_operator.cc
arolla/expr/lambda_expr_operator_test.cc
#include "arolla/expr/lambda_expr_operator.h" #include <cstddef> #include <limits> #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/base/no_destructor.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/log/check.h" #include "abs...
#include "arolla/expr/lambda_expr_operator.h" #include <cstdint> #include <memory> #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/annotation_expr_operators.h" #include "arolla/expr/expr.h"...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/lambda_expr_operator.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/expr/lambda_expr_operator_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
02d4b049-ec00-4653-bf8f-7bb9bd5e4cf6
cpp
google/tensorstore
http_request
tensorstore/internal/http/http_request.cc
tensorstore/internal/http/http_request_test.cc
#include "tensorstore/internal/http/http_request.h" #include <cassert> #include <optional> #include <string> #include <string_view> #include <utility> #include <vector> #include "absl/functional/function_ref.h" #include "absl/strings/ascii.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #inclu...
#include "tensorstore/internal/http/http_request.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/time/clock.h" #include "absl/time/time.h" #include "tensorstore/kvstore/byte_range.h" namespace { using ::tensorstore::OptionalByteRangeRequest; using ::tensorstore::internal_http::HttpRequestBuilder; us...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_request.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/http/http_request_test.cc
4f887a6430414cd6088e1743555015b10f116d50