mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-10-27 11:26:43 +00:00
Thanks to all the refactorings we now have the ability to enforce
reasonable limitations on the amount of resources any individual
compile or test can consume. Those limits are currently:
- `-C 8` seconds of 3.1ghz CPU time
- `-M 256mebibytes` of virtual memory
- `-F 100megabyte` limit on file size
Only one file currently needs to exceed these limits:
o/$(MODE)/third_party/python/Objects/unicodeobject.o: \
QUOTA += -C16 # overrides cpu limit to 16 seconds
This change introduces a new sizetol() function to LIBC_FMT for parsing
byte or bit size strings with Si unit suffixes. Functions like atoi()
have been rewritten too.
|
||
|---|---|---|
| .. | ||
| atoi_test.c | ||
| basename_test.c | ||
| dirname_test.c | ||
| fcvt_test.c | ||
| fmt_test.c | ||
| itoa64radix10_test.c | ||
| itoa64radix16_test.c | ||
| llog10_test.c | ||
| palandprintf_test.c | ||
| sizetol_test.c | ||
| sprintf_s.inc | ||
| sprintf_s_test.c | ||
| sscanf_test.c | ||
| strerror_test.c | ||
| stripexts_test.c | ||
| test.mk | ||
| timevaltofiletime_test.c | ||