server-skynet-source-3rd-je.../test/unit
Jason Evans c6a2c39404 Refactor/fix ph.
Refactor ph to support configurable comparison functions.  Use a cpp
macro code generation form equivalent to the rb macros so that pairing
heaps can be used for both run heaps and chunk heaps.

Remove per node parent pointers, and instead use leftmost siblings' prev
pointers to track parents.

Fix multi-pass sibling merging to iterate over intermediate results
using a FIFO, rather than a LIFO.  Use this fixed sibling merging
implementation for both merge phases of the auxiliary twopass algorithm
(first merging the aux list, then replacing the root with its merged
children).  This fixes both degenerate merge behavior and the potential
for deep recursion.

This regression was introduced by
6bafa6678f (Pairing heap).

This resolves #371.
2016-04-11 02:15:42 -07:00
..
atomic.c Fix MinGW-related portability issues. 2015-07-23 13:56:25 -07:00
bitmap.c Refactor out signed/unsigned comparisons. 2016-03-15 09:40:02 -07:00
ckh.c Fix MinGW-related portability issues. 2015-07-23 13:56:25 -07:00
decay.c Fix decay tests for --disable-tcache case. 2016-02-27 23:40:31 -08:00
hash.c Fix stack corruption and uninitialized var warning 2016-02-29 15:22:53 -08:00
junk_alloc.c Introduce two new modes of junk filling: "alloc" and "free". 2014-12-14 17:07:26 -08:00
junk_free.c Introduce two new modes of junk filling: "alloc" and "free". 2014-12-14 17:07:26 -08:00
junk.c Add JEMALLOC_ALLOC_JUNK and JEMALLOC_FREE_JUNK macros 2016-03-31 11:23:29 -07:00
lg_chunk.c Fix indentation. 2015-07-09 16:32:49 -07:00
mallctl.c Fix stats.arenas.<i>.[...] for --disable-stats case. 2016-02-27 20:40:13 -08:00
math.c Define INFINITY when it's not defined 2014-05-28 09:41:28 -07:00
mq.c Don't fetch tsd in a0{d,}alloc(). 2014-10-10 18:19:20 -07:00
mtx.c Add mq (message queue) to test infrastructure. 2013-12-12 14:41:02 -08:00
nstime.c Refactor time_* into nstime_*. 2016-02-21 21:39:05 -08:00
ph.c Refactor/fix ph. 2016-04-11 02:15:42 -07:00
prng.c Refactor prng* from cpp macros into inline functions. 2016-02-19 20:29:06 -08:00
prof_accum.c Refactor permuted backtrace test allocation. 2014-10-01 22:28:23 -07:00
prof_active.c Avoid atexit(3) when possible, disable prof_final by default. 2014-10-08 18:08:00 -07:00
prof_gdump.c Implement the prof.gdump mallctl. 2015-01-25 21:21:35 -08:00
prof_idump.c Add heap profiling tests. 2014-01-17 15:40:52 -08:00
prof_reset.c Fix "prof.reset" mallctl-related corruption. 2015-09-09 23:16:10 -07:00
prof_thread_name.c Avoid atexit(3) when possible, disable prof_final by default. 2014-10-08 18:08:00 -07:00
ql.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
qr.c Add unit tests for qr, ql, and rb. 2014-01-03 16:35:03 -08:00
quarantine.c Fix message formatting errors uncovered by p_test_fail() refactoring. 2014-03-30 11:21:09 -07:00
rb.c Remove rbt_nil 2016-02-23 18:09:25 -08:00
rtree.c Add no-OOM assertions to test. 2015-08-07 00:51:11 -07:00
run_quantize.c Use table lookup for run_quantize_{floor,ceil}(). 2016-02-22 16:47:34 -08:00
SFMT.c Fix MinGW-related portability issues. 2015-07-23 13:56:25 -07:00
size_classes.c Cast PTRDIFF_MAX to size_t before adding 1. 2016-02-25 16:40:24 -08:00
smoothstep.c Implement smoothstep table generation. 2016-02-19 20:56:15 -08:00
stats.c Fix test_stats_arenas_summary fragility. 2016-02-19 20:29:06 -08:00
ticker.c Implement ticker. 2016-02-19 20:29:06 -08:00
tsd.c Fix arenas_cache_cleanup(). 2015-08-21 12:33:17 -07:00
util.c Refactor out signed/unsigned comparisons. 2016-03-15 09:40:02 -07:00
zero.c Rename arena_maxclass to large_maxclass. 2015-09-11 20:50:20 -07:00