#include "postgres.h"
#include "common/int.h"
#include "common/pg_prng.h"
#include "fmgr.h"
#include "utils/memutils.h"
#include "utils/timestamp.h"
#include "lib/radixtree.h"
Go to the source code of this file.
Definition at line 41 of file test_radixtree.c.
Definition at line 33 of file test_radixtree.c.
Definition at line 25 of file test_radixtree.c.
Definition at line 103 of file test_radixtree.c.
Definition at line 96 of file test_radixtree.c.
Definition at line 97 of file test_radixtree.c.
Definition at line 94 of file test_radixtree.c.
Definition at line 95 of file test_radixtree.c.
Definition at line 98 of file test_radixtree.c.
Definition at line 99 of file test_radixtree.c.
Definition at line 56 of file test_radixtree.c.
Definition at line 287 of file test_radixtree.c.
References a, b, and pg_cmp_u64().
Referenced by test_random().
Definition at line 111 of file test_radixtree.c.
References tree.
Referenced by test_empty(), and test_random().
Definition at line 162 of file test_radixtree.c.
References ALLOCSET_SMALL_SIZES, AllocSetContextCreate, rt_node_class_test_elem::class_name, CurrentMemoryContext, dsa_create, dsa_detach(), elog, EXPECT_EQ_U64, EXPECT_FALSE, EXPECT_TRUE, i, LWLockNewTrancheId(), rt_node_class_test_elem::nkeys, NOTICE, palloc(), pfree(), and value.
Referenced by test_radixtree().
Definition at line 121 of file test_radixtree.c.
References ALLOCSET_SMALL_SIZES, AllocSetContextCreate, CurrentMemoryContext, dsa_create, dsa_detach(), EXPECT_FALSE, EXPECT_TRUE, sort-test::key, LWLockNewTrancheId(), PG_UINT64_MAX, and rt_num_entries().
Referenced by test_radixtree().
Definition at line 431 of file test_radixtree.c.
References BITS_PER_BYTE, i, lengthof, PG_RETURN_VOID, rt_node_class_tests, test_basic(), test_empty(), and test_random().
Definition at line 293 of file test_radixtree.c.
References CurrentMemoryContext, dsa_create, dsa_detach(), EXPECT_EQ_U64, EXPECT_TRUE, GetCurrentTimestamp(), i, sort-test::key, key_cmp(), LWLockNewTrancheId(), palloc(), pfree(), pg_prng_seed(), pg_prng_uint64(), qsort, rt_num_entries(), SLAB_DEFAULT_BLOCK_SIZE, SlabContextCreate(), val, and value.
Referenced by test_radixtree().
Definition at line 116 of file test_radixtree.c.
Definition at line 68 of file test_radixtree.c.
Referenced by test_radixtree().