1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00
Commit graph

3 commits

Author SHA1 Message Date
Gareth Rees
287feece82 Test cbs and freelist with different alignments.
Maintain test state in a structure to avoid having to pass it all around as function arguments.

Copied from Perforce
 Change: 182611
 ServerID: perforce.ravenbrook.com
2013-06-07 19:36:42 +01:00
Gareth Rees
9c9e1668a1 Make sure fbmtest compiles and runs on lii6gc.
Copied from Perforce
 Change: 182425
 ServerID: perforce.ravenbrook.com
2013-06-03 13:08:55 +01:00
Gareth Rees
0260380dd3 Rename cbstest.c to fbmtest.c (free block management test) and generalize it so that it tests both the cbs and freelist modules.
Split FreelistFind into FreelistFindFirst and FreelistFindLast so that the interface exactly matches the CBS interface.
Fix errors in freelist.c: missing computation of size in FreelistBlockSetLimit; update linked list correct in coalesceRight case in FreelistInsert.
Avoid compiler warnings in freelist.c.
In cbs.c: use $U for Booleans ($B is for bit tables).

Copied from Perforce
 Change: 182397
 ServerID: perforce.ravenbrook.com
2013-06-02 21:34:23 +01:00
Renamed from mps/code/cbstest.c (Browse further)