1
0
forked from 0ad/0ad
0ad/source/lib/sysdep
janwas 1227cb2f6d adts: add RingBuf self-test. RingBuf: make entry#0 the 'head' and pop_front a no-op if empty.
allocators: allow pool_create at NLSO ctor time
lib: add rand() function based on libc rand and self-test. (this allows
easily returning a random number within a range, and avoids a number of
pitfalls - the naive rand()%range approach is baaad)
precompiled: add self_test.h, so that self tests won't be accidentally
disabled by forgetting to include the header

file_cache: add self-test; fixed 2 bugs that exposed (was incorrectly
splitting large blocks and not setting class_size bit properly). fix
weird corner case in BlockMgr (attempting to free LRU block but it is
locked).

file_io, wdbg_sym: tiny fixes

This was SVN commit r3461.
2006-02-03 04:02:53 +00:00
..
unix Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
win adts: add RingBuf self-test. RingBuf: make entry#0 the 'head' and pop_front a no-op if empty. 2006-02-03 04:02:53 +00:00
cpu.h Stab at fixing the VertexArray compile error on VC++. 2005-10-03 03:41:42 +00:00
dir_watch.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
gfx.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
ia32.asm slight tweak to asm code - improve alignment and remove temp R..R/W..W memcpy interleaving 2005-12-08 17:26:08 +00:00
ia32.cpp Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
ia32.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
os.h stomped various lint warnings: 2005-01-23 17:45:25 +00:00
snd.h add include guards; reflect lockfree.h rename 2005-04-27 16:16:52 +00:00
sysdep.cpp - self test: rename stuff to SELF_TEST*; add provision for delayed all-at-once self tests (allows for init before the test and makes measuring elapsed time easier) 2005-12-07 03:38:39 +00:00
sysdep.h Lots of fixes for the Linux build: 2005-12-17 22:00:54 +00:00