#include "base/sampling_heap_profiler/lock_free_address_hash_set.h"
#include <stdlib.h>
#include <atomic>
#include <cinttypes>
#include <memory>
#include "base/debug/alias.h"
#include "base/memory/raw_ptr.h"
#include "base/threading/simple_thread.h"
#include "partition_alloc/shim/allocator_shim.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace base {
class LockFreeAddressHashSetTest : public ::testing::Test { … };
namespace {
TEST_F(LockFreeAddressHashSetTest, EmptySet) { … }
TEST_F(LockFreeAddressHashSetTest, BasicOperations) { … }
TEST_F(LockFreeAddressHashSetTest, Copy) { … }
class WriterThread : public SimpleThread { … };
TEST_F(LockFreeAddressHashSetTest, ConcurrentAccess) { … }
TEST_F(LockFreeAddressHashSetTest, BucketsUsage) { … }
}
}