server-skynet-source-3rd-je.../test
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
..
include/test Disentangle assert and util 2017-03-06 15:08:43 -08:00
integration Implement per-CPU arena. 2017-03-08 23:19:01 -08:00
src Replace tabs following #define with spaces. 2017-01-20 21:45:53 -08:00
stress Remove extraneous parens around return arguments. 2017-01-20 21:43:07 -08:00
unit Split rtree_elm_t into rtree_{node,leaf}_elm_t. 2017-03-22 18:33:32 -07:00
test.sh.in Use MALLOC_CONF rather than malloc_conf for tests. 2017-02-23 08:57:02 -08:00