1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-24 07:41:54 -07:00
Commit graph

3 commits

Author SHA1 Message Date
Gareth Rees
a16f5b3f6c 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
5f5d4a8a88 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
7dc558b489 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)