Home
last modified time | relevance | path

Searched refs:num_allocs (Results 1 – 25 of 35) sorted by relevance

12

/external/abseil-cpp/absl/container/internal/
Draw_hash_set_allocator_test.cc34 size_t num_allocs = 0; member
93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anonf254b2810111::CheckedAlloc
110 ++state->num_allocs; in track_alloc()
194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F()
198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_allocator_test.cc34 size_t num_allocs = 0; member
93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anon7f2e61300111::CheckedAlloc
110 ++state->num_allocs; in track_alloc()
194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F()
198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
[all …]
/external/libtextclassifier/abseil-cpp/absl/container/internal/
Draw_hash_set_allocator_test.cc34 size_t num_allocs = 0; member
93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anonc261c4510111::CheckedAlloc
110 ++state->num_allocs; in track_alloc()
194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F()
198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
[all …]
/external/openscreen/third_party/abseil/src/absl/container/internal/
Draw_hash_set_allocator_test.cc34 size_t num_allocs = 0; member
93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anonc8ddd4620111::CheckedAlloc
110 ++state->num_allocs; in track_alloc()
194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F()
198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_allocator_test.cc34 size_t num_allocs = 0; member
93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anon94a0eaa20111::CheckedAlloc
110 ++state->num_allocs; in track_alloc()
194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F()
198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
[all …]
/external/angle/third_party/abseil-cpp/absl/container/internal/
Draw_hash_set_allocator_test.cc34 size_t num_allocs = 0; member
93 size_t num_allocs() const { return state_->num_allocs; } in num_allocs() function in absl::container_internal::__anon8bec76100111::CheckedAlloc
110 ++state->num_allocs; in track_alloc()
194 TEST_F(PropagateOnAll, Empty) { EXPECT_EQ(0, a1.num_allocs()); } in TEST_F()
198 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
205 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
210 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
219 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
228 EXPECT_EQ(2, a1.num_allocs()); in TEST_F()
236 EXPECT_EQ(1, a1.num_allocs()); in TEST_F()
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsoft_rss_limit_mb_test.cpp33 int num_allocs = kMaxNumAllocs / 4; in main() local
34 for (int i = 0; i < 3; i++, num_allocs *= 2) { in main()
35 fprintf(stderr, "[%d] allocating %d times\n", i, num_allocs); in main()
37 for (int j = 0; j < num_allocs; j++) { in main()
38 if ((j % (num_allocs / 8)) == 0) { in main()
51 if (zero_results != num_allocs) in main()
53 num_allocs - zero_results); in main()
54 for (int j = 0; j < num_allocs; j++) { in main()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dsoft_rss_limit_mb_test.cc27 int num_allocs = kMaxNumAllocs / 4; in main() local
28 for (int i = 0; i < 3; i++, num_allocs *= 2) { in main()
29 fprintf(stderr, "[%d] allocating %d times\n", i, num_allocs); in main()
31 for (int j = 0; j < num_allocs; j++) { in main()
32 if ((j % (num_allocs / 8)) == 0) { in main()
45 if (zero_results != num_allocs) in main()
47 num_allocs - zero_results); in main()
48 for (int j = 0; j < num_allocs; j++) { in main()
/external/tensorflow/tensorflow/core/common_runtime/
Dmkl_cpu_allocator.h92 stats_.num_allocs = 0; in ClearStats()
103 ++stats_.num_allocs; in IncrementStats()
258 stats_.num_allocs = l_stats->num_allocs + s_stats->num_allocs; in GetStats()
/external/tensorflow/tensorflow/stream_executor/
Dallocator_stats.h30 int64 num_allocs; // Number of allocations. member
49 : num_allocs(0), in AllocatorStats()
Dallocator_stats.cc32 this->peak_bytes_in_use, this->num_allocs, this->largest_alloc_size, in DebugString()
/external/grpc-grpc/test/core/iomgr/
Dresource_quota_test.cc695 int num_allocs = 0; in test_one_slice() local
696 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice()
702 const int start_allocs = num_allocs; in test_one_slice()
706 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice()
727 int num_allocs = 0; in test_one_slice_deleted_late() local
728 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice_deleted_late()
734 const int start_allocs = num_allocs; in test_one_slice_deleted_late()
738 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice_deleted_late()
769 int num_allocs = 0; in test_negative_rq_free_pool() local
770 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_negative_rq_free_pool()
[all …]
/external/tensorflow/tensorflow/core/framework/
Dallocator_test.cc28 static void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument
44 EXPECT_EQ(stats->num_allocs, num_allocs); in CheckStats()
Dcpu_allocator_impl.cc89 ++stats_.num_allocs; in AllocateRaw()
124 stats_.num_allocs = 0; in ClearStats()
Dallocator.cc45 static_cast<long long>(this->num_allocs), in DebugString()
Dallocator.h149 int64 num_allocs; // Number of allocations. member
168 : num_allocs(0), in AllocatorStats()
/external/bcc/tools/lib/
Duobjnew.py182 data = sorted(data.items(), key=lambda kv: kv[1].num_allocs)
196 (obj_type, value.num_allocs, value.total_size))
/external/libcxx/utils/google-benchmark/test/
Dmemory_manager_test.cc10 result->num_allocs = 42; in Stop()
/external/llvm-project/libcxx/utils/google-benchmark/test/
Dmemory_manager_test.cc10 result->num_allocs = 42; in Stop()
/external/google-benchmark/test/
Dmemory_manager_test.cc10 result->num_allocs = 42; in Stop()
/external/tensorflow/tensorflow/core/protobuf/
Dbfc_memory_map.proto9 int64 num_allocs = 1; field
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc64 tf_stats.num_allocs = se_stats->num_allocs; in GetStats()
/external/tensorflow/tensorflow/stream_executor/tpu/
Dtpu_executor.cc229 stats.num_allocs = c_stats.num_allocs; in GetAllocatorStats()
Dc_api_decl.h83 int64_t num_allocs; member
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_bfc_allocator_test.cc45 void CheckStats(Allocator* a, int64 num_allocs, int64 bytes_in_use, in CheckStats() argument
55 EXPECT_EQ(stats->num_allocs, num_allocs); in CheckStats()

12