serenity/Tests/LibC
Liav A b9dca3300e Kernel: Use more fine-grained content data block granularity in TmpFS
Instead of just having a giant KBuffer that is not resizeable easily, we
use multiple AnonymousVMObjects in one Vector to store them.
The idea is to not have to do giant memcpy or memset each time we need
to allocate or de-allocate memory for TmpFS inodes, but instead, we can
allocate only the desired block range when trying to write to it.
Therefore, it is also possible to have data holes in the inode content
in case of skipping an entire set of one data block or more when writing
to the inode content, thus, making memory usage much more efficient.

To ensure we don't run out of virtual memory range, don't allocate a
Region in advance to each TmpFSInode, but instead try to allocate a
Region on IO operation, and then use that Region to map the VMObjects
in IO loop.
2022-10-16 17:46:40 +02:00
..
CMakeLists.txt Tests: Move the former LibM test into the LibC namespace 2022-09-16 16:09:19 +00:00
TestAbort.cpp LibTest: Add EXPECT_CRASH_WITH_SIGNAL 2021-12-19 14:22:06 -08:00
TestAssert.cpp LibC: Allow multiple includes of <assert.h> 2021-12-23 17:53:46 -08:00
TestCType.cpp Tests: Add tests for <ctype.h> functions declared in the C Standard 2022-06-30 12:34:16 +01:00
TestIo.cpp Kernel: Use more fine-grained content data block granularity in TmpFS 2022-10-16 17:46:40 +02:00
TestLibCDirEnt.cpp Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00
TestLibCExec.cpp LibC: Do not include errno.h inside unistd.h 2021-05-14 22:24:02 +02:00
TestLibCInodeWatcher.cpp Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
TestLibCMkTemp.cpp LibC: Implement mkstemps() in stdlib and add a test 2022-10-06 16:14:40 +01:00
TestLibCSetjmp.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TestLibCString.cpp LibC: Set saved_str to null in strtok_r if no tokens were found 2022-03-08 23:30:47 +01:00
TestLibCTime.cpp Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
TestMalloc.cpp Everywhere: Fix a variety of typos 2022-09-14 04:46:49 +00:00
TestMath.cpp AK+Everywhere: Add AK_COMPILER_{GCC,CLANG} and use them most places 2022-10-04 23:35:07 +01:00
TestMemalign.cpp AK+Everywhere: Add AK_COMPILER_{GCC,CLANG} and use them most places 2022-10-04 23:35:07 +01:00
TestMemmem.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TestMkDir.cpp Tests: Add test for LibC mkdir() 2022-02-13 21:58:26 +02:00
TestPthreadCancel.cpp Tests: Add a test for pthread_cancel 2022-07-22 10:07:15 -07:00
TestPthreadCleanup.cpp Tests: Move the LibPthread tests to the correct namespace 2022-07-19 11:00:35 +01:00
TestPthreadRWLocks.cpp Tests: Move the LibPthread tests to the correct namespace 2022-07-19 11:00:35 +01:00
TestPthreadSpinLocks.cpp Tests: Move the LibPthread tests to the correct namespace 2022-07-19 11:00:35 +01:00
TestQsort.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TestRaise.cpp LibTest: Add EXPECT_CRASH_WITH_SIGNAL 2021-12-19 14:22:06 -08:00
TestRealpath.cpp Everywhere: Explicitly specify the size in StringView constructors 2022-07-12 23:11:35 +02:00
TestScanf.cpp LibC: Consume all whitespace in scanf if present in format 2022-09-09 22:54:25 +01:00
TestSearch.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TestSnprintf.cpp AK/ByteBuffer+Everywhere: Handle errors in ByteBuffer::slice() 2022-06-13 15:38:51 +01:00
TestStackSmash.cpp Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
TestStdio.cpp Tests: Move sprintf test from AK/ to LibC/ 2022-07-04 21:46:02 +02:00
TestStrlcpy.cpp AK/ByteBuffer+Everywhere: Handle errors in ByteBuffer::slice() 2022-06-13 15:38:51 +01:00
TestStrtodAccuracy.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
TestWchar.cpp AK+Toolchain: Make char and wchar_t behave on AARCH64 2022-10-14 13:01:13 +02:00
TestWctype.cpp Tests: Only test truthiness for iswctype 2021-10-24 22:40:11 -07:00