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
94c058e2-6312-47f4-a0e8-a7bfebcf8345
cpp
google/cel-cpp
namespace_generator
checker/internal/namespace_generator.cc
checker/internal/namespace_generator_test.cc
#include "checker/internal/namespace_generator.h" #include <algorithm> #include <string> #include <utility> #include <vector> #include "absl/functional/function_ref.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/match.h" #include "absl/strings/str_cat.h" #include "absl/strin...
#include "checker/internal/namespace_generator.h" #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "internal/testing.h" namespace cel::checker_internal { namespace { using ::absl_testing::StatusIs; using ::testing::ElementsAre; using :...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/checker/internal/namespace_generator.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/checker/internal/namespace_generator_test.cc
4552db5798fb0853b131b783d8875794334fae7f
a98d044e-9cf9-4514-bd1e-db7503f03570
cpp
tensorflow/tensorflow
range_sampler
tensorflow/core/kernels/range_sampler.cc
tensorflow/core/kernels/range_sampler_test.cc
#include "tensorflow/core/kernels/range_sampler.h" #include <cmath> #include <unordered_set> #include <vector> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/lib/io/inputbuffer.h" #include "tensorflow/core/lib/strings/numbers.h" #include "tensorflow/...
#include "tensorflow/core/kernels/range_sampler.h" #include <vector> #include "absl/status/status.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/lib/random/simple_philox.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/p...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/range_sampler.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/range_sampler_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c2d5cdab-c5af-4a62-b278-95f45b56ecde
cpp
tensorflow/tensorflow
sig_node
tensorflow/core/grappler/graph_analyzer/sig_node.cc
tensorflow/core/grappler/graph_analyzer/sig_node_test.cc
#include "tensorflow/core/grappler/graph_analyzer/sig_node.h" #include <algorithm> #include "absl/strings/str_format.h" namespace tensorflow { namespace grappler { namespace graph_analyzer { static constexpr bool debug = false; SigNode::SigNode(const NodeDef* node) : node_(node) {} void SigNode::CopyLinks(const GenNode...
#include "tensorflow/core/grappler/graph_analyzer/sig_node.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/memory/memory.h" #include "absl/strings/str_format.h" #include "tensorflow/core/grappler/graph_analyzer/subgraph.h" #include "tensorflow/core/grappler/graph_analyzer/test_tools.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_analyzer/sig_node.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/graph_analyzer/sig_node_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b4d56199-05c4-4fc6-ac2b-3999333517b7
cpp
tensorflow/tensorflow
tensor_slice_set
tensorflow/core/util/tensor_slice_set.cc
tensorflow/core/util/tensor_slice_set_test.cc
#include "tensorflow/core/util/tensor_slice_set.h" #include <unordered_map> #include <utility> #include <vector> #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/gtl/map_util.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/util/tensor_slice_util.h" namespace tensorfl...
#include "tensorflow/core/util/tensor_slice_set.h" #include <utility> #include <vector> #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { namespace checkpoint {...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/tensor_slice_set.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/tensor_slice_set_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b9f15842-1826-48a4-bfa0-e2fbdeeca04f
cpp
tensorflow/tensorflow
convert_async_collectives_to_sync
third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync.cc
third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync_test.cc
#include "xla/service/gpu/transforms/convert_async_collectives_to_sync.h" #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/status/status.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_m...
#include "xla/service/gpu/transforms/convert_async_collectives_to_sync.h" #include <string_view> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/gpu/ba...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/convert_async_collectives_to_sync_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6685bdc8-3ebc-494e-b6e0-36ecd722d50c
cpp
tensorflow/tensorflow
map_util
tensorflow/core/lib/gtl/map_util.h
third_party/xla/xla/tsl/lib/gtl/map_util_test.cc
#ifndef TENSORFLOW_CORE_LIB_GTL_MAP_UTIL_H_ #define TENSORFLOW_CORE_LIB_GTL_MAP_UTIL_H_ #include "xla/tsl/lib/gtl/map_util.h" namespace tensorflow { namespace gtl { using ::tsl::gtl::EraseKeyReturnValuePtr; using ::tsl::gtl::FindOrNull; using ::tsl::gtl::FindPtrOrNull; using ::tsl::gtl::FindWithDefault; using ::tsl::gt...
#include "xla/tsl/lib/gtl/map_util.h" #include <map> #include <set> #include <string> #include "tsl/platform/test.h" #include "tsl/platform/types.h" namespace tsl { TEST(MapUtil, Find) { typedef std::map<string, string> Map; Map m; EXPECT_EQ("", gtl::FindWithDefault(m, "foo", "")); m["foo"] = "bar"; EXPECT_EQ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/lib/gtl/map_util.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/lib/gtl/map_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fe4ae289-cef5-456c-802a-cfe0bf6dd346
cpp
google/libaddressinput
preload_supplier
cpp/src/preload_supplier.cc
cpp/test/preload_supplier_test.cc
#include <libaddressinput/preload_supplier.h> #include <libaddressinput/address_data.h> #include <libaddressinput/address_field.h> #include <libaddressinput/callback.h> #include <libaddressinput/supplier.h> #include <algorithm> #include <cassert> #include <cstddef> #include <map> #include <memory> #include <set> #inclu...
#include <libaddressinput/preload_supplier.h> #include <libaddressinput/address_data.h> #include <libaddressinput/callback.h> #include <libaddressinput/null_storage.h> #include <libaddressinput/supplier.h> #include <cstddef> #include <memory> #include <string> #include <gtest/gtest.h> #include "lookup_key.h" #include "...
https://github.com/google/libaddressinput/blob/2610f7b1043d6784ada41392fc9392d1ea09ea07/cpp/src/preload_supplier.cc
https://github.com/google/libaddressinput/blob/2610f7b1043d6784ada41392fc9392d1ea09ea07/cpp/test/preload_supplier_test.cc
2610f7b1043d6784ada41392fc9392d1ea09ea07
d79cc799-2095-4818-baf9-bbf5f8ee9e8a
cpp
google/quiche
oblivious_http_header_key_config
quiche/oblivious_http/common/oblivious_http_header_key_config.cc
quiche/oblivious_http/common/oblivious_http_header_key_config_test.cc
#include "quiche/oblivious_http/common/oblivious_http_header_key_config.h" #include <algorithm> #include <cstdint> #include <functional> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "absl/status/status.h" #include "absl/strings/escaping.h" #include "absl/strings/str_ca...
#include "quiche/oblivious_http/common/oblivious_http_header_key_config.h" #include <cstdint> #include <string> #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "openssl/hpke.h" #include "quiche/common/platform/api/quiche_logging.h" #include "quiche/common/platform/api/quiche_test.h" #inclu...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/oblivious_http/common/oblivious_http_header_key_config.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/oblivious_http/common/oblivious_http_header_key_config_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
46bc99e4-502f-4dcb-8ff3-7a075b7f1f98
cpp
tensorflow/tensorflow
elemental_ir_emitter
third_party/xla/xla/service/gpu/elemental_ir_emitter.cc
third_party/xla/xla/service/elemental_ir_emitter_test.cc
#include "xla/service/gpu/elemental_ir_emitter.h" #include <cstdint> #include <string> #include <vector> #include "absl/log/check.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "llvm/IR/Attributes.h" #include "llvm/IR/Ba...
#include "xla/service/elemental_ir_emitter.h" #include <cstdint> #include <memory> #include <optional> #include <string> #include <type_traits> #include <utility> #include <gtest/gtest.h> #include "absl/strings/str_replace.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "llvm/IR/IRBuilder...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/elemental_ir_emitter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/elemental_ir_emitter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
05bd909d-de74-41fe-9f9a-bc1cf9746d43
cpp
tensorflow/tensorflow
depthwise_conv
tensorflow/lite/delegates/gpu/gl/kernels/depthwise_conv.cc
tensorflow/lite/delegates/gpu/cl/kernels/depthwise_conv_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/depthwise_conv.h" #include <any> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/convert.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "te...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/depthwise_conv_test...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/depthwise_conv.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/depthwise_conv_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
724bea7e-edc7-4246-b9c8-b4da79bb7cdb
cpp
abseil/abseil-cpp
bits
absl/numeric/internal/bits.h
absl/numeric/bits_test.cc
#ifndef ABSL_NUMERIC_INTERNAL_BITS_H_ #define ABSL_NUMERIC_INTERNAL_BITS_H_ #include <cstdint> #include <limits> #include <type_traits> #if defined(_MSC_VER) && !defined(__clang__) #include <intrin.h> #endif #include "absl/base/attributes.h" #include "absl/base/config.h" #if defined(__GNUC__) && !defined(__clang__) #de...
#include "absl/numeric/bits.h" #include <limits> #include <type_traits> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/random/random.h" namespace absl { ABSL_NAMESPACE_BEGIN namespace { template <typename IntT> class IntegerTypesTest : public ::testing::Test {}; using OneByteIntegerTypes = ::testing::...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/numeric/internal/bits.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/numeric/bits_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
4142408e-4266-428e-ac32-9ee5cf8ea20c
cpp
tensorflow/tensorflow
arg_min_max
tensorflow/lite/kernels/arg_min_max.cc
tensorflow/lite/delegates/hexagon/builders/tests/arg_min_max_test.cc
#include "tensorflow/lite/kernels/internal/reference/arg_min_max.h" #include <stdint.h> #include <functional> #include "tensorflow/lite/core/c/builtin_op_data.h" #include "tensorflow/lite/core/c/c_api_types.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/optimized/optimized_ops....
#include <initializer_list> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/hexagon/builders/tests/hexagon_delegate_op_model.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { using testing::ElementsAreArray; cl...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/arg_min_max.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/hexagon/builders/tests/arg_min_max_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
856f08f5-e960-4ae4-90cc-7b4516bd8de3
cpp
tensorflow/tensorflow
fingerprint_op
tensorflow/core/kernels/fingerprint_op.cc
tensorflow/core/kernels/fingerprint_op_test.cc
#include <cstddef> #include <string> #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/lib/core/errors.h...
#include <memory> #include <numeric> #include <vector> #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/shape_inference_testutil.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/fingerprint_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/fingerprint_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d9deaec4-1a4f-4ebb-9b2a-34857a5e3323
cpp
tensorflow/tensorflow
phwc4_to_bhwc
tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.cc
tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc_test.cc
#include "tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.h" #include <algorithm> #include <cstdint> #include <string> #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/types.h" #include "tensorflow/lite/delegates/gpu/common/util.h" #include "tensorflow/li...
#include "tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.h" #include <algorithm> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/delegates/gpu/common/convert.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorf...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/converters/phwc4_to_bhwc_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e5e2b254-879d-48d9-939b-833510f208ac
cpp
tensorflow/tensorflow
io_ops
tensorflow/c/experimental/ops/io_ops.cc
tensorflow/core/ops/io_ops_test.cc
#include "tensorflow/c/experimental/ops/io_ops.h" #include "absl/types/span.h" #include "tensorflow/c/eager/abstract_context.h" #include "tensorflow/c/eager/abstract_operation.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/tracing_utils.h" #include "tensorflow/core/framework/type...
#include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference_testutil.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { TEST(IoOpsTest, Save_ShapeFn) { Sha...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/experimental/ops/io_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/io_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
c3d39c28-8d42-4581-a701-ed09abead87c
cpp
tensorflow/tensorflow
zeros_like
tensorflow/lite/kernels/zeros_like.cc
tensorflow/lite/kernels/zeros_like_test.cc
#include <stdint.h> #include <string.h> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/tensor.h" #include "tensorflow/lite/kernels/internal/tensor_ctypes.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { namespace ops { namespace builtin { namespace zeros_like...
#include <stdint.h> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flatbuffers.h" #include "tensorflow/lite/core/interpreter.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace { using ::testing:...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/zeros_like.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/zeros_like_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6916f821-7c75-4936-99fa-2bea3e19eb07
cpp
tensorflow/tensorflow
toco_cmdline_flags
tensorflow/lite/toco/toco_cmdline_flags.cc
tensorflow/lite/toco/toco_cmdline_flags_test.cc
#include "tensorflow/lite/toco/toco_cmdline_flags.h" #include <optional> #include <string> #include <vector> #include "absl/strings/numbers.h" #include "absl/strings/str_join.h" #include "absl/strings/str_split.h" #include "absl/strings/strip.h" #include "absl/types/optional.h" #include "tensorflow/core/platform/loggin...
#include "tensorflow/lite/toco/toco_cmdline_flags.h" #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/testing/util.h" namespace toco { namespace { TEST(TocoCmdlineFlagsTest, DefaultValue) { int argc = 1; const char* args[] = {"toco", nullptr}; std::string message; ParsedTocoFlags result_flag...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_cmdline_flags.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_cmdline_flags_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
67d9e88d-80b3-4696-a5ac-0ca0737cf6fa
cpp
tensorflow/tensorflow
cuda_collectives
third_party/xla/xla/stream_executor/cuda/cuda_collectives.cc
third_party/xla/xla/stream_executor/cuda/cuda_collectives_test.cc
#include "xla/stream_executor/cuda/cuda_collectives.h" #include <cstdint> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_format.h" #include "third_party/nccl/nccl.h" #include "xla/stream_executor/gpu/context.h" #include "xla/stream_executor/gpu/scoped_activate_context.h" #i...
#include "xla/stream_executor/cuda/cuda_collectives.h" #include <cstddef> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "xla/service/gpu/runtime/nccl_api.h" #include "xla/stream_executor/gpu/gpu_executor.h" #include "xla/stream_executor/platform.h" #include "xla/stream_executor/platform_manager.h" #include...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_collectives.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/stream_executor/cuda/cuda_collectives_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5b441f45-3775-471c-b737-9ebb2a54c496
cpp
google/cel-cpp
type_checker_builder
checker/type_checker_builder.cc
checker/type_checker_builder_test.cc
#include "checker/type_checker_builder.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 "checker/internal/type_check_env.h" #include "checker/internal/type_checker_...
#include "checker/type_checker_builder.h" #include <utility> #include "absl/status/status.h" #include "absl/status/status_matchers.h" #include "checker/internal/test_ast_helpers.h" #include "checker/validation_result.h" #include "common/decl.h" #include "common/type.h" #include "internal/testing.h" namespace cel { name...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/checker/type_checker_builder.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/checker/type_checker_builder_test.cc
4552db5798fb0853b131b783d8875794334fae7f
857b14e6-046b-4b50-97f4-1f1c2b59df7d
cpp
abseil/abseil-cpp
cord_rep_btree_reader
absl/strings/internal/cord_rep_btree_reader.cc
absl/strings/internal/cord_rep_btree_reader_test.cc
#include "absl/strings/internal/cord_rep_btree_reader.h" #include <cassert> #include "absl/base/config.h" #include "absl/strings/internal/cord_data_edge.h" #include "absl/strings/internal/cord_internal.h" #include "absl/strings/internal/cord_rep_btree.h" #include "absl/strings/internal/cord_rep_btree_navigator.h" #incl...
#include "absl/strings/internal/cord_rep_btree_reader.h" #include <iostream> #include <random> #include <string> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/base/internal/raw_logging.h" #include "absl/strings/cord.h" #include "absl/strings/internal/co...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/internal/cord_rep_btree_reader.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/internal/cord_rep_btree_reader_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
9b61f2fd-dae2-47fa-a877-b61df3b15a36
cpp
tensorflow/tensorflow
libc_handle
tensorflow/lite/experimental/acceleration/mini_benchmark/libc_handle.cc
tensorflow/lite/experimental/acceleration/mini_benchmark/libc_handle_test.cc
#include "tensorflow/lite/experimental/acceleration/mini_benchmark/libc_handle.h" #ifdef __ANDROID__ #include <dlfcn.h> #endif #include <stdio.h> #include "tensorflow/lite/experimental/acceleration/mini_benchmark/decode_jpeg_status.h" namespace tflite { namespace acceleration { namespace decode_jpeg_kernel { LibCHandle...
#include "tensorflow/lite/experimental/acceleration/mini_benchmark/libc_handle.h" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace tflite { namespace acceleration { namespace decode_jpeg_kernel { namespace { TEST(LibCHandleTest, LoadingSucceedsAndroidPlatforms) { Status status; LibCHandle handle = LibCHa...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/mini_benchmark/libc_handle.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/acceleration/mini_benchmark/libc_handle_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
60f20ad5-af5f-44be-868d-f9539a658eb7
cpp
google/quiche
quic_path_validator
quiche/quic/core/quic_path_validator.cc
quiche/quic/core/quic_path_validator_test.cc
#include "quiche/quic/core/quic_path_validator.h" #include <memory> #include <ostream> #include <utility> #include "quiche/quic/core/quic_constants.h" #include "quiche/quic/core/quic_types.h" #include "quiche/quic/platform/api/quic_socket_address.h" namespace quic { class RetryAlarmDelegate : public QuicAlarm::Delegate...
#include "quiche/quic/core/quic_path_validator.h" #include <memory> #include "quiche/quic/core/frames/quic_path_challenge_frame.h" #include "quiche/quic/core/quic_constants.h" #include "quiche/quic/core/quic_types.h" #include "quiche/quic/platform/api/quic_ip_address.h" #include "quiche/quic/platform/api/quic_socket_ad...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_path_validator.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_path_validator_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
7a29b9d1-1578-444f-adeb-b1e9b5c2583e
cpp
tensorflow/tensorflow
flexbuffers_util
tensorflow/lite/delegates/xnnpack/flexbuffers_util.h
tensorflow/lite/delegates/xnnpack/flexbuffers_util_test.cc
#ifndef TENSORFLOW_LITE_DELEGATES_XNNPACK_FLEXBUFFERS_UTIL_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_FLEXBUFFERS_UTIL_H_ #include "flatbuffers/base.h" #include "flatbuffers/flexbuffers.h" namespace tflite::xnnpack { struct FloatPointer { const float* ptr = nullptr; }; } namespace flexbuffers { template <> tf...
#include "tensorflow/lite/delegates/xnnpack/flexbuffers_util.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flexbuffers.h" namespace tflite::xnnpack { namespace { using ::testing::Pointee; TEST(FlexbuffersUtilTest, FloatPointer) { constexpr float kAValue = 3.14; constexpr float kBValue...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/flexbuffers_util.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/xnnpack/flexbuffers_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
acb6e25d-5035-4121-96bc-58bf96d1e10c
cpp
tensorflow/tensorflow
graph_executor
tensorflow/core/tfrt/graph_executor/graph_executor.cc
tensorflow/core/tfrt/graph_executor/graph_executor_test.cc
#include "tensorflow/core/tfrt/graph_executor/graph_executor.h" #include <algorithm> #include <array> #include <cstdint> #include <functional> #include <memory> #include <numeric> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/container/inlined_vector.h" #include "absl/log/che...
#include "tensorflow/core/tfrt/graph_executor/graph_executor.h" #include <cstdint> #include <memory> #include <string> #include <utility> #include <vector> #include "learning/brain/experimental/tfrt/native_lowering/kernels/math_kernels.h" #include "learning/brain/experimental/tfrt/native_lowering/kernels/sync_fallback_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/graph_executor/graph_executor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/graph_executor/graph_executor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
967a66dc-1c0b-4779-ba8f-04e0591f8900
cpp
abseil/abseil-cpp
flat_hash_set
absl/container/flat_hash_set.h
absl/container/flat_hash_set_test.cc
#ifndef ABSL_CONTAINER_FLAT_HASH_SET_H_ #define ABSL_CONTAINER_FLAT_HASH_SET_H_ #include <cstddef> #include <memory> #include <type_traits> #include <utility> #include "absl/algorithm/container.h" #include "absl/base/attributes.h" #include "absl/base/macros.h" #include "absl/container/hash_container_defaults.h" #includ...
#include "absl/container/flat_hash_set.h" #include <cstddef> #include <cstdint> #include <memory> #include <type_traits> #include <utility> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/container/hash_container_defaults.h" #include "absl/container/inter...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/container/flat_hash_set.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/container/flat_hash_set_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
f83f267d-434a-4484-9e69-3ad4689bb579
cpp
tensorflow/tensorflow
stream_ops_util
tensorflow/core/tfrt/kernels/stream_ops_util.cc
tensorflow/core/tfrt/kernels/stream_ops_util_test.cc
#include "tensorflow/core/tfrt/kernels/stream_ops_util.h" #include <cstdint> #include <utility> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/types/span.h" #include ...
#include "tensorflow/core/tfrt/kernels/stream_ops_util.h" #include <cstdint> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_matcher.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/kernels/stream_ops_util.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/kernels/stream_ops_util_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
08a67a1f-f0f3-4b9c-a899-9e6205fa1417
cpp
google/cel-cpp
container_access_step
eval/eval/container_access_step.cc
eval/eval/container_access_step_test.cc
#include "eval/eval/container_access_step.h" #include <cstdint> #include <memory> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/types/optional.h" #include "absl/types/span.h" #include "base/ast_internal/expr.h" #include "base/attrib...
#include "eval/eval/container_access_step.h" #include <memory> #include <string> #include <tuple> #include <utility> #include <vector> #include "google/api/expr/v1alpha1/syntax.pb.h" #include "google/protobuf/struct.pb.h" #include "absl/status/status.h" #include "base/builtins.h" #include "base/type_provider.h" #includ...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/eval/container_access_step.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/eval/container_access_step_test.cc
4552db5798fb0853b131b783d8875794334fae7f
ea72a9d2-860f-466d-ac49-7b322bc3a955
cpp
google/quiche
hpack_block_decoder
quiche/http2/hpack/decoder/hpack_block_decoder.cc
quiche/http2/hpack/decoder/hpack_block_decoder_test.cc
#include "quiche/http2/hpack/decoder/hpack_block_decoder.h" #include <cstdint> #include <ostream> #include <string> #include "absl/strings/str_cat.h" #include "quiche/common/platform/api/quiche_flag_utils.h" #include "quiche/common/platform/api/quiche_logging.h" namespace http2 { DecodeStatus HpackBlockDecoder::Decode(...
#include "quiche/http2/hpack/decoder/hpack_block_decoder.h" #include <cstdint> #include <sstream> #include <string> #include "absl/strings/string_view.h" #include "quiche/http2/decoder/decode_buffer.h" #include "quiche/http2/hpack/http2_hpack_constants.h" #include "quiche/http2/test_tools/hpack_block_builder.h" #includ...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/decoder/hpack_block_decoder.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/hpack/decoder/hpack_block_decoder_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
1f1ddcd6-b16e-4419-83c4-75e3931b8b8d
cpp
tensorflow/tensorflow
save_op
tensorflow/core/kernels/save_op.cc
tensorflow/core/kernels/save_op_test.cc
#include "tensorflow/core/kernels/save_restore_tensor.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/types.h" #include "tensorflow/core/lib/gtl/array_slice.h" #include "tensorflow/core/lib/strings/stringprintf.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow...
#include <functional> #include <memory> #include "tensorflow/cc/ops/const_op.h" #include "tensorflow/cc/ops/io_ops.h" #include "tensorflow/core/common_runtime/kernel_benchmark_testlib.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framewor...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/save_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/save_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
dc72981d-1b15-4aa9-9f6b-e243a84e6ac8
cpp
google/tensorstore
nditerable_array
tensorstore/internal/nditerable_array.cc
tensorstore/internal/nditerable_array_test.cc
#include "tensorstore/internal/nditerable_array.h" #include <stddef.h> #include <cassert> #include <vector> #include "absl/status/status.h" #include "tensorstore/array.h" #include "tensorstore/data_type.h" #include "tensorstore/index.h" #include "tensorstore/internal/arena.h" #include "tensorstore/internal/elementwise_...
#include "tensorstore/internal/nditerable_array.h" #include <cstdint> #include <memory> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/array.h" #include "tensorstore/contiguous_layout.h" #include "tensorstore/index.h" #include "tensorstore/internal/arena.h" #include "tensorsto...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/nditerable_array.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/nditerable_array_test.cc
4f887a6430414cd6088e1743555015b10f116d50
7b28c983-e40f-40d6-8d0d-bb13ca2bdef9
cpp
google/arolla
oblivious
arolla/decision_forest/pointwise_evaluation/oblivious.cc
arolla/decision_forest/pointwise_evaluation/oblivious_test.cc
#include "arolla/decision_forest/pointwise_evaluation/oblivious.h" #include <cstddef> #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/log/check.h" #include "arolla/decision_forest/decision_forest.h" #include "arolla/decision_forest/split_condition.h" namespace arolla { namespac...
#include "arolla/decision_forest/pointwise_evaluation/oblivious.h" #include <limits> #include <memory> #include <optional> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "arolla/decision_forest/decision_forest.h" #include "arolla/decision_forest/split_condition.h" #include "arolla/decision_forest/split_cond...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/decision_forest/pointwise_evaluation/oblivious.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/decision_forest/pointwise_evaluation/oblivious_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
0cabf035-1484-418d-8410-4cd1d9607b33
cpp
google/quiche
qpack_send_stream
quiche/quic/core/qpack/qpack_send_stream.cc
quiche/quic/core/qpack/qpack_send_stream_test.cc
#include "quiche/quic/core/qpack/qpack_send_stream.h" #include "absl/base/macros.h" #include "absl/strings/string_view.h" #include "quiche/quic/core/quic_session.h" namespace quic { QpackSendStream::QpackSendStream(QuicStreamId id, QuicSession* session, uint64_t http3_stream_type) :...
#include "quiche/quic/core/qpack/qpack_send_stream.h" #include <memory> #include <string> #include <vector> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "quiche/quic/core/crypto/null_encrypter.h" #include "quiche/quic/core/http/http_constants.h" #include "quiche/quic/platform/api/qui...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/qpack/qpack_send_stream.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/qpack/qpack_send_stream_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
2bc2b96f-d502-4c20-9eae-a838f751e478
cpp
google/libphonenumber
logger
cpp/src/phonenumbers/logger.cc
cpp/test/phonenumbers/logger_test.cc
#include "phonenumbers/logger.h" #include <cstddef> namespace i18n { namespace phonenumbers { Logger* Logger::impl_ = NULL; } }
#include <string> #include <gtest/gtest.h> #include "phonenumbers/base/memory/scoped_ptr.h" #include "phonenumbers/default_logger.h" #include "phonenumbers/logger.h" namespace i18n { namespace phonenumbers { class StringLogger : public Logger { public: virtual ~StringLogger() {} const string& message() const { ...
https://github.com/google/libphonenumber/blob/9aa9aaa39ad8098aef56071d2df4f6f8d251c98b/cpp/src/phonenumbers/logger.cc
https://github.com/google/libphonenumber/blob/9aa9aaa39ad8098aef56071d2df4f6f8d251c98b/cpp/test/phonenumbers/logger_test.cc
9aa9aaa39ad8098aef56071d2df4f6f8d251c98b
c75468e1-4f67-47b9-82b2-6d1dc12cb6bb
cpp
google/glog
logging
src/logging.cc
src/logging_unittest.cc
#define _GNU_SOURCE 1 #include "glog/logging.h" #include <algorithm> #include <cassert> #include <chrono> #include <cstddef> #include <cstdint> #include <iomanip> #include <iterator> #include <memory> #include <mutex> #include <shared_mutex> #include <string> #include <thread> #include <tuple> #include <type_traits> ...
#include <fcntl.h> #include <chrono> #include <cstdio> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <memory> #include <mutex> #include <queue> #include <sstream> #include <stdexcept> #include <string> #include <thread> #include <vector> #include "config.h" #ifdef HAVE_GLOB_H # ...
https://github.com/google/glog/blob/de309c08c05382fee0792380de7df1bd65332da2/src/logging.cc
https://github.com/google/glog/blob/de309c08c05382fee0792380de7df1bd65332da2/src/logging_unittest.cc
de309c08c05382fee0792380de7df1bd65332da2
f41932d8-4e64-4b72-807e-e6ff75eaddc7
cpp
tensorflow/tensorflow
colorspace_op
tensorflow/core/kernels/image/colorspace_op.cc
tensorflow/core/kernels/image/colorspace_op_test.cc
#define EIGEN_USE_THREADS #include "tensorflow/core/kernels/image/colorspace_op.h" #include <algorithm> #include <cmath> #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core/framework/tensor.h" #inclu...
#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/image/colorspace_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/image/colorspace_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
0bf94df6-92bc-41e0-9aff-4d9ce0fb735c
cpp
tensorflow/tensorflow
sparse_xent_op
tensorflow/core/kernels/sparse_xent_op.cc
tensorflow/core/kernels/sparse_xent_op_test.cc
#define EIGEN_USE_THREADS #include "tensorflow/core/kernels/sparse_xent_op.h" #include "unsupported/Eigen/CXX11/Tensor" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_types.h"...
#include <random> #include "tensorflow/core/common_runtime/kernel_benchmark_testlib.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/kernels/xent_op.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/test_benchmark.h" namespace tensorflow { template <class T> stat...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/sparse_xent_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/sparse_xent_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
eab9cf0e-5b44-4116-a994-bad172501059
cpp
google/tensorstore
arena
tensorstore/internal/arena.h
tensorstore/internal/arena_test.cc
#ifndef TENSORSTORE_INTERNAL_ARENA_H_ #define TENSORSTORE_INTERNAL_ARENA_H_ #include <stddef.h> #include <memory> #include <new> #include <utility> #include "tensorstore/internal/exception_macros.h" #include "tensorstore/internal/integer_overflow.h" #include "tensorstore/util/span.h" namespace tensorstore { namespace i...
#include "tensorstore/internal/arena.h" #include <algorithm> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorstore/util/span.h" namespace { using ::tensorstore::internal::Arena; using ::tensorstore::internal::ArenaAllocator; bool Contains(tensorstore::span<const unsigned char> buffer...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/arena.h
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/arena_test.cc
4f887a6430414cd6088e1743555015b10f116d50
21b3e2ff-cbf9-4303-875a-b4942003e6eb
cpp
abseil/abseil-cpp
chi_square
absl/random/internal/chi_square.cc
absl/random/internal/chi_square_test.cc
#include "absl/random/internal/chi_square.h" #include <cmath> #include "absl/random/internal/distribution_test_util.h" namespace absl { ABSL_NAMESPACE_BEGIN namespace random_internal { namespace { #if defined(__EMSCRIPTEN__) inline double fma(double x, double y, double z) { return (x * y) + z; } #endif template <type...
#include "absl/random/internal/chi_square.h" #include <algorithm> #include <cstddef> #include <cstdint> #include <iterator> #include <numeric> #include <vector> #include "gtest/gtest.h" #include "absl/base/macros.h" using absl::random_internal::ChiSquare; using absl::random_internal::ChiSquarePValue; using absl::random...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/chi_square.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/chi_square_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
b607fa56-9dba-4632-8c78-0e876e514ba2
cpp
tensorflow/tensorflow
random_ops
tensorflow/compiler/tf2xla/kernels/random_ops.cc
tensorflow/lite/kernels/random_ops_test.cc
#include <vector> #include "absl/log/log.h" #include "absl/status/statusor.h" #include "tensorflow/compiler/tf2xla/lib/broadcast.h" #include "tensorflow/compiler/tf2xla/lib/random.h" #include "tensorflow/compiler/tf2xla/mlir_xla_op_kernel.h" #include "tensorflow/compiler/tf2xla/shape_util.h" #include "tensorflow/compil...
#include <algorithm> #include <initializer_list> #include <vector> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace { enum class InputType { kConst = 0, kDynamic = 1, }; class R...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/tf2xla/kernels/random_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/random_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
31b643bb-7a3b-4dc4-9c36-efa9bd166423
cpp
abseil/abseil-cpp
nonsecure_base
absl/random/internal/nonsecure_base.h
absl/random/internal/nonsecure_base_test.cc
#ifndef ABSL_RANDOM_INTERNAL_NONSECURE_BASE_H_ #define ABSL_RANDOM_INTERNAL_NONSECURE_BASE_H_ #include <algorithm> #include <cstdint> #include <iterator> #include <type_traits> #include <utility> #include <vector> #include "absl/base/macros.h" #include "absl/container/inlined_vector.h" #include "absl/meta/type_traits.h...
#include "absl/random/internal/nonsecure_base.h" #include <algorithm> #include <cstdint> #include <iostream> #include <memory> #include <random> #include <sstream> #include "gtest/gtest.h" #include "absl/random/distributions.h" #include "absl/random/random.h" #include "absl/strings/str_cat.h" namespace { using ExampleN...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/nonsecure_base.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/nonsecure_base_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
282aa471-5c12-4468-8a0c-38230ff0f653
cpp
tensorflow/tensorflow
broadcast_in_dim
tensorflow/lite/experimental/shlo/legacy/src/broadcast_in_dim.cc
tensorflow/lite/experimental/shlo/legacy/test/broadcast_in_dim_test.cc
#include <algorithm> #include <iterator> #include <type_traits> #include <vector> #include "absl/status/status.h" #include "absl/types/span.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/dispatch.h" #include "tensorflow/lite/experimental/shlo...
#include <initializer_list> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/span.h" #include "tensorflow/lite/experimental/shlo/legacy/include/shlo.h" #include "tensorflow/lite/experimental/shlo/legacy/src/debug.h" #include "tensorflow/lite/experimental/shlo...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/src/broadcast_in_dim.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/legacy/test/broadcast_in_dim_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
70594a59-cbf4-48c5-b398-788d2ee64d20
cpp
google/leveldb
arena
util/arena.cc
util/arena_test.cc
#include "util/arena.h" namespace leveldb { static const int kBlockSize = 4096; Arena::Arena() : alloc_ptr_(nullptr), alloc_bytes_remaining_(0), memory_usage_(0) {} Arena::~Arena() { for (size_t i = 0; i < blocks_.size(); i++) { delete[] blocks_[i]; } } char* Arena::AllocateFallback(size_t bytes) { if (by...
#include "util/arena.h" #include "gtest/gtest.h" #include "util/random.h" namespace leveldb { TEST(ArenaTest, Empty) { Arena arena; } TEST(ArenaTest, Simple) { std::vector<std::pair<size_t, char*>> allocated; Arena arena; const int N = 100000; size_t bytes = 0; Random rnd(301); for (int i = 0; i < N; i++) {...
https://github.com/google/leveldb/blob/23e35d792b9154f922b8b575b12596a4d8664c65/util/arena.cc
https://github.com/google/leveldb/blob/23e35d792b9154f922b8b575b12596a4d8664c65/util/arena_test.cc
23e35d792b9154f922b8b575b12596a4d8664c65
c7cec2c6-4c63-4839-b12d-e64a94d8516d
cpp
tensorflow/tensorflow
depthwiseconv_float
tensorflow/lite/kernels/internal/reference/depthwiseconv_float.h
tensorflow/lite/kernels/internal/depthwiseconv_float_test.cc
#ifndef TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_DEPTHWISECONV_FLOAT_H_ #define TENSORFLOW_LITE_KERNELS_INTERNAL_REFERENCE_DEPTHWISECONV_FLOAT_H_ #include "tensorflow/lite/kernels/internal/common.h" #include "tensorflow/lite/kernels/internal/compatibility.h" #include "tensorflow/lite/kernels/internal/types.h" namespa...
#include <algorithm> #include <cmath> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/kernels/internal/common.h" #include "tensorflow/lite/kernels/internal/test_util.h" #include "tensorflow/lite/kernels/internal/types.h" #define ALLOW_SLOW_GENERIC_DEPTHWISECONV_FALLBACK #include "tensorflow/lite/ke...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/internal/reference/depthwiseconv_float.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/internal/depthwiseconv_float_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e91a7dc9-1c90-4876-9a47-8825aed4fb9a
cpp
tensorflow/tensorflow
cpp_generator
tensorflow/c/experimental/ops/gen/cpp/cpp_generator.cc
tensorflow/c/experimental/ops/gen/cpp/cpp_generator_test.cc
#include "tensorflow/c/experimental/ops/gen/cpp/cpp_generator.h" #include "tensorflow/c/experimental/ops/gen/cpp/renderers/cpp_file_renderer.h" #include "tensorflow/core/lib/io/path.h" namespace tensorflow { namespace generator { CppGenerator::CppGenerator(cpp::CppConfig cpp_config, PathConfig path_config) : contro...
#include "tensorflow/c/experimental/ops/gen/cpp/cpp_generator.h" #include <algorithm> #include "tensorflow/core/lib/io/path.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace generator { namespace { TEST(CppGeneratorTest, typical_usage) { string ca...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/experimental/ops/gen/cpp/cpp_generator.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/c/experimental/ops/gen/cpp/cpp_generator_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1ea8ed3d-c026-443e-b379-84a13dec9008
cpp
google/quiche
qbone_packet_exchanger
quiche/quic/qbone/qbone_packet_exchanger.cc
quiche/quic/qbone/qbone_packet_exchanger_test.cc
#include "quiche/quic/qbone/qbone_packet_exchanger.h" #include <memory> #include <string> #include <utility> #include "absl/status/status.h" #include "absl/strings/string_view.h" namespace quic { bool QbonePacketExchanger::ReadAndDeliverPacket( QboneClientInterface* qbone_client) { bool blocked = false; std::st...
#include "quiche/quic/qbone/qbone_packet_exchanger.h" #include <list> #include <memory> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "quiche/quic/platform/api/quic_test.h" #include "quiche/quic/qbone/mock_qbone_client.h" namespace ...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/qbone/qbone_packet_exchanger.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/qbone/qbone_packet_exchanger_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
46384a61-f663-42db-afe4-785b596082c0
cpp
tensorflow/tensorflow
platform_strings
tensorflow/core/platform/platform_strings.cc
tensorflow/core/platform/platform_strings_test.cc
#include "tensorflow/core/platform/platform_strings.h" #include <cerrno> #include <cstdio> #include <cstring> #include <string> #include <vector> namespace tensorflow { int GetPlatformStrings(const std::string& path, std::vector<std::string>* found) { int result; FILE* ifp = fopen(path.c_str(...
#include "tensorflow/core/platform/platform_strings.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #ifndef _WIN32 #include <unistd.h> #endif #include <string> #include <vector> #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/init_main.h" #include "tensorflow/core/platform/l...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/platform_strings.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/platform/platform_strings_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
df17418c-8f4a-4b2b-acdf-84b34d9ea22d
cpp
google/cel-cpp
arena_string_pool
common/arena_string_pool.h
common/arena_string_pool_test.cc
#ifndef THIRD_PARTY_CEL_CPP_COMMON_ARENA_STRING_POOL_H_ #define THIRD_PARTY_CEL_CPP_COMMON_ARENA_STRING_POOL_H_ #include <memory> #include "absl/base/attributes.h" #include "absl/base/nullability.h" #include "absl/strings/string_view.h" #include "common/arena_string.h" #include "internal/string_pool.h" #include "google...
#include "common/arena_string_pool.h" #include "internal/testing.h" #include "google/protobuf/arena.h" namespace cel { namespace { TEST(ArenaStringPool, InternString) { google::protobuf::Arena arena; auto string_pool = NewArenaStringPool(&arena); auto expected = string_pool->InternString("Hello World!"); auto g...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/arena_string_pool.h
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/arena_string_pool_test.cc
4552db5798fb0853b131b783d8875794334fae7f
e6e6d503-beb5-4872-bfe4-475bd4b96eb3
cpp
tensorflow/tensorflow
broadcast_canonicalizer
third_party/xla/xla/service/broadcast_canonicalizer.cc
third_party/xla/xla/service/broadcast_canonicalizer_test.cc
#include "xla/service/broadcast_canonicalizer.h" #include <cstdint> #include <iterator> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/h...
#include "xla/service/broadcast_canonicalizer.h" #include <functional> #include <memory> #include <optional> #include "xla/test.h" #include "xla/test_helpers.h" #include "xla/tests/filecheck.h" #include "xla/tests/hlo_test_base.h" namespace xla { namespace { class BroadcastCanonicalizerTest : public HloTestBase {}; TES...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/broadcast_canonicalizer.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/broadcast_canonicalizer_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8476d0e3-b0ac-4493-9140-47533d5d00cd
cpp
tensorflow/tensorflow
dynamic_slice_thunk
third_party/xla/xla/service/gpu/runtime/dynamic_slice_thunk.cc
third_party/xla/xla/service/gpu/runtime/dynamic_slice_thunk_test.cc
#include "xla/service/gpu/runtime/dynamic_slice_thunk.h" #include <algorithm> #include <cstdint> #include <memory> #include <optional> #include <utility> #include <variant> #include <vector> #include "absl/container/inlined_vector.h" #include "absl/status/status.h" #include "absl/synchronization/mutex.h" #include "llvm...
#include "xla/service/gpu/runtime/dynamic_slice_thunk.h" #include <algorithm> #include <cstdint> #include <functional> #include <memory> #include <optional> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/status/statusor.h" #include "absl/strings/ascii.h" #include "xla/ffi/ffi....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/runtime/dynamic_slice_thunk.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/runtime/dynamic_slice_thunk_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
70211bbd-e67e-484e-a711-d1383b5f6173
cpp
google/quiche
blind_sign_auth
quiche/blind_sign_auth/blind_sign_auth.cc
quiche/blind_sign_auth/blind_sign_auth_test.cc
#include "quiche/blind_sign_auth/blind_sign_auth.h" #include <cstddef> #include <cstdint> #include <cstring> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/functional/bind_front.h" #include "absl/status/status.h" #include...
#include "quiche/blind_sign_auth/blind_sign_auth.h" #include <cstdint> #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 "absl/time/clock.h" #include "absl/time/time.h...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/blind_sign_auth/blind_sign_auth.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/blind_sign_auth/blind_sign_auth_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
040cc8ee-f53e-4ba5-b169-1de71bba8616
cpp
tensorflow/tensorflow
parallel_interleave_dataset_op
tensorflow/core/kernels/data/experimental/parallel_interleave_dataset_op.cc
tensorflow/core/kernels/data/experimental/parallel_interleave_dataset_op_test.cc
#include "tensorflow/core/kernels/data/experimental/parallel_interleave_dataset_op.h" #include <atomic> #include <deque> #include <functional> #include <string> #include <utility> #include "tensorflow/core/common_runtime/function.h" #include "tensorflow/core/common_runtime/input_colocation_exemption_registry.h" #includ...
#include "tensorflow/core/kernels/data/experimental/parallel_interleave_dataset_op.h" #include "tensorflow/core/data/dataset_test_base.h" #include "tensorflow/core/kernels/data/tensor_slice_dataset_op.h" namespace tensorflow { namespace data { namespace experimental { namespace { constexpr char kNodeName[] = "parallel_...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/experimental/parallel_interleave_dataset_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/data/experimental/parallel_interleave_dataset_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
1624f2bd-0f8b-4ecc-937f-e20454f99463
cpp
tensorflow/tensorflow
xplane_to_op_metrics_db
tensorflow/core/profiler/convert/xplane_to_op_metrics_db.cc
tensorflow/core/profiler/convert/xplane_to_op_metrics_db_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_op_metrics_db.h" #include <algorithm> #include <cstdint> #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #in...
#include "tensorflow/core/profiler/convert/xplane_to_op_metrics_db.h" #include <cstdint> #include <string> #include <utility> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_op_metrics_db.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_op_metrics_db_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d7587362-ad42-4b12-b651-20d6bd9f85a2
cpp
tensorflow/tensorflow
rename_node
tensorflow/tools/graph_transforms/rename_node.cc
tensorflow/tools/graph_transforms/rename_node_test.cc
#include <string> #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/tools/graph_transforms/transform_utils.h" namespace tensorflow { namespace graph_transforms { Status RenameNode(const GraphDef& input_graph_def, const TransformFunc...
#include <string> #include <utility> #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/tools/graph_transforms/transform_utils.h" namespace tensorflow { ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/tools/graph_transforms/rename_node.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/tools/graph_transforms/rename_node_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
38a634d6-0df3-4df7-8bf8-cc745ad43372
cpp
tensorflow/tensorflow
abi
third_party/xla/third_party/tsl/tsl/platform/abi.cc
third_party/xla/third_party/tsl/tsl/platform/abi_test.cc
#include "tsl/platform/abi.h" #include "tsl/platform/types.h" #if defined(_MSC_VER) #include <windows.h> #include <cstring> #else #include <cxxabi.h> #include <cstdlib> #endif #include <memory> #include <string> #if defined(_MSC_VER) extern "C" char* __unDName(char* output_string, const char* name, ...
#include "tsl/platform/abi.h" #include <typeinfo> #include "tsl/platform/test.h" namespace tsl { struct MyRandomPODType {}; TEST(AbiTest, AbiDemangleTest) { EXPECT_EQ(port::MaybeAbiDemangle(typeid(int).name()), "int"); #ifdef PLATFORM_WINDOWS const char pod_type_name[] = "struct tsl::MyRandomPODType"; #else const...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/abi.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/third_party/tsl/tsl/platform/abi_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d0c9aec6-77ab-4a35-8e60-bb07389258da
cpp
tensorflow/tensorflow
hlo_program_serdes
third_party/xla/xla/python/ifrt/hlo/hlo_program_serdes.cc
third_party/xla/xla/python/ifrt/hlo/hlo_program_serdes_test.cc
#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 "llvm/Support/Casting.h" #include "llvm/Support/ExtensibleRTTI.h" #include "mlir/IR/BuiltinOps.h" #include "mlir/IR/Ow...
#include <memory> #include <utility> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/log/log.h" #include "absl/status/status.h" #include "absl/strings/string_view.h" #include "llvm/Support/Casting.h" #include "mlir/Dialect/Func/IR/FuncOps.h" #include "mlir/IR/BuiltinDialect.h" #include "mlir/IR/Builtin...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt/hlo/hlo_program_serdes.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/python/ifrt/hlo/hlo_program_serdes_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
66f3c55a-dbb9-4df7-90ab-dabb19c6b4bc
cpp
tensorflow/tensorflow
topk_accuracy_eval_stage
tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.cc
tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage_test.cc
#include "tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.h" #include <stdint.h> #include <algorithm> #include <numeric> #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow...
#include "tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.h" #include <stdint.h> #include <string> #include <gtest/gtest.h> #include "tensorflow/lite/c/c_api_types.h" #include "tensorflow/lite/c/common.h" #include "tensorflow/lite/tools/evaluation/proto/evaluation_config.pb.h" #include "tensorflow/lite...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/evaluation/stages/topk_accuracy_eval_stage_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b03d42a1-41b2-4114-b009-33cfe164365f
cpp
tensorflow/tensorflow
mkl_relu_op
tensorflow/core/kernels/mkl/mkl_relu_op.cc
tensorflow/core/kernels/mkl/mkl_relu_op_test.cc
#if defined(INTEL_MKL) && !defined(ENABLE_ONEDNN_V3) #include <unordered_map> #include "unsupported/Eigen/CXX11/Tensor" #include "dnnl.hpp" #include "tensorflow/core/framework/numeric_op.h" #include "tensorflow/core/framework/op_kernel.h" #include "tensorflow/core/framework/register_types.h" #include "tensorflow/core...
#if defined(INTEL_MKL) && !defined(ENABLE_ONEDNN_V3) && defined(ENABLE_MKL) #include "absl/strings/match.h" #include "tensorflow/cc/ops/const_op.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/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/mkl/mkl_relu_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/mkl/mkl_relu_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
89bd881f-5e83-40d0-a29d-07fe18039cf9
cpp
tensorflow/tensorflow
type_id_registry
third_party/xla/xla/ffi/type_id_registry.cc
third_party/xla/xla/ffi/type_id_registry_test.cc
#include "xla/ffi/type_id_registry.h" #include <atomic> #include <cstdint> #include <string> #include <string_view> #include "absl/base/attributes.h" #include "absl/base/const_init.h" #include "absl/container/flat_hash_map.h" #include "absl/status/statusor.h" #include "absl/synchronization/mutex.h" #include "xla/util.h...
#include "xla/ffi/type_id_registry.h" #include <cstdint> #include "absl/status/status.h" #include "tsl/platform/statusor.h" #include "tsl/platform/test.h" namespace xla::ffi { namespace { using ::testing::HasSubstr; TEST(TypeIdRegistryTest, RegisterExternalTypeId) { TF_ASSERT_OK_AND_ASSIGN(auto type_id, ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/ffi/type_id_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/ffi/type_id_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
e4078ac1-cb85-470a-adbf-9698468e662b
cpp
google/quiche
quic_linux_socket_utils
quiche/quic/core/quic_linux_socket_utils.cc
quiche/quic/core/quic_linux_socket_utils_test.cc
#include "quiche/quic/core/quic_linux_socket_utils.h" #include <linux/net_tstamp.h> #include <netinet/in.h> #include <cstddef> #include <cstdint> #include <string> #include "quiche/quic/core/quic_syscall_wrapper.h" #include "quiche/quic/platform/api/quic_ip_address.h" #include "quiche/quic/platform/api/quic_logging.h" ...
#include "quiche/quic/core/quic_linux_socket_utils.h" #include <netinet/in.h> #include <stdint.h> #include <cstddef> #include <sstream> #include <string> #include <vector> #include "quiche/quic/platform/api/quic_test.h" #include "quiche/quic/test_tools/quic_mock_syscall_wrapper.h" #include "quiche/common/quiche_circula...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_linux_socket_utils.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/quic_linux_socket_utils_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
d2752f1d-79d1-488c-96f5-04c7a961ad96
cpp
google/arolla
fingerprint
arolla/util/fingerprint.cc
arolla/util/fingerprint_test.cc
#include "arolla/util/fingerprint.h" #include <cstddef> #include <cstdint> #include <ostream> #include <string> #include "absl/hash/hash.h" #include "absl/numeric/int128.h" #include "absl/random/random.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "cityhash/city.h" #include "aro...
#include "arolla/util/fingerprint.h" #include <limits> #include <string> #include <tuple> #include <type_traits> #include <utility> #include "gtest/gtest.h" #include "absl/container/flat_hash_set.h" #include "arolla/util/struct_field.h" namespace arolla { namespace { static_assert( std::is_trivially_constructible_v...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/fingerprint.cc
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/util/fingerprint_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
9336a6ec-7fe8-48a5-a72c-958db037a159
cpp
google/quiche
simple_session_notifier
quiche/quic/test_tools/simple_session_notifier.cc
quiche/quic/test_tools/simple_session_notifier_test.cc
#include "quiche/quic/test_tools/simple_session_notifier.h" #include "quiche/quic/core/quic_utils.h" #include "quiche/quic/platform/api/quic_logging.h" #include "quiche/quic/test_tools/quic_test_utils.h" namespace quic { namespace test { SimpleSessionNotifier::SimpleSessionNotifier(QuicConnection* connection) : las...
#include "quiche/quic/test_tools/simple_session_notifier.h" #include <memory> #include <string> #include <utility> #include "quiche/quic/core/crypto/null_encrypter.h" #include "quiche/quic/core/quic_utils.h" #include "quiche/quic/platform/api/quic_test.h" #include "quiche/quic/test_tools/quic_connection_peer.h" #includ...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/test_tools/simple_session_notifier.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/test_tools/simple_session_notifier_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
85410ddd-a164-4604-bf44-65fbae760e54
cpp
tensorflow/tensorflow
ragged_tensor_to_sparse_kernel
tensorflow/core/kernels/ragged_tensor_to_sparse_kernel.cc
tensorflow/core/kernels/ragged_tensor_to_sparse_kernel_test.cc
#include <limits> #include <memory> #include <string> #include <vector> #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_shape.h" #include "tensorflow/core/platform/errors.h" na...
#include "tensorflow/core/framework/fake_input.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/shape_inference.h" #include "tensorflow/core/framework/shape_inference_testutil.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/framework/tensor_shape....
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/ragged_tensor_to_sparse_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/ragged_tensor_to_sparse_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
772ecdae-719a-4552-84ed-7c36b3f447ac
cpp
google/quiche
capsule
quiche/common/capsule.cc
quiche/common/capsule_test.cc
#include "quiche/common/capsule.h" #include <cstddef> #include <cstdint> #include <limits> #include <ostream> #include <string> #include <type_traits> #include <utility> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "absl/...
#include "quiche/common/capsule.h" #include <cstddef> #include <deque> #include <string> #include <vector> #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "quiche/common/platform/api/quiche_test.h" #include "quiche/common/quiche_buffer_allocator.h" #in...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/capsule.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/common/capsule_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
aae77314-eb0b-4792-8519-6a254ba3f7fb
cpp
tensorflow/tensorflow
bits
tensorflow/lite/experimental/microfrontend/lib/bits.h
third_party/xla/xla/tsl/lib/core/bits_test.cc
#ifndef TENSORFLOW_LITE_EXPERIMENTAL_MICROFRONTEND_LIB_BITS_H_ #define TENSORFLOW_LITE_EXPERIMENTAL_MICROFRONTEND_LIB_BITS_H_ #ifdef __cplusplus #include <cstdint> extern "C" { #endif static inline int CountLeadingZeros32Slow(uint64_t n) { int zeroes = 28; if (n >> 16) zeroes -= 16, n >>= 16; if (n >> 8) zeroes -...
#include "xla/tsl/lib/core/bits.h" #include <cstdint> #include "tsl/platform/test.h" namespace tsl { namespace { TEST(BitsTest, NextPowerOfTwoS64) { constexpr int64_t kMaxRepresentablePowerOfTwo = static_cast<int64_t>(uint64_t{1} << 62); EXPECT_EQ(NextPowerOfTwoS64(0), 1); EXPECT_EQ(NextPowerOfTwoS64(1), 1)...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/microfrontend/lib/bits.h
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/tsl/lib/core/bits_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
6824ada7-01ad-4c47-ba4e-358ca1192093
cpp
tensorflow/tensorflow
gpu_delegate_compatibility_checker
tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.cc
tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker_test.cc
#include "tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.h" #include <functional> #include <memory> #include <string> #include <unordered_map> #include "absl/status/status.h" #include "tensorflow/lite/model_builder.h" #include "tensorflow/lite/tools/delegates/compatibility/protos/c...
#include "tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.h" #include <string> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/status/status.h" #include "tensorflow/core/platform/resource_loader.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/tools/delegates/compatibility/gpu/gpu_delegate_compatibility_checker_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d5771585-ded8-4367-ad73-ce5eaccac290
cpp
tensorflow/tensorflow
while_gradients
tensorflow/cc/framework/while_gradients.cc
tensorflow/cc/framework/while_gradients_test.cc
#include "tensorflow/cc/framework/while_gradients.h" #include <string> #include "tensorflow/cc/framework/gradients.h" #include "tensorflow/cc/framework/scope_internal.h" #include "tensorflow/cc/ops/control_flow_ops_internal.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/cc/ops/while_loop.h" namespa...
#include "tensorflow/cc/client/client_session.h" #include "tensorflow/cc/framework/gradients.h" #include "tensorflow/cc/framework/testutil.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/cc/ops/while_loop.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/tensor_t...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/cc/framework/while_gradients.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/cc/framework/while_gradients_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
8516a4c9-8e79-4fdf-822d-a8ebae3ce68e
cpp
tensorflow/tensorflow
structure_verifier
tensorflow/core/grappler/verifiers/structure_verifier.cc
tensorflow/core/grappler/verifiers/structure_verifier_test.cc
#include "tensorflow/core/grappler/verifiers/structure_verifier.h" #include <string> #include <vector> #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/node_def.pb.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/gr...
#include "tensorflow/core/grappler/verifiers/structure_verifier.h" #include <memory> #include "absl/strings/match.h" #include "tensorflow/cc/ops/parsing_ops.h" #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/graph.pb.h" #include "tensorflow/core/framework/shape_inference.h" #include "ten...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/verifiers/structure_verifier.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/grappler/verifiers/structure_verifier_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
142e80f4-e36b-41d7-9010-10ab919d054d
cpp
google/cel-cpp
map_value
common/values/map_value.cc
common/values/map_value_test.cc
#include <cstddef> #include <utility> #include "absl/base/attributes.h" #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "common/casting.h" #include "common/value.h" #include "common/value_kind.h" #include "internal/status_macr...
#include <cstdint> #include <memory> #include <sstream> #include <tuple> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "common/casting.h" #include "common/json.h" #include "common/memory.h" #include "common/type.h" #include "common/type_factory.h" #inclu...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/map_value.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/common/values/map_value_test.cc
4552db5798fb0853b131b783d8875794334fae7f
3406a3e3-4682-478d-868d-9065687f1b4b
cpp
tensorflow/tensorflow
hlo_module_dce
third_party/xla/xla/service/hlo_module_dce.cc
third_party/xla/xla/service/hlo_module_dce_test.cc
#include "xla/service/hlo_module_dce.h" #include <deque> #include "absl/status/status.h" #include "absl/status/statusor.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/service/hlo_dce.h" #include "xla/...
#include "xla/service/hlo_module_dce.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/ir/hlo_opcode.h" #include "xla/shape_util.h" #include "xla/tests/hlo_test_base.h" #include "xla/tests/literal_test_util.h" #include "xla/tests/test...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_module_dce.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/hlo_module_dce_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5aa9fdf1-bc85-46d2-9996-2eebe164027e
cpp
tensorflow/tensorflow
broadcast_to
tensorflow/lite/kernels/broadcast_to.cc
tensorflow/lite/kernels/broadcast_to_test.cc
#include "tensorflow/lite/kernels/internal/reference/broadcast_to.h" #include <string.h> #include <cstdint> #include <memory> #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/tensor.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { namespace ops { namespace buil...
#include <cstdint> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/core/interpreter.h" #include "tensorflow/lite/core/kernels/register.h" #include "tensorflow/lite/core/model.h" #include "tensorflow/lite/kernels/test_util.h" namespace tflite { namespace { using ::testing::ElementsAreArray; template...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/broadcast_to.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/broadcast_to_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
83b1774b-22a8-4980-b94c-a9ffd854051b
cpp
tensorflow/tensorflow
tf_to_uniform_attribute_utils
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils_test.cc
#include "tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.h" #include <array> #include <cstdint> #include <memory> #include <string> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "absl/strings/str_cat.h" #include "absl...
#include "tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.h" #include <gtest/gtest.h> #include "absl/strings/string_view.h" #include "llvm/ADT/StringMap.h" #include "mlir/IR/AsmState.h" #include "mlir/IR/Attributes.h" #include "mlir/IR/Block.h" #include "mlir/IR/Builders.h" ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a3cdbd40-8d4c-4144-9518-6b84e52b8158
cpp
tensorflow/tensorflow
svd
third_party/xla/xla/hlo/builder/lib/svd.cc
third_party/xla/xla/hlo/builder/lib/svd_test.cc
#include "xla/hlo/builder/lib/svd.h" #include <memory> #include <numeric> #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 "absl/types/span.h" #include "xla/hlo/builder/lib/arithmetic.h...
#include "xla/hlo/builder/lib/svd.h" #include <numeric> #include <utility> #include <vector> #include "absl/status/statusor.h" #include "xla/array2d.h" #include "xla/array3d.h" #include "xla/error_spec.h" #include "xla/hlo/builder/lib/arithmetic.h" #include "xla/hlo/builder/lib/constants.h" #include "xla/hlo/builder/li...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/builder/lib/svd.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/hlo/builder/lib/svd_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
716754ad-2df8-41c0-9550-49ab9b1acfa3
cpp
google/quiche
quic_header_list
quiche/quic/core/http/quic_header_list.cc
quiche/quic/core/http/quic_header_list_test.cc
#include "quiche/quic/core/http/quic_header_list.h" #include <limits> #include <string> #include "absl/strings/string_view.h" #include "quiche/quic/core/qpack/qpack_header_table.h" #include "quiche/quic/core/quic_packets.h" #include "quiche/quic/platform/api/quic_flags.h" namespace quic { void QuicHeaderList::OnHeader(...
#include "quiche/quic/core/http/quic_header_list.h" #include <string> #include "quiche/quic/platform/api/quic_flags.h" #include "quiche/quic/platform/api/quic_test.h" using ::testing::ElementsAre; using ::testing::Pair; namespace quic::test { class QuicHeaderListTest : public QuicTest {}; TEST_F(QuicHeaderListTest, OnH...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/http/quic_header_list.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/http/quic_header_list_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
f811e098-b9eb-4721-a5ef-a33f172b9062
cpp
tensorflow/tensorflow
basic_rnn
tensorflow/lite/kernels/basic_rnn.cc
tensorflow/lite/kernels/basic_rnn_test.cc
#include <cstddef> #include <cstdint> #include "tensorflow/lite/core/c/builtin_op_data.h" #include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/kernel_utils.h" #include "tensorflow/lite/kernels/internal/tensor_ctypes.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { ...
#include <initializer_list> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "flatbuffers/flatbuffers.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace { using ::testing::ElementsAreArray; static float rnn_in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/basic_rnn.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/basic_rnn_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ae917258-0a9b-4bd7-b025-c4d9b3ac9c98
cpp
tensorflow/tensorflow
ifrt_serving_core_selector
tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.cc
tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector_test.cc
#include "tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.h" #include <cstdint> #include "absl/strings/str_cat.h" #include "absl/synchronization/mutex.h" #include "xla/tsl/framework/serving_device_selector.h" namespace tensorflow { namespace ifrt_serving { IfrtServingCoreSelector::IfrtServingCoreSelector( tsl:...
#include "tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.h" #include <cstdint> #include <memory> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "xla/tsl/framework/serving_device_selector.h" #include "xla/tsl/framework/test_util/mock_serving_device_selector.h" namespac...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ifrt/ifrt_serving_core_selector_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
72404f3d-ecd2-4b7c-a0d4-46a6e8782029
cpp
google/cel-cpp
proto_message_type_adapter
eval/public/structs/proto_message_type_adapter.cc
eval/public/structs/proto_message_type_adapter_test.cc
#include "eval/public/structs/proto_message_type_adapter.h" #include <cstdint> #include <limits> #include <string> #include <utility> #include <vector> #include "google/protobuf/util/message_differencer.h" #include "absl/base/no_destructor.h" #include "absl/log/absl_check.h" #include "absl/status/status.h" #include "ab...
#include "eval/public/structs/proto_message_type_adapter.h" #include <vector> #include "google/protobuf/wrappers.pb.h" #include "google/protobuf/descriptor.pb.h" #include "absl/status/status.h" #include "base/attribute.h" #include "common/value.h" #include "eval/public/cel_value.h" #include "eval/public/containers/cont...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/structs/proto_message_type_adapter.cc
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/eval/public/structs/proto_message_type_adapter_test.cc
4552db5798fb0853b131b783d8875794334fae7f
1aab19fb-dac4-4d6e-935a-6fba6c4f96d3
cpp
google/quiche
http2_constants
quiche/http2/http2_constants.cc
quiche/http2/http2_constants_test.cc
#include "quiche/http2/http2_constants.h" #include <string> #include "absl/strings/str_cat.h" #include "absl/strings/str_format.h" #include "absl/strings/string_view.h" #include "quiche/common/platform/api/quiche_logging.h" namespace http2 { std::string Http2FrameTypeToString(Http2FrameType v) { switch (v) { case...
#include "quiche/http2/http2_constants.h" #include "quiche/common/platform/api/quiche_test.h" namespace http2 { namespace test { namespace { class Http2ConstantsTest : public quiche::test::QuicheTest {}; TEST(Http2ConstantsTest, Http2FrameType) { EXPECT_EQ(Http2FrameType::DATA, static_cast<Http2FrameType>(0)); EXPE...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/http2_constants.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/http2/http2_constants_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
277ee37f-d713-49c2-8335-47aaf3e46bf8
cpp
tensorflow/tensorflow
topk_rewriter
third_party/xla/xla/service/topk_rewriter.cc
third_party/xla/xla/service/topk_rewriter_test.cc
#include "xla/service/topk_rewriter.h" #include <array> #include <cstdint> #include <memory> #include <optional> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_set.h" #include "xla/hlo/builder/lib/comparators.h" #include "xla/hlo/builder/xla_builder.h" #include "xla/hlo/ir/df...
#include "xla/service/topk_rewriter.h" #include <algorithm> #include <memory> #include <numeric> #include <optional> #include <utility> #include <vector> #include "xla/hlo/ir/hlo_instruction.h" #include "xla/hlo/ir/hlo_instructions.h" #include "xla/hlo/ir/hlo_module.h" #include "xla/hlo/utils/hlo_matchers.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/topk_rewriter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/topk_rewriter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
3a0f99c2-f130-42c7-848e-16e5e583a8ca
cpp
google/langsvr
decode
src/lsp/decode.cc
src/lsp/decode_test.cc
#include "langsvr/lsp/decode.h" namespace langsvr::lsp { Result<SuccessType> Decode(const json::Value& v, Null&) { return v.Null(); } Result<SuccessType> Decode(const json::Value& v, Boolean& out) { auto res = v.Bool(); if (res == Success) [[likely]] { out = res.Get(); return Success; } ...
#include "langsvr/json/builder.h" #include "langsvr/lsp/lsp.h" #include "langsvr/lsp/printer.h" #include "gmock/gmock.h" namespace langsvr::lsp { namespace { TEST(DecodeTest, ShowDocumentParams) { auto b = json::Builder::Create(); auto parse_res = b->Parse( R"({"selection":{"end":{"character":4,"line":3...
https://github.com/google/langsvr/blob/303c526231a90049a3e384549720f3fbd453cf66/src/lsp/decode.cc
https://github.com/google/langsvr/blob/303c526231a90049a3e384549720f3fbd453cf66/src/lsp/decode_test.cc
303c526231a90049a3e384549720f3fbd453cf66
c819c062-ecf7-46e5-a83c-b400d4ef4882
cpp
tensorflow/tensorflow
xplane_to_memory_profile
tensorflow/core/profiler/convert/xplane_to_memory_profile.cc
tensorflow/core/profiler/convert/xplane_to_memory_profile_test.cc
#include "tensorflow/core/profiler/convert/xplane_to_memory_profile.h" #include <algorithm> #include <string> #include <tuple> #include <type_traits> #include <utility> #include <vector> #include "absl/algorithm/container.h" #include "absl/container/flat_hash_map.h" #include "absl/container/flat_hash_set.h" #include "a...
#include "tensorflow/core/profiler/convert/xplane_to_memory_profile.h" #include "absl/strings/string_view.h" #include "xla/tsl/profiler/utils/group_events.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/types.h" #include "tensorflow/core/profiler/protobuf/memory_profile.pb.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_memory_profile.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/profiler/convert/xplane_to_memory_profile_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
fe31defb-0fd1-4d9a-820f-8eb2460a1483
cpp
tensorflow/tensorflow
object_accessor
tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.cc
tensorflow/lite/delegates/gpu/gl/compiler/object_accessor_test.cc
#include "tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.h" #include <string> #include <utility> #include <variant> #include "absl/strings/ascii.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_join.h" #include "absl/strings/str_split.h" #include "absl/strings/string_view.h" #include "absl/typ...
#include "tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.h" #include <string> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/types/variant.h" #include "tensorflow/lite/delegates/gpu/common/types.h" #include "tensorflow/lite/delegates/gpu/gl/compiler/prep...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/object_accessor.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/compiler/object_accessor_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
f91e14b2-7735-43ce-8b22-6f38cce4d87a
cpp
tensorflow/tensorflow
debug_graph_utils
tensorflow/core/debug/debug_graph_utils.cc
tensorflow/core/debug/debug_graph_utils_test.cc
#include "tensorflow/core/debug/debug_graph_utils.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/core/common_runtime/memory_types.h" #include "tensorflow/core/framework/kernel_def.pb.h" #include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework...
#include "tensorflow/core/debug/debug_graph_utils.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/status_test_util.h" #include "tensorflow/core/lib/strings/str_util.h" namespace tensorflow { class DebugGraphUtilsTest : public ::te...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/debug/debug_graph_utils.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/debug/debug_graph_utils_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
d694b9e1-5657-4324-bf6e-f7b39fa399c0
cpp
tensorflow/tensorflow
quantized_tensor_element_type
tensorflow/lite/experimental/shlo/quantized_tensor_element_type.cc
tensorflow/lite/experimental/shlo/quantized_tensor_element_type_test.cc
#include "tensorflow/lite/experimental/shlo/quantized_tensor_element_type.h" #include <sstream> #include <string> #include <type_traits> #include <variant> #include "tensorflow/lite/experimental/shlo/data_type.h" namespace shlo_ref { std::string ToString(const QuantizedElementTypePerTensor& t) { std::stringstream sst...
#include "tensorflow/lite/experimental/shlo/quantized_tensor_element_type.h" #include <array> #include <cstdint> #include <variant> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/experimental/shlo/data_type.h" namespace shlo_ref { namespace { using testing::Each; using tes...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/quantized_tensor_element_type.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/experimental/shlo/quantized_tensor_element_type_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
b5b5cb72-a89f-46c4-99ab-2d6652fe6b51
cpp
tensorflow/tensorflow
cutlass_gemm_custom_kernel
third_party/xla/xla/service/gpu/kernels/cutlass_gemm_custom_kernel.cc
third_party/xla/xla/service/gpu/kernels/cutlass_gemm_custom_kernel_test.cc
#include "xla/service/gpu/kernels/cutlass_gemm_custom_kernel.h" #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include <tuple> #include <utility> #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/log/log.h" #include "absl/status/status.h" #include...
#include "xla/service/gpu/kernels/cutlass_gemm_custom_kernel.h" #include <cstdint> #include <cstring> #include <string> #include <vector> #include "xla/stream_executor/device_memory.h" #include "xla/stream_executor/kernel.h" #include "xla/stream_executor/platform.h" #include "xla/stream_executor/platform_manager.h" #in...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/kernels/cutlass_gemm_custom_kernel.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/kernels/cutlass_gemm_custom_kernel_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bcd78a0f-f497-45e9-bed7-3f0cc8ce3d72
cpp
tensorflow/tensorflow
input_colocation_exemption_registry
tensorflow/core/common_runtime/input_colocation_exemption_registry.cc
tensorflow/core/common_runtime/input_colocation_exemption_registry_test.cc
#include "tensorflow/core/common_runtime/input_colocation_exemption_registry.h" #include <set> #include <string> #include "tensorflow/core/platform/logging.h" namespace tensorflow { InputColocationExemptionRegistry* InputColocationExemptionRegistry::Global() { static InputColocationExemptionRegistry* registry = ...
#include "tensorflow/core/common_runtime/input_colocation_exemption_registry.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { REGISTER_INPUT_COLOCATION_EXEMPTION("op 1"); REGISTER_INPUT_COLOCATION_EXEMPTION("op 2"); } TEST(RPCFactoryRegistryTest, TestBasic) { auto exempt_ops = InputC...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/input_colocation_exemption_registry.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/common_runtime/input_colocation_exemption_registry_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
ae58849b-b731-44fd-832e-ff17424f19f3
cpp
abseil/abseil-cpp
cord_rep_btree
absl/strings/internal/cord_rep_btree.cc
absl/strings/internal/cord_rep_btree_test.cc
#include "absl/strings/internal/cord_rep_btree.h" #include <atomic> #include <cassert> #include <cstdint> #include <iostream> #include <ostream> #include <string> #include "absl/base/attributes.h" #include "absl/base/config.h" #include "absl/base/internal/raw_logging.h" #include "absl/base/optimization.h" #include "abs...
#include "absl/strings/internal/cord_rep_btree.h" #include <cmath> #include <deque> #include <iostream> #include <string> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" #include "absl/base/config.h" #include "absl/base/internal/raw_logging.h" #include "absl/cleanup/cleanup.h" #include "absl/strings...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/internal/cord_rep_btree.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/strings/internal/cord_rep_btree_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
db90c9df-2043-44fd-a8f2-b28813345dea
cpp
tensorflow/tensorflow
quantize_and_dequantize
tensorflow/lite/delegates/gpu/gl/kernels/quantize_and_dequantize.cc
tensorflow/lite/delegates/gpu/cl/kernels/quantize_and_dequantize_test.cc
#include "tensorflow/lite/delegates/gpu/gl/kernels/quantize_and_dequantize.h" #include <any> #include <memory> #include <string> #include "absl/memory/memory.h" #include "tensorflow/lite/delegates/gpu/common/data_type.h" #include "tensorflow/lite/delegates/gpu/common/shape.h" #include "tensorflow/lite/delegates/gpu/com...
#include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "tensorflow/lite/delegates/gpu/cl/kernels/cl_test.h" #include "tensorflow/lite/delegates/gpu/common/operations.h" #include "tensorflow/lite/delegates/gpu/common/status.h" #include "tensorflow/lite/delegates/gpu/common/tasks/quantize_and_dequan...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/gl/kernels/quantize_and_dequantize.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/delegates/gpu/cl/kernels/quantize_and_dequantize_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
678376f5-040b-442d-b9eb-167c86ddc768
cpp
tensorflow/tensorflow
set_ops
tensorflow/core/ops/set_ops.cc
tensorflow/core/ops/set_ops_test.cc
#include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference.h" namespace tensorflow { using shape_inference::DimensionHandle; using shape_inference::InferenceContext; using shape_inference::ShapeHandle; REGISTER_OP("SetSize") ...
#include "tensorflow/core/framework/node_def_builder.h" #include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/shape_inference_testutil.h" #include "tensorflow/core/framework/tensor_testutil.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { TEST(SetOpsTest, DenseToDenseShape_In...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/set_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/ops/set_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
721cbde5-7ea7-4461-a9c7-5f9a290fb85e
cpp
google/cel-cpp
copy_on_write
internal/copy_on_write.h
internal/copy_on_write_test.cc
#ifndef THIRD_PARTY_CEL_CPP_INTERNAL_COPY_ON_WRITE_H_ #define THIRD_PARTY_CEL_CPP_INTERNAL_COPY_ON_WRITE_H_ #include <algorithm> #include <atomic> #include <memory> #include <type_traits> #include <utility> #include "absl/base/attributes.h" #include "absl/base/optimization.h" #include "absl/log/absl_check.h" namespace ...
#include "internal/copy_on_write.h" #include <cstdint> #include "internal/testing.h" namespace cel::internal { namespace { TEST(CopyOnWrite, Basic) { CopyOnWrite<int32_t> original; EXPECT_EQ(&original.mutable_get(), &original.get()); { auto duplicate = original; EXPECT_EQ(&duplicate.get(), &original.get()...
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/internal/copy_on_write.h
https://github.com/google/cel-cpp/blob/4552db5798fb0853b131b783d8875794334fae7f/internal/copy_on_write_test.cc
4552db5798fb0853b131b783d8875794334fae7f
3d9b2f2f-d60b-4eec-b8fb-be7dca0e0400
cpp
tensorflow/tensorflow
bad_indices_policy
tensorflow/core/util/bad_indices_policy.cc
tensorflow/core/util/bad_indices_policy_test.cc
#include "tensorflow/core/util/bad_indices_policy.h" #include "absl/status/status.h" #include "absl/status/statusor.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" namespace tensorflow { constexpr char kDefault[] = "DEFAULT"; constexpr char kErrorStr[] = "ERROR"; constexpr char kIgnoreStr[] =...
#include "tensorflow/core/util/bad_indices_policy.h" #include <gmock/gmock.h> #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { constexpr absl::string_view kDefault = "DEFAULT"; constexpr absl::string_view kErrorStr = ...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/bad_indices_policy.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/util/bad_indices_policy_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
9cd2f506-a605-4a5f-9004-2be24156c63f
cpp
tensorflow/tensorflow
immutable_constant_op
tensorflow/core/kernels/immutable_constant_op.cc
tensorflow/core/kernels/immutable_constant_op_test.cc
#include "tensorflow/core/kernels/immutable_constant_op.h" #include <unordered_set> #include "tensorflow/core/framework/types.pb.h" namespace tensorflow { namespace { class MemmappedTensorAllocator : public Allocator { public: MemmappedTensorAllocator() {} Status InitializeFromRegion(const string& name, Env* env) ...
#include "tensorflow/core/kernels/immutable_constant_op.h" #include <algorithm> #include <tuple> #include "tensorflow/cc/ops/standard_ops.h" #include "tensorflow/core/framework/allocator.h" #include "tensorflow/core/framework/tensor.h" #include "tensorflow/core/graph/graph_def_builder.h" #include "tensorflow/core/lib/c...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/immutable_constant_op.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/kernels/immutable_constant_op_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
a7c4e7e1-4c9d-4e25-9452-ecf7b7547ffd
cpp
google/arolla
memory_allocation
arolla/memory/memory_allocation.h
arolla/memory/memory_allocation_test.cc
#ifndef AROLLA_UTIL_MEMORY_ALLOCATION_H_ #define AROLLA_UTIL_MEMORY_ALLOCATION_H_ #include <utility> #include "absl/log/check.h" #include "arolla/memory/frame.h" #include "arolla/util/memory.h" namespace arolla { class MemoryAllocation { public: MemoryAllocation() = default; explicit MemoryAllocation(const FrameLa...
#include "arolla/memory/memory_allocation.h" #include <memory> #include <utility> #include "gtest/gtest.h" #include "arolla/memory/frame.h" namespace arolla { namespace { struct DeleteCounter { ~DeleteCounter() { ++deletions; } static int deletions; }; int DeleteCounter::deletions = 0; TEST(MemoryAllocationTest, Te...
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/memory/memory_allocation.h
https://github.com/google/arolla/blob/1ca990dbeca224035efdabffecc7f3738df6b52c/arolla/memory/memory_allocation_test.cc
1ca990dbeca224035efdabffecc7f3738df6b52c
7d716e0e-d273-409d-bedb-bdd18c59e153
cpp
google/quiche
qpack_encoder
quiche/quic/core/qpack/qpack_encoder.cc
quiche/quic/core/qpack/qpack_encoder_test.cc
#include "quiche/quic/core/qpack/qpack_encoder.h" #include <algorithm> #include <string> #include <utility> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "quiche/quic/core/qpack/qpack_index_conversions.h" #include "quiche/quic/core/qpack/qpack_instruction_encoder.h" #include "quiche/q...
#include "quiche/quic/core/qpack/qpack_encoder.h" #include <limits> #include <string> #include "absl/strings/escaping.h" #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "quiche/quic/core/qpack/qpack_instruction_encoder.h" #include "quiche/quic/core/qpack/value_splitting_header_list.h" #...
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/qpack/qpack_encoder.cc
https://github.com/google/quiche/blob/6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6/quiche/quic/core/qpack/qpack_encoder_test.cc
6fe69b2cf77d5fc175a729bc7a6c322a6388b8b6
6fe4dcda-4ff4-4489-95e2-6a94fa8eb7a6
cpp
abseil/abseil-cpp
memory
absl/memory/memory.h
absl/memory/memory_test.cc
#ifndef ABSL_MEMORY_MEMORY_H_ #define ABSL_MEMORY_MEMORY_H_ #include <cstddef> #include <limits> #include <memory> #include <new> #include <type_traits> #include <utility> #include "absl/base/macros.h" #include "absl/meta/type_traits.h" namespace absl { ABSL_NAMESPACE_BEGIN template <typename T> std::unique_ptr<T> Wrap...
#include "absl/memory/memory.h" #include <sys/types.h> #include <cstddef> #include <memory> #include <string> #include <type_traits> #include <utility> #include <vector> #include "gmock/gmock.h" #include "gtest/gtest.h" namespace { using ::testing::ElementsAre; using ::testing::Return; class DestructorVerifier { publi...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/memory/memory.h
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/memory/memory_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
da101305-6d44-451a-9a8c-94414305ae64
cpp
tensorflow/tensorflow
variadic_op_splitter
third_party/xla/xla/service/gpu/transforms/variadic_op_splitter.cc
third_party/xla/xla/service/gpu/transforms/variadic_op_splitter_test.cc
#include "xla/service/gpu/transforms/variadic_op_splitter.h" #include <cstdint> #include <vector> #include "absl/container/flat_hash_set.h" #include "absl/status/statusor.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h"...
#include "xla/service/gpu/transforms/variadic_op_splitter.h" #include <cstdint> #include <vector> #include <gtest/gtest.h> #include "xla/hlo/ir/hlo_computation.h" #include "xla/hlo/ir/hlo_instruction.h" #include "xla/literal_util.h" #include "xla/service/hlo_parser.h" #include "xla/service/pattern_matcher.h" #include "...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/variadic_op_splitter.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/third_party/xla/xla/service/gpu/transforms/variadic_op_splitter_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
bdacba29-a14b-4563-ba5a-c2c9730812a0
cpp
google/tensorstore
google_service_account_auth_provider
tensorstore/internal/oauth2/google_service_account_auth_provider.cc
tensorstore/internal/oauth2/google_service_account_auth_provider_test.cc
#include "tensorstore/internal/oauth2/google_service_account_auth_provider.h" #include <functional> #include <memory> #include <string> #include <string_view> #include <utility> #include "absl/strings/cord.h" #include "absl/time/time.h" #include "tensorstore/internal/http/http_request.h" #include "tensorstore/internal/...
#include "tensorstore/internal/oauth2/google_service_account_auth_provider.h" #include <memory> #include <utility> #include <vector> #include <gtest/gtest.h> #include "absl/container/flat_hash_map.h" #include "tensorstore/internal/oauth2/fake_private_key.h" #include "tensorstore/util/result.h" #include "tensorstore/uti...
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/oauth2/google_service_account_auth_provider.cc
https://github.com/google/tensorstore/blob/4f887a6430414cd6088e1743555015b10f116d50/tensorstore/internal/oauth2/google_service_account_auth_provider_test.cc
4f887a6430414cd6088e1743555015b10f116d50
14b90607-2c26-427d-a00b-7fb9d69a4c4b
cpp
abseil/abseil-cpp
randen
absl/random/internal/randen.cc
absl/random/internal/randen_test.cc
#include "absl/random/internal/randen.h" #include "absl/base/internal/raw_logging.h" #include "absl/random/internal/randen_detect.h" namespace absl { ABSL_NAMESPACE_BEGIN namespace random_internal { namespace { struct RandenState { const void* keys; bool has_crypto; }; RandenState GetRandenState() { static const ...
#include "absl/random/internal/randen.h" #include <cstring> #include "gtest/gtest.h" #include "absl/meta/type_traits.h" namespace { using absl::random_internal::Randen; TEST(RandenTest, CopyAndMove) { static_assert(std::is_copy_constructible<Randen>::value, "Randen must be copy constructible"); stat...
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/randen.cc
https://github.com/abseil/abseil-cpp/blob/03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4/absl/random/internal/randen_test.cc
03b8d6ea3dc6a0b8c6bcf42503c2053754dab2e4
2137774c-d1b0-416b-93a9-b2e5d467fb5e
cpp
tensorflow/tensorflow
table
tensorflow/lite/kernels/table.cc
tensorflow/lite/kernels/table_test.cc
#include "tensorflow/lite/core/c/common.h" #include "tensorflow/lite/kernels/internal/common.h" #include "tensorflow/lite/kernels/internal/reference/integer_ops/lut.h" #include "tensorflow/lite/kernels/internal/tensor.h" #include "tensorflow/lite/kernels/kernel_util.h" namespace tflite { namespace ops { namespace custo...
#include <cmath> #include <limits> #include <type_traits> #include <vector> #include <gtest/gtest.h> #include "tensorflow/lite/kernels/internal/common.h" #include "tensorflow/lite/kernels/test_util.h" #include "tensorflow/lite/schema/schema_generated.h" namespace tflite { namespace ops { namespace custom { TfLiteRegist...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/table.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/kernels/table_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
5ae6834d-0580-44a1-8bd2-af4b865d5c58
cpp
tensorflow/tensorflow
toco_port
tensorflow/lite/toco/toco_port.cc
tensorflow/lite/toco/toco_port_test.cc
#include "tensorflow/lite/toco/toco_port.h" #include <cstring> #include <string> #include "absl/status/status.h" #include "tensorflow/core/lib/core/errors.h" #include "tensorflow/core/lib/core/status.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/lite/toco/toco_types.h" #if defined(__ANDROID__) &...
#include "tensorflow/lite/toco/toco_port.h" #include "tensorflow/lite/testing/util.h" #include "tensorflow/lite/toco/toco_types.h" #include <gmock/gmock.h> #include <gtest/gtest.h> namespace toco { namespace port { namespace { #ifdef PLATFORM_GOOGLE #define TFLITE_PREFIX "third_party/tensorflow/lite/" #else #define TFL...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_port.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/lite/toco/toco_port_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea
af8c8af1-7b5b-4942-b777-1f91251c6e5a
cpp
tensorflow/tensorflow
ifrt_program_ops
tensorflow/core/tfrt/ops/ifrt_program_ops.cc
tensorflow/core/tfrt/kernels/ifrt_program_ops_test.cc
#include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/op.h" namespace tensorflow { namespace tfrt_stub { REGISTER_OP("IfrtCall") .Input("args: Tin") .Output("results: Tout") .Attr("Tin: list(type) >= 0") .Attr("Tout: list(type) >= 0") .Attr("program_id: int") ...
#include <cstdint> #include <memory> #include <utility> #include <vector> #include <gmock/gmock.h> #include <gtest/gtest.h> #include "absl/strings/str_cat.h" #include "absl/strings/string_view.h" #include "absl/types/span.h" #include "xla/python/ifrt/test_util.h" #include "xla/tsl/framework/serving_device_selector.h" #...
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/ops/ifrt_program_ops.cc
https://github.com/tensorflow/tensorflow/blob/4a29233a7b7c1a3a4294e4ccdd1772f9083944ea/tensorflow/core/tfrt/kernels/ifrt_program_ops_test.cc
4a29233a7b7c1a3a4294e4ccdd1772f9083944ea