aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_test.c
Commit message (Expand)AuthorAgeFilesLines
* Include config.h first; it defines _FILE_OFFSET_BITS, and if some systemGuy Harris2013-08-141-1/+3
* Add support for allocating more than will fit in a single block, through the useEvan Huus2013-08-111-1/+16
* Add wmem_tree_is_empty(). Also permit lookups on a NULL tree for compatibilityEvan Huus2013-07-311-0/+2
* Don't force the allocator choice in the data-structure tests, we want to be ableEvan Huus2013-07-281-10/+10
* Fix a bug in the gc routine discovered while formally working out parts of theEvan Huus2013-07-281-0/+10
* Use a #define, tweak a comment.Evan Huus2013-07-271-2/+2
* Add wmem queue 'implementation' by wrapping wmem_list and wmem_stack.Evan Huus2013-07-211-0/+32
* Replace wmem slist (singly-linked) with wmem list (doubly-linked).Evan Huus2013-07-201-28/+45
* Add wmem_array_sort() which just hands off to the standard library's qsort().Evan Huus2013-07-061-1/+31
* Simple growable array implementation for wmem.Evan Huus2013-07-061-0/+53
* *sigh*Evan Huus2013-06-271-3/+5
* Remove debugging lines from wmem_test, I think I've figured out the problem.Evan Huus2013-06-271-26/+0
* Arrays seems to be where the failure is, so remove excess verbiage around otherEvan Huus2013-06-251-47/+19
* So it comes to this...Evan Huus2013-06-241-0/+54
* Rework wmem scoping limits so that users can still get a handle to a pool whenEvan Huus2013-06-191-0/+1
* Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so weEvan Huus2013-06-181-0/+25
* Add wmem_alloc_array, wmem_strsplit, wmem_strconcat.Evan Huus2013-06-181-27/+50
* Scrap wmem_memdup, it's not actually as useful as I thought it would be.Evan Huus2013-06-181-25/+0
* Add test block for wmem_tree_lookup32_array_le(), fix other tests where certainEvan Huus2013-06-181-2/+26
* Wmem tree tests with non-trivial keys.Evan Huus2013-06-181-3/+5
* Re-port a bunch of the red-black tree code from wmem with fewer modifications,Evan Huus2013-06-181-15/+5
* Add tests for red-black tree array keys, if0-ed out until I can make them notEvan Huus2013-06-181-4/+74
* Fix the test to respect the new behaviour.Evan Huus2013-06-171-1/+2
* More callback tweaks, to permit unregistering a callback from the same placeEvan Huus2013-06-161-16/+18
* Rework the user callback code a bit to make it saner to use with the auto-resetEvan Huus2013-06-161-19/+22
* Fix occasional wmem_test failure, allocator destruction order mattersEvan Huus2013-06-161-4/+1
* Most of a red-black tree implementation for wmem, based heavily on the ememEvan Huus2013-06-151-1/+105
* Add memdup function to wmem.Evan Huus2013-06-091-0/+25
* Minor refactor: make the framework responsible for allocating and freeing theEvan Huus2013-05-221-6/+7
* Make the minimum supported GLib version 2.16.Gerald Combs2013-05-201-14/+0
* Use a readable name for the wmem callback test. Warn that reallocing memoryEvan Huus2013-05-161-5/+5
* Round two of wmem cleanup callbacks. While the emem tree behaviour will requireEvan Huus2013-05-081-21/+64
* Add user callbacks to wmem. This feature is a generic way to transparently mimicEvan Huus2013-05-071-0/+35
* Stub out the wmem test suite for older Glibs. This should restoreEvan Huus2013-05-041-0/+14
* In part from Raúl Pérez Clavero via https://bugs.wireshark.org/bugzilla/sho...Evan Huus2013-04-301-0/+17
* Wmem string-buffer improvements:Evan Huus2013-04-261-3/+26
* Add truncate function to wmem strbuf.Evan Huus2013-04-241-0/+8
* Add tests for wmem stack, and misc. tweaks to other tests.Evan Huus2013-04-221-7/+40
* Convert another instance of g_assert_cmpuint to g_assert.Gerald Combs2013-04-221-3/+3
* Improve wmem strbuf tests, add tests for string util. functionsEvan Huus2013-04-221-0/+49
* Don't use g_assert_cmpuint, its definition breaks the WindowsEvan Huus2013-04-221-8/+8
* Add wmem string-buffer tests and fix associated bugs.Evan Huus2013-04-211-4/+42
* Add wmem tests for the singly-linked list implementation.Evan Huus2013-04-101-1/+50
* Loop the timing test 128 times so that statistics work more in our favour.Evan Huus2013-03-271-11/+15
* Add a timing test to check that the block allocator is actually faster than theEvan Huus2013-03-271-0/+42
* Generalize the allocator test function and use it to test the simple andEvan Huus2013-03-271-14/+66
* Fix -Wshadow that happens with some old versions of gcc (not mine, for someEvan Huus2013-03-271-10/+11
* Greatly improve wmem tests, including random fuzz-style testing. ImproveEvan Huus2013-03-271-8/+86
* Replace implicit conversions with explicit casts.Guy Harris2013-03-241-4/+4
* Fix a few small bugs in the block allocator and add some more assertions to itEvan Huus2013-03-241-36/+22