Modify usize calculation and corresponding tests.

This commit is contained in:
guangli-dai 2024-04-18 15:42:14 -07:00 committed by Guangli Dai
parent 9ce475a135
commit a0d18fe5d7
8 changed files with 90 additions and 9 deletions

View file

@ -49,7 +49,7 @@ TEST_BEGIN(test_grow_and_shrink) {
size_t tsz;
#define NCYCLES 3
unsigned i, j;
#define NSZS 1024
#define NSZS 75
size_t szs[NSZS];
#define MAXSZ ZU(12 * 1024 * 1024)