Searched defs:TestAllocator (Results 1 – 7 of 7) sorted by relevance
46 explicit TestAllocator(se::Platform* platform) in TestAllocator() function
46 class TestAllocator : public se::DeviceMemoryAllocator { class48 TestAllocator() in TestAllocator() function in xla::__anon43e702590111::TestAllocator
104 struct TestAllocator : public SizeClassAllocator<BaseConfig, SizeClassMapT> { struct105 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument109 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument113 void operator delete(void *ptr) { free(ptr); } in operator delete()
72 template <typename Config> struct TestAllocator : scudo::Allocator<Config> { struct73 TestAllocator() { in TestAllocator() argument79 ~TestAllocator() { this->unmapTestOnly(); } in ~TestAllocator() argument83 EXPECT_EQ(0, posix_memalign(&p, alignof(TestAllocator), size)); in operator new() argument104 using AllocatorT = TestAllocator<TypeParam>; argument
944 class TestAllocator : public tensorflow::AllocatorWrapper { class946 TestAllocator() : tensorflow::AllocatorWrapper(tensorflow::cpu_allocator()) {} in TestAllocator() function in tensorflow::tfd::__anone1369dfd0711::TestAllocator
19 class TestAllocator : public Allocator { class
222 typedef allocator_ref<std::allocator<char>> TestAllocator; typedef317 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST() typedef334 typedef allocator_ref<mock_allocator<char>> TestAllocator; in TEST() typedef