server-skynet-source-3rd-je.../test/unit
Jason Evans 944c8a3383 Split rtree_elm_t into rtree_{node,leaf}_elm_t.
This allows leaf elements to differ in size from internal node elements.

In principle it would be more correct to use a different type for each
level of the tree, but due to implementation details related to atomic
operations, we use casts anyway, thus counteracting the value of
additional type correctness.  Furthermore, such a scheme would require
function code generation (via cpp macros), as well as either unwieldy
type names for leaves or type aliases, e.g.

  typedef struct rtree_elm_d2_s rtree_leaf_elm_t;

This alternate strategy would be more correct, and with less code
duplication, but probably not worth the complexity.
2017-03-22 18:33:32 -07:00
..
a0.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
arena_reset_prof.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
arena_reset_prof.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
arena_reset.c Disentangle arena and extent locking. 2017-02-01 16:43:46 -08:00
atomic.c Add atomic types for ssize_t 2017-03-06 18:49:19 -08:00
base.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
bit_util.c Disentangle assert and util 2017-03-06 15:08:43 -08:00
bitmap.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
ckh.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
decay.c Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
decay.sh Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
extent_quantize.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
fork.c Fix arena_prefork lock rank order for witness. 2017-03-08 23:07:27 -08:00
hash.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
junk_alloc.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_alloc.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_free.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk_free.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
junk.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
mallctl.c Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
malloc_io.c Disentangle assert and util 2017-03-06 15:08:43 -08:00
math.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
mq.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
mtx.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
nstime.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
pack.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
pack.sh Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
pages.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
ph.c Add any() and remove_any() to ph. 2017-03-07 10:25:33 -08:00
prng.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
prof_accum.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_accum.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_active.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_active.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_gdump.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_gdump.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_idump.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_idump.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_reset.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_reset.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_tctx.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_tctx.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_thread_name.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
prof_thread_name.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
ql.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
qr.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
rb.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
rtree.c Split rtree_elm_t into rtree_{node,leaf}_elm_t. 2017-03-22 18:33:32 -07:00
SFMT.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
size_classes.c Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
slab.c Convert extent_t's usize to szind. 2017-03-22 18:33:32 -07:00
smoothstep.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
spin.c Enhance spin_adaptive() to yield after several iterations. 2017-02-08 18:50:03 -08:00
stats_print.c Silence harmless warnings discovered via run_tests.sh. 2017-02-01 11:29:12 -08:00
stats.c Implement two-phase decay-based purging. 2017-03-15 13:13:47 -07:00
ticker.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
tsd.c Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
witness.c Add witness_assert_depth[_to_rank](). 2017-02-01 16:43:46 -08:00
zero.c Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00
zero.sh Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00