Home
last modified time | relevance | path

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

/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::__anona3df59eb0111::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 …]
/third_party/skia/third_party/externals/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::__anonf72afd200111::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 …]
/third_party/grpc/test/core/iomgr/
Dresource_quota_test.cc696 int num_allocs = 0; in test_one_slice() local
697 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice()
703 const int start_allocs = num_allocs; in test_one_slice()
707 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice()
728 int num_allocs = 0; in test_one_slice_deleted_late() local
729 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_one_slice_deleted_late()
735 const int start_allocs = num_allocs; in test_one_slice_deleted_late()
739 assert_counter_becomes(&num_allocs, start_allocs + 1); in test_one_slice_deleted_late()
770 int num_allocs = 0; in test_negative_rq_free_pool() local
771 grpc_resource_user_slice_allocator_init(&alloc, usr, inc_int_cb, &num_allocs); in test_negative_rq_free_pool()
[all …]
/third_party/benchmark/test/
Dmemory_manager_test.cc10 result->num_allocs = 42; in Stop()
/third_party/benchmark/src/
Dbenchmark_runner.cc105 memory_iterations ? static_cast<double>(memory_result->num_allocs) / in CreateRunReport()
/third_party/benchmark/include/benchmark/
Dbenchmark.h334 : num_allocs(0), in Result()
340 int64_t num_allocs; member